Jump to content
  • 0

Mob AttackDelay and AttackMotion


deniswalle96

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   3
  • Joined:  03/15/20
  • Last Seen:  

I have a question regarding how is 'AttackDelay' value determined in mob_db

For example, mob id 1634 has AttackDelay: 76 AttackMotion: 384

The ASPD value displayed in divine-pride.net refers to AttackMotion (1000/X) = aMotion.

How is the 'AttackDelay' value calculed?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  809
  • Reputation:   233
  • Joined:  01/30/13
  • Last Seen:  

It's basically is the max of both values.

So if aDelay is 76ms and aMotion is 384ms, then the delay between the attacks is 384ms.

 

Basically "aDelay" determines the time a monster has to wait until it can attack again. "aMotion" determines the time a monster cannot do anything at all after an attack.

If aMotion is higher than aDelay, the monster has to stand still until it can attack again (aMotion).

If aDelay is higher than aMotion, then the monster can already move again after aMotion milliseconds, but still cannot attack until after aDelay milliseconds.

 

Divine Pride currently has incorrect ASPD display because it only considers aMotion, not aDelay. So you cannot get the aDelay value from Divine Pride at all.

I notified Dia, he will fix it on Divine Pride.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  32
  • Reputation:   3
  • Joined:  03/15/20
  • Last Seen:  

Understood, thanks.

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