1
This commit is contained in:
parent
ddba86168b
commit
67c21c8dab
@ -69,6 +69,20 @@ void HideBuff::Deactivate()
|
|||||||
owner->GetAbility()->DecSwitch(kHideBuffAimingShow);
|
owner->GetAbility()->DecSwitch(kHideBuffAimingShow);
|
||||||
}
|
}
|
||||||
#if 0
|
#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()) {
|
if (!owner->nature_recover_hp_idle_timer.expired()) {
|
||||||
owner->room->xtimer.FireEvent
|
owner->room->xtimer.FireEvent
|
||||||
(
|
(
|
||||||
@ -77,6 +91,7 @@ void HideBuff::Deactivate()
|
|||||||
nullptr);
|
nullptr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideBuff::AddInRangeObject(Creature* target)
|
void HideBuff::AddInRangeObject(Creature* target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user