fix: 修复武器经验获取并完善义体系统
- 修复战斗胜利后未获得武器技能经验的问题 (initCombat未传递skillExpReward) - 每级武器技能提供5%武器伤害加成(已实现,无需修改) - 实现义体安装/卸载功能,支持NPC对话交互 - StatusPanel添加义体装备槽显示 - MapPanel修复NPC对话import问题 - 新增成就系统框架 - 添加项目文档CLAUDE.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,5 +40,53 @@ export const NPC_CONFIG = {
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ripper_doc: {
|
||||
id: 'ripper_doc',
|
||||
name: '义体医生',
|
||||
location: 'blackmarket',
|
||||
icon: '👨⚕️',
|
||||
dialogue: {
|
||||
first: {
|
||||
text: '嗯...你是新面孔。我看你的身体还很"原始",需要做点升级吗?',
|
||||
choices: [
|
||||
{ text: '什么是义体?', next: 'explain_prosthetic' },
|
||||
{ text: '我想安装义体', next: 'install_prosthetic' },
|
||||
{ text: '我想卸下义体', next: 'remove_prosthetic' },
|
||||
{ text: '离开', next: null }
|
||||
]
|
||||
},
|
||||
explain_prosthetic: {
|
||||
text: '义体是机械植入物,可以大幅增强你的能力。它们通常只有从强大的敌人身上才能获得。装备义体后,你还能获得特殊的攻击技能。',
|
||||
choices: [
|
||||
{ text: '我想安装义体', next: 'install_prosthetic' },
|
||||
{ text: '离开', next: null }
|
||||
]
|
||||
},
|
||||
install_prosthetic: {
|
||||
text: '让我看看...你有以下义体可以安装:\n{prosthetic_list}\n\n选择一件装备吧。',
|
||||
choices: [
|
||||
{ text: '{refresh}', next: 'install_prosthetic', action: 'refresh_list' },
|
||||
{ text: '返回', next: 'first' }
|
||||
],
|
||||
dynamicChoices: 'prosthetic_inventory'
|
||||
},
|
||||
remove_prosthetic: {
|
||||
text: '卸下义体是个精细的手术...你确定吗?当前装备的义体:\n{equipped_prosthetic}',
|
||||
choices: [
|
||||
{ text: '确定卸下', next: null, action: 'remove_prosthetic' },
|
||||
{ text: '返回', next: 'first' }
|
||||
]
|
||||
}
|
||||
},
|
||||
services: {
|
||||
install_prosthetic: {
|
||||
cost: 500 // 安装费用
|
||||
},
|
||||
remove_prosthetic: {
|
||||
cost: 200 // 卸下费用
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user