aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/characters
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-08-15 00:03:38 +0200
committerShauren <shauren.trinity@gmail.com>2016-08-15 00:03:38 +0200
commitfea0cb16f2e73ec21891ac14cdc10d9d8f518cfe (patch)
tree7e3a6ee9b3876ca5b3a7115a9d932ce8125c41e1 /sql/updates/characters
parentf8c5a2c723c734513eddc98a5c7f380c2f00e479 (diff)
Core/Items: Implemented artifacts
Diffstat (limited to 'sql/updates/characters')
-rw-r--r--sql/updates/characters/6.x/2016_08_15_00_characters.sql36
1 files changed, 36 insertions, 0 deletions
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`;