aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-25 10:39:50 -0500
committermegamage <none@none>2009-05-25 10:39:50 -0500
commit98049925a6805f8bdb9008bd006fcb1ed5eeffe3 (patch)
treeb3b6bbeec9759e002251b45cd98a35d8b0da7faa /src/game/Unit.cpp
parent93a9fef49807abd5a01e5cae0ccb0c4c0ef467ed (diff)
*Fix a typo that makes seal of vengeance/blood deal huge damage.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 3835e822362..21f34d49ac3 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8880,7 +8880,7 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
}
// + 10% for each application of Holy Vengeance/Blood Corruption on the target
if(stacks)
- DoneTotalMod *= stacks * 10 + 100.0f /100.0f;
+ DoneTotalMod *= (1.0f + (float)stacks / 10.0f) ;
}
// Ice Lance