fix(Core/Spells): Added SPELL_AURA_MOD_ABILITY_IGNORE_TARGET_RESIST… (#9764)

… to Chaos Bolt Passive
This commit is contained in:
UltraNix
2022-01-15 14:09:23 +01:00
committed by GitHub
parent 94e43d11a1
commit 11e94a6b89
3 changed files with 15 additions and 8 deletions

View File

@@ -7541,6 +7541,17 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AttributesEx3 &= ~SPELL_ATTR3_SUPRESS_TARGET_PROCS;
});
// Chaos Bolt Passive
ApplySpellFix({ 58284 }, [](SpellEntry* spellInfo)
{
spellInfo->Effect[EFFECT_1] = SPELL_EFFECT_APPLY_AURA;
spellInfo->EffectApplyAuraName[EFFECT_1] = SPELL_AURA_MOD_ABILITY_IGNORE_TARGET_RESIST;
spellInfo->EffectBasePoints[EFFECT_1] = 100;
spellInfo->EffectImplicitTargetA[EFFECT_1] = TARGET_UNIT_CASTER;
spellInfo->EffectMiscValue[EFFECT_1] = 127;
spellInfo->EffectSpellClassMask[EFFECT_1][1] = 0x00020000;
});
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);