The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
-
Posts
39 -
Joined
-
Last visited
-
Days Won
3
Community Answers
-
Harvin's post in (solved) Stone Curse Success Chance was marked as the answer
Why are you editing NPC_PETRIFYATTACK instead MG_STONECURSE?
find
case MG_STONECURSE: { if (status_has_mode(tstatus,MD_STATUSIMMUNE)) { if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if(status_isimmune(bl) || !tsc) break; int32 brate = 0; if (sd && sd->sc.getSCE(SC_PETROLOGY_OPTION)) brate = sd->sc.getSCE(SC_PETROLOGY_OPTION)->val3; if (sc_start2(src, bl, type, (skill_lv * 4 + 20) + brate, skill_lv, src->id, skill_get_time2(skill_id, skill_lv), skill_get_time(skill_id, skill_lv))) clif_skill_nodamage(src, bl, skill_id, skill_lv, 1); else if(sd) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); // Level 6-10 doesn't consume a red gem if it fails [celest] if (skill_lv > 5) { // not to consume items map_freeblock_unlock(); return 0; } } } break; change to
case MG_STONECURSE: { if (status_has_mode(tstatus,MD_STATUSIMMUNE)) { if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if(status_isimmune(bl) || !tsc) break; int32 brate = 0; if (sd && sd->sc.getSCE(SC_PETROLOGY_OPTION)) brate = sd->sc.getSCE(SC_PETROLOGY_OPTION)->val3; brate += 20 + (skill_lv - 1) * 10; if (sc_start2(src, bl, type, brate, skill_lv, src->id, skill_get_time2(skill_id, skill_lv), skill_get_time(skill_id, skill_lv))) clif_skill_nodamage(src, bl, skill_id, skill_lv, 1); else if(sd) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); // Level 6-10 doesn't consume a red gem if it fails [celest] if (skill_lv > 5) { // not to consume items map_freeblock_unlock(); return 0; } } } break;