SotA: Give newly made liches the additional move point when appropriate

This commit is contained in:
beetlenaut 2019-01-10 23:07:08 -05:00 committed by sigurdfdragon
parent bc715e35c7
commit 023d3b05c3

View file

@ -889,6 +889,22 @@
[/then]
[/if]
# Liches have one more movement point than necromancers. We will give that point
# to them as long as they have not attacked yet and were not just recruited on
# this turn. Checking attacks_left takes both possibilities into account.
[if]
[variable]
name=new_lich.attacks_left
not_equals=0
[/variable]
[then]
[set_variable]
name=new_lich.moves
add=1
[/set_variable]
[/then]
[/if]
# The leaders are changed in a scripted event at the end of a scenario, so
# they need to be handled differently than normal units:
[if]