1
This commit is contained in:
parent
d405985c1c
commit
23c5165560
@ -379,6 +379,7 @@ void Buff::ProcSeletTargetWithSelfPos()
|
|||||||
(
|
(
|
||||||
[this, &targets] (Creature* c, bool& stop)
|
[this, &targets] (Creature* c, bool& stop)
|
||||||
{
|
{
|
||||||
|
if (owner_->GetPos().Distance(c->GetPos()) < meta->int_param3) {
|
||||||
switch (meta->int_param1) {
|
switch (meta->int_param1) {
|
||||||
case kBST_All:
|
case kBST_All:
|
||||||
{
|
{
|
||||||
@ -426,6 +427,7 @@ void Buff::ProcSeletTargetWithSelfPos()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
);
|
);
|
||||||
for (auto& target : targets) {
|
for (auto& target : targets) {
|
||||||
for (int buff_id : meta->param2_int_list) {
|
for (int buff_id : meta->param2_int_list) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user