refactor(game): 重构Buff系统并移除废弃代码
- 将Debuff枚举移至Attrs作为状态属性,统一Buff/Debuff处理逻辑 - 移除HeroViewComp中废弃的MP显示代码和三个设计文档文件 - 重构HeroAttrsComp的Buff系统,支持临时/永久增益、状态控制和属性修改 - 重构SkillSet配置,分离Buff定义为独立列表,简化技能配置 - 更新技能距离缓存逻辑,直接基于技能配置计算
This commit is contained in:
@@ -154,10 +154,6 @@ export class HeroViewComp extends CCComp {
|
||||
this.model.dirty_hp = false;
|
||||
}
|
||||
|
||||
// if (this.model.dirty_mp) {
|
||||
// this.mp_show();
|
||||
// this.model.dirty_mp = false;
|
||||
// }
|
||||
|
||||
if (this.model.dirty_shield) {
|
||||
this.show_shield(this.model.shield, this.model.shield_max);
|
||||
|
||||
Reference in New Issue
Block a user