Skip to content

v2.5.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 10:01
· 8 commits to main since this release
cbe44f3

Changes

  • Keep config precision for stats with a global offset by @XxFran10xX in #45
    • Movement speed keeps its decimals. Stats with a global-stat-offsets entry (movement_speed: 100) were divided first and then rounded to 2 decimals, so any item at 1.0 movement or more became a whole number: a greataxe meant to be 1.4 showed 1, and every shield (-1.0 to -1.3) showed -1. The value is now rounded in config units and then divided, so the item matches the config.
    • Values below 1.0 also keep their second decimal (0.65 was stored as 0.7).
    • Rounding is half-up on the decimal digits, so 1.005 rounds to 1.01.
    • Stats without an offset are unchanged.
    • Default greataxe: movement is (0.1 + leather/wool) x 2 (movement_speed(0.1) base, factors.movement_speed: 2.0), what a battleaxe plus an off-hand shortsword with a 0.2 movement base give with the same leather and wool. Greataxes are two-handed, so they never hold the shortsword.
    • Already-crafted items are rebuilt only when their recipe's stat template or ingredients change, so live greataxes update once the server's greataxe template changes. Existing shields keep -1 until re-crafted.

Full Changelog: v2.5.0...v2.5.1

Downloads