Method SpellInfo:CheckTarget [-] [+]

Checks whether the SpellInfo can be cast on the given target by the given caster. Returns the [SpellCastResult] of the check.

Synopsis

spellCastResult = SpellInfo:CheckTarget( caster, target )

Arguments

WorldObject caster

The caster to check from.

WorldObject target

The target to check against.

Returns

number spellCastResult

Valid numbers: integers from 0 to 4,294,967,295.

Generated on
© 2010 - 2024 Eluna Lua Engine