忽略空掉落
This commit is contained in:
parent
cfe26ae1a6
commit
ec0cfff61d
@ -2948,6 +2948,9 @@ void Human::DropItems(Obstacle* obstacle)
|
|||||||
is_treasure_box = ((RoomObstacle*)obstacle)->is_treasure_box;
|
is_treasure_box = ((RoomObstacle*)obstacle)->is_treasure_box;
|
||||||
}
|
}
|
||||||
int drop_id = obstacle->meta->i->drop();
|
int drop_id = obstacle->meta->i->drop();
|
||||||
|
if (drop_id == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (room->room_type == RT_NewBrid && IsPlayer()) {
|
if (room->room_type == RT_NewBrid && IsPlayer()) {
|
||||||
if (is_treasure_box) {
|
if (is_treasure_box) {
|
||||||
if (box_drop_times_ < MetaMgr::Instance()->newbie_airdrop.size()) {
|
if (box_drop_times_ < MetaMgr::Instance()->newbie_airdrop.size()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user