Prevented the possibility of seeing two Malifors; fixes bug #17295.

This commit is contained in:
Steven Panek 2011-09-12 07:56:26 +00:00
parent ef1470a472
commit f2981582c0

View file

@ -2845,8 +2845,18 @@
{VARIABLE malifor_will_respawn_at_y 4}
[/then]
[/if]
# If Malifor wasn't killed by white mages, respawn him at the
# location set previously and give him some extra gold.
#define MALIFOR_RESPAWN
# Kill the previous Malifor first to prevent the possibility of seeing two Malifors
[kill]
x=$x1
y=$y1
[/kill]
[unit]
type=Ancient Lich
id=Malifor
@ -2862,6 +2872,8 @@
side=2
amount=300
[/gold]
#enddef
[terrain]
x=13,14
y=14,14
@ -2877,6 +2889,7 @@
message= _ "HAHAHA, FOOLS, YOU THINK YOU CAN KILL ME?"
[/message]
{FLASH_WHITE ()}
{MALIFOR_RESPAWN}
[message]
speaker=Malifor
message= _ "HAHAHAHA!"
@ -2901,6 +2914,7 @@
message= _ "HAHAHAHA, DEATH HAS NO EFFECT ON ME YOU FOOLS!"
[/message]
{FLASH_WHITE ()}
{MALIFOR_RESPAWN}
[message]
speaker=Malifor
message= _ "HAHAHA, I CAN NEVER BE DESTROYED!"
@ -2925,6 +2939,7 @@
message= _ "HAHAHAHA, YOUR IDIOCY AMUSES ME GREATLY!"
[/message]
{FLASH_WHITE ()}
{MALIFOR_RESPAWN}
[message]
speaker=Malifor
message= _ "COME AND GET ME!"
@ -2949,6 +2964,7 @@
message= _ "HAHAHAHA, I AM IMMORTAL!"
[/message]
{FLASH_WHITE ()}
{MALIFOR_RESPAWN}
[message]
speaker=Malifor
message= _ "YOU PUNY MORTALS SHALL SOON BE SERVING ME!"
@ -2968,6 +2984,7 @@
message= _ "HAHAHA, FOOLS, YOU THINK YOU CAN KILL ME?"
[/message]
{FLASH_WHITE ()}
{MALIFOR_RESPAWN}
[message]
speaker=Malifor
message= _ "HAHAHAHA!"