1
This commit is contained in:
parent
c8765dc91e
commit
c98915e6fc
@ -1125,6 +1125,11 @@ void Creature::Initialize()
|
|||||||
SERVER_FRAME_RATE * mt::Param::s().nature_recover_hp_interval,
|
SERVER_FRAME_RATE * mt::Param::s().nature_recover_hp_interval,
|
||||||
[this] (int event, const a8::Args* args) mutable
|
[this] (int event, const a8::Args* args) mutable
|
||||||
{
|
{
|
||||||
|
if (!dead) {
|
||||||
|
if (GetHP() + 1 < GetMaxHP()) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
&xtimer_attacher);
|
&xtimer_attacher);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user