mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Enums: Add two new races to enumerations and update maxlevel in config
This commit is contained in:
2
sql/updates/world/2011_11_24_01_world_command.sql
Normal file
2
sql/updates/world/2011_11_24_01_world_command.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE `command` SET `help`='Syntax: .account set addon [$account] #addon\n\nSet user (possible targeted) expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk, 3 - cata.' WHERE `name`='account set addon';
|
||||
UPDATE `command` SET `help`='Syntax: .account addon #addon\nSet expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk, 3 - cata.' WHERE `name`='account addon';
|
||||
@@ -385,6 +385,8 @@ bool ChatHandler::HandlePInfoCommand(const char* args)
|
||||
case RACE_TROLL: race_s = "Troll"; break;
|
||||
case RACE_BLOODELF: race_s = "Blood Elf"; break;
|
||||
case RACE_DRAENEI: race_s = "Draenei"; break;
|
||||
case RACE_GOBLIN: race_s = "Goblin"; break;
|
||||
case RACE_WORGEN: race_s = "Worgen"; break;
|
||||
}
|
||||
switch (Class)
|
||||
{
|
||||
|
||||
@@ -62,9 +62,9 @@ enum Races
|
||||
RACE_TAUREN = 6,
|
||||
RACE_GNOME = 7,
|
||||
RACE_TROLL = 8,
|
||||
//RACE_GOBLIN = 9,
|
||||
RACE_GOBLIN = 9,
|
||||
RACE_BLOODELF = 10,
|
||||
RACE_DRAENEI = 11
|
||||
RACE_DRAENEI = 11,
|
||||
//RACE_FEL_ORC = 12,
|
||||
//RACE_NAGA = 13,
|
||||
//RACE_BROKEN = 14,
|
||||
@@ -74,7 +74,8 @@ enum Races
|
||||
//RACE_FOREST_TROLL = 18,
|
||||
//RACE_TAUNKA = 19,
|
||||
//RACE_NORTHREND_SKELETON = 20,
|
||||
//RACE_ICE_TROLL = 21
|
||||
//RACE_ICE_TROLL = 21,
|
||||
RACE_WORGEN = 22
|
||||
};
|
||||
|
||||
// max+1 for player race
|
||||
@@ -82,13 +83,13 @@ enum Races
|
||||
|
||||
#define RACEMASK_ALL_PLAYABLE \
|
||||
((1<<(RACE_HUMAN-1)) |(1<<(RACE_ORC-1)) |(1<<(RACE_DWARF-1)) | \
|
||||
(1<<(RACE_NIGHTELF-1))|(1<<(RACE_UNDEAD_PLAYER-1))|(1<<(RACE_TAUREN-1)) | \
|
||||
(1<<(RACE_GNOME-1)) |(1<<(RACE_TROLL-1)) |(1<<(RACE_BLOODELF-1))| \
|
||||
(1<<(RACE_DRAENEI-1)))
|
||||
(1<<(RACE_NIGHTELF-1))|(1<<(RACE_UNDEAD_PLAYER-1))|(1<<(RACE_TAUREN-1)) | \
|
||||
(1<<(RACE_GNOME-1)) |(1<<(RACE_TROLL-1)) |(1<<(RACE_BLOODELF-1))| \
|
||||
(1<<(RACE_DRAENEI-1)) |(1<<(RACE_GOBLIN-1)) |(1<<(RACE_WORGEN-1)))
|
||||
|
||||
#define RACEMASK_ALLIANCE \
|
||||
((1<<(RACE_HUMAN-1)) | (1<<(RACE_DWARF-1)) | (1<<(RACE_NIGHTELF-1)) | \
|
||||
(1<<(RACE_GNOME-1)) | (1<<(RACE_DRAENEI-1)))
|
||||
(1<<(RACE_GNOME-1)) | (1<<(RACE_DRAENEI-1)) | (1<<(RACE_WORGEN-1)))
|
||||
|
||||
#define RACEMASK_HORDE RACEMASK_ALL_PLAYABLE & ~RACEMASK_ALLIANCE
|
||||
|
||||
|
||||
@@ -910,11 +910,12 @@ DeclinedNames = 0
|
||||
# Expansion
|
||||
# Description: Allow server to use content from expansions. Checks for expansion-related
|
||||
# map files, client compatibility and class/race character creation.
|
||||
# Default: 2 - (Expansion 2)
|
||||
# Default: 3 - (Expansion 3)
|
||||
# 2 - (Expansion 2)
|
||||
# 1 - (Expansion 1)
|
||||
# 0 - (Disabled, Ignore and disable expansion content (maps, races, classes)
|
||||
|
||||
Expansion = 2
|
||||
Expansion = 3
|
||||
|
||||
#
|
||||
# MinPlayerName
|
||||
@@ -1041,16 +1042,16 @@ SkipCinematics = 0
|
||||
# Description: Maximum level that can be reached by players.
|
||||
# Important: Levels beyond 100 are not recommended at all.
|
||||
# Range: 1-255
|
||||
# Default: 80
|
||||
# Default: 85
|
||||
|
||||
MaxPlayerLevel = 80
|
||||
MaxPlayerLevel = 85
|
||||
|
||||
#
|
||||
# MinDualSpecLevel
|
||||
# Description: Level requirement for Dual Talent Specialization
|
||||
# Default: 40
|
||||
# Default: 30
|
||||
|
||||
MinDualSpecLevel = 40
|
||||
MinDualSpecLevel = 30
|
||||
|
||||
#
|
||||
# StartPlayerLevel
|
||||
|
||||
Reference in New Issue
Block a user