Method SpellInfo:CheckTargetCreatureType [-] [+]

Returns true if the given Unit matches the required creature type for the SpellInfo, false otherwise.

Synopsis

checkTargetCreatureType = SpellInfo:CheckTargetCreatureType( target )

Arguments

Unit target

The unit to check.

Returns

boolean checkTargetCreatureType
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine