Files
Mana-Loop/src/lib/game/constants/spells.ts
T
Refactoring Agent d2d28887b1
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m9s
Refactor large files into modular components
- Refactored page.tsx (613→252 lines) with GameOverScreen and LeftPanel extracted
- Refactored StatsTab.tsx (584→92 lines) with section components
- Refactored SkillsTab.tsx (434→54 lines) with sub-components
- Created modular structure for GameContext, LootInventory, and other components
- All extracted components organized into feature directories
2026-05-02 17:35:03 +02:00

40 lines
2.0 KiB
TypeScript

// ─── Spells ────────────────────────────────────────────────────────────────────
// Main entry point - re-exports from modular spell definitions
// See spells-modules/ directory for individual spell categories
export { RAW_SPELLS } from './spells-modules/raw-spells';
export { BASIC_ELEMENTAL_SPELLS } from './spells-modules/basic-elemental-spells';
export { LIGHTNING_SPELLS } from './spells-modules/lightning-spells';
export { AOE_SPELLS } from './spells-modules/aoe-spells';
export { ADVANCED_SPELLS } from './spells-modules/advanced-spells';
export { MASTER_SPELLS } from './spells-modules/master-spells';
export { LEGENDARY_SPELLS } from './spells-modules/legendary-spells';
export { ENCHANTMENT_SPELLS } from './spells-modules/enchantment-spells';
export { COMPOUND_SPELLS } from './spells-modules/compound-spells';
export { UTILITY_SPELLS } from './spells-modules/utility-spells';
// Convenience: export combined SPELLS_DEF for backward compatibility
import { RAW_SPELLS } from './spells-modules/raw-spells';
import { BASIC_ELEMENTAL_SPELLS } from './spells-modules/basic-elemental-spells';
import { LIGHTNING_SPELLS } from './spells-modules/lightning-spells';
import { AOE_SPELLS } from './spells-modules/aoe-spells';
import { ADVANCED_SPELLS } from './spells-modules/advanced-spells';
import { MASTER_SPELLS } from './spells-modules/master-spells';
import { LEGENDARY_SPELLS } from './spells-modules/legendary-spells';
import { ENCHANTMENT_SPELLS } from './spells-modules/enchantment-spells';
import { COMPOUND_SPELLS } from './spells-modules/compound-spells';
import { UTILITY_SPELLS } from './spells-modules/utility-spells';
export const SPELLS_DEF: Record<string, import('../types').SpellDef> = {
...RAW_SPELLS,
...BASIC_ELEMENTAL_SPELLS,
...LIGHTNING_SPELLS,
...AOE_SPELLS,
...ADVANCED_SPELLS,
...MASTER_SPELLS,
...LEGENDARY_SPELLS,
...ENCHANTMENT_SPELLS,
...COMPOUND_SPELLS,
...UTILITY_SPELLS,
};