...and remove a hack while doing it.
This commit is contained in:
Piotr Cychowski 2008-06-17 20:51:33 +00:00
parent c6233bb1e5
commit d83cedab8f

View file

@ -252,14 +252,18 @@
id=Bugg id=Bugg
[/have_unit] [/have_unit]
[then] [then]
#override kills being processed after
#units being created if they're in the same event
[command]
[kill]
id=Bugg
[/kill]
{LOYAL_UNIT 2 (Sea Orc) 16 18 (Bugg) ( _ "Bugg")} [store_unit]
variable=bugg_flip
[filter]
id=Bugg
[/filter]
kill=yes
[/store_unit]
{LOYAL_UNIT 2 (Sea Orc) $bugg_flip.x $bugg_flip.y (Bugg) ( _ "Bugg")}
{CLEAR_VARIABLE bugg_flip}
[message] [message]
speaker=Bugg speaker=Bugg
@ -271,7 +275,7 @@
image=portraits/James_Woo/orc-warlord2.png image=portraits/James_Woo/orc-warlord2.png
message= _ "(Sigh) Will someone kill this idiot for me, please?" message= _ "(Sigh) Will someone kill this idiot for me, please?"
[/message] [/message]
[/command]
[/then] [/then]
[/if] [/if]
[/event] [/event]