Core/Items: Implemented item upgrades

Closes #17432
This commit is contained in:
frozen4
2016-06-21 20:33:51 +02:00
committed by Shauren
parent 5f2c62392c
commit ed00534e7c
14 changed files with 194 additions and 5 deletions

View File

@@ -0,0 +1,27 @@
--
-- Table structure for table `item_upgrade`
--
DROP TABLE IF EXISTS `item_upgrade`;
CREATE TABLE `item_upgrade` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemUpgradePathID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemLevelBonus` int(10) unsigned NOT NULL DEFAULT '0',
`PrevItemUpgradeID` int(10) unsigned NOT NULL DEFAULT '0',
`CurrencyID` int(10) unsigned NOT NULL DEFAULT '0',
`CurrencyCost` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Table structure for table `ruleset_item_upgrade`
--
DROP TABLE IF EXISTS `ruleset_item_upgrade`;
CREATE TABLE `ruleset_item_upgrade` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`RulesetID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemUpgradeID` int(10) unsigned NOT NULL DEFAULT '0',
`ItemID` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;