| summaryrefslogtreecommitdiff | 
diff options
| -rw-r--r-- | src/battlemap/src/Struct/Armor.elm | 4 | ||||
| -rw-r--r-- | src/battlemap/src/Struct/Weapon.elm | 6 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/src/battlemap/src/Struct/Armor.elm b/src/battlemap/src/Struct/Armor.elm index ccd32d7..58f27d7 100644 --- a/src/battlemap/src/Struct/Armor.elm +++ b/src/battlemap/src/Struct/Armor.elm @@ -119,8 +119,8 @@ get_resistance_to dmg_type ar =  apply_to_attributes : Type -> Struct.Attributes.Type -> Struct.Attributes.Type  apply_to_attributes ar atts =     let -      impact = (ceiling (-20.0 * ar.coef)) -      half_impact = (ceiling (-10.0 * ar.coef)) +      impact = (-1 * (ceiling (20.0 * ar.coef))) +      half_impact = (-1 * (ceiling (10.0 * ar.coef)))     in        case ar.category of           Kinetic -> (Struct.Attributes.mod_mind impact atts) diff --git a/src/battlemap/src/Struct/Weapon.elm b/src/battlemap/src/Struct/Weapon.elm index 6b38238..248e8f8 100644 --- a/src/battlemap/src/Struct/Weapon.elm +++ b/src/battlemap/src/Struct/Weapon.elm @@ -161,9 +161,9 @@ get_min_damage wp = wp.dmg_min  apply_to_attributes : Type -> Struct.Attributes.Type -> Struct.Attributes.Type  apply_to_attributes wp atts =     let -      impact = (-20.0 * wp.coef) -      full_impact = (ceiling impact) -      quarter_impact = (ceiling (impact / 4.0)) +      impact = (20.0 * wp.coef) +      full_impact = (-1 * (ceiling impact)) +      quarter_impact = (-1 * (ceiling (impact / 4.0)))     in        case (wp.range_mod, wp.dmg_mod) of           (Long, Heavy) -> | 


