Method SpellInfo:CheckTargetCreatureType [-] [+]

Returns true if the SpellInfo can affect the Unit based on its creature type.

Synopsis

isValid = SpellInfo:CheckTargetCreatureType( target )

Arguments

Unit target

The Unit whose creature type is evaluated.

Returns

boolean isValid
See method description.

Generated on
©2016 - Eluna Lua Engine