mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(Core/Events): Add dynamic holiday date calculator (#24038)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com> Co-authored-by: sudlud <sudlud@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
-- correctly link brewfest building event in ironforge to brewfest
|
||||
UPDATE `game_event` SET `holiday` = 372, `holidayStage` = 1 WHERE `eventEntry` = 70;
|
||||
|
||||
-- remove start and end times from automatically handled events
|
||||
UPDATE `game_event` SET `start_time` = NULL, `end_time` = NULL WHERE `eventEntry` IN
|
||||
(
|
||||
1, -- Midsummer Fire Festival
|
||||
2, -- Winter Veil
|
||||
3, -- Darkmoon Faire (Terokkar Forest)
|
||||
4, -- Darkmoon Faire (Elwynn Forest)
|
||||
5, -- Darkmoon Faire (Mulgore)
|
||||
7, -- Lunar Festival
|
||||
8, -- Love is in the Air
|
||||
9, -- Noblegarden
|
||||
10, -- Children's Week
|
||||
11, -- Harvest Festival
|
||||
12, -- Hallow's End
|
||||
23, -- Darkmoon Faire Building (Elwynn Forest)
|
||||
24, -- Brewfest
|
||||
26, -- Pilgrim's Bounty
|
||||
50, -- Pirates' Day
|
||||
51, -- Day of the Dead
|
||||
70, -- Brewfest Building (Iron Forge)
|
||||
71, -- Darkmoon Faire Building (Mulgore)
|
||||
72, -- Fireworks Spectacular,
|
||||
77 -- Darkmoon Faire Building (Terokkar Forest)
|
||||
);
|
||||
|
||||
-- drop unused table
|
||||
DROP TABLE IF EXISTS `holiday_dates`;
|
||||
Reference in New Issue
Block a user