summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-06-08 13:12:16 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-06-08 13:12:16 +0200
commit0416d506aa9d20f2b65ce0123e9c54798a00411e (patch)
tree17aef6e682148d5b3c291a519246e3259bf9d0df /src/shared/struct/sh_weapon.erl
parent05aae9baa2b61882be578d9660687fb2d0eb1f47 (diff)
Equipment penalties should not increase attributes
Diffstat (limited to 'src/shared/struct/sh_weapon.erl')
-rw-r--r--src/shared/struct/sh_weapon.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/struct/sh_weapon.erl b/src/shared/struct/sh_weapon.erl
index 6bd3425..db402af 100644
--- a/src/shared/struct/sh_weapon.erl
+++ b/src/shared/struct/sh_weapon.erl
@@ -396,7 +396,7 @@ apply_to_attributes (Weapon, Attributes) ->
RangeModifier = Weapon#weapon.range_mod,
DamageModifier = Weapon#weapon.damage_mod,
- Impact = (-20.0 * Weapon#weapon.coef),
+ Impact = (20.0 * Weapon#weapon.coef),
FullImpact = erlang:ceil(Impact),
QuarterImpact = erlang:ceil(Impact / 4.0),