战斗管理系统基础

This commit is contained in:
2025-02-03 22:02:26 +08:00
parent 060046a6a6
commit 36a8aff783
27 changed files with 375 additions and 619 deletions

View File

@@ -36,7 +36,8 @@ export class BuffComp extends Component {
// this.node.getChildByName("top").getChildByName("buff").getChildByName("cd").active = false;
// this.node.getChildByName("top").getChildByName("buff").getChildByName("def").active = false;
// this.node.getChildByName("top").getChildByName("buff").getChildByName("hp").active = false;
// this.node.getChildByName("top").getChildByName("buff").getChildByName("crit").active = false;
let hp_node = this.node.getChildByName("top").getChildByName("hp");
hp_node.setPosition(hp_node.position.x,hp_node.position.y-140)
}
update(deltaTime: number) {