diff --git a/assets/script/game/common/config/MissionSet.ts b/assets/script/game/common/config/MissionSet.ts index 17350641..1b20bb95 100644 --- a/assets/script/game/common/config/MissionSet.ts +++ b/assets/script/game/common/config/MissionSet.ts @@ -20,7 +20,7 @@ export const MissionSet = [ export const Missions = [ [5201,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212], [5213,5213,5214,5215], - [5015,5015], + [5015,], ] diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index c2290a3c..ff24a543 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -317,10 +317,10 @@ export class HeroViewComp extends CCComp { get_enemy_pos(){ let t_pos:Vec3 = v3(720,0) if(this.enemy){ - t_pos = v3(this.enemy.x-this.node.position.x,this.enemy.y-this.node.position.y) - console.log(this.hero_name+":"+this.uuid+"enemy ="+this.enemy.x+" x"+this.node.position.x+" t_pos"+t_pos); + } + console.log(this.hero_name+":"+this.uuid+"enemy ="+this.enemy.x+" x"+this.node.position.x+" t_pos"+t_pos); return t_pos } get_hero_pos(hero:any){ @@ -410,7 +410,6 @@ export class HeroViewComp extends CCComp { if(this.pw >= this.pwm){ this.pw = 0 this.BUFFCOMP.max_show() - this.do_skill(this.sk2) return true }else{ diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index cc7cc0f8..fe81723d 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -257,19 +257,19 @@ export class MissionComp extends CCComp { let yc=2 let bc=1 for(let i=0;i