mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
DW: Fix #3207
...by preventing any allied units from moving to the sword. (cherry-picked from commit 85ba7797b23fd2a98af33b61bfe22ea3e5f56f94)
This commit is contained in:
parent
5c04fe72d5
commit
009e789b8b
@ -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…
x
Reference in New Issue
Block a user