diff options
author | Trazom62 <none@none> | 2010-04-26 22:03:09 +0200 |
---|---|---|
committer | Trazom62 <none@none> | 2010-04-26 22:03:09 +0200 |
commit | 3c9cb12341077329960b2c7b52eb706298dbe2ac (patch) | |
tree | 2535ea731e387cd63862792a2bd96f05c3bdf104 /src | |
parent | e76160e83586644092baaa44d121e88691e2e6f6 (diff) |
Fix Scourge Strike. Thanks Havenard.
Fixes issue #1668.
- additional damage is now done properly as shadow damage and no longer as additional physical damage.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 41dff1eb5c0..927c2079135 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2053,7 +2053,8 @@ void Spell::EffectDummy(uint32 i) // Scourge Strike if (m_spellInfo->SpellFamilyFlags[1] & SPELLFAMILYFLAG1_DK_SCOURGE_STRIKE) { - m_damage = float (m_damage) * (float(damage * unitTarget->GetDiseasesByCaster(m_caster->GetGUID()) + 100.0f) / 100.0f); + int32 bp = (m_damage * damage * unitTarget->GetDiseasesByCaster(m_caster->GetGUID())) / 100; + m_caster->CastCustomSpell(unitTarget, 70890, &bp, NULL, NULL, true); return; } // Death Coil |