1
This commit is contained in:
parent
c2829b5f89
commit
f28e31e3d7
@ -15,7 +15,17 @@ void HideBuff::Activate()
|
|||||||
float alert_range = meta->GetBuffParam2(this);
|
float alert_range = meta->GetBuffParam2(this);
|
||||||
float alert_time = meta->GetBuffParam3(this);
|
float alert_time = meta->GetBuffParam3(this);
|
||||||
if (alert_range > 1.0f) {
|
if (alert_range > 1.0f) {
|
||||||
|
owner->room->xtimer.SetIntervalWpEx
|
||||||
|
(
|
||||||
|
SERVER_FRAME_RATE,
|
||||||
|
[this, alert_range, alert_time]
|
||||||
|
(int event, const a8::Args* args) mutable
|
||||||
|
{
|
||||||
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
&xtimer_attacher
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user