Changed the lich transformation to be done in a safer way.
This commit is contained in:
parent
5408514c01
commit
2291af32eb
1 changed files with 22 additions and 1 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue