伤害技能添加,技能还需完善

This commit is contained in:
2024-08-26 23:42:38 +08:00
parent 8a44a15153
commit ede4ffd4ca
20 changed files with 1439 additions and 330 deletions

View File

@@ -29,7 +29,7 @@ export class MapMonsterComp extends CCComp {
cur_mission:number = 1; //当前关卡方案
mission_list:any = []
setp_timer: Timer = new Timer(0.5);
setp_num:number = 1;
setp_num:number = 3;
onLoad(){
// 监听全局事件
oops.message.on("other_add_monster", this.on_other_add_monster, this);

View File

@@ -24,7 +24,6 @@ export class MapViewComp extends CCComp {
async onLoad(){
// 监听全局事件
oops.message.on("do_add_hero", this.on_do_add_hero, this);
}
/**监听do_add_hero 添加hero,通过uuid */