Skip to content

Commit

Permalink
THoT S06 Fix bug: No Ratheln
Browse files Browse the repository at this point in the history
It was possible to bypass Ratheln. Use enter_hex to stop the triggering unit, and extend the tripwire to the full height of the map. No need to check Ratheln is not there since this is a one-shot which creates him.
  • Loading branch information
GregoryLundberg committed Oct 11, 2016
1 parent dff12f8 commit d4e65ae
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions data/campaigns/The_Hammer_of_Thursagan/scenarios/06_High_Pass.cfg
Expand Up @@ -241,24 +241,19 @@
[/event]

[event]
name=moveto
name=enter_hex
first_time_only=yes
[filter]
side=1
# Should be triggered regardless of how the Dwarves move through.
# It will look a little odd if they've all decided to slog through
# the mountains to the extreme north or south, but that is quite
# unlikely.
x=18-21
y=4-21
[filter_location]
# Should be triggered regardless of how the Dwarves move through.
# It will look a little odd if they've all decided to slog through
# the mountains to the extreme north or south, but that is quite
# unlikely.
x=18-21
y=0-21
[/filter_location]
[/filter]
[filter_condition]
[not]
[have_unit]
id=Ratheln
[/have_unit]
[/not]
[/filter_condition]

[unit]
side=1
Expand Down

0 comments on commit d4e65ae

Please sign in to comment.