This commit is contained in:
2024-09-23 11:10:54 +08:00
parent 618a6e3f7b
commit 21c1dcfae3
2 changed files with 10 additions and 3 deletions

View File

@@ -76,7 +76,6 @@ export class SingletonModuleComp extends ecs.Comp {
game_pause:false,
gems: 4,
unlock:5,
mission:{
once:6, //每波刷新怪物数量
total:120, //总怪物数
@@ -89,6 +88,16 @@ export class SingletonModuleComp extends ecs.Comp {
g_level:1,
g_time:0,
m_less:0,
hero:{
reward_atk:0,
reward_atk_cd:0,
reward_hp:0,
},
role:{
reward_atk:0,
reward_atk_cd:0,
reward_hp:0,
}
},
role:{
hp:3000,

View File

@@ -395,8 +395,6 @@ export class HeroViewComp extends CCComp {
}
}
heathed(){
this.node.getChildByName("heathed").active=true
// var path = "game/skills/heathed";