DW: Fix #3207
...by preventing any allied units from moving to the sword.
(cherry-picked from commit 85ba7797b2
)
This commit is contained in:
parent
5c04fe72d5
commit
009e789b8b
1 changed files with 12 additions and 0 deletions
|
@ -919,6 +919,18 @@
|
|||
# the top of the screen).
|
||||
[/delay]
|
||||
|
||||
# Prevent any possibility of Villagers blocking pickup of the sword
|
||||
# Could happen if one is standing on the sword when the last enemy unit is killed
|
||||
[modify_side]
|
||||
side=3
|
||||
[ai]
|
||||
[avoid]
|
||||
x=$sword_x
|
||||
y=$sword_y
|
||||
[/avoid]
|
||||
[/ai]
|
||||
[/modify_side]
|
||||
|
||||
[message]
|
||||
speaker=Kai Krellis
|
||||
message= _ "Now we can finally grab that sword."
|
||||
|
|
Loading…
Add table
Reference in a new issue