mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Temp revert prev. commit.
--HG-- branch : trunk
This commit is contained in:
@@ -578,7 +578,7 @@ void Group::SendLooter(Creature *pCreature, Player *pLooter)
|
||||
BroadcastPacket(&data, false);
|
||||
}
|
||||
|
||||
void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature)
|
||||
void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject)
|
||||
{
|
||||
std::vector<LootItem>::iterator i;
|
||||
ItemPrototype const *item;
|
||||
@@ -625,6 +625,7 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature
|
||||
|
||||
loot->items[itemSlot].is_blocked = true;
|
||||
|
||||
Creature *creature;
|
||||
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
||||
|
||||
RollId.push_back(r);
|
||||
@@ -650,7 +651,7 @@ void Group::GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature
|
||||
}
|
||||
}
|
||||
|
||||
void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *creature)
|
||||
void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject)
|
||||
{
|
||||
ItemPrototype const *item;
|
||||
uint8 itemSlot = 0;
|
||||
@@ -690,6 +691,7 @@ void Group::NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *cr
|
||||
|
||||
loot->items[itemSlot].is_blocked = true;
|
||||
|
||||
Creature *creature;
|
||||
SendLootStartRoll(60000, creature->GetMapId(), *r);
|
||||
|
||||
RollId.push_back(r);
|
||||
|
||||
@@ -325,8 +325,8 @@ class Group
|
||||
void SendLootRollWon(const uint64& SourceGuid, const uint64& TargetGuid, uint8 RollNumber, uint8 RollType, const Roll &r);
|
||||
void SendLootAllPassed(uint32 NumberOfPlayers, const Roll &r);
|
||||
void SendLooter(Creature *pCreature, Player *pLooter);
|
||||
void GroupLoot(Loot *loot, WorldObject* pLootedObject, Creature *creature);
|
||||
void NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject, Creature *creature);
|
||||
void GroupLoot(Loot *loot, WorldObject* pLootedObject);
|
||||
void NeedBeforeGreed(Loot *loot, WorldObject* pLootedObject);
|
||||
void MasterLoot(Loot *loot, WorldObject* pLootedObject);
|
||||
Rolls::iterator GetRoll(uint64 Guid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user