This commit is contained in:
aozhiwei 2023-02-25 08:35:43 +08:00
parent 2ea5d9ae48
commit 18ec8eda7f

View File

@ -59,6 +59,16 @@ struct GraspBuff
target = enemy;
}
if (buff->attr_id()) {
ProcAttrBuff(target, buff, buff_time, attr_num);
}
}//end if
}
}
private:
void ProcAttrBuff(Creature* target, const mt::GraspBuff* buff, int buff_time, int attr_num)
{
switch (buff->attr_add_pattern()) {
case 1:
{
@ -77,9 +87,6 @@ struct GraspBuff
break;
}
}
}//end if
}
}
};