IsHostile - Spell

Member of: Spell Script

Returns whether this spell is considered hostile or not.

SyntaxEdit

bool Function IsHostile() native

ParametersEdit

None.

Return ValueEdit

Whether this spell is considered hostile

ExamplesEdit

if (MySpell.IsHostile())
  Debug.Trace("Got hit with a hostile spell!")
endIf

See AlsoEdit