Core/Enum: Add missing race and powers from dbc
This commit is contained in:
@@ -75,11 +75,12 @@ enum Races
|
|||||||
//RACE_TAUNKA = 19,
|
//RACE_TAUNKA = 19,
|
||||||
//RACE_NORTHREND_SKELETON = 20,
|
//RACE_NORTHREND_SKELETON = 20,
|
||||||
//RACE_ICE_TROLL = 21,
|
//RACE_ICE_TROLL = 21,
|
||||||
RACE_WORGEN = 22
|
RACE_WORGEN = 22,
|
||||||
|
RACE_GILNEAN = 23
|
||||||
};
|
};
|
||||||
|
|
||||||
// max+1 for player race
|
// max+1 for player race
|
||||||
#define MAX_RACES 12
|
#define MAX_RACES 24
|
||||||
|
|
||||||
#define RACEMASK_ALL_PLAYABLE \
|
#define RACEMASK_ALL_PLAYABLE \
|
||||||
((1<<(RACE_HUMAN-1)) |(1<<(RACE_ORC-1)) |(1<<(RACE_DWARF-1)) | \
|
((1<<(RACE_HUMAN-1)) |(1<<(RACE_ORC-1)) |(1<<(RACE_DWARF-1)) | \
|
||||||
@@ -174,10 +175,13 @@ enum Powers
|
|||||||
POWER_RAGE = 1,
|
POWER_RAGE = 1,
|
||||||
POWER_FOCUS = 2,
|
POWER_FOCUS = 2,
|
||||||
POWER_ENERGY = 3,
|
POWER_ENERGY = 3,
|
||||||
POWER_HAPPINESS = 4,
|
|
||||||
POWER_RUNE = 5,
|
POWER_RUNE = 5,
|
||||||
POWER_RUNIC_POWER = 6,
|
POWER_RUNIC_POWER = 6,
|
||||||
MAX_POWERS = 7,
|
POWER_SOULSHARD = 7,
|
||||||
|
POWER_ECLIPSE = 8,
|
||||||
|
POWER_HOLY_POWER = 9,
|
||||||
|
POWER_ALTERNATIVE = 10, // Used in some quests
|
||||||
|
MAX_POWERS = 11,
|
||||||
POWER_ALL = 127, // default for class?
|
POWER_ALL = 127, // default for class?
|
||||||
POWER_HEALTH = 0xFFFFFFFE // (-2 as signed value)
|
POWER_HEALTH = 0xFFFFFFFE // (-2 as signed value)
|
||||||
};
|
};
|
||||||
@@ -1231,7 +1235,8 @@ enum Mechanics
|
|||||||
MECHANIC_DISCOVERY = 28,
|
MECHANIC_DISCOVERY = 28,
|
||||||
MECHANIC_IMMUNE_SHIELD = 29, // Divine (Blessing) Shield/Protection and Ice Block
|
MECHANIC_IMMUNE_SHIELD = 29, // Divine (Blessing) Shield/Protection and Ice Block
|
||||||
MECHANIC_SAPPED = 30,
|
MECHANIC_SAPPED = 30,
|
||||||
MECHANIC_ENRAGED = 31
|
MECHANIC_ENRAGED = 31,
|
||||||
|
MECHANIC_WOUNDED = 32,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Used for spell 42292 Immune Movement Impairment and Loss of Control (0x49967ca6)
|
// Used for spell 42292 Immune Movement Impairment and Loss of Control (0x49967ca6)
|
||||||
|
|||||||
Reference in New Issue
Block a user