MCPcopy Create free account
hub / github.com/ElunaLuaEngine/Eluna / CastSpell

Function CastSpell

methods/TrinityCore/UnitMethods.h:2140–2152  ·  view source on GitHub ↗

* Makes the [Unit] cast the spell on the target. * * @param [Unit] target = nil : can be self or another unit * @param uint32 spell : entry of a spell * @param bool triggered = false : if true the spell is instant and has no cost */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

CHECKOBJ<Unit>Method · 0.80
CHECKVAL<bool>Method · 0.80
GetSpellInfoMethod · 0.45

Tested by

no test coverage detected