Fixed the WML cleanup I broke.

This commit is contained in:
Lari Nieminen 2008-12-14 17:58:51 +00:00
parent c25d0f2e5a
commit 6079be1622

View File

@ -218,7 +218,7 @@
name=moveto
[filter]
x=1-44
y=1-10
y=1-12
[and]
id=Gweddry
[or]
@ -227,10 +227,20 @@
[/and]
[/filter]
[if]
[variable]
name=across
equals=yes
[/variable]
[have_unit]
id=Gweddry
y=1-12
[not]
terrain=W*
[/not]
[/have_unit]
[have_unit]
id=Owaec
y=1-12
[not]
terrain=W*
[/not]
[/have_unit]
[then]
[message]
speaker=Dacyn
@ -263,6 +273,7 @@
hitpoints=$grug.hitpoints
experience=$grug.experience
moves=$grug.moves
random_traits=no
[modifications]
{TRAIT_LOYAL}
@ -303,21 +314,24 @@
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/then]
[else]
[endlevel]
result=victory
bonus=yes
{NEW_GOLD_CARRYOVER 40}
[/endlevel]
[/else]
[/if]
[endlevel]
result=victory
bonus=yes
[/endlevel]
[/then]
[else]
[message]
speaker=unit
message= _ "Hurry up. We must get across before these undead slaughter us!"
[/message]
[set_variable]
name=across
value=yes
[/set_variable]
[allow_undo]
[/allow_undo]
[/else]
[/if]
[/event]