Originally posted by [b]hellsun[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=884
The supernoivce soullink can reset the supernoice die_counter. But I think I couldnt succeed after I try it more than thousand times.
I found mistake in this src snippet.
CODE
case SL_SUPERNOVICE:
case SL_WIZARD:
if (sd && !(dstsd && (dstsd->class_&MAPID_UPPERMASK) == type)) {
clif_skill_fail(sd,skillid,0,0);
break;
}
if (skillid == SL_SUPERNOVICE && dstsd && dstsd->die_counter && !(rand()%100))
{ //Erase death count 1% of the casts
dstsd->die_counter = 0;
pc_setglobalreg(dstsd,"PC_DIE_COUNTER", 0);
clif_misceffect2(bl, 0x152);
//SC_SPIRIT invokes status_calc_pc for us.
}
clif_skill_nodamage(src,bl,skillid,skilllv,
sc_start4(bl,SC_SPIRIT,100,skilllv,skillid,0,0,skill_get_time(skillid,skilllv)));
sc_start(src,SC_SMA,100,skilllv,skill_get_time(SL_SMA,skilllv));
break;
This post has been edited by hellsun: Jan 28 2008, 07:47 AM