raksone 0 Posted June 27, 2020 Hello community! I have a question, since I just spent a couple of hours solving it but no success. Based on this skill src, where or how do I insert this code to ONLY the caster receive the movement speed bonus instead of the whole party? BONUS: sc_start(src,bl,SC_SPEEDUP1,100,30,3000); case PR_MAGNIFICAT: if( sd == NULL || sd->status.party_id == 0 || (flag & 1) ) clif_skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv))); else if( sd ) party_foreachsamemap(skill_area_sub, sd, skill_get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill_castend_nodamage_id); break; Thanks! Quote Share this post Link to post Share on other sites
0 Kenpachi 65 Posted July 1, 2020 Hi. Just add your code to the else if( sd ) block. case PR_MAGNIFICAT: case PR_GLORIA: case SN_WINDWALK: case CASH_BLESSING: case CASH_INCAGI: case CASH_ASSUMPTIO: case WM_FRIGG_SONG: if( sd == NULL || sd->status.party_id == 0 || (flag & 1) ) clif->skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv))); else if( sd ) { if (skill_id == PR_MAGNIFICAT) { // Magnificat caster exclusive code. } party->foreachsamemap(skill->area_sub, sd, skill->get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill->castend_nodamage_id); } break; ~Kenpachi Quote Share this post Link to post Share on other sites
Hello community!
I have a question, since I just spent a couple of hours solving it but no success.
Based on this skill src, where or how do I insert this code to ONLY the caster receive the movement speed bonus instead of the whole party?
BONUS: sc_start(src,bl,SC_SPEEDUP1,100,30,3000);
Thanks!
Share this post
Link to post
Share on other sites