Core/Players: Initial work on demon hunters

* Added starting level and required level config options as well as rbac permission to ignore the requirements
* Updated max power values for both demon hunter specs
* Fixed a crash during DK and DH creation
* Added playercreateinfo data for demon hunters

Closes #17651
This commit is contained in:
Ovalord
2016-07-23 18:39:56 +02:00
committed by Shauren
parent 3b8cdd4341
commit 79aafd5865
12 changed files with 200 additions and 17 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
DELETE FROM `rbac_permissions` WHERE `id`= 12;
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES
(12,'Skip character creation demon hunter min level check');
DELETE FROM `rbac_linked_permissions` WHERE `linkedId`= 12;
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
(194, 12);
@@ -0,0 +1,21 @@
DELETE FROM `class_expansion_requirement` WHERE `classID`= 12;
INSERT INTO `class_expansion_requirement` (`classID`, `expansion`) VALUES
(12, 6);
DELETE FROM `playercreateinfo` WHERE `class`= 12;
INSERT INTO `playercreateinfo` (`race`, `class`, `map`, `zone`, `position_x`, `position_y`, `position_z`, `orientation`) VALUES
(4, 12, 1481, 6383, 1180.64, 3284.96, 70.34837, 4.761345),
(10, 12, 1481, 6383, 1180.64, 3284.96, 70.34837, 4.761345);
DELETE FROM `playercreateinfo_action` WHERE `class`= 12;
INSERT INTO `playercreateinfo_action` (`race`, `class`, `button`, `action`, `type`) VALUES
(4, 12, 0, 195072, 0),
(4, 12, 1, 162243, 0),
(4, 12, 2, 162794, 0),
(4, 12, 9, 58984, 0),
(4, 12, 10, 188501, 0),
(10, 12, 0, 195072, 0),
(10, 12, 1, 162243, 0),
(10, 12, 2, 162794, 0),
(10, 12, 9, 202719, 0),
(10, 12, 10, 188501, 0);