Method SpellInfo:CheckExplicitTarget [-] [+]

Returns true if the SpellInfo can be explicitly cast on the given [target] with the optional Item.

Synopsis

isValid = SpellInfo:CheckExplicitTarget( caster, target, item )

Arguments

Unit caster

The Unit attempting to cast the spell.

WorldObject target

The intended target of the spell.

Item item

Optional item used in the cast.

Returns

boolean isValid
See method description.

Generated on
©2016 - Eluna Lua Engine