Thread: Player Death
View Single Post
  #5  
Old 01-19-2014, 11:07 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Just confirmed, EVENT_DEATH works in player.pl

Was even able to log via write() and have the GetHP() logged of current HP at the time of death.

Wonder how to find out what caused the death, and from who.

Need to create a variable for it I'm guessing.

Code:
sub EVENT_DEATH
{
	my $GET_HP = $client->GetHP();
	quest::write("EVENT_DEATH.txt","$name HP = $GET_HP");
}
Reply With Quote