Method SpellImmunityCheck
SpellImmunityCheck(NwGameObject, NwSpell?, bool)
Performs a spell immunity check.
public bool SpellImmunityCheck(NwGameObject target, NwSpell? spell = null, bool feedback = true)
Parameters
targetNwGameObjectThe target creature of the spell.
spellNwSpellThe spell to use for the check. If null, will auto-detect based on the current running spell script.
feedbackboolIf true, will show feedback for the spell immunity check.
Returns
- bool
True if the target is immune to the spell, otherwise false.