• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Anyone know the formula for attack speed?

Status
Not open for further replies.
Level 2
Joined
Aug 10, 2005
Messages
29
Alright, so, we have your base attack delay as such:

unit cooldown + unit backswing animation

Now, we have agility, which normally gives a 2% attack speed increase (hereto refered as 'asi') per point of agility, and spells that can give +% asi.

Now, how does the asi come into play in the overall formula?

I am assuming the formula would look something like this:
(Cooldown + Backswing) - (Cooldown + Backswing) X Sum of ASI = ## seconds


For example:
Say a unit has 3 sec cooldown and 1 sec backswing animation.


At lvl 1 with 0 agility, we would have...
(3+1) - (3+1) x 0% = 4 seconds.

Now, with 10 agil, thats a 20% asi, so..

(3+1) - (3+1) x 20% = 4 - .8 = 3.2 seconds...

But, that can't be the formula, because then we would be swinging instantly at 50 agility.

So, the formula might be compounding for each 1% asi.

Anyone have any thoughts? or has this been worked out already?

Thanks for any help.
 
Level 5
Joined
Nov 21, 2005
Messages
100
Backswing has no effect, from what I've tried using mortar teams.
Agility would simply multiply the time by 0.98.
Therefore the formula is:

agility
(cooldown) X (0.98)


Yeah, that's 0.98 to the power agility.
 
Level 2
Joined
Aug 10, 2005
Messages
29
I'm pretty sure backswing is part of the delay...

Oh well, i'll test that out.

So.. a revised formula would be...

(Cooldown + Backswing) x [(1.00 - agil asi)^agility] x [1.00 - magical ais 1] x [1.00 - magical ais 2] x [1.00 - magical ais 3] x etc.

anyone else have anything to add?

Again, thanks for any and all help.
 
Status
Not open for further replies.
Top