This commit is contained in:
aozhiwei 2023-12-21 14:52:20 +08:00
parent 085eded0d2
commit 8ac69f3d7d

View File

@ -1130,9 +1130,7 @@ void Creature::Initialize()
if (!dead && !poisoning) { if (!dead && !poisoning) {
if (GetHP() + 1 < GetMaxHP()) { if (GetHP() + 1 < GetMaxHP()) {
AddHp(GetMaxHP() * mt::Param::s().nature_recover_hp_rate); AddHp(GetMaxHP() * mt::Param::s().nature_recover_hp_rate);
#ifdef MYDEBUG
TryAddBuff(this, kRecoverHpEffectBuffId); TryAddBuff(this, kRecoverHpEffectBuffId);
#endif
} }
} }
} }