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: 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: Replaced direct mutation disc.paused = true with immutable newDisciplines[id] = { ...disc, paused: true } in discipline-slice.ts processTick
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.
PrestigeDef and LootDrop type definitions
Fixed: Added PrestigeDef and LootDrop interfaces to game.ts and re-exported from types/index.ts
EquipmentCategory used but not imported in enchantments/index.ts
EquipmentCategory used but not imported in enchantments/index.ts
Fixed: Added missing EquipmentCategory import to enchantments/index.ts
grimoire property on SpellDef raw-spells but not in type definition
grimoire property on SpellDef raw-spells but not in type definition
Fixed: Added grimoire?: boolean to SpellDef interface in types/spells.ts