n3ySkie Posted January 31, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 51 Reputation: 2 Joined: 07/28/14 Last Seen: 23 hours ago Share Posted January 31, 2019 good day everyone, i have a request if its possible that Bragis Poem only half effect on Archer Class? Pre-Renewal, any thoughts? Quote Link to comment Share on other sites More sharing options...
0 Metahego Posted February 4, 2019 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 12 Reputation: 3 Joined: 06/16/18 Last Seen: June 1, 2023 Share Posted February 4, 2019 (edited) In skill.cpp : change : case UNT_POEMBRAGI: case UNT_APPLEIDUN: case UNT_HUMMING: case UNT_DONTFORGETME: case UNT_FORTUNEKISS: case UNT_SERVICEFORYOU: if (sg->src_id==bl->id && !(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_BARDDANCER)) return 0; if (!sc) return 0; if (!sce) sc_start4(ss, bl, type, 100, sg->skill_lv, sg->val1, sg->val2, 0, sg->limit); else if (sce->val4 == 1) { //Readjust timers since the effect will not last long. sce->val4 = 0; //remove the mark that we stepped out delete_timer(sce->timer, status_change_timer); sce->timer = add_timer(tick+sg->limit, status_change_timer, bl->id, type); //put duration back to 3min } break; case UNT_FOGWALL: to : case UNT_POEMBRAGI: case UNT_APPLEIDUN: case UNT_HUMMING: case UNT_DONTFORGETME: case UNT_FORTUNEKISS: case UNT_SERVICEFORYOU: if (sg->src_id==bl->id && !(sc && sc->data[SC_SPIRIT] && sc->data[SC_SPIRIT]->val2 == SL_BARDDANCER)) return 0; if (!sc) return 0; if (!sce) { struct map_session_data *sd = (struct map_session_data *)bl; if(sg->unit_id == UNT_POEMBRAGI && bl->type == BL_PC && (sd->class_&MAPID_BASEMASK) == MAPID_ARCHER) { sc_start4(ss, bl, type, 100, sg->skill_lv, (sg->val1 / 2), (sg->val2 / 2), 0, sg->limit); break; } else sc_start4(ss, bl, type, 100, sg->skill_lv, sg->val1, sg->val2, 0, sg->limit); } else if (sce->val4 == 1) { //Readjust timers since the effect will not last long. sce->val4 = 0; //remove the mark that we stepped out delete_timer(sce->timer, status_change_timer); sce->timer = add_timer(tick+sg->limit, status_change_timer, bl->id, type); //put duration back to 3min } break; case UNT_FOGWALL: Edited February 4, 2019 by Metahego Quote Link to comment Share on other sites More sharing options...
Question
n3ySkie
good day everyone, i have a request if its possible that Bragis Poem only half effect on Archer Class? Pre-Renewal, any thoughts?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.