Method
SpellInfo:CheckTargetCreatureType
[-]
[+]
Returns true if the SpellInfo can affect the Unit based on its creature type.
isValid = SpellInfo:CheckTargetCreatureType( target )
Unit target
The Unit whose creature type is evaluated.
boolean isValid
- See method description.