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
This commit is contained in:
Trazom62
2010-04-26 22:03:09 +02:00
parent e76160e835
commit 3c9cb12341
+2 -1
View File
@@ -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