Ninjamon Posted March 11, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share 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 Link to comment Share on other sites More sharing options...
Playtester Posted March 12, 2013 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 23 hours ago Share 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 Link to comment Share on other sites More sharing options...
Playtester Posted March 11, 2013 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: 23 hours ago Share 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 Link to comment Share on other sites More sharing options...
Ninjamon Posted March 11, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Ninjamon Posted March 12, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Author Share Posted March 12, 2013 up Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.