基础主将添加+ 修复第一次伤害计算为穿刺伤害bug
This commit is contained in:
@@ -63,22 +63,21 @@ export class MissionComp extends CCComp {
|
||||
oops.message.dispatchEvent(GameEvent.FightReady)
|
||||
this.node.active=true
|
||||
this.data_init()
|
||||
this.hart_hero_load()
|
||||
// this.hart_hero_load()
|
||||
let loading=this.node.parent.getChildByName("loading")
|
||||
loading.active=true
|
||||
this.scheduleOnce(()=>{
|
||||
this.to_ready()
|
||||
this.to_fight()
|
||||
loading.active=false
|
||||
},0.5)
|
||||
this.to_ready()
|
||||
this.to_fight()
|
||||
}
|
||||
to_ready(){
|
||||
console.log("英雄技能选择")
|
||||
// oops.message.dispatchEvent(GameEvent.HeroSkillSelect)
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:true})
|
||||
}
|
||||
|
||||
to_call_friend(){
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect)
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false})
|
||||
}
|
||||
|
||||
to_fight(){
|
||||
@@ -145,7 +144,7 @@ export class MissionComp extends CCComp {
|
||||
|
||||
}
|
||||
call_friend_card(){
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect)
|
||||
oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user