- Fixed S. Novice bonus not dispelling when at the moment you die once.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12207 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2008-02-15 16:19:44 +00:00
parent 8c92106315
commit 0c61a73f33

View File

@ -4880,7 +4880,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
//Reset ticks.
sd->hp_loss.tick = sd->sp_loss.tick = sd->hp_regen.tick = sd->sp_regen.tick = 0;
pc_setglobalreg(sd,"PC_DIE_COUNTER",++sd->die_counter);
pc_setglobalreg(sd,"PC_DIE_COUNTER",sd->die_counter+1);
pc_setglobalreg(sd,"killerrid",src?src->id:0);
npc_script_event(sd,NPCE_DIE);