Files
aowow/setup/updates/1693485224_01.sql
Sarjuuk ac34b47c26 Spells/Sounds
* get sounds from ScreenEffect.dbc and link to type Spell and type Sound
 * resolve ScreenEffect name in SpellDetailPage
Fixup
 * fix warning in UI escape sequence parsing
2024-01-08 00:05:32 +01:00

13 lines
551 B
SQL

DROP TABLE IF EXISTS `aowow_screeneffect_sounds`;
CREATE TABLE `aowow_screeneffect_sounds` (
`id` SMALLINT(5) unsigned NOT NULL,
`name` VARCHAR(40) COLLATE utf8mb4_unicode_ci NOT NULL,
`ambienceDay` SMALLINT(5) unsigned NOT NULL,
`ambienceNight` SMALLINT(5) unsigned NOT NULL,
`musicDay` SMALLINT(5) unsigned NOT NULL,
`musicNight` SMALLINT(5) unsigned NOT NULL,
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
UPDATE `aowow_dbversion` SET `sql` = CONCAT(IFNULL(`sql`, ''), ' sounds');