Method SpellInfo:CheckTarget [-] [+]

Returns true if the target is valid for the SpellInfo.

Synopsis

isValid = SpellInfo:CheckTarget( caster, target )

isValid = SpellInfo:CheckTarget( caster, target, implicit )

Arguments

Unit caster

The Unit casting the spell.

WorldObject target

The intended target.

boolean implicit (true)

Whether implicit target checks should apply.

Returns

boolean isValid
See method description.

Generated on
©2016 - Eluna Lua Engine