Changed the lich transformation to be done in a safer way.

This commit is contained in:
Lari Nieminen 2008-01-25 20:43:02 +00:00
parent 5408514c01
commit 2291af32eb

View file

@ -226,10 +226,31 @@
message=_"The Law speaks. Against him with the eyes to see, no deception can hold. I AM A WITNESS!"
[/message]
[store_unit]
[filter]
description=Karrag
[/filter]
kill=yes
variable=stored_Karrag
[/store_unit]
[unit]
type=Lich
description=Karrag
user_description=_"Karrag"
canrecruit=1
side=2
facing=sw
x,y=$stored_Karrag.x,$stored_Karrag.y
[/unit]
[sound]
name=lich-hit-1.ogg
[/sound]
{MODIFY_UNIT description=Karrag type "Lich"}
{CLEAR_VARIABLE stored_Karrag}
[redraw]
[/redraw]