aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2020-03-16 11:57:42 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-23 21:13:53 +0100
commit5396de872066d65ca31f9ddbbc3e3bde8dfe6010 (patch)
tree2592b32bc7b8226bfd5db902c959892a2fb32a03
parentecebd66ce075b89c7ac8ef476015f2861b702ca9 (diff)
DB/Quest: Imp Delivery
Closes #24310 (cherry picked from commit f472428958c30aceb7e3dc40c983200efef482b6)
-rw-r--r--sql/updates/world/master/2021_12_23_13_world_2020_03_16_01_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_23_13_world_2020_03_16_01_world.sql b/sql/updates/world/master/2021_12_23_13_world_2020_03_16_01_world.sql
new file mode 100644
index 00000000000..2b359f20cff
--- /dev/null
+++ b/sql/updates/world/master/2021_12_23_13_world_2020_03_16_01_world.sql
@@ -0,0 +1,7 @@
+--
+UPDATE `smart_scripts` SET `target_type`=23 WHERE `entryorguid`=1450000 AND `source_type`=9 AND `id`=0;
+UPDATE `smart_scripts` SET `action_param1`=10 WHERE `entryorguid`=14500 AND `source_type`=0 AND `id`=5;
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` = 23180;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(17, 0, 23180, 0, 0, 29, 0, 14500, 40, 0, 1, 0, '', "Can cast spell Release Imp if NPC J'eevee is not near"),
+(17, 0, 23180, 0, 0, 9, 0, 7629, 0, 0, 0, 0, '', "Can cast spell Release Imp if the quest Imp Delivery is taken");