-
Notifications
You must be signed in to change notification settings - Fork 12
Ability AI AI
These functions can be found on any ability handle the AI receives.
- ability:GetAbilityDamage
- ability:GetAbilityDamageType
- ability:GetAbilityIndex
- ability:GetAbilityName
- ability:GetAbilityTargetFlags
- ability:GetAbilityTargetTeam
- ability:GetAbilityTargetType
- ability:GetAbilityType
- ability:GetAutoCastState
- ability:GetBackswingTime
- ability:GetCastPoint
- ability:GetChannelledManaCostPerSecond
- ability:GetCooldown
- ability:GetCooldownTime
- ability:GetCooldownTimeRemaining
- ability:GetCurrentCharges
- ability:IsItem
- entity:GetClassname
- entity:GetEntityHandle
- entity:GetEntityIndex
- entity:GetName
Get the damage an ability does.
-
Get the type of damage an ability does.
-
Get the index of the ability on the unit.
Only works in vision
Get the name of the ability.
-
Get the target flags of an ability.
-
Get the target team of an ability.
-
Get the target type of an ability.
-
Get the type of the ability.
-
Get the auto-cast state (enabled/disabled) of the ability.
Only works for allied units, false otherwise.
Get the backswing time of an ability.
-
Get the cast point of an ability.
-
Get manacost per second during channel for some level of the ability.
-
Get the cooldown for a certain level of the ability.
- Level - The level to query the cooldown for.
-
Get the cooldown time for the current level of the ability.
Only returns times for abilities of teammates, 0 otherwise.
Get the remaining cooldown time for the ability.
Only returns times for abilities of teammates, 0 otherwise.
Get the current amount of charges on an item.
Only works if the owner is in vision.
Return if the ability is an item or not.
-
Get the classname of the entity.
-
Get the entity handle of the entity.
-
Get the entity index of the entity.
-
Get the name of the entity.
-