diff options
| author | Nay <dnpd.dd@gmail.com> | 2011-12-22 22:21:48 +0000 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2011-12-22 22:21:48 +0000 |
| commit | e2704d6abdb1e4fb4657a6ffca980e45727b4e89 (patch) | |
| tree | 5dddaa1a5c07e88c7c472644b4396e49985d4080 /src/server/game/Groups | |
| parent | bdf64e8f96885026be5ba08332f1b3b0236c2902 (diff) | |
Core/Loot: Enable and fix SMSG_LOOT_START_ROLL
Diffstat (limited to 'src/server/game/Groups')
| -rwxr-xr-x | src/server/game/Groups/Group.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 11175b13114..459cbc73623 100755 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -627,18 +627,19 @@ void Group::Disband(bool hideDestroy /* = false */) /*** LOOT SYSTEM ***/ /*********************************************************/ -void Group::SendLootStartRoll(uint32 CountDown, uint32 mapid, const Roll &r) +void Group::SendLootStartRoll(uint32 countDown, uint32 mapid, const Roll &r) { WorldPacket data(SMSG_LOOT_START_ROLL, (8+4+4+4+4+4+4+1)); data << uint64(r.itemGUID); // guid of rolled item data << uint32(mapid); // 3.3.3 mapid - data << uint32(r.totalPlayersRolling); // maybe the number of players rolling for it??? + data << uint32(r.itemSlot); // slot data << uint32(r.itemid); // the itemEntryId for the item that shall be rolled for data << uint32(r.itemRandomSuffix); // randomSuffix data << uint32(r.itemRandomPropId); // item random property ID data << uint32(r.itemCount); // items in stack - data << uint32(CountDown); // the countdown time to choose "need" or "greed" + data << uint32(countDown); // the countdown time to choose "need" or "greed" data << uint8(r.rollVoteMask); // roll type mask + data << uint8(r.totalPlayersRolling); // maybe the number of players rolling for it??? for (Roll::PlayerVote::const_iterator itr=r.playerVote.begin(); itr != r.playerVote.end(); ++itr) { |
