EI S17b: fix Mal-Ravanal pausing to capture villages
Many turns into EI S17b, a pre-existing lich changes sides and transforms into Mal-Ravanal. Before this commit, this process would un-capture any villages previously captured by that side, causing Mal-Ravanal to waste turns retaking them.
This commit is contained in:
parent
2027057689
commit
e2f893c2ea
1 changed files with 9 additions and 2 deletions
|
@ -1512,9 +1512,12 @@
|
|||
[filter]
|
||||
id=$unit.id
|
||||
[/filter]
|
||||
|
||||
flag=levelout
|
||||
[/animate_unit]
|
||||
[store_locations]
|
||||
owner_side=$unit.side
|
||||
variable=stored_villages
|
||||
[/store_locations]
|
||||
{KILL id=$unit.id}
|
||||
[unit]
|
||||
side=$ravanal_side
|
||||
|
@ -1522,11 +1525,15 @@
|
|||
facing=$unit.facing
|
||||
{CHARACTER_STATS_RAVANAL}
|
||||
[/unit]
|
||||
[capture_village]
|
||||
find_in=stored_villages
|
||||
side=$ravanal_side
|
||||
[/capture_village]
|
||||
{CLEAR_VARIABLE stored_villages}
|
||||
[animate_unit]
|
||||
[filter]
|
||||
id=Mal-Ravanal
|
||||
[/filter]
|
||||
|
||||
flag=levelin
|
||||
[/animate_unit]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue