Refactor large files into modular components
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m9s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m9s
- 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
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// ─── 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,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user