mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
Replace hardcoded client(100) and server side (255) level limtation values by defines.
This commit is contained in:
parent
09e8ea2ae6
commit
c798318b7b
8 changed files with 36 additions and 27 deletions
|
|
@ -19,6 +19,14 @@
|
|||
#ifndef DBCENUMS_H
|
||||
#define DBCENUMS_H
|
||||
|
||||
// client supported max level for player/pets/etc. Avoid overflow or client stability affected.
|
||||
// also see GT_MAX_LEVEL define
|
||||
#define MAX_LEVEL 100
|
||||
|
||||
// Server side limitation. Base at used code requirements.
|
||||
// also see MAX_LEVEL and GT_MAX_LEVEL define
|
||||
#define STRONG_MAX_LEVEL 255
|
||||
|
||||
enum AreaTeams
|
||||
{
|
||||
AREATEAM_NONE = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue