Jump to content
  • 0

Broken: How reduce is applied in rAthena


Yuka

Question


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

The way rAthena applies the reduces seems to be broken.

I have found out that the formulas are like the iRo damage formulas, but the reduce is applied in a total value, not step by step.

So instead of applying demi-human reduce THEN property reduce THEN long-range reduce, it applys (demi-human reduce + property reduce + long-range reduce) all at once.

 

So for example Acid Demonstration will miss on 45% Long Range Reduce, 27% neutral reduce and 29% demi-human reduce. (45+27+29 = 101)

Instead the reduces should be applied step by step:

1k AD = 1k*0.65*0.73*0.71 = 336


Bump.


Bump. D:

Edited by Yuka
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.03
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

Okay, I have fixed it.

It is fixed in all rAthena versions newer than 13th March 2014. (but Harmony won't work on the latest rAthena version. :D)

So what I did is applying the commits manually: https://github.com/rathena/rathena/commit/165609d487f2ca82655c27c166ea16110fe2017d

Note that there are two follow ups...

Edited by Yuka
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

try to check the calculations on ratemyserver.net. make sure you are taking the renewal (if your server is renewal) or pre-re (otherwise). as I know, rAthena and official kRO server has the same calculations

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

...

 

I should have asked you, "Are you using the latest GIT for the rAthena?"

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...