mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Move tables into their own files
This commit is contained in:
@@ -1457,19 +1457,3 @@ INSERT INTO `ai_playerbot_texts` (`name`, `text`, `say_type`, `reply_type`, `tex
|
|||||||
|
|
||||||
|
|
||||||
('dummy_end', 'dummy', 0, 0, '', '', '', '', '', '', '', '');
|
('dummy_end', 'dummy', 0, 0, '', '', '', '', '', '', '', '');
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `ai_playerbot_texts_chance`;
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ai_playerbot_texts_chance` (
|
|
||||||
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
||||||
`name` varchar(255) NOT NULL,
|
|
||||||
`probability` bigint(20) NOT NULL,
|
|
||||||
PRIMARY KEY (`id`)
|
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=UTF8;
|
|
||||||
|
|
||||||
/*!40000 ALTER TABLE `ai_playerbot_texts_chance` DISABLE KEYS */;
|
|
||||||
INSERT INTO `ai_playerbot_texts_chance` (`id`, `name`, `probability`) VALUES
|
|
||||||
(1, 'taunt', 30),
|
|
||||||
(2, 'aoe', 75),
|
|
||||||
(3, 'loot', 20);
|
|
||||||
/*!40000 ALTER TABLE `ai_playerbot_texts_chance` ENABLE KEYS */;
|
|
||||||
14
sql/playerbots/base/ai_playerbot_texts_chance.sql
Normal file
14
sql/playerbots/base/ai_playerbot_texts_chance.sql
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
DROP TABLE IF EXISTS `ai_playerbot_texts_chance`;
|
||||||
|
CREATE TABLE IF NOT EXISTS `ai_playerbot_texts_chance` (
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
`probability` bigint(20) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=UTF8;
|
||||||
|
|
||||||
|
/*!40000 ALTER TABLE `ai_playerbot_texts_chance` DISABLE KEYS */;
|
||||||
|
INSERT INTO `ai_playerbot_texts_chance` (`id`, `name`, `probability`) VALUES
|
||||||
|
(1, 'taunt', 30),
|
||||||
|
(2, 'aoe', 75),
|
||||||
|
(3, 'loot', 20);
|
||||||
|
/*!40000 ALTER TABLE `ai_playerbot_texts_chance` ENABLE KEYS */;
|
||||||
Reference in New Issue
Block a user