aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-11-15 01:30:25 +0100
committerShauren <shauren.trinity@gmail.com>2021-02-06 21:41:51 +0100
commitd6772ba905f41cd24ea8831de11c17276fe5ef40 (patch)
tree171def867ceaab3f6950b3820800bdf868f1697d
parentf3ac10f36fcc46c5e1537d69544a9294fc719ad2 (diff)
DB/Quest: Unexpected Results
Closes #20853 (cherry picked from commit 1f77bd96760cdeb118d0f847d65107b37ceac661)
-rw-r--r--sql/updates/world/master/2021_02_03_00_world_2017_11_14_18_world.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_02_03_00_world_2017_11_14_18_world.sql b/sql/updates/world/master/2021_02_03_00_world_2017_11_14_18_world.sql
new file mode 100644
index 00000000000..3321826898a
--- /dev/null
+++ b/sql/updates/world/master/2021_02_03_00_world_2017_11_14_18_world.sql
@@ -0,0 +1,15 @@
+DELETE FROM `smart_scripts` WHERE `entryorguid`=15958 AND `source_type`=0 AND id=5;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=15656 AND `source_type`=0 AND id=7;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=15402 AND `source_type`=0 AND id>4;
+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
+(15958,0,5,0,6,2,100,0,0,0,0,0,63,1,1,0,0,0,0,19,15402,100,0,0,0,0,0,"Gharsul the Remorseless - On death - Set counter"),
+(15656,0,7,0,6,2,100,0,0,0,0,0,63,1,1,0,0,0,0,19,15402,100,0,0,0,0,0,"AngerShadee - On death - Set counter"),
+(15402,0,5,6,77,1,100,0,1,3,0,0,15,8488,0,0,0,0,0,12,1,0,0,0,0,0,0,"Apprentice Mirveda - On counter - Complete Quest Unexpected Results"),
+(15402,0,6,7,61,1,100,0,0,0,0,0,63,1,0,1,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Mirveda - On counter - Reset counter"),
+(15402,0,7,0,61,1,100,0,0,0,0,0,80,1540202,2,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Mirveda - Linked with Previous Event - Run Script"),
+(15402,0,8,0,11,0,100,512,0,0,0,0,18,512,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apprentice Mirveda - On Spawn - Set Immune to NPC");
+
+DELETE FROM `waypoints` WHERE `entry` IN(15958,15656);
+INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
+(15958, 1, 8711.897, -7160.284, 42.592, 'Gharsul the Remorseless'),
+(15656, 1, 8712.909, -7159.269, 41.493, 'Angershade');