From 88ea9a3029a3ee0a5b1181e6683d3d9971efd0b9 Mon Sep 17 00:00:00 2001 From: Jhett Black <10942655+jhett12321@users.noreply.github.com> Date: Sat, 27 Dec 2025 16:35:35 +0100 Subject: [PATCH] Remove obsolete flag from CheckResistSpell. --- NWN.Anvil/src/main/API/Objects/NwCreature.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/NWN.Anvil/src/main/API/Objects/NwCreature.cs b/NWN.Anvil/src/main/API/Objects/NwCreature.cs index e9635423f..45b3bd51b 100644 --- a/NWN.Anvil/src/main/API/Objects/NwCreature.cs +++ b/NWN.Anvil/src/main/API/Objects/NwCreature.cs @@ -1493,7 +1493,18 @@ public void BroadcastSkillRoll(int diceRoll, NwSkill skill, int modifier, int di creature.BroadcastSkillData(data); } - [Obsolete("Use SpellResistanceCheck instead.")] + /// + /// Performs a spell resistance check between this creature (caster) and the specified target. + /// + /// The target object to perform the spell resist check. + /// + /// if spell cast is not a player spell.
+ /// if spell is resisted.
+ /// if spell is resisted via magic immunity.
+ /// if spell is resisted via spell absorption. + ///
+ /// For more nuanced control on spell resistance checks, consider using . + /// public ResistSpellResult CheckResistSpell(NwGameObject target) { return (ResistSpellResult)NWScript.ResistSpell(this, target);