aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-11-28 16:01:12 +0100
committerKudlaty <none@none>2009-11-28 16:01:12 +0100
commit4e41f4d45d7583a40ee7fb7dc73fc37f35888ec2 (patch)
treefa1ff24e8b425ba5da4e917aabdb6255b8705dd1 /src/game/SpellEffects.cpp
parent6af477d5950a7d004245c97743caf5974140be0f (diff)
Fix spell Neural Needle. #502
Patch by maanuel --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 265319d6992..c44e0d8d9b2 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -676,7 +676,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo));
damage += int32(0.16f*ap + 0.25f*sp);
- }
+ }
break;
}
case SPELLFAMILY_DEATHKNIGHT:
@@ -5725,6 +5725,9 @@ void Spell::EffectScriptEffect(uint32 effIndex)
AuraDivinePlea->RefreshAura();
return;
}
+ case 45634: //Neural Needle
+ unitTarget->CastSpell(unitTarget, 45702, true); //Neural Needle Impact
+ return;
}
break;
}