1
This commit is contained in:
parent
57cd7d74d9
commit
93afef4361
@ -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);
|
MetaData::Equip* equip_meta = MetaMgr::Instance()->GetEquip(equip_id);
|
||||||
if (equip_meta) {
|
if (equip_meta) {
|
||||||
|
#if 0
|
||||||
|
if (equip_meta->i->equip_type() == EQUIP_TYPE_SKIN) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
Loot* entity = EntityFactory::Instance()->MakeLoot(AllocUniid());
|
Loot* entity = EntityFactory::Instance()->MakeLoot(AllocUniid());
|
||||||
entity->room = this;
|
entity->room = this;
|
||||||
entity->meta = equip_meta;
|
entity->meta = equip_meta;
|
||||||
@ -3282,6 +3287,7 @@ void Room::NotifySysPiao(const std::string& msg, int color, int duration)
|
|||||||
|
|
||||||
void Room::OnZombieAppear(Human* hum)
|
void Room::OnZombieAppear(Human* hum)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (hum->GetRace() == kZombieRace && hum->meta->i->level() == 3 && !sent_zombie_boss_notify) {
|
if (hum->GetRace() == kZombieRace && hum->meta->i->level() == 3 && !sent_zombie_boss_notify) {
|
||||||
sent_zombie_boss_notify = true;
|
sent_zombie_boss_notify = true;
|
||||||
TouchPlayerList
|
TouchPlayerList
|
||||||
@ -3296,6 +3302,7 @@ void Room::OnZombieAppear(Human* hum)
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int Room::GetAliveCountByRace(RaceType_e race)
|
int Room::GetAliveCountByRace(RaceType_e race)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user