1
This commit is contained in:
parent
2ea5d9ae48
commit
18ec8eda7f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user