技能开始
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user