fix(Core/Loot): Items below group threshold should not be blocked by master looter. (#5041)

This commit is contained in:
UltraNix
2021-04-07 13:30:34 +02:00
committed by GitHub
parent 4f3c21b55c
commit c19ea1f7ad
4 changed files with 44 additions and 14 deletions

View File

@@ -161,7 +161,7 @@ struct LootItem
LootItem() = default;
// Basic checks for player/item compatibility - if false no chance to see the item in the loot
bool AllowedForPlayer(Player const* player) const;
bool AllowedForPlayer(Player const* player, bool isGivenByMasterLooter = false, bool allowQuestLoot = true) const;
void AddAllowedLooter(Player const* player);
[[nodiscard]] const AllowedLooterSet& GetAllowedLooters() const { return allowedGUIDs; }