feat: 优化游戏体验和系统平衡性
- 修复商店物品名称显示问题,添加堆叠物品出售数量选择 - 自动战斗状态持久化,战斗结束显示"寻找中"状态 - 战斗日志显示经验获取详情(战斗经验、武器经验) - 技能进度条显示当前/最大经验值 - 阅读自动解锁技能并持续获得阅读经验,背包可直接阅读 - 优化训练平衡:时长60秒,经验5点/秒,耐力消耗降低 - 实现自然回复系统:基于体质回复HP/耐力,休息提供3倍加成 - 战斗和训练时不进行自然回复 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@ export const useGameStore = defineStore('game', () => {
|
||||
const inCombat = ref(false)
|
||||
const combatState = ref(null)
|
||||
const autoCombat = ref(false) // 自动战斗模式
|
||||
const isSearching = ref(false) // 正在寻找敌人中(自动战斗间隔期间)
|
||||
|
||||
// 活动任务
|
||||
const activeTasks = ref([])
|
||||
@@ -77,6 +78,7 @@ export const useGameStore = defineStore('game', () => {
|
||||
inCombat.value = false
|
||||
combatState.value = null
|
||||
autoCombat.value = false
|
||||
isSearching.value = false
|
||||
activeTasks.value = []
|
||||
negativeStatus.value = []
|
||||
marketPrices.value = {
|
||||
@@ -94,6 +96,7 @@ export const useGameStore = defineStore('game', () => {
|
||||
inCombat,
|
||||
combatState,
|
||||
autoCombat,
|
||||
isSearching,
|
||||
activeTasks,
|
||||
negativeStatus,
|
||||
marketPrices,
|
||||
|
||||
Reference in New Issue
Block a user