Core/Void Storage: Implemented saving item upgrade and bonuses for items deposited in void storage

This commit is contained in:
Shauren
2015-08-12 23:05:36 +02:00
parent f4724badb6
commit 81abfe93bb
8 changed files with 68 additions and 77 deletions

View File

@@ -1549,6 +1549,8 @@ CREATE TABLE `character_void_storage` (
`creatorGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
`randomProperty` int(10) unsigned NOT NULL DEFAULT '0',
`suffixFactor` int(10) unsigned NOT NULL DEFAULT '0',
`upgradeId` int(10) unsigned NOT NULL DEFAULT '0',
`bonusListIDs` text,
PRIMARY KEY (`itemId`),
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
KEY `idx_player` (`playerGuid`)

View File

@@ -0,0 +1,3 @@
ALTER TABLE `character_void_storage`
ADD `upgradeId` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `suffixFactor`,
ADD `bonusListIDs` TEXT AFTER `upgradeId`;