fix(Spells/Scripts): Gnomish Poultryizer (#15554)

fix(Spells/Scripts): Gnomish Poultryizer not breaking on damage
This commit is contained in:
avarishd
2023-08-10 20:37:14 +03:00
committed by GitHub
parent 4eb96bb684
commit 7c43738214
2 changed files with 20 additions and 4 deletions

View File

@@ -4560,6 +4560,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TriggerSpell = 62585; // Mulgore Hatchling (fear)
});
// Poultryized!
ApplySpellFix({ 30504 }, [](SpellInfo* spellInfo)
{
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_TAKE_DAMAGE;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];