feat(游戏统计): 添加击杀统计字段到游戏分数统计
在GameScoreStats接口和SingletonModuleComp类中添加近战怪、远程怪、精英怪和Boss的击杀数量统计字段,用于追踪玩家对不同类型敌人的击杀情况
This commit is contained in:
@@ -91,6 +91,12 @@ export class SingletonModuleComp extends ecs.Comp {
|
||||
// 资源统计
|
||||
exp_total: 0, // 经验总数
|
||||
gold_total: 0, // 金币总数
|
||||
|
||||
// 击杀统计
|
||||
melee_kill_count: 0, // 近战怪击杀数量
|
||||
remote_kill_count: 0, // 远程怪击杀数量
|
||||
elite_kill_count: 0, // 精英怪击杀数量
|
||||
boss_kill_count: 0, // Boss击杀数
|
||||
} as GameScoreStats,
|
||||
hero:{
|
||||
name:'',
|
||||
|
||||
Reference in New Issue
Block a user