This commit is contained in:
2025-02-26 17:00:24 +08:00
parent 5279a65284
commit a065b32856
2 changed files with 1891 additions and 3175 deletions

View File

@@ -38,11 +38,15 @@ export class MissionHomeComp extends CCComp {
// this.select_skill()
this.init_buff()
}
to_start(){
this.show_heros()
}
start_mission() {
if (this.heros.length <=0 ) {
oops.gui.toast("请先选择英雄")
return
}
this.hide_heros()
for(let i=0;i<this.heros.length;i++){
this.heros[i].to_destroy()
}