Skip to content

Commit

Permalink
DB: Scripts for teleportation Pads in Storm Peaks and K3
Browse files Browse the repository at this point in the history
Closes TrinityCore#17236
By SnapperRy
  • Loading branch information
Killyana committed May 31, 2016
1 parent 6242399 commit 73b51bb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sql/updates/world/3.3.5/2016_05_31_04_world.sql
@@ -0,0 +1,15 @@
--
DELETE FROM `areatrigger_scripts` WHERE `entry` IN (5187, 5190);
INSERT INTO `areatrigger_scripts` VALUES
(5187, "SmartTrigger"),
(5190, "SmartTrigger");

DELETE FROM `smart_scripts` WHERE `entryorguid` IN (5187, 5190) AND `source_type`=2;
INSERT INTO `smart_scripts` VALUES
(5187, 2, 0, 0, 46, 0, 100, 0, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 6150.7563, -1071.3817, 402.7154, 2.1916, "Areatrigger - On Trigger - Teleport"),
(5190, 2, 0, 0, 46, 0, 100, 0, 0, 0, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 6314.1860, -1758.2946, 457.0714, 1.6787, "Areatrigger - On Trigger - Teleport");

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceId`=2 AND SourceEntry IN (5187, 5190);
INSERT INTO `conditions` VALUES
(22, 1, 5187, 2, 0, 8, 0, 12821, 0, 0, 0, 0, 0, "", "Event requires quest rewarded"),
(22, 1, 5190, 2, 0, 8, 0, 12821, 0, 0, 0, 0, 0, "", "Event requires quest rewarded");

0 comments on commit 73b51bb

Please sign in to comment.