Core/VS: Allow to store/retrive random stats items in void storage

Also set items to soulbound on withdraw
This commit is contained in:
Nay
2012-07-30 18:34:39 +01:00
parent 3df10d8273
commit 940f655a3c
6 changed files with 31 additions and 14 deletions

View File

@@ -2278,6 +2278,8 @@ CREATE TABLE `void_storage` (
`itemEntry` mediumint(8) unsigned NOT NULL,
`slot` tinyint(3) unsigned NOT NULL,
`creatorGuid` int(10) unsigned NOT NULL DEFAULT '0',
`randomProperty` int(10) unsigned NOT NULL DEFAULT '0',
`suffixFactor` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`itemId`),
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
KEY `idx_player` (`playerGuid`)
@@ -2350,4 +2352,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2012-07-30 16:34:12
-- Dump completed on 2012-07-30 17:01:47