Core: Updated to 11.2.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/5cf0c6c8bb2c4e58a2d66ba5f304af34d18a4782)
This commit is contained in:
Hondacrx
2025-08-25 20:48:29 -04:00
parent d64045154a
commit aaa669210a
63 changed files with 5958 additions and 5434 deletions
+18 -3
View File
@@ -3716,6 +3716,15 @@ namespace Game.Entities
});
});
// Summon Faol in Tirisfal
ApplySpellFix([202112], spellInfo =>
{
ApplySpellEffectFix(spellInfo, 0, spellEffectInfo =>
{
spellEffectInfo.TargetA = new SpellImplicitTargetInfo(Targets.DestDb);
});
});
//
// VIOLET HOLD SPELLS
//
@@ -4385,7 +4394,7 @@ namespace Game.Entities
});
// Flame Spout
ApplySpellFix([ 114685 ], spellInfo =>
ApplySpellFix([114685], spellInfo =>
{
spellInfo.AttributesEx |= SpellAttr1.NoThreat;
spellInfo.AttributesEx8 |= SpellAttr8.CanAttackImmunePC;
@@ -4692,17 +4701,23 @@ namespace Game.Entities
});
// Keg Smash
ApplySpellFix([ 121253 ], spellInfo =>
ApplySpellFix([121253], spellInfo =>
{
spellInfo._LoadSqrtTargetLimit(5, 0, null, 6, null, null);
});
// Odyn's Fury
ApplySpellFix([ 385060, 385061, 385062 ], spellInfo =>
ApplySpellFix([385060, 385061, 385062], spellInfo =>
{
spellInfo._LoadSqrtTargetLimit(5, 0, 385059, 5, null, null);
});
// Flamestrike
ApplySpellFix([ 2120 ], spellInfo =>
{
spellInfo._LoadSqrtTargetLimit(8, 0, null, 2, null, null);
});
Log.outInfo(LogFilter.ServerLoading, $"Loaded SpellInfo target caps in {Time.GetMSTimeDiffToNow(oldMSTime)} ms");
}