技能弹道完善

This commit is contained in:
2024-08-28 17:45:51 +08:00
parent 4096a17330
commit 5094cb4f3c
7 changed files with 109 additions and 76 deletions

View File

@@ -197,7 +197,7 @@ export class MonsterViewComp extends CCComp {
do_max_skill(){
let skill = ecs.getEntity<Skill>(Skill);
let x=32
let pos = v3(35*this.scale,40)
let pos = v3(-40*this.scale,BoxSet.MAX_SKILL_SY)
let scale = this.scale
let speed =smc.skills[this.max_skill_uuid].speed;
let dis = smc.skills[this.max_skill_uuid].dis;