Major bug fixes and system cleanup
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m16s

- Fix enchantment capacity validation to respect equipment capacity limits
- Remove combo system (no longer used)
- Remove AUDIT_REPORT.md and GAME_SYSTEMS_ANALYSIS.md files
- Add tests for capacity validation, attunement unlocking, and floor HP
- Remove combo-related achievements
- Fix AchievementsDisplay to not reference combo state
- Add capacity display showing current/max in enchantment design UI
- Prevent designs that exceed equipment capacity from being created
This commit is contained in:
Z User
2026-03-29 19:08:06 +00:00
parent 300e43f8be
commit 522079e011
11 changed files with 162 additions and 1019 deletions
+1 -3
View File
@@ -13,7 +13,7 @@ import { GameState } from '@/lib/game/types';
interface AchievementsProps {
achievements: AchievementState;
gameState: Pick<GameState, 'maxFloorReached' | 'totalManaGathered' | 'signedPacts' | 'totalSpellsCast' | 'totalDamageDealt' | 'totalCraftsCompleted' | 'combo'>;
gameState: Pick<GameState, 'maxFloorReached' | 'totalManaGathered' | 'signedPacts' | 'totalSpellsCast' | 'totalDamageDealt' | 'totalCraftsCompleted'>;
}
export function AchievementsDisplay({ achievements, gameState }: AchievementsProps) {
@@ -39,8 +39,6 @@ export function AchievementsDisplay({ achievements, gameState }: AchievementsPro
: gameState.maxFloorReached;
}
return gameState.maxFloorReached;
case 'combo':
return gameState.combo?.maxCombo || 0;
case 'spells':
return gameState.totalSpellsCast || 0;
case 'damage':