This commit is contained in:
aozhiwei 2021-07-21 13:46:42 +08:00
parent af4e7708c7
commit 0e3fccd389

View File

@ -366,7 +366,6 @@ int Creature::AddBuff(Creature* caster,
} }
} }
} }
return new_buff_uniid;
#ifdef DEBUG #ifdef DEBUG
SendDebugMsg(a8::Format("添加buff_id:%d effect:%d %s params:%d,%d,%d,%d,%d", SendDebugMsg(a8::Format("添加buff_id:%d effect:%d %s params:%d,%d,%d,%d,%d",
{ {
@ -380,6 +379,7 @@ int Creature::AddBuff(Creature* caster,
buff_meta->int_param5, buff_meta->int_param5,
})); }));
#endif #endif
return new_buff_uniid;
} }
bool Creature::IsImmuneBuffEffect(int buff_effect) bool Creature::IsImmuneBuffEffect(int buff_effect)