;'Pale Spectre' death script

FrozenBlade = 88

If Random(0, 25) = 0
	SpawnItem(#MAPID, FrozenBlade, #XPOS, #YPOS)
EndIf

If Random(0, 3) = 0
	SendMessageToUser(#USERID,"The Pale Spectre breathes Chill Touch on you!",#MSG_CRITICAL)

	DelayTime = 1000
	DelayTime = DelayTime + GetUserWisdom(#USERID) * 75
	DelayTime = DelayTime + GetUserAgility(#USERID) * 100
	
	Timer(169, DelayTime, #USERID, 0, 0)
EndIf

Label END

Continue = 1