Clear a pair of variables found to be not cleared with :inspect

This commit is contained in:
Simon Forsyth 2012-07-28 16:43:40 +00:00
parent 9e2f7a0a1f
commit 8c966a518a
3 changed files with 6 additions and 16 deletions

View File

@ -1808,6 +1808,7 @@
{CLEAR_VARIABLE ghosts_already_spawned}
{CLEAR_VARIABLE ghosts_killed}
{CLEAR_VARIABLE max_ghosts}
{CLEAR_VARIABLE to_kill}
[/event]
#time over defeat event

View File

@ -355,6 +355,8 @@
[/remove_shroud]
[/then]
[/if]
{CLEAR_VARIABLE sneak_up}
[/event]
# starting dialogue

View File

@ -281,11 +281,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
value=0
[/set_variable]
[set_variable]
name=met_ghost
value=0
[/set_variable]
# create AI=guardian units. They can't move unless an enemy
# moves nearby. I create them at the beginning because when the
# player sees them, events will fire.
@ -784,7 +779,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
side=1
[/filter_vision]
[/have_unit]
[/filter_condition]
{CHECK_EXPLORER}
@ -1770,11 +1764,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
side=1
[/filter]
[set_variable]
name=met_ghost
value=1
[/set_variable]
[remove_shroud]
x=7-12
y=17-21
@ -1821,10 +1810,9 @@ _ "These undead trolls fight again in death as they did in life, except this tim
[/filter]
[filter_condition]
[variable]
name=met_ghost
numerical_equals=1
[/variable]
[have_unit]
id=Dwarf Ghost
[/have_unit]
[/filter_condition]
[message]
@ -1998,7 +1986,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
{CLEAR_VARIABLE heat_damage}
{CLEAR_VARIABLE summon_flame}
{CLEAR_VARIABLE flame_counter}
{CLEAR_VARIABLE met_ghost}
[/event]
[event]