// 技能配置 export const SKILL_CONFIG = { // 战斗技能 stick_mastery: { id: 'stick_mastery', name: '木棍精通', type: 'combat', category: 'weapon', icon: '', maxLevel: 20, expPerLevel: (level) => level * 100, milestones: { 5: { desc: '所有武器暴击率+2%', effect: { critRate: 2 } }, 10: { desc: '所有武器攻击力+5%', effect: { attackBonus: 5 } }, 15: { desc: '武器熟练度获取速度+20%', effect: { expRate: 1.2 } }, 20: { desc: '所有武器暴击伤害+0.3', effect: { critMult: 0.3 } } }, unlockCondition: null, // 初始解锁 unlockItem: 'wooden_stick' }, reading: { id: 'reading', name: '阅读', type: 'life', category: 'reading', icon: '', maxLevel: 20, expPerLevel: (level) => level * 50, milestones: { 3: { desc: '所有技能经验获取+5%', effect: { globalExpRate: 5 } }, 5: { desc: '阅读速度+50%', effect: { readingSpeed: 1.5 } }, 10: { desc: '完成书籍给予额外主经验+100', effect: { bookExpBonus: 100 } } }, unlockCondition: null, unlockItem: 'old_book' }, night_vision: { id: 'night_vision', name: '夜视', type: 'passive', category: 'environment', icon: '', maxLevel: 10, expPerLevel: (level) => level * 30, milestones: { 5: { desc: '黑暗惩罚-10%', effect: { darkPenaltyReduce: 10 } }, 10: { desc: '黑暗惩罚-25%', effect: { darkPenaltyReduce: 25 } } }, unlockCondition: { location: 'basement' } } }