From 8a82403400ef49415e14530f4b55d55ef38bc74e Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 7 Jul 2020 13:56:16 +0200 Subject: Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead --- sql/updates/world/3.3.5/2020_07_07_01_world.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/3.3.5/2020_07_07_01_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2020_07_07_01_world.sql b/sql/updates/world/3.3.5/2020_07_07_01_world.sql new file mode 100644 index 00000000000..080e1421c97 --- /dev/null +++ b/sql/updates/world/3.3.5/2020_07_07_01_world.sql @@ -0,0 +1,12 @@ +ALTER TABLE `game_event_battleground_holiday` + CHANGE `eventEntry` `EventEntry` TINYINT(3) UNSIGNED NOT NULL COMMENT 'game_event EventEntry identifier', + CHANGE `bgflag` `BattlegroundID` INT(3) UNSIGNED DEFAULT 0 NOT NULL; + +TRUNCATE TABLE `game_event_battleground_holiday`; +INSERT INTO `game_event_battleground_holiday` (`EventEntry`, `BattlegroundID`) VALUES +(18, 1), +(19, 2), +(20, 3), +(21, 7), +(53, 9), +(54, 30); -- cgit v1.2.3