1
This commit is contained in:
parent
426034fb59
commit
022bdfe5b0
@ -1024,6 +1024,16 @@ void CallFuncBuff::RangeHoldBuff()
|
|||||||
[this, context, on_enter, on_stay, on_leave]
|
[this, context, on_enter, on_stay, on_leave]
|
||||||
()
|
()
|
||||||
{
|
{
|
||||||
|
float range = meta->GetBuffParam2(this);
|
||||||
|
owner->room->TraverseAliveHumanList
|
||||||
|
(
|
||||||
|
[this, range] (Human* hum)
|
||||||
|
{
|
||||||
|
if (Collision::CheckCC(owner, owner->GetRadius(),
|
||||||
|
hum, range)) {
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
owner->room->xtimer.SetIntervalWpEx
|
owner->room->xtimer.SetIntervalWpEx
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user