Method CheckResistSpell
CheckResistSpell(NwGameObject)
Performs a spell resistance check between this creature (caster) and the specified target.
public ResistSpellResult CheckResistSpell(NwGameObject target)
Parameters
targetNwGameObjectThe target object to perform the spell resist check.
Returns
- ResistSpellResult
NonPlayerSpell if spell cast is not a player spell.
Resisted if spell is resisted.
ResistedMagicImmune if spell is resisted via magic immunity.
ResistedSpellAbsorbed if spell is resisted via spell absorption.
Remarks
For more nuanced control on spell resistance checks, consider using SpellResistanceCheck(NwGameObject, NwSpell?, int?, int?, bool).
- See Also