summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-06-08 13:12:16 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-06-08 13:12:16 +0200 |
commit | 0416d506aa9d20f2b65ce0123e9c54798a00411e (patch) | |
tree | 17aef6e682148d5b3c291a519246e3259bf9d0df /src/shared/struct/sh_armor.erl | |
parent | 05aae9baa2b61882be578d9660687fb2d0eb1f47 (diff) |
Equipment penalties should not increase attributes
Diffstat (limited to 'src/shared/struct/sh_armor.erl')
-rw-r--r-- | src/shared/struct/sh_armor.erl | 2 |
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 |