fix(Scripts/Misc): Lower Artorius damage treshold when he damages him… (#12695)

* fix(Scripts/Misc): Lower Artorius damage treshold when he damages himself & his dot shouldn't be affected by his enrage

* Update SpellInfoCorrections.cpp
This commit is contained in:
Skjalf
2022-08-13 22:24:58 -03:00
committed by GitHub
parent 5dd22f822d
commit 4952e6032f
2 changed files with 23 additions and 0 deletions

View File

@@ -4341,6 +4341,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].TargetA = TARGET_UNIT_SUMMONER;
});
// Artorius Demonic Doom
ApplySpellFix({ 23298 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx4 |= SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS;
spellInfo->AttributesEx6 |= SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];