fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz (#10701)

* fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz
This commit is contained in:
Nefertumm
2022-02-16 08:54:08 -03:00
committed by GitHub
parent 7d781c52c7
commit abccbcb4be
2 changed files with 13 additions and 0 deletions

View File

@@ -4064,6 +4064,14 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_HITBYSPELL | AURA_INTERRUPT_FLAG_TAKE_DAMAGE;
});
// Nefarius Corruption
ApplySpellFix({ 23642 }, [](SpellInfo* spellInfo)
{
spellInfo->MaxAffectedTargets = 1;
spellInfo->Effects[EFFECT_0].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_TARGET_ANY);
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo();
});
// Conflagration, Horseman's Cleave
ApplySpellFix({ 42380, 42587 }, [](SpellInfo* spellInfo)
{