From fcbda4c83ba22a8f376f42a068c74ba94cda6713 Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Sun, 10 Jul 2016 12:18:43 +0200 Subject: DB/SAI: improvements for quest "Verog the Dervish" Change despawn type, prevent duplicates, and increase chance of spawn. Taken from Wowhead comments (cherry picked from commit 439ec8835440fbe322f4dcd901924d40e699ef40) --- .../world/master/2017_02_05_07_world_2016_07_10_05_world.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/master/2017_02_05_07_world_2016_07_10_05_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2017_02_05_07_world_2016_07_10_05_world.sql b/sql/updates/world/master/2017_02_05_07_world_2016_07_10_05_world.sql new file mode 100644 index 00000000000..46d0cd341fe --- /dev/null +++ b/sql/updates/world/master/2017_02_05_07_world_2016_07_10_05_world.sql @@ -0,0 +1,7 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=3397 AND `SourceGroup`=3; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 3, 3397, 0, 0, 29, 0, 3395, 200, 0, 1, 0, 0, "", "Prevent summoning creature Verog the Dervish if already summoned"); + +UPDATE `smart_scripts` SET `action_param2`=6, `action_param3`=20000 WHERE `source_type`=0 AND `entryorguid`=3397 AND `id`=3; +UPDATE `smart_scripts` SET `event_chance`=20 WHERE `source_type`=0 AND `entryorguid`=3397 AND `id`=2; -- cgit v1.2.3