aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeji <alvaro.megias@outlook.com>2024-02-11 16:51:41 +0100
committerMeji <alvaro.megias@outlook.com>2024-02-11 16:51:41 +0100
commit77c4c0b8745fc9ecc0ce88e397bb319d4bd012a7 (patch)
tree3dc16c130fc4ac7049967bfd4e9054e1da087c58
parent6ac0f7bd1c4260cc7258f23a2f69a38e5ee7606b (diff)
DB/Phases: Added phases for The Gala of Gifts (Love is in the Air)
-rw-r--r--sql/updates/world/master/2024_02_11_01_world.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_02_11_01_world.sql b/sql/updates/world/master/2024_02_11_01_world.sql
new file mode 100644
index 00000000000..fb886c50735
--- /dev/null
+++ b/sql/updates/world/master/2024_02_11_01_world.sql
@@ -0,0 +1,16 @@
+-- Love is in the Air - The Gala of Gifts
+DELETE FROM `phase_name` WHERE `ID` IN (22310, 22403);
+INSERT INTO `phase_name` (`ID`, `Name`) VALUES
+(22310, 'Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
+(22403, 'Cosmetic - Love is in the Air - The Gala of Gifts - Durotar');
+
+DELETE FROM `phase_area` WHERE `PhaseId` IN (22310, 22403);
+INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
+(12, 22310, 'Elwynn Forest: Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
+(1519, 22310, 'Stormwind City: Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
+(14, 22403, 'Durotar: Cosmetic - Love is in the Air - The Gala of Gifts - Durotar');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (22310, 22403);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
+(26, 22310, 0, 0, 0, 12, 0, 8, 0, 0, 0, 'Apply phase 22310 if event "Love is in the Air" is active'),
+(26, 22403, 0, 0, 0, 12, 0, 8, 0, 0, 0, 'Apply phase 22403 if event "Love is in the Air" is active');