tgcom修复, todo 其他技能文件
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user