Core/Loot: Removed need before greed and round robin loot methods

"Round Robin and the old "Group Loot" option were removed in 7.0.3, since they were almost entirely unused. Loot options are now: Group Loot, Master Loot (if in a guild party), Personal Loot, and Free For All"
This commit is contained in:
Shauren
2016-07-27 19:16:30 +02:00
parent e9274de4ff
commit 60a6d9c85d
6 changed files with 15 additions and 205 deletions

View File

@@ -348,8 +348,16 @@ void WorldSession::HandleSetLootMethodOpcode(WorldPackets::Party::SetLootMethod&
if (!group->IsLeader(GetPlayer()->GetGUID()))
return;
if (packet.LootMethod > PERSONAL_LOOT)
return;
switch (packet.LootMethod)
{
case FREE_FOR_ALL:
case MASTER_LOOT:
case GROUP_LOOT:
case PERSONAL_LOOT:
break;
default:
return;
}
if (packet.LootThreshold < ITEM_QUALITY_UNCOMMON || packet.LootThreshold > ITEM_QUALITY_ARTIFACT)
return;