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:
parent
a93e89832b
commit
f7140b2e44
1 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue