- 0
Sign in to follow this
Followers
0
How to make RK_ENCHANTBLADE buff affect skills damage too
Asked by
Svanhild
-
Recently Browsing 0 members
No registered users viewing this page.

Good day guys, I just need a little help here. I wanna make Enchantblade skill buff increase skills damage too. Currently (default) it only adds additional damage to your normal attacks base on how much INT/matk you have. Well, I want the same formula applied to buff all damages including skills, not just normal atk. I've been trying to do a custom code but never worked. Help!
base on battle.c
if( sc->data[SC_ENCHANTBLADE] ) {//[( ( Skill Lv x 20 ) + 100 ) x ( casterBaseLevel / 150 )] + casterInti = ( sc->data[SC_ENCHANTBLADE]->val1 * 20 + 100 ) * status->get_lv(src) / 150 + status_get_int(src);i = i - status->get_total_mdef(target) + status->get_matk(src, 2);if( i ) ATK_ADD(i);}I've also checked status.c made a custom code but it doesn't seem to work like it should and it crashes, so yeah I need help.
Share this post
Link to post
Share on other sites