mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
Update Transmogrification.cpp
This commit is contained in:
@@ -797,10 +797,10 @@ bool Transmogrification::SuitableForTransmogrification(Player* player, ItemTempl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
|
if (proto->HasFlag2(ITEM_FLAG2_FACTION_HORDE) && player->GetTeamId() != TEAM_HORDE)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ((proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
|
if (proto->HasFlag2(ITEM_FLAG2_FACTION_ALLIANCE) && player->GetTeamId() != TEAM_ALLIANCE)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!IgnoreReqClass && (proto->AllowableClass & player->getClassMask()) == 0)
|
if (!IgnoreReqClass && (proto->AllowableClass & player->getClassMask()) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user