mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
fix(Scripts/MagtheridonLair): Magtheridon Debris (#17249)
* fix(Core/Scripts): Magtheridon Debris * unhack * cleanup * eof line * unused variable * more cleanup
This commit is contained in:
@@ -1530,8 +1530,8 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->ChannelInterruptFlags |= AURA_INTERRUPT_FLAG_MOVE;
|
||||
});
|
||||
|
||||
// Debris
|
||||
ApplySpellFix({ 36449 }, [](SpellInfo* spellInfo)
|
||||
// Debris - Debris Visual
|
||||
ApplySpellFix({ 36449, 30632 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Attributes |= SPELL_ATTR0_AURA_IS_DEBUFF;
|
||||
});
|
||||
@@ -1542,12 +1542,6 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_DOT_STACKING_RULE;
|
||||
});
|
||||
|
||||
// Debris Visual
|
||||
ApplySpellFix({ 30632 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].TargetB = SpellImplicitTargetInfo(TARGET_DEST_DYNOBJ_ALLY);
|
||||
});
|
||||
|
||||
// Activate Sunblade Protecto
|
||||
ApplySpellFix({ 46475, 46476 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user