继续技能系统重构
This commit is contained in:
@@ -112,15 +112,11 @@ export class SkillConComp extends CCComp {
|
||||
if (!this.node || !this.node.isValid || !this.HeroView || !this.HeroView.node || !this.HeroView.node.isValid) {
|
||||
return;
|
||||
}
|
||||
if(config.uuid==6021){
|
||||
console.log("[SkillConComp] 技能起始坐标:",this.HeroView.node.position.x + BoxSet.ATK_X * this.HeroView.scale,this.HeroView.node.position.y + BoxSet.ATK_Y,0)
|
||||
}
|
||||
sEnt.load(
|
||||
new Vec3(this.HeroView.node.position.x + BoxSet.ATK_X * this.HeroView.scale,
|
||||
this.HeroView.node.position.y + BoxSet.ATK_Y, 0),
|
||||
new Vec3(this.HeroView.node.position.x,this.HeroView.node.position.y,0),
|
||||
this.node.parent,
|
||||
config.uuid,
|
||||
[new Vec3(target.x, target.y+BoxSet.ATK_Y, 0)],
|
||||
[new Vec3(target.x, target.y, 0)],
|
||||
this.HeroView,
|
||||
dmg
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user