kitty14 Posted July 3, 2014 Posted July 3, 2014 Hello! just want to know where and how to edit /reduce buff like full throttle/unlimit/inspiration etc..as well as reducing damage of gate of Hell.. thank you Quote
sandbox Posted July 3, 2014 Posted July 3, 2014 Look for their formulas here /rathena/blob/master/src/map/battle.c Quote
kitty14 Posted July 3, 2014 Author Posted July 3, 2014 uhmm. theres so many of them and i cant seem to understand them .LOL..like this for unlimit if(sc->data[SC_UNLIMIT] && (wd.flag&(BF_LONG|BF_MAGIC)) == BF_LONG) { switch(skill_id) { case RA_WUGDASH: case RA_WUGSTRIKE: case RA_WUGBITE: break; default: ATK_ADDRATE(wd.damage, wd.damage2, sc->data[SC_UNLIMIT]->val2); RE_ALLATK_ADDRATE(wd, sc->data[SC_UNLIMIT]->val2); break; } } and GOH. how?? case SR_GATEOFHELL: { struct status_data *sstatus = status_get_status_data(src); ATK_ADD(wd.damage, wd.damage2, sstatus->max_hp - status_get_hp(src)); if(sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == SR_FALLENEMPIRE) { ATK_ADD(wd.damage, wd.damage2, (sstatus->max_sp * (1 + skill_lv * 2 / 10)) + 40 * status_get_lv(src)); } else ATK_ADD(wd.damage, wd.damage2, (sstatus->sp * (1 + skill_lv * 2 / 10)) + 10 * status_get_lv(src)); } break; } Quote
Everade Posted July 8, 2014 Posted July 8, 2014 I've tested now over 20 different variations to reduce the output damage of gate of hell. with no success. no matter what i freaking change in the source code, the damage is always the same. Only one time when i've messed with the sstatus->max_hp, i've managed to go over 999999999 dmg per hit. Could please someone support kitty14 and me with this case? I've never had such issues before unless with this skill. Currently gate of hell does mostly a one hit, or needs to be casted about max 3 times to kill any player. (server with 200 max stats which allows higher max HP) I've had balanced gate of hell before within the skill.c back then, when i was able to simply set a max cap on the skillratio.But now, since the code has been rewritten and moved to battle.c, i can't manage to reduce it's damage anymore. Quote
Question
kitty14
Hello! just want to know where and how to edit /reduce buff like full throttle/unlimit/inspiration etc..
as well as reducing damage of gate of Hell..
thank you
4 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.