mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7737] Implement ACHIEVEMENT_CRITERIA_TYPE_LOOT_TYPE.
Zone dependent achievement criteria required DB support. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
b22b603c0e
commit
dba73b611d
6 changed files with 62 additions and 24 deletions
|
|
@ -7320,6 +7320,9 @@ void Player::SendLoot(uint64 guid, LootType loot_type)
|
|||
default: break;
|
||||
}
|
||||
|
||||
// need know merged fishing/corpse loot type for achievements
|
||||
loot->loot_type = loot_type;
|
||||
|
||||
WorldPacket data(SMSG_LOOT_RESPONSE, (9+50)); // we guess size
|
||||
|
||||
data << uint64(guid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue