技能继续调整

This commit is contained in:
2025-11-01 11:15:11 +08:00
parent 47509af7a1
commit 2b8ba46759
19 changed files with 999 additions and 150 deletions

View File

@@ -454,8 +454,8 @@ export class HeroAttrSystem extends ecs.ComblockSystem
model.updateTemporaryBuffsDebuffs(this.dt);
// 2. HP/MP 自然回复(业务规则)
model.mp += HeroUpSet.MP * this.dt;
model.hp += HeroUpSet.HP * this.dt;
model.mp += HeroUpSet.MP * this.dt/60;
model.hp += HeroUpSet.HP * this.dt/60;
// 3. 限制属性值在合理范围内
if (model.mp > model.Attrs[Attrs.MP_MAX]) {