diff options
| author | Trazom62 <none@none> | 2010-03-11 22:55:02 +0100 |
|---|---|---|
| committer | Trazom62 <none@none> | 2010-03-11 22:55:02 +0100 |
| commit | ed8c5ef6ffdbeadb600990fe683f5e20e8f31759 (patch) | |
| tree | a9628a30089fae19083326d8f38aa2b45f11b8cd /src/game/GameObject.h | |
| parent | d9f257a18c8e7984168d52b2d89b8e1582e27925 (diff) | |
Implement group loot for chest having GroupLootRules (go type=3, data15=1).
Implement round robin loot.
Implement round robin for underthreshold items (group loot and need befor greed).
Fix "all players pass" bug on creature.
Add SMSG_LOOT_LIST message to indicate looter (round robin or master).
And some other minor loot bugs.
Fixes issue #167.
Fixes issue #247.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
| -rw-r--r-- | src/game/GameObject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h index 671bd84addf..1f914a39006 100644 --- a/src/game/GameObject.h +++ b/src/game/GameObject.h @@ -708,6 +708,9 @@ class GameObject : public WorldObject, public GridObject<GameObject> Loot loot; + uint32 m_groupLootTimer; // (msecs)timer used for group loot + uint64 lootingGroupLeaderGUID; // used to find group which is looting + bool hasQuest(uint32 quest_id) const; bool hasInvolvedQuest(uint32 quest_id) const; bool ActivateToQuest(Player *pTarget) const; |
