From 54f42513993cb17fe495929a0f5b48f1ab6b43c6 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 8 Jun 2025 18:47:34 -0400 Subject: [PATCH] Scripts/Spells: Add Divine Storm target cap Port From (https://github.com/TrinityCore/TrinityCore/commit/320c44e8e74dbd6657cba227d4b16fed1e8aba7d) --- Source/Game/Spells/SpellManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index 73d8d11a0..0bb3b234a 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -4644,6 +4644,12 @@ namespace Game.Entities spellInfo._LoadSqrtTargetLimit(5, 0, null, 1, null, null); }); + // Divine Storm + ApplySpellFix([53385], spellInfo => + { + spellInfo._LoadSqrtTargetLimit(5, 0, null, 1, null, null); + }); + Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms"); }