diff options
author | Gustavo <sirikfoll@hotmail.com> | 2017-03-24 08:59:04 -0300 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2020-04-24 17:18:49 +0200 |
commit | 6f523b4fb65331acca28b5ac00f14551427d038d (patch) | |
tree | 3be66fb9bf76279147e1d4ba111a937a1b0e3aea /src/server/game/Spells/SpellMgr.cpp | |
parent | 7a561ad045f7003aad6ff678c34ad4aafffea79d (diff) |
Core/Scripts: minor fixes in boss_the_lich_king (#19311)
Closes #4427
Closes #7091
(cherry picked from commit 2792046dc7a229180d27dfdc4ce37ccfb84c8a27)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index fbd5235cdfa..3c15a374d1b 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3418,14 +3418,16 @@ void SpellMgr::LoadSpellInfoCorrections() // Jump ApplySpellFix({ 71809 }, [](SpellInfo* spellInfo) { - spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(3); // 20yd - const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_25_YARDS); // 25yd + spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(5); // 40yd + const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_10_YARDS); // 10yd + const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->MiscValue = 190; }); // Broken Frostmourne ApplySpellFix({ 72405 }, [](SpellInfo* spellInfo) { - const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_1))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_200_YARDS); // 200yd + const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_1))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_20_YARDS); // 20yd + spellInfo->AttributesEx |= SPELL_ATTR1_NO_THREAT; }); // ENDOF ICECROWN CITADEL SPELLS |