/** Returns `true` if the damage done is done with Unit's attack. */
static function isAttackDamage() returns bool
return BlzGetEventIsAttack()
Unit
public function unit.startAbilityCooldown(int abilCode)
BlzStartUnitAbilityCooldown(this, abilCode, this.getAbilityCooldown(abilCode, this.getAbilityLevel(abilCode) - 1))
public function unit.startAbilityCooldown(int abilCode, real cooldown)
BlzStartUnitAbilityCooldown(this, abilCode, cooldown)
EventData
Unit