From d2b223ef4ce80ab515c674421f142df0ba39fa88 Mon Sep 17 00:00:00 2001 From: poszer Date: Sun, 9 Dec 2018 08:45:30 +0100 Subject: [PATCH] DB/Quest The Ring of Blood Fix for goals of quest "The Ring of Blood: The Blue Brothers --- .../pending_db_world/rev_1544312897285686000.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1544312897285686000.sql diff --git a/data/sql/updates/pending_db_world/rev_1544312897285686000.sql b/data/sql/updates/pending_db_world/rev_1544312897285686000.sql new file mode 100644 index 000000000..d57a6117c --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1544312897285686000.sql @@ -0,0 +1,10 @@ +INSERT INTO version_db_world (`sql_rev`) VALUES ('1544312897285686000'); +DELETE FROM `smart_scripts` WHERE `entryorguid` = 18399 AND `source_type` = 0 AND `id` > 3; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 18471 AND `source_type` = 0 AND `id` > 27; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- Murkblood Twin - Store Variable Decimal +(18399, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 19, 18471, 200, 0, 0, 0, 0, 0, "Murkblood Twin - On Just Died - Set Counter"), +-- Gurgthock - Counter 2 = Quest Complete, Reset Counter, Self Data 11 11 +(18471, 0, 28, 29, 77, 0, 100, 0, 1, 2, 0, 0, 26, 9967, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Gurgthock - On Counter Set 1 2 - Quest Credit 'The Ring of Blood: The Blue Brothers'"), +(18471, 0, 29, 30, 61, 0, 100, 0, 0, 0, 0, 0, 63, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gurgthock - On Counter Set 1 2 (Link) - Reset Counter"), +(18471, 0, 30, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 11, 11, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gurgthock - On Counter Set 1 2 (Link) - Set Data 11 11 (Self)"); \ No newline at end of file