Scripts/Mechagnomes: Added areatrigger teleporter from Mechagon City to Stormwind

Port From (https://github.com/TrinityCore/TrinityCore/commit/faa182cb3bd4e37e1b4fc4a56e07710c558d70f3)
This commit is contained in:
hondacrx
2021-11-07 20:43:09 -05:00
parent f307f175a3
commit d06f304285
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,10 @@
--
SET @ATID := 6;
SET @ATGUID := 6;
DELETE FROM `areatrigger_template` WHERE `IsServerSide`=1 AND `Id`=@ATID+0;
INSERT INTO `areatrigger_template` (`Id`, `IsServerSide`, `Type`, `Flags`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 4, 0, 0.5, 0.5, 3, 3, 0, 0, 'areatrigger_stormwind_teleport_unit', 0);
DELETE FROM `areatrigger` WHERE `SpawnId`=@ATGUID+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerId`, `IsServerSide`, `MapId`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `Comment`) VALUES
(@ATGUID+0, @ATID+0, 1, 2268, 729.515625, 609.68231201171875, -238.236251831054687, 2.836383819580078125, 0, 0, 0, 4, 0.5, 0.5, 3, 3, 0, 0, 'Mechagon City - Teleporter to Stormwind');