new version commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
DROP TABLE IF EXISTS `character_item_upgrade`;
|
||||
CREATE TABLE `character_item_upgrade`(
|
||||
`guid` int unsigned not null,
|
||||
`item_guid` int unsigned not null,
|
||||
`stat_id` int unsigned not null,
|
||||
PRIMARY KEY (`guid`, `item_guid`, `stat_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,7 @@
|
||||
DROP TABLE IF EXISTS `character_weapon_upgrade`;
|
||||
CREATE TABLE `character_weapon_upgrade`(
|
||||
`guid` int unsigned not null,
|
||||
`item_guid` int unsigned not null,
|
||||
`upgrade_perc` float not null,
|
||||
PRIMARY KEY (`guid`, `item_guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,5 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_allowed_items`;
|
||||
CREATE TABLE `mod_item_upgrade_allowed_items`(
|
||||
`entry` int unsigned not null,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,6 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_allowed_stats_items`;
|
||||
CREATE TABLE `mod_item_upgrade_allowed_stats_items`(
|
||||
`stat_id` int unsigned not null,
|
||||
`entry` int unsigned not null,
|
||||
PRIMARY KEY (`stat_id`, `entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,5 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_blacklisted_items`;
|
||||
CREATE TABLE `mod_item_upgrade_blacklisted_items`(
|
||||
`entry` int unsigned not null,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,6 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_blacklisted_stats_items`;
|
||||
CREATE TABLE `mod_item_upgrade_blacklisted_stats_items`(
|
||||
`stat_id` int unsigned not null,
|
||||
`entry` int unsigned not null,
|
||||
PRIMARY KEY (`stat_id`, `entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -0,0 +1,25 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_stats`;
|
||||
CREATE TABLE `mod_item_upgrade_stats`(
|
||||
`id` int unsigned not null,
|
||||
`stat_type` tinyint unsigned NOT NULL,
|
||||
`stat_mod_pct` float not null,
|
||||
`stat_rank` smallint unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (1, 3, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (2, 4, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (3, 5, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (4, 6, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (5, 7, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (6, 32, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (7, 36, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (8, 45, 5, 1);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (9, 3, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (10, 4, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (11, 5, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (12, 6, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (13, 7, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (14, 32, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (15, 36, 10, 2);
|
||||
INSERT INTO `mod_item_upgrade_stats` (`id`, `stat_type`, `stat_mod_pct`, `stat_rank`) VALUES (16, 45, 10, 2);
|
||||
@@ -0,0 +1,34 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_stats_req`;
|
||||
CREATE TABLE `mod_item_upgrade_stats_req`(
|
||||
`id` int unsigned not null AUTO_INCREMENT,
|
||||
`stat_id` int unsigned not null,
|
||||
`req_type` tinyint unsigned not null,
|
||||
`req_val1` float not null,
|
||||
`req_val2` float,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (1, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (2, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (3, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (4, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (5, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (6, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (7, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (8, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (9, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (10, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (11, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (12, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (13, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (14, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (15, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`) VALUES (16, 1, 10000000);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (9, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (10, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (11, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (12, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (13, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (14, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (15, 4, 29434, 100);
|
||||
INSERT INTO `mod_item_upgrade_stats_req` (`stat_id`, `req_type`, `req_val1`, `req_val2`) VALUES (16, 4, 29434, 100);
|
||||
@@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS `mod_item_upgrade_stats_req_override`;
|
||||
CREATE TABLE `mod_item_upgrade_stats_req_override` (
|
||||
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
||||
`stat_id` int unsigned NOT NULL,
|
||||
`item_entry` int unsigned NOT NULL,
|
||||
`req_type` tinyint unsigned NOT NULL,
|
||||
`req_val1` float DEFAULT NULL,
|
||||
`req_val2` float DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user