Eros Posted September 23, 2018 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Share Posted September 23, 2018 I would like to ask if how can i reduce 2 aspd when EDP skill level 5 is in used thank you. Quote Link to comment Share on other sites More sharing options...
0 xyxzero Posted September 23, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 90 Reputation: 6 Joined: 12/11/12 Last Seen: December 11, 2018 Share Posted September 23, 2018 rAthena/src/map/battle.c find this if (sc->data[SC_EDP]) { switch(skill_id) { case AS_SPLASHER: case ASC_METEORASSAULT: // Pre-Renewal only: Soul Breaker ignores EDP // Renewal only: Grimtooth and Venom Knife ignore EDP // Both: Venom Splasher and Meteor Assault ignore EDP [helvetica] #ifndef RENEWAL case ASC_BREAKER: #else case AS_GRIMTOOTH: case AS_VENOMKNIFE: #endif break; // skills above have no effect with EDP #ifdef RENEWAL // renewal EDP mode requires renewal enabled as well // Renewal EDP: damage gets a half modifier on top of EDP bonus for skills [helvetica] // * Sonic Blow // * Soul Breaker // * Counter Slash // * Cross Impact case AS_SONICBLOW: case ASC_BREAKER: case GC_COUNTERSLASH: case GC_CROSSIMPACT: ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 50); ATK_RATE(wd.equipAtk, wd.equipAtk2, 50); default: // fall through to apply EDP bonuses // Renewal EDP formula [helvetica] // weapon atk * (1 + (edp level * .8)) // equip atk * (1 + (edp level * .6)) ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 100 + (sc->data[SC_EDP]->val1 * 80)); ATK_RATE(wd.equipAtk, wd.equipAtk2, 100 + (sc->data[SC_EDP]->val1 * 60)); break; #else default: ATK_ADDRATE(wd.damage, wd.damage2, sc->data[SC_EDP]->val3); and try this if (sc->data[SC_EDP]) { switch(skill_id) { case AS_SPLASHER: case ASC_METEORASSAULT: // Pre-Renewal only: Soul Breaker ignores EDP // Renewal only: Grimtooth and Venom Knife ignore EDP // Both: Venom Splasher and Meteor Assault ignore EDP [helvetica] #ifndef RENEWAL case ASC_BREAKER: #else case AS_GRIMTOOTH: case AS_VENOMKNIFE: #endif break; // skills above have no effect with EDP #ifdef RENEWAL // renewal EDP mode requires renewal enabled as well // Renewal EDP: damage gets a half modifier on top of EDP bonus for skills [helvetica] // * Sonic Blow // * Soul Breaker // * Counter Slash // * Cross Impact case AS_SONICBLOW: case ASC_BREAKER: case GC_COUNTERSLASH: case GC_CROSSIMPACT: ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 50); ATK_RATE(wd.equipAtk, wd.equipAtk2, 50); default: // fall through to apply EDP bonuses // Renewal EDP formula [helvetica] // weapon atk * (1 + (edp level * .8)) // equip atk * (1 + (edp level * .6)) ATK_RATE(wd.weaponAtk, wd.weaponAtk2, 100 + (sc->data[SC_EDP]->val1 * 80)); ATK_RATE(wd.equipAtk, wd.equipAtk2, 100 + (sc->data[SC_EDP]->val1 * 60)); break; #else default: ATK_ADDRATE(wd.damage, wd.damage2, sc->data[SC_EDP]->val3); aspd_rate += 200; Quote Link to comment Share on other sites More sharing options...
0 Eros Posted September 24, 2018 Group: Members Topic Count: 76 Topics Per Day: 0.02 Content Count: 202 Reputation: 2 Joined: 07/09/12 Last Seen: June 7, 2023 Author Share Posted September 24, 2018 I'm having error with these line aspd_rate += 200; Quote Link to comment Share on other sites More sharing options...
Question
Eros
I would like to ask if how can i reduce 2 aspd when EDP skill level 5 is in used thank you.
Link to comment
Share on other sites
2 answers 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.