fix(Script/Quest): Protecting Our Own (#19247)

* fix(Core/Spells): Gor'drek's Ointment

* Update spell_item.cpp

* ;
This commit is contained in:
avarishd
2024-07-17 14:19:48 +03:00
committed by GitHub
parent 290482e76c
commit f510e122a0
4 changed files with 57 additions and 33 deletions

View File

@@ -4808,6 +4808,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx4 |= SPELL_ATTR4_NO_CAST_LOG;
});
// Gor'drek's Ointment
ApplySpellFix({ 32578 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS;
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];