Beret Posted January 31, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Share Posted January 31, 2013 (edited) Hello rathena I am wanting to change some skill, more want to know how can I do the calculation: Example: In irowiki says that Storm Gust. The calculation is this: case WZ_STORMGUST: skillratio += 40*skill_lv; break; How does the calculation of skill ? Another thing is what is the difference between. skillratio += and skillratio -= Edited January 31, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
goddameit Posted January 31, 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 31, 2013 (edited) skillratio : skill damage rate, after blabla ( some calculations ) then system will get a value ( for base damage ), now according skill level to increase ( or decrease ) this value. += & -= : Var A += Var B ---> Var A = Var A + Var B Var A -= Var B ---> Var A = Var A - Var B < MORE > Edited January 31, 2013 by goddameit Quote Link to comment Share on other sites More sharing options...
Beret Posted January 31, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted January 31, 2013 (edited) If I put this way skillratio += 40; //in this case the damage is increased by 40% correct ? or skillratio-= 20; // Now I think I understand it if looks like this would be 40-20 = 20% ? Edited January 31, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
goddameit Posted January 31, 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 31, 2013 if +40 mean increase 40%, then why -40 not mean decreased 40%? anyway, think and research first, you don't need to reply so soon. Quote Link to comment Share on other sites More sharing options...
Beret Posted January 31, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted January 31, 2013 (edited) In the case of skill_lv. skillratio += 40 * skill_lv; //Each level increases 40%. and skillratio -= 40 * skill_lv; //Each level reduces -40%. One last thing is the following case WL_FROSTMISTY: skillratio += 100 + 100 * skill_lv; RE_LVL_DMOD(100); //What do you mean this RE_LVL_DMOD (100) ? break; If I want a skillratio of 400 to 600% as would be ? Edited January 31, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
Helly Posted January 31, 2013 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 258 Reputation: 54 Joined: 01/09/12 Last Seen: December 26, 2020 Share Posted January 31, 2013 about the skill damage, i nice to do it by source edition, but i think you must try the lilith skill damage manager is easy to handle, some skill can not be edited by that system but are skills like tiger cannon or chain lightning that the formula isnt depends of an unique formula. http://rathena.org/board/topic/62238-manage-skill-damage-20/ then you can make a calculation of damage based on your server rates, drops etc etc. Is a very useful tool. Quote Link to comment Share on other sites More sharing options...
goddameit Posted February 1, 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 February 1, 2013 Quote Link to comment Share on other sites More sharing options...
Beret Posted February 1, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted February 1, 2013 (edited) Obliged to all. Now I understand. Edited February 1, 2013 by Beret Quote Link to comment Share on other sites More sharing options...
Question
Beret
Hello rathena I am wanting to change some skill, more want to know how can I do the calculation:
Example: In irowiki says that Storm Gust.
The calculation is this:
How does the calculation of skill ?
Another thing is what is the difference between.
and
Edited by BeretLink to comment
Share on other sites
7 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.