Core/Items: Implement azerite empowered items

Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006)
This commit is contained in:
hondacrx
2019-12-05 22:55:44 -05:00
parent 86e1065da0
commit 5b9ad41953
47 changed files with 1050 additions and 239 deletions
@@ -0,0 +1,15 @@
ALTER TABLE `characters` ADD `numRespecs` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `resettalents_time`;
--
-- Table structure for table `item_instance_azerite_empowered`
--
DROP TABLE IF EXISTS `item_instance_azerite_empowered`;
CREATE TABLE `item_instance_azerite_empowered` (
`itemGuid` bigint(20) unsigned NOT NULL,
`azeritePowerId1` int(11) NOT NULL,
`azeritePowerId2` int(11) NOT NULL,
`azeritePowerId3` int(11) NOT NULL,
`azeritePowerId4` int(11) NOT NULL,
`azeritePowerId5` int(11) NOT NULL,
PRIMARY KEY (`itemGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -0,0 +1,67 @@
--
-- Table structure for table `azerite_empowered_item`
--
DROP TABLE IF EXISTS `azerite_empowered_item`;
CREATE TABLE `azerite_empowered_item` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemID` int(11) NOT NULL DEFAULT '0',
`AzeriteTierUnlockSetID` int(10) unsigned NOT NULL DEFAULT '0',
`AzeritePowerSetID` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `azerite_power_set_member`
--
DROP TABLE IF EXISTS `azerite_power_set_member`;
CREATE TABLE `azerite_power_set_member` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`AzeritePowerSetID` int(11) NOT NULL DEFAULT '0',
`AzeritePowerID` int(11) NOT NULL DEFAULT '0',
`Class` int(11) NOT NULL DEFAULT '0',
`Tier` int(11) NOT NULL DEFAULT '0',
`OrderIndex` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `azerite_tier_unlock`
--
DROP TABLE IF EXISTS `azerite_tier_unlock`;
CREATE TABLE `azerite_tier_unlock` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemCreationContext` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Tier` tinyint(3) unsigned NOT NULL DEFAULT '0',
`AzeriteLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`AzeriteTierUnlockSetID` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `azerite_tier_unlock_set`
--
DROP TABLE IF EXISTS `azerite_tier_unlock_set`;
CREATE TABLE `azerite_tier_unlock_set` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `azerite_unlock_mapping`
--
DROP TABLE IF EXISTS `azerite_unlock_mapping`;
CREATE TABLE `azerite_unlock_mapping` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemLevel` int(11) NOT NULL DEFAULT '0',
`ItemBonusListHead` int(11) NOT NULL DEFAULT '0',
`ItemBonusListShoulders` int(11) NOT NULL DEFAULT '0',
`ItemBonusListChest` int(11) NOT NULL DEFAULT '0',
`AzeriteUnlockMappingSetID` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;