From 7fb669a7cb0e1eaa2389d574f3ba67121b9fe924 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Mon, 18 Aug 2025 09:51:53 -0400 Subject: [PATCH] Scripts/Spells: Fix target limit of monk talents Revival/Restoral Port From (https://github.com/TrinityCore/TrinityCore/commit/76c397ed8d1881f9b4127455050170c6e58b1d4d) --- Source/Game/Spells/SpellManager.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index 13dbd9643..6279a3314 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -4672,6 +4672,18 @@ namespace Game.Entities spellInfo._LoadSqrtTargetLimit(5, 0, 212431, 1, null, null); }); + // Revival + ApplySpellFix([115310], spellInfo => + { + spellInfo._LoadSqrtTargetLimit(5, 0, null, 4, null, null); + }); + + // Restoral + ApplySpellFix([388615], spellInfo => + { + spellInfo._LoadSqrtTargetLimit(5, 0, null, 4, null, null); + }); + Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms"); }