Issue Information
-
#008203
-
4 - High
-
Fixed
Issue Confirmations
-
Yes (0)No (0)
disable_pvm: true can bypass Poison React skill so meaning GM can use Poison React to "envenom" monsters. Which is they should not be able to do that.
Up~
Up~
~* Bumper *~
~ * Up * ~
maybe this can fix
Battle.c
Battle.c
if (tsc) { if (tsc->data[SC_POISONREACT] && ( rnd()%100 < tsc->data[SC_POISONREACT]->val3 || sstatus->def_ele == ELE_POISON ) /* && check_distance_bl(src, target, tstatus->rhw.range+1) Doesn't check range! o.O; */ && status->check_skilluse(target, src, TF_POISON, 0) + && battle->check_target(src, target, BCT_ENEMY) > 0 ){ //Poison React struct status_change_entry *sce = tsc->data[SC_POISONREACT]; if (sstatus->def_ele == ELE_POISON) { sce->val2 = 0; skill->attack(BF_WEAPON,target,target,src,AS_POISONREACT,sce->val1,tick,0); } else { skill->attack(BF_WEAPON,target,target,src,TF_POISON, 5, tick, 0); --sce->val2; } if (sce->val2 <= 0) status_change_end(target, SC_POISONREACT, INVALID_TIMER); } }
changed status to: Fixed