From 8c73f381454d08de7399a44cbd480e22e1a8ff1a Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 15 Feb 2008 16:19:44 +0000 Subject: - Fixed S. Novice bonus not dispelling when at the moment you die once. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12207 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/pc.c b/src/map/pc.c index 83b874a44..218e40e24 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -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); -- cgit v1.2.3-70-g09d2