Scripts/Spells: Fix target limit of monk talents Revival/Restoral

Port From (https://github.com/TrinityCore/TrinityCore/commit/76c397ed8d1881f9b4127455050170c6e58b1d4d)
This commit is contained in:
Hondacrx
2025-08-18 09:51:53 -04:00
parent 1c693d245f
commit 7fb669a7cb
+12
View File
@@ -4672,6 +4672,18 @@ namespace Game.Entities
spellInfo._LoadSqrtTargetLimit(5, 0, 212431, 1, null, null); 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"); Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
} }