From a6bf82dec6f6ca3d35e5b980f9ee406cb43b294a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20Costa?= <54484196+claudiodfc@users.noreply.github.com> Date: Thu, 1 Apr 2021 16:29:12 +0100 Subject: [PATCH] fix(DB): Wrong Dialog for 1st Aid trainers (#5032) --- .../pending_db_world/rev_1616884299081820400.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1616884299081820400.sql diff --git a/data/sql/updates/pending_db_world/rev_1616884299081820400.sql b/data/sql/updates/pending_db_world/rev_1616884299081820400.sql new file mode 100644 index 000000000..58b7af0d8 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1616884299081820400.sql @@ -0,0 +1,16 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1616884299081820400'); + +-- Updated gossip_menu for Doctor Gregory Victor +UPDATE `creature_template` SET `gossip_menu_id`=5381 WHERE `entry`=12920; + +-- Condition for gossip before and after quest completion +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` = 5381); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 5381, 6573, 0, 0, 8, 0, 6622, 0, 0, 0, 0, 0, '', ''), +(14, 5381, 6413, 0, 0, 47, 0, 6622, 27, 0, 0, 0, 0, '', ''); + +-- Condition for gossip before and after quest completion +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` = 5382); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 5382, 6414, 0, 0, 8, 0, 6624, 0, 0, 0, 0, 0, '', ''), +(14, 5382, 6415, 0, 0, 47, 0, 6624, 27, 0, 0, 0, 0, '', '');