Skip to content

Commit c79646f

Browse files
committed
Update items.cpp
1 parent 13fbab9 commit c79646f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/items/items.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ std::vector<Items::SurpriseBagDrop> Items::rollSurpriseBagLoot(const std::shared
540540
continue;
541541
}
542542

543+
if (isBoss && !bagItem.bossOnly) {
544+
continue;
545+
}
546+
543547
if (bagItem.bossOnly && !isBoss) {
544548
continue;
545549
}

0 commit comments

Comments
 (0)