• Joined on 2025-05-17
Anexim commented on issue Anexim/Mana-Loop#31 2026-05-18 20:58:23 +02:00
chore: Remove duplicate discipline definition files (dead code)

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…

Anexim closed issue Anexim/Mana-Loop#32 2026-05-18 20:58:23 +02:00
chore: Remove duplicate LootInventoryDisplay component
Anexim commented on issue Anexim/Mana-Loop#32 2026-05-18 20:58:23 +02:00
chore: Remove duplicate LootInventoryDisplay component

Fixed: Deleted duplicate LootInventoryDisplay.tsx (kept index.tsx as canonical). Both were orphaned anyway.

Anexim closed issue Anexim/Mana-Loop#33 2026-05-18 20:58:23 +02:00
fix: DisciplinesTab.tsx uses getState() during render — breaks React subscription
Anexim closed issue Anexim/Mana-Loop#30 2026-05-18 20:58:22 +02:00
fix: canEquipInSlot uses instance ID as type ID — two-handed weapon check broken
Anexim commented on issue Anexim/Mana-Loop#30 2026-05-18 20:58:22 +02:00
fix: canEquipInSlot uses instance ID as type ID — two-handed weapon check broken

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…

Anexim closed issue Anexim/Mana-Loop#31 2026-05-18 20:58:22 +02:00
chore: Remove duplicate discipline definition files (dead code)
Anexim closed issue Anexim/Mana-Loop#29 2026-05-18 20:42:04 +02:00
fix: gameStore.ts passes empty object to processCombatTick as first argument
Anexim commented on issue Anexim/Mana-Loop#29 2026-05-18 20:42:04 +02:00
fix: gameStore.ts passes empty object to processCombatTick as first argument

Fixed: Removed empty object {} first argument from processCombatTick call in gameStore.ts. The wrapper already binds get/set internally.

Anexim closed issue Anexim/Mana-Loop#26 2026-05-18 20:42:03 +02:00
fix: discipline-slice.ts directly mutates state outside of set()
Anexim commented on issue Anexim/Mana-Loop#26 2026-05-18 20:42:03 +02:00
fix: discipline-slice.ts directly mutates state outside of set()

Fixed: Replaced direct mutation disc.paused = true with immutable newDisciplines[id] = { ...disc, paused: true } in discipline-slice.ts processTick

Anexim closed issue Anexim/Mana-Loop#27 2026-05-18 20:42:03 +02:00
fix: combatStore.ts persist partialize saves wrong field for activeSpell
Anexim commented on issue Anexim/Mana-Loop#27 2026-05-18 20:42:03 +02:00
fix: combatStore.ts persist partialize saves wrong field for activeSpell

Fixed: Changed activeSpell: state.activeAction to activeSpell: state.activeSpell in combatStore.ts partialize

Anexim closed issue Anexim/Mana-Loop#28 2026-05-18 20:42:03 +02:00
fix: totalManaGathered incorrectly accumulates spell costs instead of mana gathered
Anexim commented on issue Anexim/Mana-Loop#28 2026-05-18 20:42:03 +02:00
fix: totalManaGathered incorrectly accumulates spell costs instead of mana gathered

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.

Anexim commented on issue Anexim/Mana-Loop#23 2026-05-18 20:42:02 +02:00
fix: Missing PrestigeDef and LootDrop type definitions

Fixed: Added PrestigeDef and LootDrop interfaces to game.ts and re-exported from types/index.ts

Anexim closed issue Anexim/Mana-Loop#24 2026-05-18 20:42:02 +02:00
fix: EquipmentCategory used but not imported in enchantments/index.ts
Anexim commented on issue Anexim/Mana-Loop#24 2026-05-18 20:42:02 +02:00
fix: EquipmentCategory used but not imported in enchantments/index.ts

Fixed: Added missing EquipmentCategory import to enchantments/index.ts

Anexim closed issue Anexim/Mana-Loop#25 2026-05-18 20:42:02 +02:00
fix: grimoire property on SpellDef raw-spells but not in type definition
Anexim commented on issue Anexim/Mana-Loop#25 2026-05-18 20:42:02 +02:00
fix: grimoire property on SpellDef raw-spells but not in type definition

Fixed: Added grimoire?: boolean to SpellDef interface in types/spells.ts