refactor(hero): 移除 Boss 阶段描边相关未实现的代码

清理了 Boss 阶段描边功能的相关代码,包括移除了 resetPhaseOutline 和 setPhaseOutline 方法,删除了相关材质定义,将 onPhaseEnter 方法置空待后续迭代实现。
This commit is contained in:
panFD
2026-10-10 00:27:29 +08:00
parent b31d870d90
commit 24aff3baa3
5 changed files with 3 additions and 60 deletions

View File

@@ -290,10 +290,6 @@ export class Monster extends ecs.Entity {
// 注册视图组件并重置对象池复用状态
this.add(view);
view.init();
// 阶段 Boss:init 按 lv 设的等级描边与阶段描边冲突,复位为 P1 无描边(P2/P3 由 BossPhaseSystem 再上色)
if (this.has(BossPhaseComp)) {
view.resetPhaseOutline();
}
view.as.idle();
// 广播怪物加载事件,供刷怪与战斗系统联动
oops.message.dispatchEvent("monster_load", this)