diff options
author | megamage <none@none> | 2008-11-18 19:40:06 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-18 19:40:06 -0600 |
commit | ea68727d27e699200236b3b7ecbe36b7f7061cfc (patch) | |
tree | efacc175380a18af301a91170bc35cb851a64701 /src/game/StatSystem.cpp | |
parent | 78f343397c5d5e4cb99e84a9ebecc299e988e13d (diff) |
*Merge from Mangos. Add MapReference. Author: hunuza.
*Also re-commit the patches reverted in 255.
--HG--
branch : trunk
Diffstat (limited to 'src/game/StatSystem.cpp')
-rw-r--r-- | src/game/StatSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 0e766136696..3533c5c8a02 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -384,7 +384,7 @@ void Player::CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, fl weapon_mindamage = lvl*0.85*att_speed; weapon_maxdamage = lvl*1.25*att_speed; } - else if(!IsUseEquippedWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc) + else if(!IsUseEquipedWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc) { weapon_mindamage = BASE_MINDAMAGE; weapon_maxdamage = BASE_MAXDAMAGE; |