@@ -3173,7 +3173,7 @@ void Player::InitStatsForLevel(bool reapplyMods)
|
||||
// reset before any aura state sources (health set/aura apply)
|
||||
SetUInt32Value(UNIT_FIELD_AURASTATE, 0);
|
||||
|
||||
UpdateSkillsForLevel ();
|
||||
UpdateSkillsForLevel();
|
||||
|
||||
// set default cast time multiplier
|
||||
SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0f);
|
||||
@@ -9000,7 +9000,7 @@ void Player::SendLoot(uint64 guid, LootType loot_type)
|
||||
// need know merged fishing/corpse loot type for achievements
|
||||
loot->loot_type = loot_type;
|
||||
|
||||
WorldPacket data(SMSG_LOOT_RESPONSE, (9+50)); // we guess size
|
||||
WorldPacket data(SMSG_LOOT_RESPONSE, 8 + 1 + 50 + 1 + 1); // we guess size
|
||||
|
||||
data << uint64(guid);
|
||||
data << uint8(loot_type);
|
||||
|
||||
@@ -816,6 +816,7 @@ ByteBuffer& operator<<(ByteBuffer& b, LootView const& lv)
|
||||
|
||||
size_t count_pos = b.wpos(); // pos of item count byte
|
||||
b << uint8(0); // item count placeholder
|
||||
b << uint8(0); // 4.x unknown
|
||||
|
||||
switch (lv.permission)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user