DM Fix bug: Subsumed sides cannot move

In S13 we subsume the Loyalists and Mages.

In S19 we subsume Lionel and his troops.

These occur in the midst of battle. The units may be damaged, poisoned, etc. We do not want to change that.

However, since their turn follows ours, they cannot move. Reset their moves to maximum so we can use them (or move them out of harm's way) immediately.
This commit is contained in:
Gregory A Lundberg 2016-07-24 23:13:27 -05:00
parent f86630273e
commit 39da9c8f9a

View File

@ -73,6 +73,12 @@
[/foreach]
{CLEAR_VARIABLE side_villages}
[modify_unit]
[filter]
side={SIDE}
[/filter]
moves=$this_unit.max_moves
[/modify_unit]
#next, turn off canrecruit for the leader and change all allegiances.
{MODIFY_UNIT (side={SIDE}
canrecruit=yes) canrecruit no}