diff --git a/src/components/calculations/calculations.jsx b/src/components/calculations/calculations.jsx index 83dcd3ae..f46ed884 100644 --- a/src/components/calculations/calculations.jsx +++ b/src/components/calculations/calculations.jsx @@ -417,13 +417,13 @@ function Calculations() { sourceLink={"https://github.com/Frostiae/Flyffulator/blob/main/src/flyff/flyffentity.js#L535"} /> - - = 75) { + // maximum of 92.5% chance to block + return 92.5; + } + return (blockChance - 1) / 80 * 100; + } + else { + if (blockChance <= 6) { + // minimum of 5% chance blockrate + return 5; + } + if (blockChance >= 95) { + // maximum of 94% chance blockrate + return 94; + } + return blockChance - 1; + } + } + getStatScale(parameter, skillProp, level) { const levelProp = skillProp.levels[level]; if (levelProp == undefined) {