[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:
Trazom 2009-04-30 03:00:59 +04:00 committed by VladimirMangos
parent b22b603c0e
commit dba73b611d
6 changed files with 62 additions and 24 deletions

View file

@ -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);