diff options
| author | maximius <none@none> | 2009-09-23 19:10:46 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-23 19:10:46 -0700 |
| commit | 3fce346a522780b92ad8902ce4ce141e86a08959 (patch) | |
| tree | b46df41277e9260bbf16019f50fe7f910ecd10cb /src | |
| parent | a96c704f4647dedb5bbc27aaff209783c31a1db5 (diff) | |
*New damage formula, Hogger will no longer dominate your level 20 characters!
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/StatSystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 526eb46293d..744be0e26eb 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -870,8 +870,8 @@ void Creature::UpdateDamagePhysical(WeaponAttackType attType) weapon_maxdamage = 0; } - float mindamage = ((base_value + weapon_mindamage) * base_pct + total_value) * total_pct * dmg_multiplier; - float maxdamage = ((base_value + weapon_maxdamage) * base_pct + total_value) * total_pct * dmg_multiplier; + float mindamage = ((base_value * dmg_multiplier + weapon_mindamage) * base_pct + total_value) * total_pct; + float maxdamage = ((base_value * dmg_multiplier + weapon_maxdamage) * base_pct + total_value) * total_pct; switch(attType) { |
