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_armor.erl
parent05aae9baa2b61882be578d9660687fb2d0eb1f47 (diff)
Equipment penalties should not increase attributes
Diffstat (limited to 'src/shared/struct/sh_armor.erl')
-rw-r--r--src/shared/struct/sh_armor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/struct/sh_armor.erl b/src/shared/struct/sh_armor.erl
index 3ff1a61..04b82d6 100644
--- a/src/shared/struct/sh_armor.erl
+++ b/src/shared/struct/sh_armor.erl
@@ -118,7 +118,7 @@ apply_to_attributes (Ar, Att) ->
Speed = sh_attributes:get_speed(Att),
Strength = sh_attributes:get_strength(Att),
Mind = sh_attributes:get_mind(Att),
- Impact = erlang:ceil(-20.0 * Ar#armor.coef),
+ Impact = erlang:ceil(20.0 * Ar#armor.coef),
Category = Ar#armor.category,
case Category of