技能开始

This commit is contained in:
2025-01-03 16:43:03 +08:00
parent df8738bd84
commit 0524eee5e0
21 changed files with 1347 additions and 233 deletions

View File

@@ -41,6 +41,10 @@ export class MissionHomeComp extends CCComp {
}
start_mission() {
console.log("mission_home : start_mission")
if (this.heros.length <=0 ) {
oops.gui.toast("请先选择英雄")
return
}
for(let i=0;i<this.heros.length;i++){
this.heros[i].to_destroy()
}