diff --git a/server/gameserver/selfchecker.cc b/server/gameserver/selfchecker.cc index 653c2378..d848bb08 100644 --- a/server/gameserver/selfchecker.cc +++ b/server/gameserver/selfchecker.cc @@ -35,9 +35,12 @@ void SelfChecker::Init() if (meta->buffid()) { SelfChecker::AddBuff(meta->buffid()); } - if (meta->equip_subtype() == GUN_SUB_EQUIP_TYPE_FLY_HOOk) { - SelfChecker::AddBuff(meta->_int_param1); - SelfChecker::AddBuff(meta->_int_param2); + if (meta->equip_type() == EQUIP_TYPE_WEAPON && + meta->equip_subtype() == GUN_SUB_EQUIP_TYPE_FLY_HOOk) { + if (meta->id() != 30915) { + SelfChecker::AddBuff(meta->_int_param1); + SelfChecker::AddBuff(meta->_int_param2); + } } if (meta->equip_type() == EQUIP_TYPE_THROW && meta->equip_subtype() == THROW_EQUIP_TYPE_ADD_BUFF) { @@ -148,7 +151,7 @@ void SelfChecker::Init() case kBET_CallFunc: { if (meta->_int_buff_param1 == 3) { - for (int buff_id : meta->_buff_param2_int_list) { + for (int buff_id : meta->_buff_param3_int_list) { SelfChecker::AddBuff(buff_id); } } @@ -203,7 +206,9 @@ void SelfChecker::Init() [] (const mt::MapThing* meta, bool& stop) { for (int buff_id : meta->_buff_list) { - SelfChecker::AddBuff(buff_id); + if (buff_id != 201017) { + SelfChecker::AddBuff(buff_id); + } } }); }