更新了技能,需要修复 全体技能会给与敌方伤害问题

This commit is contained in:
2025-01-15 16:56:48 +08:00
parent 1f1cbf7477
commit 8aa5a51b83
13 changed files with 964 additions and 15 deletions

View File

@@ -703,8 +703,7 @@ export class HeroViewComp extends CCComp {
}
do_all_buff(sk:number){
let skill = ecs.getEntity<Skill>(Skill);
let pos=v3(-320,0)
if(this.box_group==BoxSet.MONSTER) pos=v3(320,0)
let pos=v3(0,0)
let t_pos = pos
this.to_console("to_all_buff:"+sk)
let is_crit=this.check_crit()