Files
Mana-Loop/src/lib/game/constants/spells-modules/utility-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

54 lines
1.6 KiB
TypeScript

// ─── Utility Mana Spells ────────────────────────────────────────────────────
// Mental, Transference, Force
import type { SpellDef } from '../../types';
import { elemCost } from '../elements';
export const UTILITY_SPELLS: Record<string, SpellDef> = {
// ─── TRANSFERENCE SPELLS ─────────────────────────────────────────────────────
// Transference magic moves mana and enhances efficiency
transferStrike: {
name: "Transfer Strike",
elem: "transference",
dmg: 9,
cost: elemCost("transference", 2),
tier: 1,
castSpeed: 3,
unlock: 150,
studyTime: 2,
desc: "Strike that transfers energy. Very efficient.",
},
manaRip: {
name: "Mana Rip",
elem: "transference",
dmg: 16,
cost: elemCost("transference", 3),
tier: 1,
castSpeed: 2.5,
unlock: 250,
studyTime: 4,
desc: "Rip mana from the enemy. High efficiency.",
},
essenceDrain: {
name: "Essence Drain",
elem: "transference",
dmg: 42,
cost: elemCost("transference", 7),
tier: 2,
castSpeed: 1.3,
unlock: 1050,
studyTime: 10,
desc: "Drain the enemy's essence.",
},
soulTransfer: {
name: "Soul Transfer",
elem: "transference",
dmg: 130,
cost: elemCost("transference", 16),
tier: 3,
castSpeed: 0.6,
unlock: 13000,
studyTime: 26,
desc: "Transfer the soul's energy.",
},
};