Skip to content

Commit

Permalink
revert Fix cumulative leadership (considering Wesnoth bug) now wesnot…
Browse files Browse the repository at this point in the history
…h bug fixed
  • Loading branch information
newfrenchy83 authored and Dugy committed May 5, 2023
1 parent 77daa8e commit c648430
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion utils/abilities.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,11 @@ Enemy units cannot see this unit during dawn or dusk, except if they have units
#define ABILITY_EXTRA_DAMAGE_AURA NAME INTENSITY
[leadership]
id=extra damage aura {INTENSITY}
add={INTENSITY}
#ifver WESNOTH_VERSION <= 1.17.4
add={INTENSITY}
#else
value={INTENSITY}
#endif
cumulative=yes
name={NAME}+_" ("+{INTENSITY}+_")"
female_name={NAME}+_" ("+{INTENSITY}+_")"
Expand Down
18 changes: 15 additions & 3 deletions utils/amla.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2956,7 +2956,11 @@
[abilities]
[leadership]
id=Legacy of Kings
add=15
#ifver WESNOTH_VERSION <= 1.17.4
add=15
#else
value=15
#endif
cumulative=yes
name= _ "Legacy of Kings"
description= _ "This unit can lead your units that are next to it, making them fight better.
Expand Down Expand Up @@ -3005,7 +3009,11 @@ Adjacent own units will do 15% more damage and will have 10% better resistances.
[abilities]
[leadership]
id=Legacy of Kings
add=20
#ifver WESNOTH_VERSION <= 1.17.4
add=20
#else
value=20
#endif
cumulative=yes
name= _ "Legacy of Kings"
description= _ "This unit can lead your own units that are next to it, making them fight better.
Expand Down Expand Up @@ -3054,7 +3062,11 @@ Adjacent own units will do 20% more damage and will have 15% better resistances.
[abilities]
[leadership]
id=Legacy of Kings
add=25
#ifver WESNOTH_VERSION <= 1.17.4
add=25
#else
value=25
#endif
cumulative=yes
name= _ "Legacy of Kings"
description= _ "This unit can lead your own units that are next to it, making them fight better.
Expand Down

0 comments on commit c648430

Please sign in to comment.