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 casterThe caster to check from.
WorldObject targetThe target to check against.
Returns
number spellCastResultValid numbers: integers from 0 to 4,294,967,295.