Refactor instance suggestions

This commit is contained in:
qudzy
2022-05-03 23:48:07 +02:00
parent fe59158e7d
commit ed35a2ae67
17 changed files with 772 additions and 73 deletions

View File

@@ -0,0 +1,26 @@
USE acore_playerbots;
DROP TABLE IF EXISTS `playerbots_dungeon_suggestion_abbrevation`;
CREATE TABLE `playerbots_dungeon_suggestion_abbrevation` (
`id` TINYINT(3) NOT NULL AUTO_INCREMENT UNIQUE,
`definition_slug` VARCHAR(255) NOT NULL,
`abbrevation` VARCHAR(16) NOT NULL,
PRIMARY KEY (`id`),
KEY `definition_slug` (`definition_slug`)
)
ENGINE=MyISAM
DEFAULT CHARSET=utf8
ROW_FORMAT=FIXED
COMMENT='Playerbot dungeon suggestion abbrevations';
-- = Example =
-- INSERT INTO `playerbots_dungeon_suggestion_abbrevation` VALUES
-- (NULL, 'rfc', 'Ragefire'),
-- (NULL, 'rfc', 'RFC'),
-- (NULL, 'st', 'Sunken Temple'),
-- (NULL, 'st', 'ST'),
-- (NULL, 'stocks', 'Stockades');
-- (NULL, 'stocks', 'Stockade');

View File

@@ -0,0 +1,34 @@
USE acore_playerbots;
DROP TABLE IF EXISTS `playerbots_dungeon_suggestion_strategy`;
CREATE TABLE `playerbots_dungeon_suggestion_strategy` (
`id` TINYINT(3) NOT NULL AUTO_INCREMENT UNIQUE,
`definition_slug` VARCHAR(255) NOT NULL,
`strategy` VARCHAR(255) NOT NULL,
`difficulty` TINYINT(1) NOT NULL,
PRIMARY KEY (`id`),
KEY `definition_slug` (`definition_slug`)
)
ENGINE=MyISAM
DEFAULT CHARSET=utf8
ROW_FORMAT=FIXED
COMMENT='Playerbot dungeon suggestion strategies';
-- = Example =
-- INSERT INTO `playerbots_dungeon_suggestion_strategy` VALUES
-- (NULL, 'mara-scepter', 'Scepter run', 0),
-- (NULL, 'mara-princess', 'Princess run', 0),
-- (NULL, 'zf', 'Mallet run', 0),
-- (NULL, 'brd', 'Arena run', 0),
-- (NULL, 'brd', 'Attunement run', 0),
-- (NULL, 'brd', 'Lava run', 0),
-- (NULL, 'brd', 'Full run', 0),
-- (NULL, 'strat', 'Undead', 0),
-- (NULL, 'strat', 'UD', 0),
-- (NULL, 'strat', 'Living', 0),
-- (NULL, 'strat', 'Live', 0),
-- (NULL, 'seth', 'Anzu run', 1),
-- (NULL, 'cos', 'Timed run', 1);