Files
Mana-Loop/src/lib/game/data/golems/base-golems.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

31 lines
1.0 KiB
TypeScript

// ─── Base Golem Definitions ───────────────────────────────────
import type { GolemDef } from './types';
import { elemCost } from './types';
export const BASE_GOLEMS: Record<string, GolemDef> = {
// ─── BASE GOLEMS ─────────────────────────────────────────────────────
// Earth Golem - Basic, available with Fabricator attunement
earthGolem: {
id: 'earthGolem',
name: 'Earth Golem',
description: 'A sturdy construct of stone and soil. Slow but powerful.',
baseManaType: 'earth',
summonCost: [elemCost('earth', 10)],
maintenanceCost: [elemCost('earth', 0.5)],
damage: 8,
attackSpeed: 1.5,
hp: 50,
armorPierce: 0.15,
isAoe: false,
aoeTargets: 1,
unlockCondition: {
type: 'attunement_level',
attunement: 'fabricator',
level: 2,
},
tier: 1,
},
};