fix(Scripts/TempleOfAhnQiraj): Properly prevent Uppercut from triggering Double Attack (#13581)
* netherstorm&shadowmoon * 1 * fix * 2
This commit is contained in:
parent
c06f296a5f
commit
003f574bf4
2 changed files with 7 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue