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