This commit is contained in:
aozhiwei 2024-09-13 14:12:57 +08:00
parent ddba86168b
commit 67c21c8dab

View File

@ -69,6 +69,20 @@ void HideBuff::Deactivate()
owner->GetAbility()->DecSwitch(kHideBuffAimingShow);
}
#if 0
if (!owner->room->IsDestorying() && !owner->room->IsGameOver()) {
owner->room->xtimer.SetTimeoutWpEx
(
SERVER_FRAME_RATE,
[owner],
(int event, const a8::Args* args) mutable
{
if (a8::TIMER_EXEC_EVENT == event) {
}
},
&owner->xtimer_attacher
);
}
#if 1
if (!owner->nature_recover_hp_idle_timer.expired()) {
owner->room->xtimer.FireEvent
(
@ -77,6 +91,7 @@ void HideBuff::Deactivate()
nullptr);
}
#endif
#endif
}
void HideBuff::AddInRangeObject(Creature* target)