Skip to content

Commit

Permalink
WC: Fix epic trait raising xp
Browse files Browse the repository at this point in the history
Now it only applies to amlas, which seems to be how
the code was indeded to work, we could also make it
apply to normal advancements that cost >60xp
  • Loading branch information
gfgtdf committed Jun 5, 2023
1 parent a93e898 commit f7140b2
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions data/campaigns/World_Conquest/era/campaign/heroes.cfg
Expand Up @@ -126,15 +126,23 @@
[/effect]
[effect]
apply_to=max_experience
lua_filter="wc2_utils.has_no_advances"

[filter]
lua_function="wc2_utils.has_no_advances"
[/filter]
set=60
[/effect]
[effect]
apply_to=new_advancement
lua_filter="wc2_utils.has_no_advances"

apply_to=remove_advancement
[filter]
lua_function="wc2_utils.has_no_advances"
[/filter]
amlas=amla_default
[/effect]
[effect]
apply_to=new_advancement
[filter]
lua_function="wc2_utils.has_no_advances"
[/filter]
[advancement]
strict_amla=yes
max_times=100
Expand Down

0 comments on commit f7140b2

Please sign in to comment.