This commit is contained in:
2024-09-12 13:46:42 +08:00
parent 1c9aa38385
commit 5f1b081374
16 changed files with 186 additions and 215 deletions

View File

@@ -156,8 +156,8 @@ export class MapMonsterComp extends CCComp {
let monster_layer = scene.entityLayer!.node!
let monster_layer1 = scene.entityLayer1!.node!;
let monster_layer2 = scene.entityLayer2!.node!;
this.addMonster(m[0],monster_layer,pos2)
this.addMonster(m1[0],monster_layer1,pos2)
this.addMonster(m[0],monster_layer,pos)
this.addMonster(m1[0],monster_layer1,pos1)
this.addMonster(m2[0],monster_layer2,pos2)
this.setp_num -= 1
}