mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 14:20:59 +00:00
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
@ -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…
x
Reference in New Issue
Block a user