技能继续重构

This commit is contained in:
2025-10-19 23:46:18 +08:00
parent 2ff7aab7c2
commit 8d9c7bbe0d
34 changed files with 441 additions and 660 deletions

View File

@@ -153,7 +153,7 @@ export class BuffComp extends Component {
node.setPosition(pos);
}
in_atked(anm:string="atked",scale:number=1) {
var path = "game/skills/"+anm;
var path = "game/skill/boom/"+anm;
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
node.setScale(node.scale.x*scale,node.scale.y)