This commit is contained in:
aozhiwei 2023-02-26 16:19:52 +08:00
parent a6033644c7
commit c0a93635a4

View File

@ -95,7 +95,7 @@ private:
void ProcEffectList(Creature* target, const mt::GraspBuff* buff, int buff_time, int attr_num) void ProcEffectList(Creature* target, const mt::GraspBuff* buff, int buff_time, int attr_num)
{ {
for (int effect_id : buff->_effect_list) { for (int effect_id : buff->_effect_list) {
effect_list.push_back(target->AddEffect(effect_id)); effect_list.push_back(target->AddEffectAndSetTime(effect_id, buff_time));
} }
} }