Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

War System #81

Open
theeneon opened this issue Mar 26, 2024 · 1 comment
Open

War System #81

theeneon opened this issue Mar 26, 2024 · 1 comment
Labels
fix-me Assigning this label will let OpenHands AI attempt to fix the issue and create a PR. new feature A new feature under development

Comments

@theeneon
Copy link
Collaborator

theeneon commented Mar 26, 2024

In the town hall beside Alliance, Kage and Elder, there will be a new option called War Room. In the war room the kage can decide which village or villages to go to war with, who to become allies with and what Factions to hire to join them in the war.

When a Village is at War the Kage can't be challenged until after the war is over.

Hiring a Faction:

Inside the War Room, The Kage can hire a Faction to join them in the war. The Faction is paid in Tokens and will receive benefits akin to an ally of that Village for the duration of the war. The hired faction also receives victory bonuses.

It costs 15,000 Village Tokens to declare war. When War is declared, Village Tokens are reduced by 1000 each day. After 3 days at war with a village, the reduction is increased by 30%, and after 7 days at war, it is increased by 50%. When the village tokens hit 0, the war is automatically surrendered.

When War begins the Town Hall will have 5000 HP. When a village town hall reaches 0 they automatically lose the war and all their village structures are downgraded by one level. For the next 7 days these structures can't be upgraded.

Town Hall HP is removed by the following:

20 HP is removed every time a villager dies to the enemy
10 HP restored to their townhall for each enemy kill

If a player is a member of the anbu they get

For each Enemy villager they kill 40 points are removed from the enemy town hall.
20 HP restored to their townhall for each enemy kill

If a player has the Rank elder:
For each Enemy villager they kill 50 points are removed from the enemy town hall.
40 HP restored to their townhall for each enemy kill

If the Player is the Kage:
For each Enemy villager they kill 80 points are removed from the enemy town hall.
70 HP restored to their townhall for each enemy kill
If the Kage dies however 100 Points are removed from their townhall.

When a Village looses a war they are unable to declare war or have war declared on them for 3 days.

Victory Bonuses:

The winning village and its allies receive 100,000 Tokens. For four days, their Regen will increase by 40%, and their training will increase by 20% for three days.

Hiring a Faction:

Inside the War Room, The Kage can hire a Faction to join them in the war. The Faction is paid in Tokens and will receive benefits akin to an ally of that Village for the duration of the war. The hired faction also receives victory bonuses.

@theeneon theeneon mentioned this issue Dec 27, 2024
9 tasks
@theeneon theeneon added the new feature A new feature under development label Jan 7, 2025
@theeneon theeneon added the fix-me Assigning this label will let OpenHands AI attempt to fix the issue and create a PR. label Jan 27, 2025
@TheNinja-RPG
Copy link
Collaborator

OpenHands started fixing the issue! You can monitor the progress here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix-me Assigning this label will let OpenHands AI attempt to fix the issue and create a PR. new feature A new feature under development
Projects
None yet
Development

No branches or pull requests

2 participants