So I kinda figured out everything except for:
- Uses not only the hero's base attack speed as cooldown but also (including all item attack speed modifiers, ie item that modifies attack speed by .98 must be counted)
I'm not even sure if it is possible to get the hero's current attack speed (including all item attack speed behavior bonuses) (weapon cooldown and weapon speed multiplier in the trigger editor don't return the attack speed that you see by hovering over the weapon icon)
Anyone know how to get a unit's attack speed in game and return it as a real variable?
HatsuneMikuMegurine AuthorHow do you make a hero unit only "attack swing" once, when you press spacebar, instead of autoattack like normal?
I'm not even sure if it is possible to get the hero's current attack speed (including all item attack speed behavior bonuses) (weapon cooldown and weapon speed multiplier in the trigger editor don't return the attack speed that you see by hovering over the weapon icon)
for example, my hero has an attack speed of 2.3 with -0.35 speed bonus from item, but the debug message convert real to text of the units' weapon cooldown displayed 45, and the debug message convert real to text of the unit's weapon speed multiplier displayed 1
Is that possible, and if so, whats the best way to do so?
Thanks