diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index b978245c..79b7a51e 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -60,17 +60,17 @@ export class SingletonModuleComp extends ecs.Comp { monsters_dead:any = [] heros_dead:any = [] hero_pos:any=[ - {x:-320,y:BoxSet.GAME_LINE+70}, {x:-320,y:BoxSet.GAME_LINE}, - {x:-320,y:BoxSet.GAME_LINE-70}, + {x:-320,y:BoxSet.GAME_LINE}, + {x:-320,y:BoxSet.GAME_LINE}, {x:-320,y:BoxSet.GAME_LINE}, {x:-320,y:BoxSet.GAME_LINE}, {x:-320,y:BoxSet.GAME_LINE}, ] enemy_pos:any =[ - {x:320,y:BoxSet.GAME_LINE+70}, {x:320,y:BoxSet.GAME_LINE}, - {x:320,y:BoxSet.GAME_LINE-70}, + {x:320,y:BoxSet.GAME_LINE}, + {x:320,y:BoxSet.GAME_LINE}, {x:320,y:BoxSet.GAME_LINE}, {x:320,y:BoxSet.GAME_LINE}, {x:320,y:BoxSet.GAME_LINE}, diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index b4592a39..6ea11e08 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -316,6 +316,7 @@ export class HeroViewComp extends CCComp { pos.y=pos.y + y pos.x=pos.x + x skill.load(pos,this.box_group,this.node,skill_uuid,atk,t_pos); + console.log(this.scale+this.hero_name+"使用技能:"+skill_uuid); // this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid); } to_add_buff(hero:any,s_uuid:number){