diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2017-08-04 00:23:40 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2020-08-22 13:48:44 +0200 |
| commit | 608c9aaabfcdbaf09edd11cdf268c243b3e69478 (patch) | |
| tree | 11acd56239005fb5d9c96b733976830cf4365e7e /sql | |
| parent | acb4934f766321efbf90d0c6716f2df44c47ef16 (diff) | |
Scripts/InstanceScript: Implement database framework for managing spawn groups based on boss state. (#20103)
(cherry picked from commit 84590be26d6b3c56b95a804cbe889826186dd8a2)
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/master/2020_08_22_02_world_2017_08_04_00_world.sql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_08_22_02_world_2017_08_04_00_world.sql b/sql/updates/world/master/2020_08_22_02_world_2017_08_04_00_world.sql new file mode 100644 index 00000000000..2506288f344 --- /dev/null +++ b/sql/updates/world/master/2020_08_22_02_world_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(3) unsigned not null, + `bossStates` tinyint(3) unsigned not null, + `spawnGroupId` int(10) unsigned not null, + `flags` tinyint(3) unsigned not null, + PRIMARY KEY (`instanceMapId`,`bossStateId`,`spawnGroupId`,`bossStates`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
