improve some ghastly WML

This commit is contained in:
Patrick Parker 2007-08-26 22:04:16 +00:00
parent b24f276fbd
commit 713e28cefa

View File

@ -134,22 +134,12 @@ This unit gains 1 hitpoint added to its maximum whenever it kills a living unit.
increase_total=1 increase_total=1
[/effect] [/effect]
[/object] [/object]
# Store and unstore to show the hitpoint bonus text # Unstore to show the hitpoint bonus text
[store_unit]
[filter]
x,y=$x2,$y2
[/filter]
kill=no
variable=ghast_temp
[/store_unit]
[unstore_unit] [unstore_unit]
variable=ghast_temp variable=second_unit
red,green,blue=0,0,255 red,green,blue=0,0,255
text= _ "+1 max HP" text= _ "+1 max HP"
[/unstore_unit]
[clear_variable]
name=ghastTemp
find_vacant=no find_vacant=no
[/clear_variable] [/unstore_unit]
[/event] [/event]
[/unit] [/unit]