diff --git a/src/game/Object/SpellMgr.cpp b/src/game/Object/SpellMgr.cpp index e902fd101..535a96967 100644 --- a/src/game/Object/SpellMgr.cpp +++ b/src/game/Object/SpellMgr.cpp @@ -918,6 +918,8 @@ bool IsPositiveEffect(SpellEntry const* spellproto, SpellEffectIndex effIndex) return false; break; case SPELL_AURA_MOD_DECREASE_SPEED: // used in positive spells also + if (spellproto->Id == 37830) // Repolarized Magneto Sphere + return true; // part of positive spell if casted at self if ((spellEffect->EffectImplicitTargetA == TARGET_SELF || spellEffect->EffectImplicitTargetA == TARGET_SELF2) && diff --git a/src/game/WorldHandlers/SpellEffects.cpp b/src/game/WorldHandlers/SpellEffects.cpp index 5e599ce65..4fa37f26a 100644 --- a/src/game/WorldHandlers/SpellEffects.cpp +++ b/src/game/WorldHandlers/SpellEffects.cpp @@ -397,6 +397,12 @@ void Spell::EffectSchoolDMG(SpellEffectEntry const* effect) damage = damage * unitTarget->GetMaxHealth() / 100; break; } + // Lightning Strike + case 37841: + if (unitTarget->GetTypeId() == TYPEID_PLAYER && unitTarget->HasAura(37830)) // Repolarized Magneto Sphere + ((Player*)unitTarget)->KilledMonsterCredit(21910); + break; + // Cataclysmic Bolt // Cataclysmic Bolt case 38441: { diff --git a/src/modules/SD3 b/src/modules/SD3 index eb0771b1e..58a3270fb 160000 --- a/src/modules/SD3 +++ b/src/modules/SD3 @@ -1 +1 @@ -Subproject commit eb0771b1ebde547a7f3823e607f76de8668b1ef0 +Subproject commit 58a3270fb26f4a8c66bd6434a2b955b3b3e79e0b