mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-15 18:27:08 +00:00
Make frostbite affect wild ogres when sighted
This way it's less obvious that they were not affected before being sighted.
This commit is contained in:
parent
24df7aaa8e
commit
6ff26aad31
|
@ -712,6 +712,24 @@
|
|||
variable=frostbite_units
|
||||
[/store_unit]
|
||||
|
||||
[if]
|
||||
{VARIABLE_CONDITIONAL ogres_sighted equals yes}
|
||||
[then]
|
||||
[store_unit]
|
||||
[filter]
|
||||
side=5
|
||||
[/filter]
|
||||
kill=no
|
||||
variable=frostbite_ogres
|
||||
[/store_unit]
|
||||
[set_variables]
|
||||
name=frostbite_units
|
||||
mode=append
|
||||
to_variable=frostbite_ogres
|
||||
[/set_variables]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[sound]
|
||||
name=wind.ogg
|
||||
[/sound]
|
||||
|
@ -1449,7 +1467,7 @@ I shall not fall here."
|
|||
[/event]
|
||||
[event]
|
||||
name=victory
|
||||
{CLEAR_VARIABLE frostbite_animate,frostbite_amount,frostbite_units,unit}
|
||||
{CLEAR_VARIABLE frostbite_animate,frostbite_amount,frostbite_units,frostbite_ogres,unit}
|
||||
{CLEAR_VARIABLE elixir_drinker}
|
||||
[/event]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user