Skip to content

Commit

Permalink
Fix method naming. Remove unused import.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhett12321 committed Jan 20, 2025
1 parent 22fb8fa commit 5413bd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion NWN.Anvil/src/main/API/Objects/NwCreature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2633,7 +2633,7 @@ public bool SpellAbsorptionLimitedCheck(NwGameObject target, NwSpell? spell = nu
/// <param name="spellLevel">The spell level. If null, uses the spell level from the spell parameter using the creature's caster class.</param>
/// <param name="feedback">If true, will show feedback for the spell absorption check.</param>
/// <returns>True if the target successfully absorbed the spell, otherwise false.</returns>
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();
}
Expand Down

0 comments on commit 5413bd1

Please sign in to comment.