v0.13.8

UnitChannelInfo

functionimplementedavailable in: camelot

Returns information about the spell currently being channeled by the specified unit.

signaturewowlua
function UnitChannelInfo(    unit: string): (string, string, number, number, number, boolean, boolean?, number, boolean, number, UnitCastBarID?)

Parameters

nametype
unitstring

Returns

#nametypedescription
1namestringThe name of the spell, or nil if no spell is being channeled.
2displayNamestringThe name to be displayed.
3textureIDnumberThe texture path associated with the spell icon.
4startTimeMsnumberSpecifies when channeling began, in milliseconds (corresponds to GetTime()*1000).
5endTimeMsnumberSpecifies when channeling will end, in in milliseconds (corresponds to GetTime()*1000).
6isTradeskillbooleanSpecifies if the cast is a tradeskill.
7notInterruptibleboolean?if true, indicates that this channeling cannot be interrupted with abilities like Kick or Pummel. In default UI those spells have shield frame around their icons on enemy channeling bars. Always returns nil in Classic .
8spellIDnumberThe spell's unique identifier.
9isEmpoweredboolean
10numEmpowerStagesnumber
11castBarIDUnitCastBarID?

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.