This commit is contained in:
aozhiwei 2023-10-23 14:22:54 +08:00
parent c8765dc91e
commit c98915e6fc

View File

@ -1125,6 +1125,11 @@ void Creature::Initialize()
SERVER_FRAME_RATE * mt::Param::s().nature_recover_hp_interval,
[this] (int event, const a8::Args* args) mutable
{
if (!dead) {
if (GetHP() + 1 < GetMaxHP()) {
}
}
},
&xtimer_attacher);
}