英雄和敌人 全死亡后,判定解决
This commit is contained in:
@@ -67,6 +67,7 @@ export class Hero extends ecs.Entity {
|
||||
if(HeroInfo[uuid].type==HType.mage){
|
||||
move.targetX = -200; // 右边界'
|
||||
}
|
||||
smc.vmdata.mission_data.hero_num++
|
||||
}
|
||||
hero_init(uuid:number=1001,node:Node,info:any={ap:0,hp:0,lv:1,crit:0,crit_d:0,dod:0,dod_no:false,crit_no:false}) {
|
||||
var hv = node.getComponent(HeroViewComp)!;
|
||||
|
||||
Reference in New Issue
Block a user