1
This commit is contained in:
parent
ca17f0644b
commit
1ff2dfb5f4
@ -1130,7 +1130,7 @@ void Creature::Initialize()
|
|||||||
[this] (int event, const a8::Args* args) mutable
|
[this] (int event, const a8::Args* args) mutable
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
if (!dead && !poisoning) {
|
if (!dead && !poisoning && !downed) {
|
||||||
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);
|
||||||
TryAddBuff(this, kRecoverHpEffectBuffId);
|
TryAddBuff(this, kRecoverHpEffectBuffId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user