diff --git a/NWN.Anvil.Tests/src/main/API/TwoDimArray/TwoDimArrayTests.cs b/NWN.Anvil.Tests/src/main/API/TwoDimArray/TwoDimArrayTests.cs index 962059c2b..32e63e303 100644 --- a/NWN.Anvil.Tests/src/main/API/TwoDimArray/TwoDimArrayTests.cs +++ b/NWN.Anvil.Tests/src/main/API/TwoDimArray/TwoDimArrayTests.cs @@ -2,7 +2,6 @@ using Anvil.API; using Anvil.Services; using NUnit.Framework; -using NWN.Native.API; using NWNX.NET.Native; namespace Anvil.Tests.API diff --git a/NWN.Anvil/src/main/API/Objects/NwCreature.cs b/NWN.Anvil/src/main/API/Objects/NwCreature.cs index a881be1d8..0e3ab9db6 100644 --- a/NWN.Anvil/src/main/API/Objects/NwCreature.cs +++ b/NWN.Anvil/src/main/API/Objects/NwCreature.cs @@ -2633,7 +2633,7 @@ public bool SpellAbsorptionLimitedCheck(NwGameObject target, NwSpell? spell = nu /// The spell level. If null, uses the spell level from the spell parameter using the creature's caster class. /// If true, will show feedback for the spell absorption check. /// True if the target successfully absorbed the spell, otherwise false. - public bool SpellAbsorptionLimitedCheck(NwGameObject target, NwSpell? spell = null, SpellSchool? spellSchool = null, int? spellLevel = null, bool feedback = true) + public bool SpellAbsorptionUnlimitedCheck(NwGameObject target, NwSpell? spell = null, SpellSchool? spellSchool = null, int? spellLevel = null, bool feedback = true) { return NWScript.SpellAbsorptionUnlimitedCheck(target, this, spell?.Id ?? -1, (int?)spellSchool ?? -1, spellLevel ?? -1, feedback.ToInt()).ToBool(); }