🌟Ability
Last updated
Last updated
CAbility
.CAbility
extends CEntity
Name | Type | Description |
---|---|---|
Returns the ability owner.
CAbility
): boolean
Name | Type | Description |
---|---|---|
Returns true
if the ability is passive.
CAbility
): boolean
Name | Type | Description |
---|---|---|
Returns true
if the ability is basic.
CAbility
): boolean
Returns true
if the ability is an ultimate.
CAbility
): boolean
Returns true
if the ability is an attribute or a talent.
CAbility
): Enum.AbilityTypes
Returns the ability type.
CAbility
): Enum.AbilityBehavior
Returns the ability type.
CAbility
): Enum.TargetTeam
Returns the target team of this Ability.
CAbility
): Enum.TargetType
Returns the target type of this Ability.
CAbility
): Enum.TargetFlags
Returns the target flags of this Ability.
CAbility
): Enum.DamageTypes
Returns the damage type of this Ability.
CAbility
): Enum.ImmunityTypes
Returns the immunity type of this Ability.
CAbility
): Enum.DispellableTypes
Returns the dispel type of this Ability.
WRONG API FIX ME IT MUST BE GetSpecialValueFor.
CAbility
): boolean
Returns true
if the ability is ready to use.
CAbility
): number
Returns the number of seconds passed from the last usage of the ability. Will return -1 if the ability is not on the cooldown.
CAbility
): number
Returns the ability damage from assets/data/npc_abilities.json field. Will return 0.0 if the ability doesn't contain this field.
CAbility
): integer
Returns the current ability level.
Gets the cast delay of this Ability.
CAbility
): number
Gets the cast delay modifier of this Ability.
Returns true
if the ability is currently castable. Checks for mana cost, cooldown, level,
and slot for items.
CAbility
): boolean
Returns true
if the ability is in channeling state. Example: teleport, rearm, powershot
etc.
CAbility
): string
Returns the ability name or empty string.
CAbility
): string
Returns the ability base name or empty string.
CAbility
): boolean
Returns true
if the ability is innate.
CAbility
): boolean
Returns true
if the ability is passive innate.
CAbility
): integer
Returns ability's max level.
CAbility
): boolean
Returns true
when abiliti is granted by facet.
CAbility
): Enum.AbilityCastResult
Returns -1
if ability can be executed.
CAbility
): boolean
Returns true
if enough mana for cast.
CAbility
, queue [?]
: boolean
, push [?]
: boolean
, execute_fast [?]
: boolean
, identifier [?]
: string
): nil
Casts the ability that doesn't require a target or position.
Casts the ability at a specified position.
Casts the ability on a specified target.
CAbility
, queue [?]
: boolean
, push [?]
: boolean
, execute_fast [?]
: boolean
, identifier [?]
: string
): nil
Toggles the ability. Example: Armlet.
CAbility
, queue [?]
: boolean
, push [?]
: boolean
, execute_fast [?]
: boolean
, identifier [?]
: string
): nil
Toggles the ability modifier. Example: Frost Arrows, Medusa's Shield.
Returns if the ability is upgradable with a specific reason.
CAbility
): integer
Returns the index of the ability in the ability owner's list. The index can be used in NPC.GetAbilityByIndex later.
CAbility
): number
Returns the cast range of the ability.
CAbility
): boolean
Returns true
if ability is hidden. Example: Zeus's Nimbus before purchasing agh.
CAbility
): boolean
Returns true
if the ability is in an activated state.
CAbility
): integer
Returns we don't know what :).
CAbility
): boolean
Returns if the ability is toggled. Example: Medusa's Shield.
CAbility
): boolean
Returns true
if the ability is in the cast state. Examples: Nature's Prophet's Teleport,
Meepo's Poof.
CAbility
): number
Returns the amount of time before the ability can be cast.
CAbility
): number
Returns the amount of time the ability couldn't be cast after being used.
CAbility
): number
Returns the ability mana cost.
CAbility
): boolean
Returns the autocast state of the ability.
CAbility
): boolean
Returns the alt cast state of the ability. Example: Doom's Devour.
CAbility
): number
Returns the gametime the channeling of the ability will start. Requires the ability to be in the cast state when called.
CAbility
): number
Returns the gametime the ability will be casted. Requires the ability to be in the cast state when called.
CAbility
): boolean
Returns true
if the cooldown of the ability is indefinite.
CAbility
): boolean
Returns true
if the cooldown of the ability is frozen.
CAbility
): number
Returns the overridden cast point. Example: Arcane Blink.
CAbility
): boolean
Returns true
if the ability is stolen.
CAbility
): integer
Returns the number of charges available.
CAbility
): integer
Returns the remaining time for the next charge to restore.
Ability
): string
Returns the keybind of the ability.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|