技能添加
This commit is contained in:
@@ -120,7 +120,7 @@ export class SkillCom extends CCComp {
|
||||
this.executeTwoStageMovement();
|
||||
break;
|
||||
case AType.fixedEnd:
|
||||
this.node.setPosition(this.targetPos.x,this.targetPos.y,0)
|
||||
this.node.setPosition(this.targetPos.x > 360?300:this.targetPos.x,0,0)
|
||||
if(this.node.getComponent(Animation)){
|
||||
let anim = this.node.getComponent(Animation);
|
||||
//console.log("[SkillCom]:has anim",anim)
|
||||
@@ -137,7 +137,8 @@ export class SkillCom extends CCComp {
|
||||
}
|
||||
break;
|
||||
case AType.fixedStart: //
|
||||
this.node.setPosition(this.startPos.x,this.startPos.y,0)
|
||||
|
||||
this.node.setPosition(this.startPos.x > 360?300:this.startPos.x,0,0)
|
||||
|
||||
if(this.node.getComponent(Animation)){
|
||||
let anim = this.node.getComponent(Animation);
|
||||
|
||||
Reference in New Issue
Block a user