fix(Scripts/TempleOfAhnQiraj): Properly prevent Uppercut from triggering Double Attack (#13581)

* netherstorm&shadowmoon

* 1

* fix

* 2
This commit is contained in:
Gultask
2022-10-28 19:37:04 -03:00
committed by GitHub
parent c06f296a5f
commit 003f574bf4
2 changed files with 7 additions and 1 deletions

View File

@@ -4421,6 +4421,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].MiscValueB = 64;
});
// Uppercut
ApplySpellFix({ 26007 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx3 |= SPELL_ATTR3_SUPRESS_CASTER_PROCS;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];