fix(Core/Spells): Remove King Mrgl-Mrgl costume on spell casting (#23713)

This commit is contained in:
Andrew
2025-11-15 17:35:39 -03:00
committed by GitHub
parent 8c963a11ce
commit 39b6a8ed6b
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
--
DELETE FROM `spell_proc_event` WHERE `entry`= 45278;
INSERT INTO `spell_proc_event` (`entry`, `procFlags`) VALUES
(45278, 0x00004400|0x00010000);

View File

@@ -5157,6 +5157,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_DOT_STACKING_RULE; spellInfo->AttributesEx3 |= SPELL_ATTR3_DOT_STACKING_RULE;
}); });
// King Mrlg-Mrgl's Spare Suit
ApplySpellFix({ 45278 }, [](SpellInfo* spellInfo)
{
spellInfo->ProcCharges = 1;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i) for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{ {
SpellInfo* spellInfo = mSpellInfoMap[i]; SpellInfo* spellInfo = mSpellInfoMap[i];