HttT 11: use [have_unit] instead of variable

This commit is contained in:
Severin Glöckner 2020-09-23 12:14:55 +02:00
parent 4b3e1a8c99
commit 694b05d35b

View File

@ -285,10 +285,6 @@
[/message]
[/else]
[/if]
[set_variable]
name=lisar_still_here
value=1
[/set_variable]
[/event]
#if someone marches over to Li'sar's keep, reinforcements appear
@ -420,10 +416,6 @@
{LISAR_VARIATION defeat}
message= _ "You drive me from the field, but you have not vanquished me, impostor!"
[/message]
[set_variable]
name=lisar_still_here
value=0
[/set_variable]
[/event]
[event]
@ -484,10 +476,9 @@
[/message]
[if]
[variable]
name=lisar_still_here
numerical_equals=1
[/variable]
[have_unit]
id="Li'sar"
[/have_unit]
[then]
[message]
speaker="Li'sar"
@ -516,7 +507,6 @@
[event]
name=victory
{CLEAR_VARIABLE lisar_still_here}
{RESTORE_LISAR}
[/event]