From 93afef436131e58c89848a68933e3620f82b6c66 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 20 Jan 2021 18:25:26 +0800 Subject: [PATCH] 1 --- server/gameserver/room.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index 1aab7f1..5f98d98 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -457,6 +457,11 @@ int Room::CreateLoot(int equip_id, a8::Vec2 pos, int count, int equip_lv) { MetaData::Equip* equip_meta = MetaMgr::Instance()->GetEquip(equip_id); if (equip_meta) { +#if 0 + if (equip_meta->i->equip_type() == EQUIP_TYPE_SKIN) { + return; + } +#endif Loot* entity = EntityFactory::Instance()->MakeLoot(AllocUniid()); entity->room = this; entity->meta = equip_meta; @@ -3282,6 +3287,7 @@ void Room::NotifySysPiao(const std::string& msg, int color, int duration) void Room::OnZombieAppear(Human* hum) { + #if 0 if (hum->GetRace() == kZombieRace && hum->meta->i->level() == 3 && !sent_zombie_boss_notify) { sent_zombie_boss_notify = true; TouchPlayerList @@ -3296,6 +3302,7 @@ void Room::OnZombieAppear(Human* hum) } ); } + #endif } int Room::GetAliveCountByRace(RaceType_e race)