去掉了 技能系统,技能由单个精灵独立处理

This commit is contained in:
2025-06-02 20:25:23 +08:00
parent c9a499e38b
commit 3fbfc2ea09
68 changed files with 3923 additions and 11907 deletions

View File

@@ -11,7 +11,6 @@ import { RandomManager } from "../../../../extensions/oops-plugin-framework/asse
import { HeroSet } from "../common/config/heroSet";
import { BuffComp } from "./BuffComp";
import { getMonsterDrops, MonsterType } from "../common/config/RewardSet";
import { HeroSkillsComp } from "../skill/heroSkillsComp";
import { oops } from "db://oops-framework/core/Oops";
import { GameEvent } from "../common/config/GameEvent";
const { ccclass, property } = _decorator;
@@ -332,11 +331,7 @@ export class HeroViewComp extends CCComp {
break
}
}
public revive() {
this.hp = this.hp_max;
const skills = this.ent.get(HeroSkillsComp);
skills.resetAllCooldowns();
}
to_update(){
this.ap=this.ap*this.lv