主体 死亡后结束战局

This commit is contained in:
2025-05-29 09:02:38 +08:00
parent 6a185a2361
commit cb1ac100da
4 changed files with 45 additions and 41 deletions

View File

@@ -42,7 +42,8 @@ export class MissionComp extends CCComp {
ap:0,//攻击
}
onLoad(){
this.on(GameEvent.MissionLoss,this.mission_end,this)
this.on(GameEvent.MissionWin,this.mission_end,this)
}
start() {