diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index d16c17ad..ce7cf2de 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -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:'', diff --git a/assets/script/game/common/config/HeroAttrs.ts b/assets/script/game/common/config/HeroAttrs.ts index cbd6f0cd..ca98eef1 100644 --- a/assets/script/game/common/config/HeroAttrs.ts +++ b/assets/script/game/common/config/HeroAttrs.ts @@ -239,6 +239,12 @@ export interface GameScoreStats { // 资源统计 exp_total: number; // 经验总数 gold_total: number; // 金币总数 + + // 击杀统计 + melee_kill_count: number; // 近战怪击杀数量 + remote_kill_count: number; // 远程怪击杀数量 + elite_kill_count: number; // 精英怪击杀数量 + boss_kill_count: number; // Boss击杀数 }