mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Refactor instance suggestions
This commit is contained in:
@@ -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');
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user