mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 13:20:15 +00:00
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:
parent
f86630273e
commit
39da9c8f9a
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user