- Joined
- Jul 28, 2024
- Messages
- 340
How does attack speed affect attack cooldown and damage point?
As far as inderstand +15% does not mean attack cd will be reduced 15%
This is the formula as far as i understand.
My goal is to get real attack cooldown value...
BlzGetUnitWeaponRealField(unit, UNIT_WEAPON_RF_ATTACK_COOLDOWN, 0) returns the value without any modifiers applied
But how to get the attack speed bonus so I can do the calculation myself...
As far as inderstand +15% does not mean attack cd will be reduced 15%
This is the formula as far as i understand.
JASS:
effectiveAttackCooldown = BlzGetUnitWeaponRealField(unit, UNIT_WEAPON_RF_ATTACK_COOLDOWN, 0) / (1-attackSpeedBonusCoeffecient)
My goal is to get real attack cooldown value...
BlzGetUnitWeaponRealField(unit, UNIT_WEAPON_RF_ATTACK_COOLDOWN, 0) returns the value without any modifiers applied
But how to get the attack speed bonus so I can do the calculation myself...
Last edited:
