技能继续调整
This commit is contained in:
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user