dd
This commit is contained in:
@@ -176,14 +176,14 @@ export class FightConComp extends Component {
|
||||
console.error("[FightConComp] 主角视图组件获取失败");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
let angle=0
|
||||
let targets = this.pickRandomTarget(data.count)
|
||||
let target_pos= new Vec3(0,0,0)
|
||||
if(targets.length==0){
|
||||
target_pos=this.aoe_target_pos
|
||||
}else{
|
||||
target_pos= new Vec3(targets[0].get(HeroViewComp).node.position.x,targets[0].get(HeroViewComp).node.position.y,0)
|
||||
target_pos= new Vec3(targets[0].get(HeroViewComp).node.position.x,0,0)
|
||||
}
|
||||
|
||||
skill.load(
|
||||
|
||||
Reference in New Issue
Block a user