v0.13.8

C_Commentator.GetPlayerSpellChargesByUnit

functionimplementedavailable in: camelot

Returns the charges of a spell for a spectated unit. · description by wowlua

signaturewowlua
function C_Commentator.GetPlayerSpellChargesByUnit(    unitToken: string,    spellID: number): (number?, number?, number?, number?)

Parameters

nametypedescription
unitTokenstringUnitId
spellIDnumber

Returns

#nametype
1chargesnumber?
2maxChargesnumber?
3startTimenumber?
4durationnumber?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

  • Requires active commentator.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CommentatorFrame system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.