mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 13:37:07 +00:00
Make use of ChrClassesXPowerTypes.dbc, fix MAX_POWERS.
This commit is contained in:
parent
12a3a08f01
commit
be9f9765cf
3 changed files with 34 additions and 2 deletions
|
|
@ -155,10 +155,13 @@ enum Powers
|
|||
POWER_ECLIPSE = 8,
|
||||
POWER_HOLY_POWER = 9,
|
||||
POWER_ALTERNATE = 10,
|
||||
MAX_POWERS = 11,
|
||||
POWER_HEALTH = 0xFFFFFFFE // (-2 as signed value)
|
||||
};
|
||||
|
||||
#define MAX_POWERS 5
|
||||
#define MAX_STORED_POWERS 5
|
||||
// Setting this value to something high helps debugging
|
||||
#define INVALID_POWER_INDEX 10000
|
||||
|
||||
enum SpellSchools
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue