mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
Clear a pair of variables found to be not cleared with :inspect
This commit is contained in:
parent
9e2f7a0a1f
commit
8c966a518a
@ -1808,6 +1808,7 @@
|
|||||||
{CLEAR_VARIABLE ghosts_already_spawned}
|
{CLEAR_VARIABLE ghosts_already_spawned}
|
||||||
{CLEAR_VARIABLE ghosts_killed}
|
{CLEAR_VARIABLE ghosts_killed}
|
||||||
{CLEAR_VARIABLE max_ghosts}
|
{CLEAR_VARIABLE max_ghosts}
|
||||||
|
{CLEAR_VARIABLE to_kill}
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
#time over defeat event
|
#time over defeat event
|
||||||
|
@ -355,6 +355,8 @@
|
|||||||
[/remove_shroud]
|
[/remove_shroud]
|
||||||
[/then]
|
[/then]
|
||||||
[/if]
|
[/if]
|
||||||
|
|
||||||
|
{CLEAR_VARIABLE sneak_up}
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
# starting dialogue
|
# starting dialogue
|
||||||
|
@ -281,11 +281,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
|
|||||||
value=0
|
value=0
|
||||||
[/set_variable]
|
[/set_variable]
|
||||||
|
|
||||||
[set_variable]
|
|
||||||
name=met_ghost
|
|
||||||
value=0
|
|
||||||
[/set_variable]
|
|
||||||
|
|
||||||
# create AI=guardian units. They can't move unless an enemy
|
# create AI=guardian units. They can't move unless an enemy
|
||||||
# moves nearby. I create them at the beginning because when the
|
# moves nearby. I create them at the beginning because when the
|
||||||
# player sees them, events will fire.
|
# 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
|
side=1
|
||||||
[/filter_vision]
|
[/filter_vision]
|
||||||
[/have_unit]
|
[/have_unit]
|
||||||
|
|
||||||
[/filter_condition]
|
[/filter_condition]
|
||||||
|
|
||||||
{CHECK_EXPLORER}
|
{CHECK_EXPLORER}
|
||||||
@ -1770,11 +1764,6 @@ _ "These undead trolls fight again in death as they did in life, except this tim
|
|||||||
side=1
|
side=1
|
||||||
[/filter]
|
[/filter]
|
||||||
|
|
||||||
[set_variable]
|
|
||||||
name=met_ghost
|
|
||||||
value=1
|
|
||||||
[/set_variable]
|
|
||||||
|
|
||||||
[remove_shroud]
|
[remove_shroud]
|
||||||
x=7-12
|
x=7-12
|
||||||
y=17-21
|
y=17-21
|
||||||
@ -1821,10 +1810,9 @@ _ "These undead trolls fight again in death as they did in life, except this tim
|
|||||||
[/filter]
|
[/filter]
|
||||||
|
|
||||||
[filter_condition]
|
[filter_condition]
|
||||||
[variable]
|
[have_unit]
|
||||||
name=met_ghost
|
id=Dwarf Ghost
|
||||||
numerical_equals=1
|
[/have_unit]
|
||||||
[/variable]
|
|
||||||
[/filter_condition]
|
[/filter_condition]
|
||||||
|
|
||||||
[message]
|
[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 heat_damage}
|
||||||
{CLEAR_VARIABLE summon_flame}
|
{CLEAR_VARIABLE summon_flame}
|
||||||
{CLEAR_VARIABLE flame_counter}
|
{CLEAR_VARIABLE flame_counter}
|
||||||
{CLEAR_VARIABLE met_ghost}
|
|
||||||
[/event]
|
[/event]
|
||||||
|
|
||||||
[event]
|
[event]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user