Core/Player: Introduce separate level caps for each expansion
This commit is contained in:
1 parent
56c3d0fa11
commit
cb4e7821e3
6 files changed
+29
-20
No files matched your search
@@ -156,7 +156,7 @@ void WorldSession::HandleArenaTeamInviteOpcode(WorldPacket& recvData)
|
||||
return;
|
||||
}
|
||||
|
||||
if (player->getLevel() < sWorld->getIntConfig(CONFIG_MAX_PLAYER_LEVEL))
|
||||
if (!player->IsMaxLevel())
|
||||
{
|
||||
SendArenaTeamCommandResult(ERR_ARENA_TEAM_CREATE_S, "", player->GetName(), ERR_ARENA_TEAM_TARGET_TOO_LOW_S);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user