This commit is contained in:
aozhiwei 2021-09-08 07:12:42 +00:00
parent d405985c1c
commit 23c5165560

View File

@ -379,6 +379,7 @@ void Buff::ProcSeletTargetWithSelfPos()
(
[this, &targets] (Creature* c, bool& stop)
{
if (owner_->GetPos().Distance(c->GetPos()) < meta->int_param3) {
switch (meta->int_param1) {
case kBST_All:
{
@ -426,6 +427,7 @@ void Buff::ProcSeletTargetWithSelfPos()
break;
}
}
}
);
for (auto& target : targets) {
for (int buff_id : meta->param2_int_list) {