Jump to content
  • 0

ASPD Formula Question


Humble_Bee

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.03
  • Content Count:  112
  • Reputation:   9
  • Joined:  09/22/19
  • Last Seen:  

The current aspd formula works on a sharp curve. I'm working on making mine an even incline. Can someone tell me where the:

"The amount of hits your character makes is calculated as such: 50 / (200-FinalASPD) hits per second"  (as noted here: Attack Speed - NovaRO: Wiki (novaragnarok.com))

is located in status.cpp? That 50/yada is what is holding me back.

Thanks if anyone has the info handy.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/26/20
  • Last Seen:  

Yes, status.cpp, maybe https://github.com/rathena/rathena/blob/master/src/map/status.cpp#L5688 is what you're looking for

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.03
  • Content Count:  112
  • Reputation:   9
  • Joined:  09/22/19
  • Last Seen:  

I've been working on messing with that area, but I still don't see where the 50/(200-amotion) is listed. I see some places where it amotion gets multiplied by 50 and then divided by 100, but not 50/yadayada. Which is weird, because I changed the max cap for aspd to 1000, and it still divides everything by 50, meaning if I have 950 aspd, it becomes 50/ (1000-950), which becomes 1 attack per second. Not quite what I'm going for.

(And until I get an answer, or even if I don't, I'm starting the long tedious journey of putting all of the formulas for aspd into an excel, so that I can see exactly what they do and how they affect aspd, so that I will learn where that 50 is eventually.)

Edited by Humble_Bee
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...