fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz (#10701)
* fix(Core/Spells): Nefarius Corruption should only affect Vaelastrasz
This commit is contained in:
parent
7d781c52c7
commit
abccbcb4be
2 changed files with 13 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1644967518818105800');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceGroup` = 0 AND `SourceEntry` = 23642;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(17, 0, 23642, 0, 0, 31, 1, 3, 13020, 0, 0, 0, 0, '', 'Nefarius Corruption only affects Vaelastrasz');
|
||||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue