aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-15 18:02:10 +0100
committerQAston <none@none>2009-03-15 18:02:10 +0100
commit7a1e7c4f73db8374aadfdd9a397a52549e09e90a (patch)
tree4ceb605871d629a9f9d24443520ee4b91d30e50f /src/game/SpellEffects.cpp
parentf9b14c221bef52313ed9f8ec1802af507b770a69 (diff)
*Prevent possible crash.
*Remove obsolete Judgement of Righteousness coefficient-by cccyril --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 331e1ea3fe9..f51c83ef441 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1682,14 +1682,6 @@ void Spell::EffectDummy(uint32 i)
switch(m_spellInfo->Id)
{
- // Judgement of Righteousness (0.2*$AP+0.32*$SPH) holy added in spellDamagBonus
- case 20187:
- {
- if (!unitTarget)
- return;
- m_damage+=int32(0.2f*m_caster->GetTotalAttackPowerValue(BASE_ATTACK));
- return;
- }
case 31789: // Righteous Defense (step 1)
{
// 31989 -> dummy effect (step 1) + dummy effect (step 2) -> 31709 (taunt like spell for each target)