diff options
author | Killyana <morphone1@gmail.com> | 2019-01-11 15:03:21 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-11-21 14:32:46 +0100 |
commit | 122c89c907ffa7f32051779835b62b142c9a5293 (patch) | |
tree | 9e478383d07de3a4d0f69af65ca008dbf62dcfe8 | |
parent | 1d91bcad63c6e568289c4be862c800aa4fac5440 (diff) |
DB/Event: Nocturnal fishing and Diurnal fishing
(cherry picked from commit a854b2a2ee4e02d0a584c7ed061cc404cb84d7d8)
-rw-r--r-- | sql/updates/world/master/2021_11_21_06_world_2019_01_11_00_world_335.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_11_21_06_world_2019_01_11_00_world_335.sql b/sql/updates/world/master/2021_11_21_06_world_2019_01_11_00_world_335.sql new file mode 100644 index 00000000000..dbaf61b6c17 --- /dev/null +++ b/sql/updates/world/master/2021_11_21_06_world_2019_01_11_00_world_335.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `game_event` WHERE `eventEntry` IN (79,80); +INSERT INTO `game_event` (`eventEntry`,`start_time`,`end_time`,`occurence`,`length`,`holiday`,`description`,`world_event`, announce) VALUES +(79, '2018-10-28 12:00:00', '2020-12-31 18:00:00',1440,360,0, 'Diurnal fishing event',0,2), +(80, '2018-10-28 00:00:00', '2020-12-31 06:00:00',1440,360,0, 'Nocturnal fishing event',0,2); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=10 AND `SourceGroup` IN (11010,11008) AND `SourceEntry` IN (13760,13759); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(10, 11010, 13760, 0, 0, 12, 0, 80, 0, 0, 1, 0, 0, "", "Raw Sunscale Salmon only when Nocturnal fishing event is off"), +(10, 11010, 13759, 0, 0, 12, 0, 79, 0, 0, 1, 0, 0, "", "Raw Nightfin Snapper only when Diurnal fishing event is off"), +(10, 11008, 13760, 0, 0, 12, 0, 80, 0, 0, 1, 0, 0, "", "Raw Sunscale Salmon only when Nocturnal fishing event is off"), +(10, 11008, 13759, 0, 0, 12, 0, 79, 0, 0, 1, 0, 0, "", "Raw Nightfin Snapper only when Diurnal fishing event is off"); |