Jump to content
  • 0

How to increase skill damage


Beret

Question


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

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.

2h6w07l.png

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 by Beret
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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 by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

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 by Beret
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

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 by Beret
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  258
  • Reputation:   54
  • Joined:  01/09/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Obliged to all. Now I understand.

Edited by Beret
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...