diff --git a/app.js b/app.js index 09a8a7d..373211f 100644 --- a/app.js +++ b/app.js @@ -610,13 +610,6 @@ function percentChange(from, to) { return ((to / from) - 1) * 100; } -function calculateGroupScore(totals, profile, groups, baseKind) { - const effectScore = EFFECTS.filter((effect) => groups.includes(effect.group)) - .reduce((sum, effect) => sum + (totals.effects[effect.id] / effect.cap) * 100 * profile.weights[effect.id], 0); - const baseScore = baseKind === "health" ? totals.baseHealth * profile.baseHealth : totals.baseDamage * profile.baseDamage; - return effectScore + baseScore; -} - function scorePiece(piece, profile, totals) { const baseAverageDamage = Math.max(1, totals.baseDamage / 6); const baseAverageHealth = Math.max(1, totals.baseHealth / 6);