IsHostile - Enchantment

Member of: Enchantment Script

Returns whether this enchantment is considered hostile or not.

SyntaxEdit

bool Function IsHostile() native

ParametersEdit

None.

Return ValueEdit

Whether this enchantment is considered hostile

ExamplesEdit

if (SwordEnchant.IsHostile())
  Debug.Trace("Got hit with a hostile enchant!")
endIf

See AlsoEdit