bodibastos Posted January 4, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 45 Reputation: 0 Joined: 10/13/12 Last Seen: November 26, 2023 Share 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 Link to comment Share on other sites More sharing options...
bodibastos Posted January 8, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 45 Reputation: 0 Joined: 10/13/12 Last Seen: November 26, 2023 Author Share Posted January 8, 2013 Can anyone help me? Sorry for bumping, but it's already been 4 days Quote Link to comment Share on other sites More sharing options...
goddameit Posted January 8, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share 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 Link to comment Share on other sites More sharing options...
Lighta Posted January 8, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.