forked from TrinityCore/TrinityCore
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DB: Scripts for teleportation Pads in Storm Peaks and K3
Closes TrinityCore#17236 By SnapperRy
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"); |