伤害技能添加,技能还需完善

This commit is contained in:
walkpan
2024-08-26 23:42:38 +08:00
parent 8a44a15153
commit ede4ffd4ca
20 changed files with 1439 additions and 330 deletions

View File

@@ -51,6 +51,9 @@ export class MonsterSpine extends Component {
atk() {
this.spine.setAnimation(0, "atk2", false);
}
maxSkill () {
this.spine.setAnimation(0, "max", false);
}
setAlpha(value: number): void {
var color: Color = this.spine.color;
color.a = 255 * (value / 1);