fix(Scripts/TempleOfAhnQiraj): Properly prevent Uppercut from triggering Double Attack (#13581)
* netherstorm&shadowmoon * 1 * fix * 2
This commit is contained in:
@@ -4421,6 +4421,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->Effects[EFFECT_0].MiscValueB = 64;
|
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)
|
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
|
||||||
{
|
{
|
||||||
SpellInfo* spellInfo = mSpellInfoMap[i];
|
SpellInfo* spellInfo = mSpellInfoMap[i];
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ struct boss_veknilash : public boss_twinemperorsAI
|
|||||||
_scheduler
|
_scheduler
|
||||||
.Schedule(14s, [this](TaskContext context)
|
.Schedule(14s, [this](TaskContext context)
|
||||||
{
|
{
|
||||||
DoCastRandomTarget(SPELL_UPPERCUT, 0, me->GetMeleeReach(), true, true);
|
DoCastRandomTarget(SPELL_UPPERCUT, 0, me->GetMeleeReach(), true);
|
||||||
context.Repeat(4s, 15s);
|
context.Repeat(4s, 15s);
|
||||||
})
|
})
|
||||||
.Schedule(12s, [this](TaskContext context)
|
.Schedule(12s, [this](TaskContext context)
|
||||||
|
|||||||
Reference in New Issue
Block a user