This commit is contained in:
aozhiwei 2023-10-27 13:37:54 +08:00
parent 22b230adf2
commit 1ee720bcd3

View File

@ -1149,7 +1149,9 @@ 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 DEBUG
TryAddBuff(this, kRecoverHpEffectBuffId); TryAddBuff(this, kRecoverHpEffectBuffId);
#endif
} }
} }
} }