mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
Example: items 44623->44625->44627 convertion chain * New table `item_enchantment_template` store original->final item pairs Original item must have duration setup. * Small change in GetItemConvert for consistence (now 0 returned if no convert pair instead original entry id) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
10 lines
No EOL
501 B
SQL
10 lines
No EOL
501 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_11613_01_mangos_spell_bonus_data required_11646_01_mangos_item_expire_convert bit;
|
|
|
|
DROP TABLE IF EXISTS `item_expire_convert`;
|
|
CREATE TABLE `item_expire_convert` (
|
|
`entry` mediumint(8) unsigned NOT NULL default '0',
|
|
`item` mediumint(8) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (`entry`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Convert System';
|
|
|
|
INSERT INTO `item_expire_convert` VALUES (44623, 44625), (44625, 44627); |