mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 14:07:28 +00:00
HttT 11: use [have_unit] instead of variable
This commit is contained in:
parent
4b3e1a8c99
commit
694b05d35b
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user