Ninjamon Posted March 11, 2013 Posted March 11, 2013 Like Lilith's Skill Damage http://rathena.org/board/topic/62238-manage-skill-damage-21/ is there a source code that reduces a specific skill? Example, ORIGINAL DAMAGE -10% = NEW DAMAGE. Quote
Playtester Posted March 12, 2013 Posted March 12, 2013 Number of hits is handled in the skill_db.txt: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/pre-re/skill_db.txt 469,9,8,1,-2,0,0,10,1:2:3:4:5:6:7:8:9:10,yes,0,0,0,magic,0, SL_SMA,Esma But damage of each hit is handled in battle.c: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/battle.c case SL_SMA: skillratio += -60 + status_get_lv(src); //Base damage is 40% + lv% break; Quote
Playtester Posted March 11, 2013 Posted March 11, 2013 All damage is handled in battle.c, if you want to reduce the damage of a specific skill you'd usually just search for the skill constant to find the damage formula and then modify that. Quote
Ninjamon Posted March 11, 2013 Author Posted March 11, 2013 All damage is handled in battle.c, if you want to reduce the damage of a specific skill you'd usually just search for the skill constant to find the damage formula and then modify that. Like reducing the hit of the skill? Example Esma hits x10 i will reduce it to 5? Quote
Question
Ninjamon
Like Lilith's Skill Damage http://rathena.org/board/topic/62238-manage-skill-damage-21/
is there a source code that reduces a specific skill? Example, ORIGINAL DAMAGE -10% = NEW DAMAGE.
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.