Hadeszeus 15 Posted May 14, 2014 Need Help nerfing Tiger Cannon. case SR_TIGERCANNON:// ATK [((Caster consumed HP + SP) / 4) x Caster Base Level / 100] % { int hp = status_get_max_hp(src) * (10 + 2 * skill_lv) / 100, sp = status_get_max_sp(src) * (6 + skill_lv) / 100; if( sc && sc->data[SC_COMBOATTACK] && sc->data[SC_COMBOATTACK]->val1 == SR_FALLENEMPIRE ) // ATK [((Caster consumed HP + SP) / 2) x Caster Base Level / 100] % skillratio += -100 + (hp+sp) / 2; else skillratio += -100 + (hp+sp) / 4; RE_LVL_DMOD(100); } My server has 150 to 200k HP Ratio and this skill dealt massive damage. I Need help on how to properly nerf the damage on 175 base level and 150k to 200k HP ratio. And what's the purpose of this RE_LVL_DMOD(100); Quote Share this post Link to post Share on other sites
0 malufett 247 Posted May 14, 2014 make a ratio or only get a portion of the HP/SP something like this int hp = (status_get_max_hp(src) * 40 / 100) * (10 + 2 * skill_lv) / 100, // get only 40% of total max HP sp = (status_get_max_sp(src) * 40 / 100) * (6 + skill_lv) / 100; // get only 40% of total max SP And what's the purpose of this RE_LVL_DMOD(100); its a renewal feature added for some skill where char's current level affects the over all damage formula of a skill..example of its use is when a char is low level and using a skill with lvl mod skill formula is penalized but if your level is equal to it or more than to the level requirements the char will gain bonus damage... 1 Hadeszeus reacted to this Quote Share this post Link to post Share on other sites
0 Hadeszeus 15 Posted May 15, 2014 Malu! Thank you so much! /no1 Quote Share this post Link to post Share on other sites
Need Help nerfing Tiger Cannon.
case SR_TIGERCANNON:// ATK [((Caster consumed HP + SP) / 4) x Caster Base Level / 100] % { int hp = status_get_max_hp(src) * (10 + 2 * skill_lv) / 100, sp = status_get_max_sp(src) * (6 + skill_lv) / 100; if( sc && sc->data[SC_COMBOATTACK] && sc->data[SC_COMBOATTACK]->val1 == SR_FALLENEMPIRE ) // ATK [((Caster consumed HP + SP) / 2) x Caster Base Level / 100] % skillratio += -100 + (hp+sp) / 2; else skillratio += -100 + (hp+sp) / 4; RE_LVL_DMOD(100); }My server has 150 to 200k HP Ratio and this skill dealt massive damage.
I Need help on how to properly nerf the damage on 175 base level and 150k to 200k HP ratio.
And what's the purpose of this RE_LVL_DMOD(100);
Share this post
Link to post
Share on other sites