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
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user