refactor: simplify ManaStatsSection props from 17 fields to single stats object
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

This commit is contained in:
2026-05-26 18:28:24 +02:00
parent da4f9eccb3
commit ef850e98e2
9 changed files with 31 additions and 48 deletions
-3
View File
@@ -7,8 +7,6 @@ import { SPECIAL_EFFECTS, hasSpecial } from './special-effects';
// Threshold ratios for mana-dependent effects (currentMana / maxMana)
const MANA_HIGH_THRESHOLD = 0.75;
const MANA_OVERPOWER_THRESHOLD = 0.8;
const MANA_BERSERKER_THRESHOLD = 0.5;
const MANA_LOW_THRESHOLD = 0.25;
const MANA_CRITICAL_THRESHOLD = 0.1;
@@ -87,4 +85,3 @@ export function computeDynamicClickMana(
return Math.floor((baseClickMana + effects.clickManaBonus) * effects.clickManaMultiplier);
}