refactor(game): 重构结算积分与奖励逻辑

1. 移除HeroAttrs中废弃的分数字段
2. 重构积分计算规则,简化为基础分+行为分
3. 调整胜利奖励计算逻辑,改用怪物等级作为成长参数替换原wave计数
4. 同步更新结算配置注释与日志输出
This commit is contained in:
pan
2026-09-11 16:25:28 +08:00
parent 5fe961846f
commit ea15b464ad
5 changed files with 42 additions and 78 deletions

View File

@@ -220,12 +220,6 @@ export class SingletonModuleComp extends ecs.Comp {
passed_wave_20: false,
highest_dmg: 0,
score_combat: 0,
score_output: 0,
score_defense: 0,
score_build: 0,
score_efficiency: 0,
achieved_highlights: [],
} as GameScoreStats,
@@ -293,11 +287,6 @@ export class SingletonModuleComp extends ecs.Comp {
wave_all_alive_count: 0,
passed_wave_20: false,
highest_dmg: 0,
score_combat: 0,
score_output: 0,
score_defense: 0,
score_build: 0,
score_efficiency: 0,
achieved_highlights: [],
} as GameScoreStats;
}