Fixed: Removed duplicate resetUI() function from uiStore.ts. Updated caller in gameActions.ts to use reset() instead.
Fixed: Removed dead import of SkillUpgradeChoice/SkillUpgradeEffect from non-existent ./types file in upgrade-effects.types.ts. Replaced with inline string type for the effect field.
Fixed: Removed dead healthRegen field from EnemyState type and all enemy generation in room-utils.ts. Also removed the unused getEnemyHealthRegen function.
Fixed: Deleted 4 duplicate discipline definition files (base-disciplines.ts, enchanter-disciplines.ts, fabricator-disciplines.ts, invoker-disciplines.ts) that had incompatible types and conflicting…
Fixed: Deleted duplicate LootInventoryDisplay.tsx (kept index.tsx as canonical). Both were orphaned anyway.
Fixed: Refactored DisciplinesTab.tsx to pass discipline state and toggle handler as props to DisciplineCard, eliminating getState() calls during render. The parent component now subscribes to the…
Fixed: canEquipInSlot now accepts an optional instances parameter and looks up the main hand instance before getting its type. Updated call site in equipment-actions.ts to pass state.equipmentIns…
Fixed: Removed empty object {} first argument from processCombatTick call in gameStore.ts. The wrapper already binds get/set internally.
Fixed: Changed activeSpell: state.activeAction to activeSpell: state.activeSpell in combatStore.ts partialize
Fixed: Removed totalManaGathered += spellDef.cost.amount from both spell cast loops in combat-actions.ts. Mana gathering should only happen in gatherMana and passive regen.