Phase 3: Split enchantment-effects.ts into category files
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m48s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 2m48s
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
// ─── Utility Enchantment Effects ─────────────────────────────────────────
|
||||
// All utility-related enchantment effects that can be applied to equipment
|
||||
|
||||
import type { EquipmentCategory } from '../equipment'
|
||||
import type { EnchantmentEffectDef } from '../enchantment-types'
|
||||
|
||||
// Helper to define allowed equipment categories for each effect type
|
||||
const UTILITY_EQUIPMENT: EquipmentCategory[] = ['caster', 'catalyst', 'head', 'body', 'hands', 'feet', 'accessory']
|
||||
|
||||
export const UTILITY_EFFECTS: Record<string, EnchantmentEffectDef> = {
|
||||
// ═══════════════════════════════════════════════════════════════════════════
|
||||
// UTILITY EFFECTS - Study speed, insight, meditation
|
||||
// ═══════════════════════════════════════════════════════════════════════════
|
||||
|
||||
meditate_10: {
|
||||
id: 'meditate_10',
|
||||
name: 'Meditative Focus',
|
||||
description: '+10% meditation efficiency',
|
||||
category: 'utility',
|
||||
baseCapacityCost: 18,
|
||||
maxStacks: 5,
|
||||
allowedEquipmentCategories: ['head', 'body', 'accessory'],
|
||||
effect: { type: 'multiplier', stat: 'meditationEfficiency', value: 1.10 }
|
||||
},
|
||||
study_10: {
|
||||
id: 'study_10',
|
||||
name: 'Quick Study',
|
||||
description: '+10% study speed',
|
||||
category: 'utility',
|
||||
baseCapacityCost: 22,
|
||||
maxStacks: 4,
|
||||
allowedEquipmentCategories: UTILITY_EQUIPMENT,
|
||||
effect: { type: 'multiplier', stat: 'studySpeed', value: 1.10 }
|
||||
},
|
||||
insight_5: {
|
||||
id: 'insight_5',
|
||||
name: 'Insightful',
|
||||
description: '+5% insight gain',
|
||||
category: 'utility',
|
||||
baseCapacityCost: 25,
|
||||
maxStacks: 4,
|
||||
allowedEquipmentCategories: ['head', 'accessory'],
|
||||
effect: { type: 'multiplier', stat: 'insightGain', value: 1.05 }
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user