diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-03-29 13:29:22 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-03-29 13:29:22 +0100 |
commit | 3fd6dd6175a3f75fd953083125ba3e62ab2bf1f4 (patch) | |
tree | c8499a1d060c795041c48dbef71638c6df4e2ba9 /src/server/game/Groups/Group.cpp | |
parent | dee867547d302120467b3364307fdb1838f855f5 (diff) |
Core/Loot
* Master Looter cannot freely loot items under threshold
* Update round robin looter only if loot is not empty
* Fixed loot bag icon appearing in raid frames when loot method was not Master Looter
* Fixed changing loot method reseting current round robin looter
Diffstat (limited to 'src/server/game/Groups/Group.cpp')
-rw-r--r-- | src/server/game/Groups/Group.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 699a67b5340..744ff52a2e2 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -895,7 +895,7 @@ void Group::SendLooter(Creature* creature, Player* groupLooter) WorldPacket data(SMSG_LOOT_LIST, (8+8)); data << uint64(creature->GetGUID()); - if (GetLootMethod() == MASTER_LOOT) + if (GetLootMethod() == MASTER_LOOT && creature->loot.hasOverThresholdItem()) data.appendPackGUID(GetMasterLooterGuid()); else data << uint8(0); @@ -1549,7 +1549,7 @@ void Group::SendUpdateToPlayer(uint64 playerGUID, MemberSlot* slot) if (m_lootMethod == MASTER_LOOT) data << uint64(m_masterLooterGuid); // master looter guid else - data << uint64(m_looterGuid); // looter guid + data << uint64(0); data << uint8(m_lootThreshold); // loot threshold data << uint8(m_dungeonDifficulty); // Dungeon Difficulty |