v0.13.8

CastSpellByName

functionimplementedavailable in: camelot

Casts a spell by name.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
namestringName of the spell to cast, e.g. "Alchemy".
targetstring?UnitId - The unit to cast the spell on. If omitted, "target" is assumed for spells that require a target.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.