Could anyone please tell me how I should edit this code if I want to completely disable renewal EDP? Or is there any other way to use Pre-renewal skill settings for all skills on a renewal server? My plan is to have a pre-renewal server with renewal content.
if (sc->data[SC_EDP]) {
switch(skill_id) {
case AS_SPLASHER:
// Pre-Renewal only: Soul Breaker and Meteor Assault ignores EDP
// Renewal only: Grimtooth and Venom Knife ignore EDP
// Both: Venom Splasher ignores EDP [helvetica]
#ifndef RENEWAL
case ASC_BREAKER:
case ASC_METEORASSAULT:
#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);
#endif
}
}
Question
Banzou
Could anyone please tell me how I should edit this code if I want to completely disable renewal EDP? Or is there any other way to use Pre-renewal skill settings for all skills on a renewal server? My plan is to have a pre-renewal server with renewal content.
Edited by Banzou3 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.