aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorZenoX92 <ZenoX92@users.noreply.github.com>2017-09-30 16:14:43 +0200
committerShauren <shauren.trinity@gmail.com>2020-09-13 18:49:55 +0200
commit6147a37f797f8a1cbf8f7346a1c083d3c5912207 (patch)
tree2a5914fbbe406ca85fb020c894b8e65d727d2763 /sql
parent17f690dd7bc8c4bf8dd0cd009e821df5949e3cbe (diff)
DB/SAI: Add missing waypoints on spawn for Gahz'rilla
Closes #20477 (cherry picked from commit 5eadade2e3924fce9912a1962f1748258ea2e783)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql b/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql
new file mode 100644
index 00000000000..0b498f8e0c2
--- /dev/null
+++ b/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql
@@ -0,0 +1,12 @@
+--
+DELETE FROM `smart_scripts` WHERE `entryorguid`=7273 AND `source_type`=0 AND `id` IN (3,4,5,6);
+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
+(7273,0,3,0,54,0,100,0,0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - Just Summoned - Add Unit Flag Immune to PC"),
+(7273,0,4,0,54,0,100,0,0,0,0,0,53,0,7273,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - Just Summoned - Start Waypoint"),
+(7273,0,5,0,40,0,100,0,2,7273,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - On Waypoint 2 Reached - Start Random Movement"),
+(7273,0,6,0,40,0,100,0,2,7273,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - On Waypoint 2 Reached - Remove Unit Flag Immune to PC");
+
+DELETE FROM `waypoints` WHERE `entry`=7273;
+INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
+(7273,1,1686.55,1207.18,9.79578,"Gahz'rilla"),
+(7273,2,1700.54,1220.82,8.87687,"Gahz'rilla");