Skip to content

Commit

Permalink
fix(Scripts/TempleOfAhnQiraj): Properly prevent Uppercut from trigger…
Browse files Browse the repository at this point in the history
…ing Double Attack (#13581)

* netherstorm&shadowmoon

* 1

* fix

* 2
  • Loading branch information
Gultask committed Oct 28, 2022
1 parent c06f296 commit 003f574
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/server/game/Spells/SpellInfoCorrections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ struct boss_veknilash : public boss_twinemperorsAI
_scheduler
.Schedule(14s, [this](TaskContext context)
{
DoCastRandomTarget(SPELL_UPPERCUT, 0, me->GetMeleeReach(), true, true);
DoCastRandomTarget(SPELL_UPPERCUT, 0, me->GetMeleeReach(), true);
context.Repeat(4s, 15s);
})
.Schedule(12s, [this](TaskContext context)
Expand Down

0 comments on commit 003f574

Please sign in to comment.