WC: Fix epic trait raising xp

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
This commit is contained in:
gfgtdf 2023-06-05 02:16:57 +02:00
parent a93e89832b
commit f7140b2e44

View file

@ -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