Skip to content

Commit

Permalink
DW: Fix wesnoth#3207
Browse files Browse the repository at this point in the history
...by preventing any allied units from moving to the sword.

(cherry-picked from commit 85ba779)
  • Loading branch information
sigurdfdragon committed Oct 7, 2018
1 parent 5c04fe7 commit 009e789
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/campaigns/Dead_Water/scenarios/10_The_Flaming_Sword.cfg
Expand Up @@ -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."
Expand Down

0 comments on commit 009e789

Please sign in to comment.