Updated to use the latest version of ScriptDev3

Updated to use the latest version of ScriptDev3
This commit is contained in:
Charles A Edwards 2016-09-18 12:30:44 +01:00 committed by Antz
parent 59e280ec81
commit 0303b1672d
3 changed files with 9 additions and 1 deletions

View file

@ -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) &&

View file

@ -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:
{

@ -1 +1 @@
Subproject commit eb0771b1ebde547a7f3823e607f76de8668b1ef0
Subproject commit 58a3270fb26f4a8c66bd6434a2b955b3b3e79e0b