Fixed death counter not being properly reseted with Super Novice link
*Follow up to 929c30c4143dc78cb85bc70d022113e75f62d0cc
This commit is contained in:
parent
45cd5808b7
commit
b758a60bee
@ -9281,8 +9281,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
|
||||
}
|
||||
if (skill_id == SL_SUPERNOVICE && dstsd && dstsd->die_counter && !(rnd()%100))
|
||||
{ //Erase death count 1% of the casts
|
||||
dstsd->die_counter = 0;
|
||||
pc_setglobalreg(dstsd, add_str(PCDIECOUNTER_VAR), 0);
|
||||
pc_setparam(dstsd, SP_PCDIECOUNTER, 0);
|
||||
clif_specialeffect(bl, EF_ANGEL2, AREA);
|
||||
//SC_SPIRIT invokes status_calc_pc for us.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user