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

View File

@ -59,28 +59,35 @@ struct GraspBuff
target = enemy; target = enemy;
} }
if (buff->attr_id()) { if (buff->attr_id()) {
switch (buff->attr_add_pattern()) { ProcAttrBuff(target, buff, buff_time, attr_num);
case 1:
{
}
break;
case 2:
{
}
break;
default:
{
}
break;
}
} }
}//end if }//end if
} }
} }
private:
void ProcAttrBuff(Creature* target, const mt::GraspBuff* buff, int buff_time, int attr_num)
{
switch (buff->attr_add_pattern()) {
case 1:
{
}
break;
case 2:
{
}
break;
default:
{
}
break;
}
}
}; };
GunGrasp::GunGrasp(Creature* owner) GunGrasp::GunGrasp(Creature* owner)