Scripts/Spells: Add Divine Storm target cap

Port From (https://github.com/TrinityCore/TrinityCore/commit/320c44e8e74dbd6657cba227d4b16fed1e8aba7d)
This commit is contained in:
Hondacrx
2025-06-08 18:47:34 -04:00
parent 518969ad2f
commit 54f4251399
+6
View File
@@ -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");
}