- 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:
parent
8c92106315
commit
0c61a73f33
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user