feat(英雄系统): 添加怒气值属性及相关功能
top 血条样式调整 - 在HeroAttrsComp中添加pow属性表示当前怒气值 - 在HeroAttrs枚举中添加POW_MAX和POW_REGEN属性 - 修改HeroViewComp根据英雄类型显示不同资源条 - 调整boss血条位置偏移量 - 注释掉物理系统调试绘制代码
This commit is contained in:
@@ -28,6 +28,7 @@ export class HeroAttrsComp extends ecs.Comp {
|
||||
// ==================== 动态属性值 ====================
|
||||
hp: number = 100; // 当前血量
|
||||
mp: number = 100; // 当前魔法值
|
||||
pow: number = 0; // 当前怒气值
|
||||
shield: number = 0; // 当前护盾
|
||||
Attrs: any = []; // 最终属性数组(经过Buff计算后)
|
||||
NeAttrs: any = []; // 负面状态数组
|
||||
|
||||
Reference in New Issue
Block a user