mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Required changes for latest TC
This commit is contained in:
@@ -2262,10 +2262,11 @@ namespace LuaPlayer
|
||||
WorldPacket data(MSG_AUCTION_HELLO, 12);
|
||||
#ifdef TRINITY
|
||||
data << uint64(unit->GetGUID().GetCounter());
|
||||
data << uint32(ahEntry->ID);
|
||||
#else
|
||||
data << uint64(unit->GetGUIDLow());
|
||||
#endif
|
||||
data << uint32(ahEntry->houseId);
|
||||
#endif
|
||||
data << uint8(1);
|
||||
#ifdef CMANGOS
|
||||
player->GetSession()->SendPacket(data);
|
||||
@@ -3312,11 +3313,19 @@ namespace LuaPlayer
|
||||
{
|
||||
if (SkillLineEntry const* entry = sSkillLineStore.LookupEntry(i))
|
||||
{
|
||||
#ifdef TRINITY
|
||||
if (entry->CategoryID == SKILL_CATEGORY_LANGUAGES || entry->CategoryID == SKILL_CATEGORY_GENERIC)
|
||||
continue;
|
||||
|
||||
if (player->HasSkill(entry->ID))
|
||||
player->UpdateSkill(entry->ID, step);
|
||||
#else
|
||||
if (entry->categoryId == SKILL_CATEGORY_LANGUAGES || entry->categoryId == SKILL_CATEGORY_GENERIC)
|
||||
continue;
|
||||
|
||||
if (player->HasSkill(entry->id))
|
||||
player->UpdateSkill(entry->id, step);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user