属性弹窗++
This commit is contained in:
@@ -30,7 +30,7 @@ export class MissionComp extends CCComp {
|
||||
this.on(GameEvent.MissionEnd,this.mission_end,this)
|
||||
// this.on(GameEvent.CardsClose,this.after_used_skill_card,this)
|
||||
this.on(GameEvent.WaveUpdate,this.on_mon_wave_update,this)
|
||||
this.on(GameEvent.FriendCalled,this.friend_called,this)
|
||||
|
||||
}
|
||||
|
||||
protected update(dt: number): void {
|
||||
@@ -89,7 +89,6 @@ export class MissionComp extends CCComp {
|
||||
|
||||
async mission_start(){
|
||||
oops.message.dispatchEvent(GameEvent.FightReady)
|
||||
this.node.getChildByName("herobar").getChildByName("fbar").active=false //隐藏伙伴栏
|
||||
this.node.active=true
|
||||
this.data_init()
|
||||
this.hart_hero_load()
|
||||
@@ -109,9 +108,7 @@ export class MissionComp extends CCComp {
|
||||
to_call_friend(){
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect)
|
||||
}
|
||||
friend_called(){
|
||||
this.node.getChildByName("herobar").getChildByName("fbar").active=true
|
||||
}
|
||||
|
||||
to_fight(){
|
||||
smc.vmdata.mission_data.in_fight=true
|
||||
oops.message.dispatchEvent(GameEvent.FightStart) //MissionMonComp 监听刷怪
|
||||
|
||||
Reference in New Issue
Block a user