43 lines
1.3 KiB
TypeScript
Executable File
43 lines
1.3 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, useGameLoop } from './gameStore';
|
|
export type { GameCoordinatorState, GameCoordinatorStore } from './gameStore';
|
|
|
|
// Re-export utilities from utils.ts
|
|
export {
|
|
fmt,
|
|
fmtDec,
|
|
getFloorMaxHP,
|
|
getFloorElement,
|
|
computeMaxMana,
|
|
computeElementMax,
|
|
computeRegen,
|
|
computeEffectiveRegen,
|
|
computeClickMana,
|
|
getElementalBonus,
|
|
getBoonBonuses,
|
|
calcDamage,
|
|
calcInsight,
|
|
getMeditationBonus,
|
|
getIncursionStrength,
|
|
canAffordSpellCost,
|
|
deductSpellCost,
|
|
} from '../utils';
|