bodibastos Posted January 4, 2013 Posted January 4, 2013 I'd like to take the skill Crimson Rock (2800% MATK damage) and change it to 1400% ATK damage and 1400% MATK damage. I know how to lower the MATK value, but how do I add the ATK? Thanks. Quote
bodibastos Posted January 8, 2013 Author Posted January 8, 2013 Can anyone help me? Sorry for bumping, but it's already been 4 days Quote
goddameit Posted January 8, 2013 Posted January 8, 2013 battle.c struct Damage battle_calc_magic_attack #ifdef RENEWAL ad.damage = skill_lv * (sstatus->matk_min + sstatus->matk_max); #else ad.damage = status_get_lv(src) + sstatus->int_ + skill_lv * 10; modify it to be something like if( skill_num == WL_CRIMSONROCK ) { ad.damage = .... atk/2 + matk/2 } Quote
Lighta Posted January 8, 2013 Posted January 8, 2013 depend witch atk you want but you can take a look at : status_get_batk status_get_watk status_get_watk2 to get the battle-status atk of src and then alter the damage formula. (or sstatus->batk etc..) : http://rathena.sourceforge.net/doxygen/structstatus__data.html Quote
Question
bodibastos
I'd like to take the skill Crimson Rock (2800% MATK damage) and change it to 1400% ATK damage and 1400% MATK damage. I know how to lower the MATK value, but how do I add the ATK?
Thanks.
3 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.