diff --git a/elden-ring-poise-optimizer/src/components/PoiseCalculator.jsx b/elden-ring-poise-optimizer/src/components/PoiseCalculator.jsx index 7fc6127..01c028a 100644 --- a/elden-ring-poise-optimizer/src/components/PoiseCalculator.jsx +++ b/elden-ring-poise-optimizer/src/components/PoiseCalculator.jsx @@ -104,7 +104,10 @@ const PoiseCalculator = ({ armorData }) => { targetPoise: Math.ceil( targetPoise / (useBullGoats ? BULL_GOAT_TALISMAN_MULTIPLIER : 1) ), - importances: importances, + importances: + comboFilterMethod == COMBO_FILTER_METHOD.BY_WEIGHT_LIMIT + ? { ...importances, weight: 0 } + : importances, weightLimit: Math.round( (maxEquipLoad * ROLL_PERCENTAGES[desiredRollType] - @@ -132,6 +135,11 @@ const PoiseCalculator = ({ armorData }) => { desiredRollType, ]); + const relevantImportancesNames = + comboFilterMethod == COMBO_FILTER_METHOD.BY_WEIGHT_LIMIT + ? Object.keys(importances).filter((x) => x != 'weight') + : Object.keys(importances); + return (
{ARMOR_ATTRIBUTE_NAME_MAP[x]} importance