NR S2: better conditional for victory event

previousl one could trigger victory while being at
the other side of the cave wall

[ci skip]
This commit is contained in:
Severin Glöckner 2018-05-12 20:52:13 +02:00
parent 1d288355b0
commit 41298d76c7

View file

@ -218,7 +218,7 @@
[/show_if]
[/objective]
[objective]
description= _ "Move Tallin within five hexes of Hamel to speak with him"
description= _ "Move Tallin to the Dwarvish area to meet with Lord Hamel"
condition=win
[show_if]
[variable]
@ -718,7 +718,7 @@
[/message]
[/event]
# When the eastern trolls are defeated the undead wii get their villages (not much)
# When the eastern trolls are defeated the undead wii get their villages (not many)
# and focus on the player and the dwarves. The player is probably otherwise busy.
[event]
name=die
@ -728,7 +728,7 @@
[/filter]
[filter_second]
race=undead
[filter_second]
[/filter_second]
[gold]
side=4
amount=50
@ -833,6 +833,9 @@
# TODO: it's possible (but unlikely) that this could result in an unwinnable
# scenario if all hexes near Hamel are full. Aagin, though, unlikely. Still,
# it might be worth coming up with an even better victory condition.
# TODO: Due to the radius also taking into account hexes on the other side
# of the wall the area has been further restricted to the cave area. Ideally
# the filter should know when Hammel would be in Tallins vision area.
[event]
name=moveto
[filter]
@ -843,6 +846,8 @@
[/filter]
radius=5
[/filter_location]
x=24-34
y=21-30
[/filter]
[message]