fix: broken import paths, illegal import in function body, local fonts for Docker
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s

This commit is contained in:
Refactoring Agent
2026-05-05 20:23:47 +02:00
parent ed69a8f2b4
commit b0cc848909
6 changed files with 13 additions and 10 deletions
+1 -2
View File
@@ -6,7 +6,7 @@ import { calculateApplicationTime, calculateApplicationManaPerHour } from './cra
import { hasSpecial, SPECIAL_EFFECTS } from './special-effects';
import { computeEffects } from './upgrade-effects';
import type { AttunementState } from './types';
import { calculateEnchantingXP } from './data/attunements';
import { calculateEnchantingXP, getAttunementXPForLevel, MAX_ATTUNEMENT_LEVEL } from './data/attunements';
import { ENCHANTMENT_EFFECTS } from './data/enchantment-effects';
// ─── Application Validation ─────────────────────────────────────────────────
@@ -184,7 +184,6 @@ export function updateEnchanterAttunement(
let newXP = enchanterState.experience + xpGained;
let newLevel = enchanterState.level;
import { getAttunementXPForLevel, MAX_ATTUNEMENT_LEVEL } from './data/attunements.js';
while (newLevel < MAX_ATTUNEMENT_LEVEL) {
const xpNeeded = getAttunementXPForLevel(newLevel + 1);