1
This commit is contained in:
commit
9229f01d24
@ -68,21 +68,14 @@ void HideBuff::Deactivate()
|
||||
if (meta->_int_buff_param6 > 0) {
|
||||
owner->GetAbility()->DecSwitch(kHideBuffAimingShow);
|
||||
}
|
||||
#if 0
|
||||
if (!owner->room->IsDestorying() && !owner->room->IsGameOver()) {
|
||||
owner->room->xtimer.SetTimeoutWpEx
|
||||
(
|
||||
SERVER_FRAME_RATE,
|
||||
[owner],
|
||||
[owner = 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
|
||||
(
|
||||
@ -90,8 +83,11 @@ void HideBuff::Deactivate()
|
||||
kRemoveNatureRecoverTimerEvent,
|
||||
nullptr);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
},
|
||||
&owner->xtimer_attacher
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void HideBuff::AddInRangeObject(Creature* target)
|
||||
|
Loading…
x
Reference in New Issue
Block a user