Parameters
- ability:
| Readonly<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
} & {
levelModifiers?: LevelModifier<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
},
>[];
} & Readonly<{ potency: null }> & {
levelModifiers?: LevelModifier<Readonly<{ potency: null }>>[];
},
> & Readonly<LevelModifiable<{ gcd: number; type: "gcd" }>>
| Readonly<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
} & {
levelModifiers?: LevelModifier<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
},
>[];
} & Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
> & {
levelModifiers?: LevelModifier<
Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
>,
>[];
},
> & Readonly<LevelModifiable<{ gcd: number; type: "gcd" }>>
| Readonly<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
} & {
levelModifiers?: LevelModifier<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
},
>[];
} & Readonly<{ potency: null }> & {
levelModifiers?: LevelModifier<Readonly<{ potency: null }>>[];
},
> & Readonly<LevelModifiable<{ type: "ogcd" }>>
| Readonly<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
} & {
levelModifiers?: LevelModifier<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
},
>[];
} & Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
> & {
levelModifiers?: LevelModifier<
Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
>,
>[];
},
> & Readonly<LevelModifiable<{ type: "ogcd" }>>
| never
| Readonly<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
} & {
levelModifiers?: LevelModifier<
{
_idForCooldown?: number;
activatesBuffs?: readonly Buff[];
alternativeScalings?: AlternativeScaling[];
animationLock?: number;
appDelay?: number;
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
buffApplicationDelay?: number;
cast?: number;
combos?: readonly ComboData[];
cooldown?: Cooldown;
fixedGcd?: boolean;
id: number;
itemId?: number;
name: string;
noIcon?: boolean;
translate?: boolean;
},
>[];
} & Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
> & {
levelModifiers?: LevelModifier<
Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
>,
>[];
},
> & Readonly<
{
alternativeScalings?: AlternativeScaling[];
attackType: | "Unknown"
| "Auto-attack"
| "Spell"
| "Weaponskill"
| "Ability"
| "Item";
autoCrit?: boolean;
autoDh?: boolean;
dot?: DotInfo;
potency: number;
},
> & Readonly<LevelModifiable<{ type: "autoattack" }>> - desiredTime: number
a CooldownStatus object, which contains detailed information such as available charge count,
and when the ability will be off cooldown both in relative times and absolute.
Cooldown tracker. This is used by CycleProcessor internally, but you can also query this directly for more detailed information about cooldowns.
However, you should not call methods such as useAbility. You should let the CycleProcessor do that for you.