基础主将添加+ 修复第一次伤害计算为穿刺伤害bug

This commit is contained in:
panfudan
2025-07-06 23:58:10 +08:00
parent 9ebf620ed8
commit f7c231de00
60 changed files with 9355 additions and 414 deletions

View File

@@ -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})
}