mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
Core/Items: Implemented artifacts
This commit is contained in:
36
sql/updates/characters/6.x/2016_08_15_00_characters.sql
Normal file
36
sql/updates/characters/6.x/2016_08_15_00_characters.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
--
|
||||
-- Table structure for table `item_instance_artifact`
|
||||
--
|
||||
DROP TABLE IF EXISTS `item_instance_artifact`;
|
||||
CREATE TABLE `item_instance_artifact` (
|
||||
`itemGuid` bigint(20) unsigned NOT NULL,
|
||||
`xp` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`artifactAppearanceId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`itemGuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for table `item_instance_artifact_powers`
|
||||
--
|
||||
DROP TABLE IF EXISTS `item_instance_artifact_powers`;
|
||||
CREATE TABLE `item_instance_artifact_powers` (
|
||||
`itemGuid` bigint(20) unsigned NOT NULL,
|
||||
`artifactPowerId` int(10) unsigned NOT NULL,
|
||||
`purchasedRank` tinyint(3) unsigned DEFAULT '0',
|
||||
PRIMARY KEY (`itemGuid`,`artifactPowerId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Table structure for table `item_instance_modifiers`
|
||||
--
|
||||
DROP TABLE IF EXISTS `item_instance_modifiers`;
|
||||
CREATE TABLE `item_instance_modifiers` (
|
||||
`itemGuid` bigint(20) unsigned NOT NULL,
|
||||
`fixedScalingLevel` int(10) unsigned DEFAULT '0',
|
||||
`artifactKnowledgeLevel` int(10) unsigned DEFAULT '0',
|
||||
PRIMARY KEY (`itemGuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `character_void_storage`
|
||||
ADD `fixedScalingLevel` int(10) unsigned DEFAULT '0' AFTER `upgradeId`,
|
||||
ADD `artifactKnowledgeLevel` int(10) unsigned DEFAULT '0' AFTER `fixedScalingLevel`;
|
||||
Reference in New Issue
Block a user