• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Detect current Attack Speed

Status
Not open for further replies.
There is no easy way.
The best way depends on your map. You could check for all abilities and buffs on a unit that give attackspeed and then calculate it with their values, for example saved in a hashtable.
 
I don't think its possible... you have to save every units : Base attack time (BAT)

by manually assigning them to variables is the only way to work with them
and for further attack speed calculations you have to register EVERY IAS(increase attack speed) effect the unit has:/

like if he equips a gloves of haste (it gives 30 IAS) register the amount

that would be hell of a lot work I think and really complicated as a map could use hundrends of different types of units:D
 
Status
Not open for further replies.
Back
Top