aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-10-15 02:40:21 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-10-03 17:17:10 +0200
commit879b54a9e75d1a315194d72820017ac0b569d2c2 (patch)
treeb475c5c4f78c5a409d5933673ce6d222ed7bef4f
parentf463f73397741b081c6e73f7a14a26d52827a003 (diff)
DB/Gossip: add gossip for creature Deino that is shown after completing the quest A Letter for Home.
(cherry picked from commit ec0a8d58eee35514f99bf8a1e305124959bc2e50) DB/Quest: Volatility (daily version) requires completion of Volatility (non-daily version). Also fix comment for condition in previous commit. (cherry picked from commit 115d2400e451e23589a49b2726e9a6906efc0293)
-rw-r--r--sql/updates/world/master/2017_10_03_07_world_2016_10_15_03_world.sql8
-rw-r--r--sql/updates/world/master/2017_10_03_08_world_2016_10_15_04_world.sql4
2 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_10_03_07_world_2016_10_15_03_world.sql b/sql/updates/world/master/2017_10_03_07_world_2016_10_15_03_world.sql
new file mode 100644
index 00000000000..89c39eda004
--- /dev/null
+++ b/sql/updates/world/master/2017_10_03_07_world_2016_10_15_03_world.sql
@@ -0,0 +1,8 @@
+--
+DELETE FROM `gossip_menu` WHERE `entry`=4519 AND `text_id`=12696;
+INSERT INTO `gossip_menu` (`entry`, `text_id`, `VerifiedBuild`) VALUES
+(4519, 12696, 0);
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=4519 AND `SourceEntry`=12696;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 4519, 12696, 0, 0, 8, 0, 12085, 0, 0, 0, 0, 0, "", "Show gossip text if quest A Letter for Home is not rewarded");
diff --git a/sql/updates/world/master/2017_10_03_08_world_2016_10_15_04_world.sql b/sql/updates/world/master/2017_10_03_08_world_2016_10_15_04_world.sql
new file mode 100644
index 00000000000..134462cd68f
--- /dev/null
+++ b/sql/updates/world/master/2017_10_03_08_world_2016_10_15_04_world.sql
@@ -0,0 +1,4 @@
+--
+UPDATE `quest_template_addon` SET `PrevQuestID`=13239 WHERE `ID`=13261;
+
+UPDATE `conditions` SET `Comment`="Show gossip text if quest A Letter for Home is rewarded" WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=4519 AND `SourceEntry`=12696;