From fea0cb16f2e73ec21891ac14cdc10d9d8f518cfe Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 15 Aug 2016 00:03:38 +0200 Subject: Core/Items: Implemented artifacts --- .../characters/6.x/2016_08_15_00_characters.sql | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sql/updates/characters/6.x/2016_08_15_00_characters.sql (limited to 'sql/updates/characters') diff --git a/sql/updates/characters/6.x/2016_08_15_00_characters.sql b/sql/updates/characters/6.x/2016_08_15_00_characters.sql new file mode 100644 index 00000000000..2bc7bae21f3 --- /dev/null +++ b/sql/updates/characters/6.x/2016_08_15_00_characters.sql @@ -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`; -- cgit v1.2.3