Cheos137 / ArmorpointsPlusplus

A light-weight mod overhauling vanilla ui components
https://modrinth.com/mod/armorpoints
MIT License
2 stars 2 forks source link

[Bug]: Resistance value not properly calculated #19

Closed Cheos137 closed 2 years ago

Cheos137 commented 2 years ago

Is there an existing issue for this?

Description

The amount of displayed resistance overlay borders is not properly calculated. See below for a clear description on behaviors.

Version

Other (this list is not up to date - again...)

Version

all v3.0.0 alpha versions - both forge and fabric

To Reproduce

  1. get the resistance effect
  2. the resistance borders will show up one for each 5 levels of the resistance effect

Expexted Behavior

two resistance borders will show up per level of the resistance effect

Additional Context

No response

Screenshots

No response

Relevant Log / Crash-Report Output

No response