aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-12-16 19:00:19 +0100
committerfunjoker <funjoker109@gmail.com>2021-03-15 20:17:31 +0100
commit2364aa59d88693a4c0fcf24f841b0083a74b076a (patch)
tree29520dc5d737b0d410388d315e2e65e012d6a2e2 /src
parent6cd6990c9f88fb1a6f2216ac9098c7c7ce3607dc (diff)
Core/Spells: Fixed Naxx Anub Scarab Summoning Spell
Reduce spell radius of 28864 and 29105 from 100 yards to 10 yards to spawn scarabs closer (cherry picked from commit 72e97d330bd4d696255eee7046a27a9f8b3d6ae1)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index f0d4d14bdd8..122a002f1a8 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3653,6 +3653,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(13); // 50000yd
});
+ // Summon Corpse Scarabs
+ ApplySpellFix({ 28864, 29105 }, [](SpellInfo* spellInfo)
+ {
+ const_cast<SpellEffectInfo*>(spellInfo->GetEffect(EFFECT_0))->RadiusEntry = sSpellRadiusStore.LookupEntry(EFFECT_RADIUS_10_YARDS);
+ });
+
//
// VIOLET HOLD SPELLS
//