From 9ae0ab02d1b22758ddb0ac017a8bbb3c2487fd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Wed, 19 Jul 2023 07:58:50 -0600 Subject: [PATCH] Restore backstab ability to Defias Cutpurse --- sql/world/base/zone_elwynn_forest.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sql/world/base/zone_elwynn_forest.sql b/sql/world/base/zone_elwynn_forest.sql index 316b674..4462b2a 100644 --- a/sql/world/base/zone_elwynn_forest.sql +++ b/sql/world/base/zone_elwynn_forest.sql @@ -260,3 +260,8 @@ INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, (80403, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9441.33, 447.532, 52.5032, 3.9619, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), (80404, 116, 0, 0, 0, 0, 0, 1, 1, 1, -9445.96, 451.56, 52.6251, 1.93731, 180, 5, 0, 156, 0, 1, 0, 0, 0, '', 0), (80405, 94, 0, 0, 0, 0, 0, 1, 1, 1, -9517.96, 494.378, 52.2181, 5.29769, 180, 5, 0, 102, 0, 1, 0, 0, 0, '', 0); + +-- Restore Backstab ability to Defias Cutpurse (credit elthehablo) +DELETE FROM `smart_scripts` WHERE `entryorguid` = 94 AND `source_type` = 0; +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(94, 0, 0, 0, 0, 0, 100, 0, 1100, 1100, 2400, 7900, 0, 11, 53, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Defias Cutpurse - In Combat - Cast \'Backstab\' (Phase 1)');