ca07719456
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m42s
- Updated StatsTab to use hooks directly (useSkillStore, usePrestigeStore, etc.) - Updated DebugTab to use hooks directly - Updated all debug child components (GameStateDebug, SkillDebug, AttunementDebug, etc.) - Updated all stats child components (ManaStatsSection, CombatStatsSection, etc.) - Fixed UpgradeEffectsSection.tsx syntax errors - Updated page.tsx to not pass store prop to StatsTab and DebugTab - All components now use modular stores directly instead of receiving store prop
47 lines
1.5 KiB
TypeScript
Executable File
47 lines
1.5 KiB
TypeScript
Executable File
// ─── Store Index ──────────────────────────────────────────────────────────────
|
|
// Exports all stores and re-exports commonly used utilities
|
|
|
|
// Stores
|
|
export { useUIStore } from './uiStore';
|
|
export type { UIState } from './uiStore';
|
|
|
|
export { usePrestigeStore } from './prestigeStore';
|
|
export type { PrestigeState } from './prestigeStore';
|
|
|
|
export { useManaStore, makeInitialElements } from './manaStore';
|
|
export type { ManaState } from './manaStore';
|
|
|
|
export { useSkillStore } from './skillStore';
|
|
export type { SkillState } from './skillStore';
|
|
|
|
export { useCombatStore, makeInitialSpells } from './combatStore';
|
|
export type { CombatState } from './combatStore';
|
|
|
|
export { useGameStore } from './gameStore';
|
|
export { useGameLoop } from './gameHooks';
|
|
export type { GameCoordinatorState, GameCoordinatorStore } from './gameStore';
|
|
|
|
// Re-export utilities from utils.ts and computed-stats
|
|
export {
|
|
fmt,
|
|
fmtDec,
|
|
getFloorMaxHP,
|
|
getFloorElement,
|
|
computeMaxMana,
|
|
computeRegen,
|
|
computeEffectiveRegen,
|
|
computeClickMana,
|
|
getElementalBonus,
|
|
getBoonBonuses,
|
|
calcDamage,
|
|
calcInsight,
|
|
getMeditationBonus,
|
|
getIncursionStrength,
|
|
canAffordSpellCost,
|
|
deductSpellCost,
|
|
} from '../utils';
|
|
|
|
export { computeElementMax } from '../store-modules/computed-stats';
|
|
|
|
export { getStudySpeedMultiplier, getStudyCostMultiplier } from '../constants';
|