This commit is contained in:
azw 2023-11-07 02:14:30 +00:00
parent 426034fb59
commit 022bdfe5b0

View File

@ -1024,6 +1024,16 @@ void CallFuncBuff::RangeHoldBuff()
[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
(