diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index 79d51de..f254822 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -366,7 +366,6 @@ int Creature::AddBuff(Creature* caster, } } } - return new_buff_uniid; #ifdef DEBUG 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, })); #endif + return new_buff_uniid; } bool Creature::IsImmuneBuffEffect(int buff_effect)