aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2017-08-04 00:23:40 +0200
committerGitHub <noreply@github.com>2017-08-04 00:23:40 +0200
commit84590be26d6b3c56b95a804cbe889826186dd8a2 (patch)
tree7ea1aad9e5c9326831258f47d113b0f636d01244 /sql
parent2644fa703a6b20b6f1d62360fb47bc719cf43933 (diff)
Scripts/InstanceScript: Implement database framework for managing spawn groups based on boss state. (#20103)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/3.3.5/2017_08_04_00_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_08_04_00_world.sql b/sql/updates/world/3.3.5/2017_08_04_00_world.sql
new file mode 100644
index 00000000000..d70076f042e
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_08_04_00_world.sql
@@ -0,0 +1,10 @@
+--
+DROP TABLE IF EXISTS `instance_spawn_groups`;
+CREATE TABLE `instance_spawn_groups` (
+ `instanceMapId` smallint(5) unsigned not null,
+ `bossStateId` tinyint unsigned not null,
+ `bossStates` tinyint unsigned not null,
+ `spawnGroupId` int unsigned not null,
+ `flags` tinyint unsigned not null,
+ PRIMARY KEY (`instanceMapId`,`bossStateId`,`spawnGroupId`,`bossStates`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;