Core/Spells: Merge Spell::SetSpellValue overloads

Port From (https://github.com/TrinityCore/TrinityCore/commit/e57b0296d65446e358ead632750c4ae0c5249631)
This commit is contained in:
Hondacrx
2025-08-10 12:40:04 -04:00
parent 70f313866f
commit b43849a605
3 changed files with 18 additions and 26 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ namespace Scripts.Spells.Monk
calmingCoalescence.GetBase().Remove();
}
GetSpell().SetSpellValue(SpellValueMod.BasePoint0, absorb);
GetSpell().SetSpellValue(new((int)SpellValueMod.BasePoint0, absorb));
}
public override void Register()