DB Updates

This commit is contained in:
Hondacrx
2024-09-02 22:53:50 -04:00
parent f7b184dd1d
commit 213e1bc968
414 changed files with 254129 additions and 40 deletions
@@ -1,3 +0,0 @@
DELETE FROM `build_info` WHERE `build`=37474;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(37474,9,0,2,NULL,NULL,'0DE685BBB0551086E7FBDC0B4BB06A5B','024C9BE7E44237B7E81C6D42E678D433',NULL,NULL);
@@ -1,3 +1,3 @@
-- TDB 1025.24021 auth
-- TDB 1027.24051 auth
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/auth', 'ARCHIVED');
@@ -1,7 +1,7 @@
DELETE FROM `build_info` WHERE `build`=53584;
DELETE FROM `build_info` WHERE `build`=54673;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(53584,10,2,5,NULL,NULL,'CDD7A93659A03460B5A6CE1C4ACE5554',NULL,NULL,NULL);
(54673,10,2,7,NULL,NULL,'AF8B9C8A9C6128498E85228B965A004D',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=53584 WHERE `gamebuild`=53441;
UPDATE `realmlist` SET `gamebuild`=54673 WHERE `gamebuild`=54630;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '53584';
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54673';
@@ -1,7 +1,7 @@
DELETE FROM `build_info` WHERE `build`=53262;
DELETE FROM `build_info` WHERE `build`=54717;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(53262,10,2,5,NULL,NULL,'614A72D53126348A4927EC0F53FD2B7A',NULL,NULL,NULL);
(54717,10,2,7,NULL,NULL,'862BBA15158DFF6B56BCF71C1B34D41A',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=53262 WHERE `gamebuild`=53212;
UPDATE `realmlist` SET `gamebuild`=54717 WHERE `gamebuild`=54673;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '53262';
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54717';
@@ -1,7 +1,7 @@
DELETE FROM `build_info` WHERE `build`=53441;
DELETE FROM `build_info` WHERE `build`=54736;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(53441,10,2,5,NULL,NULL,'BFDD7D0FE87D5F75E6DEB4F5C99D7C99',NULL,NULL,NULL);
(54736,10,2,7,NULL,NULL,'FE58F039D91E1C248886A2828127CA2F',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=53441 WHERE `gamebuild`=53262;
UPDATE `realmlist` SET `gamebuild`=54736 WHERE `gamebuild`=54717;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '53441';
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54736';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54762;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54762,10,2,7,NULL,NULL,'5F7FDA560030255445B713456A286CFA',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54762 WHERE `gamebuild`=54736;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54762';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54847;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54847,10,2,7,NULL,NULL,'32FDA0353160EC51EB36195CFACEF2B7',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54847 WHERE `gamebuild`=54762;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54847';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54904;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54904,10,2,7,NULL,NULL,'09CBEC3C0DEA28BCA79F1FD9B879B0E3',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54904 WHERE `gamebuild`=54847;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54904';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54988;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54988,10,2,7,NULL,NULL,'8F2791553226871977B4F9D7F1137311',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54988 WHERE `gamebuild`=54904;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54988';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=55142;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55142,10,2,7,NULL,NULL,'298B99B5AD67EA3D2AB4B3E07A415305',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55142 WHERE `gamebuild`=54988;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55142';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=55165;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55165,10,2,7,NULL,NULL,'26D4D1C01434A8A6723DCABC944B6FD0',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55165 WHERE `gamebuild`=55142;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55165';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=55261;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55261,10,2,7,NULL,NULL,'84E153A3DD1F8249274B91047AAC7AED',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55261 WHERE `gamebuild`=55165;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55261';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=55461;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55461,10,2,7,NULL,NULL,'C4522674F854EFECC76C898EC9545099',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55461 WHERE `gamebuild`=55261;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55461';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=55664;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55664,10,2,7,NULL,NULL,'DBCA58486FAAA0FE54EA287A3047E923',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55664 WHERE `gamebuild`=55461;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55664';
@@ -0,0 +1,14 @@
DELETE FROM `build_info` WHERE `build` IN (55666,55792,55793,55818,55824,55846,55933,55939);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55666,11,0,0,NULL,NULL,'F7E5A88E4D3615B652C8B9D76E7F617C',NULL,NULL,NULL),
(55792,11,0,0,NULL,NULL,'C4DECDAA44BC548FF09EF3BB837D2147',NULL,NULL,NULL),
(55793,11,0,0,NULL,NULL,'F9CF3232AD1C38C2028668D5BB64198F',NULL,NULL,NULL),
(55818,11,0,0,NULL,NULL,'903A9B546248F71B16D9D9B06A072C24',NULL,NULL,NULL),
(55824,11,0,0,NULL,NULL,'8A6F13269A2896067A1E88789FB41BA7',NULL,NULL,NULL),
(55846,11,0,0,NULL,NULL,'BB5E1BED705872C226834B95A9E9F8A9',NULL,NULL,NULL),
(55933,11,0,0,NULL,NULL,'C34D42CB351C400D1319D221197CF18D',NULL,NULL,NULL),
(55939,11,0,0,NULL,NULL,'91529F4CE41DE4E54E132660ACDCADC5',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55939 WHERE `gamebuild`=55664;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55939';
@@ -1,3 +1,3 @@
-- TDB 1025.24021 characters
-- TDB 1027.24051 characters
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/characters', 'ARCHIVED');
@@ -0,0 +1,5 @@
ALTER TABLE `groups` ADD `pingRestriction` tinyint AFTER `masterLooterGuid`;
UPDATE `groups` SET `pingRestriction`=0;
ALTER TABLE `groups` MODIFY `pingRestriction` tinyint NOT NULL;
@@ -0,0 +1,3 @@
DELETE FROM `character_trait_entry` WHERE `Rank`=0;
ALTER TABLE `character_trait_entry` DROP `grantedRanks`;
@@ -0,0 +1,23 @@
DELETE
ctc,
cte,
ca
FROM
character_trait_config AS ctc
LEFT JOIN (
SELECT
ctc2.guid AS guid,
MIN(ctc2.traitConfigId) AS traitConfigId
FROM
character_trait_config ctc2
WHERE
ctc2.type = 3
GROUP BY
ctc2.guid,
ctc2.traitSystemId
) AS minctc ON ctc.guid = minctc.guid AND ctc.traitConfigId = minctc.traitConfigId
LEFT JOIN character_trait_entry AS cte ON ctc.guid = cte.guid AND ctc.traitConfigId = cte.traitConfigId
LEFT JOIN character_action AS ca ON ctc.guid = ca.guid AND ctc.traitConfigId = ca.traitConfigId
WHERE
ctc.type = 3 AND
minctc.traitConfigId IS NULL;
@@ -1,28 +0,0 @@
DELETE FROM `broadcast_text` WHERE `ID` IN (250466, 250942, 250946, 250186, 251752, 250187, 250464, 250189, 250188, 250962, 250463, 250896, 250465, 252333, 250256, 252261, 251082, 250605, 250743, 249795, 249793, 250601, 250291, 250462);
INSERT INTO `broadcast_text` (`Text`, `Text1`, `ID`, `LanguageID`, `ConditionID`, `EmotesID`, `Flags`, `ChatBubbleDurationMs`, `VoiceOverPriorityID`, `SoundKitID1`, `SoundKitID2`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `VerifiedBuild`) VALUES
('', 'You are worthy of gifts too! Get yourself something really special.', 250466, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Aye, we\'re one o\' several guilds who assist this here gala.\n\nPlenty o\' free-lancin\' artisans are here peddling their wares too, but we supplied the tents and what have ye to make this all possible.\n\nIf ye have any coin to spare, every bit helps us do this again next year!', '', 250942, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Would ye care to make a donation to the Artisan\'s Consortium?\n\nYer patronage helps us bring this festival back next year!', '', 250946, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'Fantastic gifts here! If you\'ve been saving up, come get yourself something lovely!', 250186, 0, 0, 3, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('O.D.I.E. can sniff out anything, just use that remote control of his!', '', 251752, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Add a little spark to your love! Toys and novelties right over here!', '', 250187, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'Every flower tells a story--what will yours say?', 250464, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'Pour your heart out with these colorful roses!', 250189, 0, 0, 3, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Who doesn\'t love chocolate? Come get a delicious treat!', '', 250188, 0, 0, 3, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Thank ye for yer patronage to the Artisan\'s Consortium.\n\nIf you\'re feeling really generous, come back tomorrow. But I won\'t ask ye for any more of your kindness today.', '', 250962, 0, 0, 2, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Chocolates are the perfect gift for someone you care about. You always feel better after being treated to something sweet!', '', 250463, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('My good $Gbrother:sister;, have you seen these fireworks? This show is great!\n\nI could relax right here, all day, every day.', '', 250896, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Nothing shows your affection quite like dazzling explosions!', '', 250465, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('This gala is so full of love! It is so lovely to see everyone giving gifts and spending quality time together.\n\nBut it is just as important to show love to yourself! You are never truly alone when you can trust and love your own heart.', '', 252333, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Care for a free sample?', '', 250256, 0, 0, 6, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Never heard of the Crown? You\'re lucky, pal.\n\nBack before we had this gala, the Crown would come by every year peddling their wares. It was all artificial nonsense--perfumes and colognes that reeked of factory production and corporate greed.\n\nThat was before we found out their smells were literally making people sick! Some friends and I did some digging, and we took the fight to their boss, Apothecary Hummel. I thought we got rid of him for good, but it looks like I was wrong.\n\nNot only is he back, but he\'s not exactly happy about what we did to shut his operation down. We gotta stop whatever it is he\'s up to!', '', 252261, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('This gala is a real nice break.\n\nI\'ve been in one war or another for twenty years now. Honestly, it\'s a rare day when the Alliance isn\'t at war with something or someone.\n\nA job like mine puts a lot of weight on your shoulders. I bet you can relate.', '', 251082, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('Come discover distant lands and fantastic vacations!', '', 250605, 0, 0, 70, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('This festival is so lovely! I am happy to have come here.', '', 250743, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'A celebration of the bonds we\'ve built and the people we love, of course!\n\nArtisans from all over Azeroth have come to sell exquisite gifts that reflect your kindness and affection. Show your appreciation for your loved ones by getting them something special!\n\nEvery artisan hand-crafts their goods from the heart, so you can trust that what you give to friends, family, or partners is of the highest quality!', 249795, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'Welcome, welcome, to the Gala of Gifts!\n\nThere\'s so much love to discover. Get a gift to show your appreciation for your loved ones!', 249793, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('What\'s a better gift than a vacation?\n\nTake a portal, and enjoy the beautiful lands of scenic Azeroth!', '', 250601, 0, 0, 396, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('<This portal is bursting with magical potential to whisk you away to fantastic lands. You feel as if touching it and thinking of a place will take you there.\n\nWhat journey do you seek?>', '', 250291, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262),
('', 'Have a lovely day!', 250462, 0, 0, 70, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 53262);
UPDATE `broadcast_text` SET `VerifiedBuild`=53262 WHERE `ID` IN (233720, 16151, 82177, 37929, 201074, 251979, 232606, 234629, 4682, 4678, 232610, 232607, 204227);
@@ -1,42 +0,0 @@
--
-- Table structure for table `vignette`
--
DROP TABLE IF EXISTS `vignette`;
CREATE TABLE `vignette` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Name` text,
`PlayerConditionID` int unsigned NOT NULL DEFAULT '0',
`VisibleTrackingQuestID` int unsigned NOT NULL DEFAULT '0',
`QuestFeedbackEffectID` int unsigned NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`MaxHeight` float NOT NULL DEFAULT '0',
`MinHeight` float NOT NULL DEFAULT '0',
`VignetteType` tinyint NOT NULL DEFAULT '0',
`RewardQuestID` int NOT NULL DEFAULT '0',
`UiWidgetSetID` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `vignette_locale`
--
DROP TABLE IF EXISTS `vignette_locale`;
CREATE TABLE `vignette_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_lang` text,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
/*!50500 PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB) */;
@@ -1,3 +1,3 @@
-- TDB 1025.24021 hotfixes
-- TDB 1027.24051 hotfixes
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/hotfixes', 'ARCHIVED');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,58 @@
--
-- Table structure for table `location`
--
DROP TABLE IF EXISTS `location`;
CREATE TABLE `location` (
`ID` int unsigned NOT NULL DEFAULT '0',
`PosX` float NOT NULL DEFAULT '0',
`PosY` float NOT NULL DEFAULT '0',
`PosZ` float NOT NULL DEFAULT '0',
`Rot1` float NOT NULL DEFAULT '0',
`Rot2` float NOT NULL DEFAULT '0',
`Rot3` float NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `path`
--
DROP TABLE IF EXISTS `path`;
CREATE TABLE `path` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Type` tinyint unsigned NOT NULL DEFAULT '0',
`SplineType` tinyint unsigned NOT NULL DEFAULT '0',
`Red` tinyint unsigned NOT NULL DEFAULT '0',
`Green` tinyint unsigned NOT NULL DEFAULT '0',
`Blue` tinyint unsigned NOT NULL DEFAULT '0',
`Alpha` tinyint unsigned NOT NULL DEFAULT '0',
`Flags` tinyint unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `path_node`
--
DROP TABLE IF EXISTS `path_node`;
CREATE TABLE `path_node` (
`ID` int unsigned NOT NULL DEFAULT '0',
`PathID` smallint unsigned NOT NULL DEFAULT '0',
`Sequence` smallint NOT NULL DEFAULT '0',
`LocationID` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `path_property`
--
DROP TABLE IF EXISTS `path_property`;
CREATE TABLE `path_property` (
`ID` int unsigned NOT NULL DEFAULT '0',
`PathID` smallint unsigned NOT NULL DEFAULT '0',
`PropertyIndex` tinyint unsigned NOT NULL DEFAULT '0',
`Value` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,7 @@
DROP TABLE IF EXISTS `area_trigger_action_set`;
CREATE TABLE `area_trigger_action_set` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,183 @@
ALTER TABLE `animation_data` MODIFY `BehaviorID` smallint NOT NULL DEFAULT 0 AFTER `BehaviorTier`;
ALTER TABLE `artifact_power` MODIFY `Tier` tinyint NOT NULL DEFAULT 0 AFTER `Flags`;
ALTER TABLE `battlemaster_list`
DROP `MapID1`,
DROP `MapID2`,
DROP `MapID3`,
DROP `MapID4`,
DROP `MapID5`,
DROP `MapID6`,
DROP `MapID7`,
DROP `MapID8`,
DROP `MapID9`,
DROP `MapID10`,
DROP `MapID11`,
DROP `MapID12`,
DROP `MapID13`,
DROP `MapID14`,
DROP `MapID15`,
DROP `MapID16`;
DROP TABLE IF EXISTS `battlemaster_list_x_map`;
CREATE TABLE `battlemaster_list_x_map` (
`ID` int unsigned NOT NULL DEFAULT '0',
`MapID` int NOT NULL DEFAULT '0',
`BattlemasterListID` int unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `challenge_mode_item_bonus_override`
ADD `RequiredTimeEventPassed` int NOT NULL DEFAULT 0 AFTER `Value`,
DROP `Type`,
DROP `MythicPlusSeasonID`,
DROP `PvPSeasonID`;
ALTER TABLE `character_loadout` MODIFY `ItemContext` tinyint NOT NULL DEFAULT 0 AFTER `Purpose`;
ALTER TABLE `chr_classes` MODIFY `DisplayPower` tinyint NOT NULL DEFAULT 0 AFTER `PrimaryStatPriority`;
ALTER TABLE `chr_customization_option`
ADD `ChrRacesID` int NOT NULL DEFAULT 0 AFTER `Flags`,
ADD `Sex` int NOT NULL DEFAULT 0 AFTER `ChrRacesID`;
ALTER TABLE `creature_display_info`
ADD `ConditionalCreatureModelID` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `CreatureModelMinLod`,
ADD `Unknown_1100_1` float NOT NULL DEFAULT 0 AFTER `ConditionalCreatureModelID`,
ADD `Unknown_1100_2` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `Unknown_1100_1`,
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `AnimReplacementSetID`;
ALTER TABLE `creature_model_data`
CHANGE `Unknown820_1` `MountScaleOtherIndex` tinyint NOT NULL DEFAULT 0 AFTER `TamedPetBaseScale`,
CHANGE `Unknown820_2` `MountScaleSelf` float NOT NULL DEFAULT 0 AFTER `MountScaleOtherIndex`,
CHANGE `Unknown820_31` `MountScaleOther1` float NOT NULL DEFAULT 0 AFTER `MountScaleOtherIndex`,
CHANGE `Unknown820_32` `MountScaleOther2` float NOT NULL DEFAULT 0 AFTER `MountScaleOther1`,
ADD `Unknown1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `MountScaleSelf`,
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `GeoBox6`;
ALTER TABLE `currency_types` ADD `AccountTransferPercentage` float NOT NULL DEFAULT 0 AFTER `RechargingCycleDurationMS`;
ALTER TABLE `difficulty` MODIFY `ItemContext` tinyint NOT NULL DEFAULT 0 AFTER `Flags`;
ALTER TABLE `emotes`
MODIFY `AnimID` smallint NOT NULL DEFAULT 0 AFTER `EmoteSlashCommand`,
MODIFY `EmoteFlags` int NOT NULL DEFAULT 0 AFTER `AnimID`,
MODIFY `EmoteSpecProc` int NOT NULL DEFAULT 0 AFTER `EmoteFlags`;
ALTER TABLE `faction_template` MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `Faction`;
ALTER TABLE `gameobject_display_info` ADD `Unknown1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `ClientItemID`;
ALTER TABLE `gameobjects` ADD `Unknown1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `PhaseGroupID`;
ALTER TABLE `garr_follower` MODIFY `Quality` int NOT NULL DEFAULT 0 AFTER `AllianceGarrClassSpecID`;
ALTER TABLE `garr_plot` MODIFY `PlotType` int NOT NULL DEFAULT 0 AFTER `Name`;
ALTER TABLE `glyph_properties` MODIFY `GlyphType` tinyint NOT NULL DEFAULT 0 AFTER `SpellID`;
ALTER TABLE `gossip_npc_option` MODIFY `GarrFollowerTypeID` tinyint NOT NULL DEFAULT 0 AFTER `TrainerID`;
ALTER TABLE `item_appearance` MODIFY `DisplayType` tinyint NOT NULL DEFAULT 0 AFTER `ID`;
ALTER TABLE `item_context_picker_entry` MODIFY `ItemCreationContext` tinyint NOT NULL DEFAULT 0 AFTER `ID`;
ALTER TABLE `item_search_name` ADD `Flags5` int NOT NULL DEFAULT 0 AFTER `Flags4`;
ALTER TABLE `item_sparse`
ADD `Flags5` int NOT NULL DEFAULT 0 AFTER `Flags4`,
MODIFY `StatModifierBonusStat1` int NOT NULL DEFAULT 0 AFTER `StatPercentEditor10`,
MODIFY `StatModifierBonusStat2` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat1`,
MODIFY `StatModifierBonusStat3` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat2`,
MODIFY `StatModifierBonusStat4` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat3`,
MODIFY `StatModifierBonusStat5` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat4`,
MODIFY `StatModifierBonusStat6` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat5`,
MODIFY `StatModifierBonusStat7` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat6`,
MODIFY `StatModifierBonusStat8` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat7`,
MODIFY `StatModifierBonusStat9` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat8`,
MODIFY `StatModifierBonusStat10` int NOT NULL DEFAULT 0 AFTER `StatModifierBonusStat9`;
ALTER TABLE `journal_tier` ADD `Expansion` int NOT NULL DEFAULT 0 AFTER `Name`;
ALTER TABLE `map` ADD `PreloadFileDataID` int NOT NULL DEFAULT 0 AFTER `NavigationMaxDistance`;
ALTER TABLE `map_difficulty` MODIFY `ItemContext` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `MaxPlayers`;
ALTER TABLE `mount_x_display` ADD `Unknown1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `PlayerConditionID`;
ALTER TABLE `mythic_plus_season` ADD `StartTimeEvent` int NOT NULL DEFAULT 0 AFTER `MilestoneSeason`;
ALTER TABLE `player_condition` MODIFY `PowerTypeComp` tinyint NOT NULL DEFAULT 0 AFTER `PowerType`;
ALTER TABLE `power_display` MODIFY `ActualType` tinyint NOT NULL DEFAULT 0 AFTER `GlobalStringBaseTag`;
ALTER TABLE `power_type` MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `RegenCombat`;
ALTER TABLE `scenario_step` MODIFY `ID` int UNSIGNED NOT NULL DEFAULT 0 AFTER `Title`;
ALTER TABLE `skill_line` MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `ParentTierIndex`;
ALTER TABLE `skill_line_ability` MODIFY `AcquireMethod` int NOT NULL DEFAULT 0 AFTER `SupercedesSpell`;
ALTER TABLE `skill_race_class_info`
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `ClassMask`,
MODIFY `Availability` int NOT NULL DEFAULT 0 AFTER `Flags`;
ALTER TABLE `spell_item_enchantment` MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `EffectArg3`;
ALTER TABLE `spell_misc` ADD `PvPDurationIndex` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `DurationIndex`;
ALTER TABLE `spell_visual_effect_name` ADD `Unknown1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `Unknown901`;
ALTER TABLE `spell_visual_kit`
ADD `ClutterLevel` int NOT NULL DEFAULT 0 AFTER `ID`,
DROP `FallbackPriority`;
ALTER TABLE `spell_visual_missile`
ADD `Unused1100` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `DecayTimeAfterImpact`,
MODIFY `ClutterLevel` int NOT NULL DEFAULT 0 AFTER `AnimKitID`;
ALTER TABLE `trait_cond` ADD `TraitCondAccountElementID` int NOT NULL DEFAULT 0 AFTER `SpendMoreSharedStringID`;
ALTER TABLE `trait_node`
MODIFY `Type` tinyint unsigned NOT NULL DEFAULT 0 AFTER `PosY`,
ADD `TraitSubTreeID` int NOT NULL DEFAULT 0 AFTER `Flags`;
ALTER TABLE `trait_node_entry` ADD `TraitSubTreeID` int NOT NULL DEFAULT 0 AFTER `NodeEntryType`;
ALTER TABLE `trait_node_entry_x_trait_cond` MODIFY `TraitNodeEntryID` int NOT NULL DEFAULT 0 AFTER `TraitCondID`;
ALTER TABLE `transmog_set`
MODIFY `TrackingQuestID` int NOT NULL DEFAULT 0 AFTER `ClassMask`,
MODIFY `TransmogSetGroupID` int NOT NULL DEFAULT 0 AFTER `Flags`,
MODIFY `ParentTransmogSetID` int NOT NULL DEFAULT 0 AFTER `ItemNameDescriptionID`,
MODIFY `Unknown810` int NOT NULL DEFAULT 0 AFTER `ParentTransmogSetID`,
MODIFY `ExpansionID` int NOT NULL DEFAULT 0 AFTER `Unknown810`,
MODIFY `UiOrder` int NOT NULL DEFAULT 0 AFTER `PatchID`;
ALTER TABLE `ui_map` ADD COLUMN `AdventureMapTextureKitID` int NOT NULL DEFAULT 0 AFTER `ContentTuningID`;
ALTER TABLE `unit_condition`
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `ID`,
MODIFY `Op1` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Variable8`,
MODIFY `Op2` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op1`,
MODIFY `Op3` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op2`,
MODIFY `Op4` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op3`,
MODIFY `Op5` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op4`,
MODIFY `Op6` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op5`,
MODIFY `Op7` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op6`,
MODIFY `Op8` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Op7`;
ALTER TABLE `vehicle_seat`
MODIFY `AttachmentID` int NOT NULL DEFAULT 0 AFTER `FlagsC`,
MODIFY `EnterAnimStart` smallint NOT NULL DEFAULT 0 AFTER `EnterMaxArcHeight`,
MODIFY `EnterAnimLoop` smallint NOT NULL DEFAULT 0 AFTER `EnterAnimStart`,
MODIFY `RideAnimStart` smallint NOT NULL DEFAULT 0 AFTER `EnterAnimLoop`,
MODIFY `RideAnimLoop` smallint NOT NULL DEFAULT 0 AFTER `RideAnimStart`,
MODIFY `RideUpperAnimStart` smallint NOT NULL DEFAULT 0 AFTER `RideAnimLoop`,
MODIFY `RideUpperAnimLoop` smallint NOT NULL DEFAULT 0 AFTER `RideUpperAnimStart`,
MODIFY `ExitAnimStart` smallint NOT NULL DEFAULT 0 AFTER `ExitMaxArcHeight`,
MODIFY `ExitAnimLoop` smallint NOT NULL DEFAULT 0 AFTER `ExitAnimStart`,
MODIFY `ExitAnimEnd` smallint NOT NULL DEFAULT 0 AFTER `ExitAnimLoop`;
@@ -1,4 +0,0 @@
--
DELETE FROM `spell_proc` WHERE `SpellId` IN (377438);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(377438,0x02,6,0x00000001,0x00000000,0x00000000,0x00000000,0x0,0x0,0x4,0x1,0x3,0x0,0x0,0,0,0,0); -- Words of the Pious
@@ -1,4 +0,0 @@
--
DELETE FROM `spell_proc` WHERE `SpellId` IN (390668);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390668,0x22,6,0x00102000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x2,0x0,0x0,0,0,0,0); -- Apathy
@@ -1,7 +0,0 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (390786);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390786,0x02,6,0x00000000,0x00818000,0x00000000,0x00000000,0x0,0x0,0x3,0x2,0x3,0x0,0x0,0,0,0,0); -- Weal and Woe
DELETE FROM `spell_proc` WHERE `SpellId` IN (390787);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390787,0x02,6,0x00000081,0x00000000,0x00000000,0x00000000,0x0,0x0,0x5,0x1,0x3,0x0,0x0,0,0,0,1); -- Weal and Woe
@@ -1,4 +0,0 @@
--
DELETE FROM `spell_proc` WHERE `SpellId` IN (198068);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(198068,0x24,6,0x00008000,0x00000000,0x00000000,0x00000010,0x0,0x0,0x1,0x2,0x403,0x0,0x0,0,0,0,0); -- Power of the Dark Side
@@ -1,4 +0,0 @@
--
DELETE FROM `spell_proc` WHERE `SpellId` IN (390691);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390691,0x02,6,0x00000001,0x00000000,0x00000000,0x00000000,0x0,0x0,0x4,0x1,0x3,0x0,0x0,0,0,0,0); -- Borrowed Time
@@ -1 +0,0 @@
UPDATE `spell_proc` SET `SchoolMask`=0x00 WHERE `SpellId` IN(390786 /*Weal and Woe*/, 390787 /*Weal and Woe*/, 390668 /*Apathy*/, 377438 /*Words of the Pious*/, 198068 /*Power of the Dark Side*/, 390691 /*Borrowed Time*/, 114255 /*Surge of Light*/, 215768 /*Blaze of Light*/, 390615 /*From Darkness Comes Light*/, 390617 /*From Darkness Comes Light*/, 193063 /*Protective Light*/, 390676 /*Inspiration*/, 64129 /*Body and Soul*/);
@@ -1,22 +0,0 @@
SET @TEL_ID := 2151;
UPDATE `game_tele` SET `name` = 'EmeraldDreamClassic' WHERE `id` = 1425;
DELETE FROM `game_tele` WHERE `id` BETWEEN @TEL_ID+0 AND @TEL_ID+15;
INSERT INTO `game_tele` (`id`,`position_x`,`position_y`,`position_z`,`orientation`,`map`,`name`) VALUES
(@TEL_ID+0,-1134.45,7336.62,132.689,0.882665,2548,'EmeraldDreamDragonflight'),
(@TEL_ID+1,-2289.68,6929.88,66.0932,2.35535,2548,'RootBoundSanctuary'),
(@TEL_ID+2,-2048.04,8300.77,58.9846,5.02962,2548,'WhorlwingBasin'),
(@TEL_ID+3,-1619.93,6259.64,42.065,4.71783,2548,'ShorelineRoots'),
(@TEL_ID+4,-1886.4,7062.66,156.974,1.54563,2548,'Amirdrassil'),
(@TEL_ID+5,-995.698,7057.5,85.8742,5.7663,2548,'LushdreamCrags'),
(@TEL_ID+6,-952.519,8026.15,39.7644,1.41523,2548,'TheSmolderingCopse'),
(@TEL_ID+7,-175.216,8669.53,31.245,1.45215,2548,'WellspringOfLife'),
(@TEL_ID+8,358.468,7849.75,146.218,0.69345,2548,'ScorchingChasm'),
(@TEL_ID+9,372.974,8307.67,109.342,3.83113,2548,'PrimalistStronghold'),
(@TEL_ID+10,-276.958,8248.23,103.477,4.85607,2548,'WellspringOverlook'),
(@TEL_ID+11,-36.5172,6972.46,144.839,2.43705,2548,'EyeOfYsera'),
(@TEL_ID+12,-1100.05,5335.86,25.278,2.40642,2548,'AncientBough'),
(@TEL_ID+13,-1331.98,5743.55,45.0434,1.97053,2548,'VerdantLanding'),
(@TEL_ID+14,-1690.83,7151.72,202.397,3.94191,2548,'CentralEncampment'),
(@TEL_ID+15,-2977.19,8556.59,33.4102,4.32357,2209,'EmeraldDreamLegion');
@@ -1,7 +0,0 @@
-- Deprecated Quests in Camp Narache
DELETE FROM `disables` WHERE `sourceType`=1 AND `entry` IN (3091, 3092, 3093, 3094);
INSERT INTO `disables` (`sourceType`,`entry`,`flags`,`params_0`,`params_1`,`comment`) VALUES
(1,3091,0,'','','Deprecated Quest: Simple Note'),
(1,3092,0,'','','Deprecated Quest: Etched Note'),
(1,3093,0,'','','Deprecated Quest: Rune-Inscribed Note'),
(1,3094,0,'','','Deprecated Quest: Verdant Note');
@@ -1,4 +0,0 @@
-- Ferocitas the Dream Eater Loot: Talonkai's Jewel
DELETE FROM `creature_loot_template` WHERE `Entry`=7234 AND `Item` IN (8049, 8050);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(7234,8050,0,100,1,1,0,1,1,'Quest Item: Talonkai''s Jewel');
@@ -1,6 +0,0 @@
-- Delete Empty Rows
DELETE FROM `quest_template_addon` WHERE `ID` IN (8325,9704);
-- Unnecessary SpecialFlags
UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID` IN (8326,8327,8334,8335,8347,8350);
-- Unfortunate Measures
UPDATE `quest_template_addon` SET `PrevQuestID`=8325 WHERE `ID`=8326;
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_crystalline_reflection';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(17,'spell_pri_crystalline_reflection');
@@ -1,7 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pri_train_of_thought';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(390693,'spell_pri_train_of_thought');
DELETE FROM `spell_proc` WHERE `SpellId` IN (390693);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(390693,0x0,6,0x000008C0,0x00000000,0x00000000,0x00000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0,0,0); -- Train of Thought
@@ -1,16 +0,0 @@
-- Love is in the Air - The Gala of Gifts
DELETE FROM `phase_name` WHERE `ID` IN (22310, 22403);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(22310, 'Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
(22403, 'Cosmetic - Love is in the Air - The Gala of Gifts - Durotar');
DELETE FROM `phase_area` WHERE `PhaseId` IN (22310, 22403);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(12, 22310, 'Elwynn Forest: Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
(1519, 22310, 'Stormwind City: Cosmetic - Love is in the Air - The Gala of Gifts - Elwynn Forest'),
(14, 22403, 'Durotar: Cosmetic - Love is in the Air - The Gala of Gifts - Durotar');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (22310, 22403);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 22310, 0, 0, 0, 12, 0, 8, 0, 0, 0, 'Apply phase 22310 if event "Love is in the Air" is active'),
(26, 22403, 0, 0, 0, 12, 0, 8, 0, 0, 0, 'Apply phase 22403 if event "Love is in the Air" is active');
@@ -1,2 +0,0 @@
DELETE FROM `gameobject` WHERE `guid` IN(501914,501924,501937,501939,501995,501942,501998,501927,501944,502001,501929,501948,501932,501949,502002,501954,501933,501956,501936,501913,502005,501915,501918,501945,501935,501938,501941,501943,501946,502006,502012,501957,501907,501965,501909,501987,501926,501919,501910,501979,501911,501981,501971,501928,501974,501976,501991,501964,501992,501967,501982,501985,501970,501972,501975,501977,501930,502007,501953,501983,501986,501988,501958,501990,501959,501960,501961,501969);
DELETE FROM `gameobject_addon` WHERE `guid` IN(501914,501924,501937,501939,501995,501942,501998,501927,501944,502001,501929,501948,501932,501949,502002,501954,501933,501956,501936,501913,502005,501915,501918,501945,501935,501938,501941,501943,501946,502006,502012,501957,501907,501965,501909,501987,501926,501919,501910,501979,501911,501981,501971,501928,501974,501976,501991,501964,501992,501967,501982,501985,501970,501972,501975,501977,501930,502007,501953,501983,501986,501988,501958,501990,501959,501960,501961,501969);
@@ -1,14 +0,0 @@
UPDATE `smart_scripts` SET `target_type`=8 WHERE
(`entryorguid`=137300 AND `source_type`=9 AND `id`=19 AND `link`=0) OR
(`entryorguid`=137300 AND `source_type`=9 AND `id`=20 AND `link`=0) OR
(`entryorguid`=1433800 AND `source_type`=9 AND `id`=4 AND `link`=0) OR
(`entryorguid`=2129100 AND `source_type`=9 AND `id`=1 AND `link`=0) OR
(`entryorguid`=2129100 AND `source_type`=9 AND `id`=13 AND `link`=0) OR
(`entryorguid`=2711300 AND `source_type`=9 AND `id`=1 AND `link`=0) OR
(`entryorguid`=2711300 AND `source_type`=9 AND `id`=3 AND `link`=0) OR
(`entryorguid`=2711400 AND `source_type`=9 AND `id`=1 AND `link`=0) OR
(`entryorguid`=2711400 AND `source_type`=9 AND `id`=3 AND `link`=0) OR
(`entryorguid`=2711500 AND `source_type`=9 AND `id`=1 AND `link`=0) OR
(`entryorguid`=2711600 AND `source_type`=9 AND `id`=3 AND `link`=0) OR
(`entryorguid`=2875000 AND `source_type`=9 AND `id`=3 AND `link`=0) OR
(`entryorguid`=3019000 AND `source_type`=9 AND `id`=13 AND `link`=0);
@@ -1,9 +0,0 @@
-- Fel Moss Corruption and Demonic Thieves ExclusiveGroup
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-28714 WHERE `ID` IN (28714,28715);
-- Demonic Thieves
UPDATE `quest_template_addon` SET `PrevQuestID`=28713 WHERE `ID`=28715;
UPDATE `quest_template_addon` SET `NextQuestID`=28723 WHERE `ID`=28715;
-- A Favor for Melithar
UPDATE `quest_template_addon` SET `PrevQuestID`=28714 WHERE `ID`=28734;
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID`=28734;
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=28715 WHERE `ID`=28734;
@@ -1,21 +0,0 @@
-- Teldrassil Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (487, 932, 937, 938, 2438, 2499, 13945);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(487,0,0,0,483,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- The Road to Darnassus
(932,0,0,0,489,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Twisted Hatred
(2499,0,0,0,923,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Oakenscowl
(13945,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0,0,''); -- Resident Danger
-- Ursal the Mauler
UPDATE `quest_template_addon` SET `PrevQuestID`=483 WHERE `ID`=486;
-- Timberling Seeds
UPDATE `quest_template_addon` SET `PrevQuestID`=997 WHERE `ID`=918;
-- Teldrassil: The Refusal of the Aspects
UPDATE `quest_template_addon` SET `PrevQuestID`=28731 WHERE `ID`=929;
-- Denalan's Earth
UPDATE `quest_template_addon` SET `PrevQuestID`=486 WHERE `ID`=997;
-- Dolanaar Delivery
UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=2159;
-- Teldrassil: The Burden of the Kaldorei
UPDATE `quest_template_addon` SET `PrevQuestID`=918 WHERE `ID`=7383;
-- Nature's Reprisal
UPDATE `quest_template_addon` SET `PrevQuestID`=489 WHERE `ID`=13946;
@@ -1,9 +0,0 @@
-- Delete Empty Rows
DELETE FROM `quest_template_addon` WHERE `ID` IN (25129,25152);
-- Unnecessary NextQuestIDs
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID` IN (25131,25132,25133,25136);
-- Hana'zua
UPDATE `quest_template_addon` SET `PrevQuestID`=25127 WHERE `ID`=25128;
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=25129 WHERE `ID`=25128;
-- Lazy Peons
UPDATE `quest_template_addon` SET `PrevQuestID`=25172 WHERE `ID`=37446;
@@ -1,14 +0,0 @@
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=14461;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,14461,0,0,47,0,14455,64,0,'',0,0,0,'','Feed of Evil available if quest Stop the Thorncallers is rewarded'),
(19,0,14461,0,0,47,0,14456,64,0,'',0,0,0,'','Feed of Evil available if quest Rite of Courage is rewarded');
-- Camp Narache Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (14449,14455,14456,14460);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(14455,0,0,0,14458,14459,-14455,0,0,0,0,0,0,0,0,0,0,0,''), -- Stop the Thorncallers
(14456,0,0,0,14458,14459,-14455,0,0,0,0,0,0,0,0,0,0,0,''); -- Rite of Courage
-- Unnecessary NextQuestIDs
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID` IN (14452,23733,24852,24861);
-- The Battleboars and Feed of Evil ExclusiveGroup
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-14459 WHERE `ID` IN (14459,14461);
@@ -1,13 +0,0 @@
-- Unneeded Condition for Caretaker Caice (Handled by BreadcrumbForQuestId)
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=28652;
-- Delete Unneeded Rows
DELETE FROM `quest_template_addon` WHERE `ID`=26801;
-- Caretaker Caice
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=24960 WHERE `ID`=28652;
-- Shadow Priest Sarvis
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=26801 WHERE `ID`=28653;
-- Novice Elreth
UPDATE `quest_template_addon` SET `PrevQuestID`=26801 WHERE `ID`=28651;
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID`=28651;
-- The Truth of the Grave
UPDATE `quest_template_addon` SET `PrevQuestID`=28651 WHERE `ID`=24961;
@@ -1,2 +0,0 @@
-- Unneeded conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=25128;
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_pri_pain_transformation');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(33206, 'spell_pri_pain_transformation');
@@ -1,6 +0,0 @@
DELETE FROM `areatrigger_scripts` WHERE `entry` IN (6632, 6633, 5347, 5348);
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(6632, 'at_av_exploit'),
(6633, 'at_av_exploit'),
(5347, 'at_ds_pipe_knockback'),
(5348, 'at_ds_pipe_knockback');
@@ -1,56 +0,0 @@
SET @OGUID := 9003864;
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+3;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 378473, 2570, 13769, 13806, '0', 0, 0, 5739.970703125, -3023.970458984375, 251.0890045166015625, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 120, 255, 1, 53212), -- Starting Room Collision (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+1, 378473, 2570, 13769, 13806, '0', 0, 0, 5754.30029296875, -3056.350830078125, 251.0890045166015625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 53212), -- Starting Room Collision (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+2, 378473, 2570, 13769, 13806, '0', 0, 0, 5818.52978515625, -3054.560791015625, 251.279998779296875, 5.480334281921386718, 0, 0, -0.39073085784912109, 0.920504987239837646, 120, 255, 1, 53212), -- Starting Room Collision (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+3, 378473, 2570, 13769, 13806, '0', 0, 0, 5787.44970703125, -3069.34033203125, 251.08502197265625, 4.729844093322753906, 0, 0, -0.70090866088867187, 0.713251054286956787, 120, 255, 1, 53212); -- Starting Room Collision (Area: The War Creche - Difficulty: 0) CreateObject1
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 32 AND `SourceGroup` = 378473 AND `SourceEntry` = 8);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(32, 8, 378473, 0, 0, 48, 0, 421735, 0, 1, 1, 'Spawn of gameobject with entry 378473 requires Quest 64864 objective 421735 complete');
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (187223 /*187223 (Kodethi) - Stasis*/, 181494 /*181494 (Dervishian) - Stasis*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(181494, 0, 0, 0, 0, 0, 1, 0, 0, 23987, 0, 0, 0, '382137'), -- 181494 (Dervishian) - Stasis
(187223, 0, 0, 0, 0, 0, 1, 0, 0, 23987, 0, 0, 0, '382137'); -- 187223 (Kodethi) - Stasis
DELETE FROM `quest_template_addon` WHERE `ID` = 64864;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(64864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 'quest_awaken_dracthyr');
DELETE FROM `gameobject_template_addon` WHERE `entry`=378473;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(378473, 114, 0, 0, 0); -- Starting Room Collision
-- SpellScript names
DELETE FROM `spell_script_names` WHERE `spell_id` IN (369730, 370111, 369744);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(369730, 'spell_dracthyr_summon_dervishian'),
(370111, 'spell_dracthyr_summon_dervishian'),
(369744, 'spell_dracthyr_login');
-- SpellArea
DELETE FROM `spell_area` WHERE `spell` IN (369731, 370112) AND `area` = 13806;
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES
(369731, 13806, 64864, 0, 0, 0, 2, 3, 2|8, 0),
(370112, 13806, 64864, 0, 0, 0, 2, 3, 2|8, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceEntry` IN (369730, 370111));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(17, 0, 369730, 0, 0, 6, 0, 469, 0, 0, 0, 'Allow spellcast if caster is Team Alliance'),
(17, 0, 370111, 0, 0, 6, 0, 67, 0, 0, 0, 'Allow spellcast if caster is Team Horde');
-- AreaTrigger
DELETE FROM `areatrigger_template` WHERE `IsCustom`=0 AND `Id` = 30308;
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(30308, 0, 0, 53212);
DELETE FROM `areatrigger_create_properties` WHERE `IsCustom`=0 AND `Id` = 26052;
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(26052, 0, 30308, 0, 4, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 53212); -- Spell: 382137 (Stasis)
UPDATE `areatrigger_create_properties` SET `ScriptName` = 'at_dracthyr_stasis_feedback' WHERE `Id` = 26052 AND `IsCustom` = 0;
@@ -1,638 +0,0 @@
SET @CGUID := 8000041;
SET @OGUID := 8000014;
-- Add missing Creature Spawns
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+17;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
-- Alliance
(@CGUID,162817,2175,10424,10529,'0',0,14663,0,0,0,0,243.55556,-2242.9185,83.88086,4.5683498,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52649), -- Torgok <Binder of Souls>
(@CGUID+1,150245,2175,10424,10529,'0',0,13794,0,0,0,0,169.23438,-2297.9983,82.15651,2.54967,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52649), -- Lindie Springstock
(@CGUID+2,156800,2175,10424,10529,'0',0,13794,0,0,0,0,186.51042,-2284.6216,81.91817,3.558244,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52649), -- Quartermaster Richter <Supplies>
(@CGUID+3,156807,2175,10424,10529,'0',0,13835,0,0,0,0,185.90625,-2288.927,81.77783,1.908762,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52649), -- Captain Garrick
(@CGUID+4,156808,2175,10424,10529,'0',0,13794,0,0,0,0,169.73827,-2293.4995,82.96085,2.618248,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52649), -- Small Boar
-- Horde
(@CGUID+5,167142,2175,10424,10588,'0',0,15331,0,0,0,0,107.87153,-2414.177,95.44844,0,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Choppy Booster Mk. 5
(@CGUID+6,167212,2175,10424,10529,'0',0,15485,0,0,0,0,185.70660400390625,-2282.98095703125,81.93126678466796875,3.950360536575317382,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Warlord Breka Grimaxe
(@CGUID+7,167216,2175,10424,10529,'0',0,15447,0,0,0,0,183.4184112548828125,-2278.020751953125,81.93170166015625,1.636933207511901855,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Grunt Throg
(@CGUID+8,167217,2175,10424,10529,'0',0,15330,0,0,0,0,177.1770782470703125,-2295.96875,81.96833038330078125,0,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Cork Fizzlepop
(@CGUID+9,167213,2175,10424,10529,'0',0,15330,0,0,0,0,178.4184112548828125,-2292.552001953125,81.93624114990234375,0.398178786039352416,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Provisioner Jin'hake
(@CGUID+10,167219,2175,10424,10529,'0',0,15353,0,0,0,0,257.260406494140625,-2337.651123046875,81.06317138671875,5.754884243011474609,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Shuja Grimaxe
(@CGUID+11,167222,2175,10424,10529,'0',0,15338,0,0,0,0,160.5868072509765625,-2310.088623046875,84.49564361572265625,3.033173322677612304,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Won'sa
(@CGUID+12,167221,2175,10424,10529,'0',0,15338,0,0,0,0,160.5989532470703125,-2307.404541015625,84.11737060546875,2.955642223358154296,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Lana Jordan
(@CGUID+13,167215,2175,10424,10529,'0',0,15377,0,0,0,0,183.6805572509765625,-2295.94091796875,82.250396728515625,4.669465065002441406,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,52808), -- Mithdran Dawntracker <Stable Master>
(@CGUID+14,167290,2175,10424,10528,'0',0,15354,0,0,0,0,392.46875,-2440.225830078125,125.4717788696289062,4.147569179534912109,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,53212), -- Shuja Grimaxe "Harpy area"
(@CGUID+15,167291,2175,10424,10588,'0',0,15354,0,0,0,0,391.211822509765625,-2443.717041015625,125.1890335083007812,0.829528868198394775,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,53212), -- Bo "Harpy area"
(@CGUID+16,167225,2175,10424,10527,'0',0,15337,0,0,0,0,92.015625,-2246.911376953125,94.49737548828125,2.622560739517211914,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,53212), -- Lana Jordan "Pit Area"
(@CGUID+17,167226,2175,10424,10527,'0',0,15337,0,0,0,0,89.265625,-2248.960205078125,94.74571990966796875,1.861210823059082031,120,0,0,1,0,0,NULL,NULL,NULL,NULL,'',NULL,53212); -- Won'sa "Pit Area"
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+18 AND @CGUID+21;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+18, 167926, 2175, 10424, 10529, '0', 15558, 0, 0, 1, 232.1614532470703125, -2292.53466796875, 80.9791717529296875, 4.706853866577148437, 120, 0, 0, 224, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Warlord Breka Grimaxe (Area: Ogre Ruins - Difficulty: 0) CreateObject1
(@CGUID+19, 167126, 2175, 10424, 10529, '0', 15558, 0, 0, 0, 230.795135498046875, -2297.085205078125, 80.9791717529296875, 1.356228590011596679, 120, 0, 0, 119, 0, 0, 2, NULL, NULL, NULL, 53262), -- Shuja Grimaxe (Area: Ogre Ruins - Difficulty: 0) CreateObject1
(@CGUID+20, 156799, 2175, 10424, 10529, '0', 13795, 0, 0, 0, 230.795135498046875, -2297.085205078125, 80.9791717529296875, 1.356228590011596679, 120, 0, 0, 95, 382, 0, NULL, NULL, NULL, NULL, 53262), -- Henry Garrick (Area: Ogre Ruins - Difficulty: 0) CreateObject1
(@CGUID+21, 156807, 2175, 10424, 10529, '0', 13795, 0, 0, 1, 232.1614532470703125, -2292.53466796875, 80.9791717529296875, 4.706853866577148437, 120, 0, 0, 357, 0, 0, NULL, NULL, NULL, NULL, 53262); -- Captain Garrick (Area: Ogre Ruins - Difficulty: 0) CreateObject1
-- Add missing Creature Spawns
DELETE FROM `gameobject` WHERE `guid`=@OGUID;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
-- Horde
(@OGUID, 351765, 2175, 10424, 10529, '0', 15330, 0, 162.796875, -2303.585205078125, 81.78006744384765625, 0.724311470985412597, 0, 0, 0.354290962219238281, 0.935135245323181152, 7200, 255, 1, 53212);
-- Fix campfire at ogre ruins
UPDATE `gameobject_template_addon` SET `flags` = 4 WHERE `entry` = 342365;
-- Ride of the Scientifically Enhanced Boar
-- Pathing for Small Boar Entry: 156808
SET @NPC := @CGUID+4;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=165.30946,`position_y`=-2298.7698,`position_z`=82.51129 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Small Boar Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,165.30946,-2298.7698,82.51129,NULL,0),
(@PATH,2,170.00575,-2301.923,82.05885,NULL,0),
(@PATH,3,173.15572,-2298.7876,81.85623,NULL,0),
(@PATH,4,168.463,-2294.0735,81.95101,NULL,0);
-- Pathing for Henry Garrick Ogre Ruins
SET @NPC := 8000023;
SET @PATH := @NPC * 10;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Henry Garrick Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,231.05,-2297.1802,87.1176,NULL,0),
(@PATH,2,230.88,-2297.09,84.0067,NULL,0),
(@PATH,3,230.71,-2297,80.8958,NULL,0),
(@PATH,4,230.71,-2297,80.8958,1.396685,0);
UPDATE `creature` SET `StringId`= "captain_garrick_plains" WHERE `guid`=8000018;
UPDATE `creature` SET `StringId` = 'henry_garrick_ogre_ruins_prisoner' WHERE `guid`=8000023;
UPDATE `creature_template` SET `faction`=1, `ScriptName`="npc_captain_garrick_q55879" WHERE `entry`=174955;
UPDATE `creature_template` SET `ScriptName`="npc_giant_boar_vehicle_q55879" WHERE `entry`=156267;
UPDATE `creature_template` SET `ScriptName`="npc_torgok_q55879" WHERE `entry`=162817;
UPDATE `creature_template` SET `ScriptName`="npc_prisoner_q55879" WHERE `entry`=156799;
UPDATE `creature_template` SET `npcflag`=16777216 WHERE entry IN (156595);
UPDATE `creature_template` SET `VehicleId`=6832 WHERE `entry`=156267;
UPDATE `creature_template` SET `npcflag`=2 WHERE `entry` IN (156799,156807);
UPDATE `creature_template` SET `npcflag`=641 WHERE `entry` IN (156800);
DELETE FROM `creature_template_addon` WHERE `entry` IN (162817);
INSERT INTO `creature_template_addon` (`entry`,`visibilityDistanceType`,`emote`,`auras`) VALUES
(162817,3,617, ''); -- Torgok
-- Henry Garrick & Shuja Grimaxe
UPDATE `creature_template_movement` SET `Ground`=1, `Swim`=1 WHERE `CreatureId` IN (156799,167126);
DELETE FROM `npc_vendor` WHERE (`entry`=156800 AND `item`=168100 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=156800 AND `item`=117 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(156800, 2, 168100, 0, 0, 1, 0, 0, 53040), -- 168100
(156800, 1, 117, 0, 0, 1, 0, 1, 53040); -- 117
DELETE FROM `creature_template_gossip` WHERE `CreatureID`=156800;
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(156800, 24885, 53040); -- 156800
DELETE FROM `gossip_menu` WHERE (`MenuID`=24885 AND `TextID`=201865);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(24885, 201865, 53040); -- 156800
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (24885);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(24885, 49522, 0, 1, 'Let me browse your goods.', 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 53040);
DELETE FROM `creature_text` WHERE `CreatureID`=162817;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(162817, 0, 0, 'We take soul for ritual, you no stop!', 12, 0, 100, 0, 0, 0, 0, 0, 'Torgok aggro'),
(162817, 1, 0, 'Me never get... to see... ritual...', 12, 0, 100, 0, 0, 0, 0, 0, 'Torgok death');
-- Add Scenes for Ride of the Scientifically Enhanced Boar
DELETE FROM `scene_template` WHERE `SceneId` IN (2338,2341,2423,2422,2421,2420);
INSERT INTO `scene_template` (`SceneId`,`Flags`,`ScriptPackageID`,`Encrypted`,`ScriptName`) VALUES
(2338,16,2712,0,'scene_darkmaul_plains_skeleton_army_alliance'),
(2341,17,2933,0,''),
(2423,16,2825,0,''),
(2422,16,2824,0,''),
(2421,16,2823,0,''),
(2420,16,2822,0,'');
-- Summon data for Captain Garrick
DELETE FROM `creature_summoned_data` WHERE `CreatureID` IN (174955, 167126);
INSERT INTO `creature_summoned_data` (`CreatureID`,`CreatureIDVisibleToSummoner`,`GroundMountDisplayID`,`FlyingMountDisplayID`, `DespawnOnQuestsRemoved`) VALUES
(174955,156781,NULL,NULL,''),
(167126,NULL,NULL,NULL,'59942');
DELETE FROM `creature_equip_template` WHERE `CreatureID`=174955;
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(174955, 1, 163887, 0, 0, 163891, 0, 0, 0, 0, 0, 52808);
-- Spell Click
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (156595);
INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES
(156595,305068,1,0);
-- Spell Target Position
DELETE FROM `spell_target_position` WHERE `ID` IN (305069);
INSERT INTO `spell_target_position` (`ID`,`EffectIndex`,`MapID`,`PositionX`,`PositionY`,`PositionZ`,`VerifiedBuild`) VALUES
(305069,0,2175,116.44965,-2430.3699,90.6546,52649);
-- Condition for Spell click event condition type Queststate
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup` IN (156595) AND `SourceEntry` IN (305068) AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(18, 156595, 305068, 0, 0, 47, 0, 55879, 8, 0, 0, 0, 0, '', 'Spellclick unit Giant Boar will cast spell Summon Darkmaul Plains Questgivers (DNT) on player if quest Ride of the Scientifically Enhanced Boar queststate is INCOMPLETE');
-- Condition for source Spell implicit target condition type Object entry guid
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=325406 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 325406, 0, 0, 31, 0, 3, 162817, 0, 0, 0, 0, '', 'Spell Necrotic Ritual (effect 0) will hit the potential target of the spell if target is unit Torgok.');
-- Condition for Spell Ping Garrick (DNT)
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=316982 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 316982, 0, 0, 31, 0, 3, 174955, 0, 0, 0, 0, '', 'Spell Ping Garrick (DNT) (effect 0) will hit unit Alliance Captain.'),
(13, 1, 316982, 0, 1, 31, 0, 3, 167146, 0, 0, 0, 0, '', 'Spell Ping Garrick (DNT) (effect 0) will hit unit Horde Warrior.');
DELETE FROM `spell_script_names` WHERE `spell_id` IN (305779,173426,306357,296843,325368);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(305779,'spell_summon_darkmaul_plains_questgivers_q55879'),
(173426,'spell_riding_giant_boar_q55879'),
(306357,'spell_knockback_hint_q56034'),
(296843,'spell_gear_repaired_aura_q55194'),
(325368, 'spell_re_sizer_slaughter');
-- Phase Area
DELETE FROM `phase_area` WHERE `AreaId`=10424 AND `PhaseId` IN (14663,13835);
INSERT INTO `phase_area` (`AreaId`,`PhaseId`,`Comment`) VALUES
(10424,14663, 'Cosmetic - NPE - See Torgok <Binder of Souls>'),
(10424,13835, 'Cosmetic - NPE - See Captain Garrick, Lindie Springstock, Quartermaster Richter Ogre Ruins');
-- Phase Names
DELETE FROM `phase_name` WHERE `ID` IN (14663,13835);
INSERT INTO `phase_name` (`ID`,`Name`) VALUES
(14663,'Cosmetic - NPE - See Torgok <Binder of Souls>'),
(13835,'Cosmetic - NPE - See Captain Garrick, Lindie Springstock, Quartermaster Richter Ogre Ruins');
-- Phase Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (13775,13783) AND `ConditionValue1`=321670;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (13784,13779,13785,13780,13776,13766,13775) AND `ConditionValue1`=55879;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (13835,13794) AND `SourceEntry`=10424;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (14663) AND `SourceEntry`=10424 AND `ElseGroup`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26,13775,10588, 0, 0, 1, 0, 321670, 0, 0, 1, 0, 0, '', 'See Re-sized Boar at Plains if quest Ride if player does not have aura'),
(26,13783,10529, 0, 0, 1, 0, 321670, 0, 0, 1, 0, 0, '', 'See See the Army of Undead if quest Ride if player does not have aura'),
(26,13784,10424, 0, 0, 47, 0, 55879, 66, 0, 1, 0, 0, '', 'See Henry Garrick at Ogre Ruins if quest Ride of the Scientifically Enhanced Boar is not completed | rewarded'),
(26,13779,10588, 0, 0, 47, 0, 55879, 74, 0, 1, 0, 0, '', 'See Captain Garrick at Plains if quest Ride of the Scientifically Enhanced Boar is not taken | completed | rewarded'),
(26,13785,10588, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See The Scout-o-Matic 5000 at Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,13780,10588, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Austin Huxworth at Darkmaul Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,13780,10588, 0, 1, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Austin Huxworth at Darkmaul Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,13776,10588, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Lindie Springstock at Darkmaul Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,13766,10588, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Alliance crew at Darkmaul Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,13775,10588, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Re-sized Boar at Plains if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,14663,10424, 0, 0, 47, 0, 55879, 64, 0, 1, 0, 0, '', 'See Torgok <Binder of Souls> if quest Ride of the Scientifically Enhanced Boar is not rewarded'),
(26,14663,10424, 0, 0, 48, 0, 396499, 0, 8, 0, 0, 0, '', 'See Torgok <Binder of Souls> if quest Ride if player has objective complete'),
(26,13835,10424, 0, 0, 47, 0, 55879, 64, 0, 0, 0, 0, '', 'See Garrick at ogre ruins if quest Ride of the Scientifically Enhanced Boar is rewarded'),
(26,13794,10424, 0, 0, 47, 0, 55879, 64, 0, 0, 0, 0, '', 'See Lindie and Richter at ogre ruins if quest Ride of the Scientifically Enhanced Boar is rewarded');
-- Quest data
DELETE FROM `creature_queststarter` WHERE `id`=156280 AND `quest`=55879;
DELETE FROM `creature_queststarter` WHERE `id`=156807 AND `quest`=55194;
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(156280, 55879, 52649), -- Ride of the Scientifically Enhanced Boar accept from Captain Garrick
(156807, 55194, 52649); -- Stocking Up on Supplies accept from Captain Garrick
DELETE FROM `creature_questender` WHERE `id`=156799 AND `quest`=55879;
DELETE FROM `creature_questender` WHERE `id`=156807 AND `quest`=55194;
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(156799, 55879, 52649), -- Ride of the Scientifically Enhanced Boar turn in to Henry Garrick
(156807, 55194, 52649); -- Stocking Up on Supplies turn in to Captain Garrick
DELETE FROM `quest_template_addon` WHERE `ID` IN (55879,55194);
INSERT INTO `quest_template_addon` (`ID`,`AllowableClasses`,`PrevQuestID`,`NextQuestID`,`ScriptName`) VALUES
(55879,0,56034,0,'quest_ride_of_the_scientifically_enhanced_boar'), -- Ride of the Scientifically Enhanced Boar
(55194,0,55879,0,''); -- Stocking Up on Supplies
-- Conversation
DELETE FROM `conversation_template` WHERE `Id` IN (12090,12091,12092,12164,15615);
INSERT INTO `conversation_template` (`Id`,`FirstLineId`,`TextureKitId`,`ScriptName`,`VerifiedBuild`) VALUES
(12090,29443,0,'',52649),
(12091,29446,0,'',52649),
(12092,29447,0,'',52649),
(12164,29660,0,'',52649),
(15615,39167,0,'',52649);
DELETE FROM `conversation_actors` WHERE `ConversationId` IN (12090,12091,12092,12164,15615);
INSERT INTO `conversation_actors` (`ConversationId`,`ConversationActorId`,`ConversationActorGuid`,`Idx`,`CreatureId`,`CreatureDisplayInfoId`,`NoActorObject`,`ActivePlayerObject`,`VerifiedBuild`) VALUES
(12090,0,0,0,0,0,0,1,52649), -- Player
(12090,71372,0,1,0,0,0,0,52649), -- Captain Garrick
(12091,71587,8000023,0,0,0,0,0,52649), -- Henry Garrick
(12092,0,0,0,0,0,0,1,52649), -- Player
(12092,71372,0,1,0,0,0,0,52649), -- Captain Garrick
(12164,71372,0,0,0,0,0,0,52649), -- Captain Garrick
(15615,71372,0,0,0,0,0,0,52649), -- Captain Garrick
(15615,78493,0,1,0,0,0,0,52649); -- Henry Garrick
DELETE FROM `conversation_line_template` WHERE `Id` IN (29443,29444,29446,29660,29447,29448,29450,39167,39163,39164,39165,39166);
INSERT INTO `conversation_line_template` (`Id`,`UiCameraID`,`ActorIdx`,`Flags`,`VerifiedBuild`) VALUES
(29443,0,0,0,52649),
(29444,0,1,0,52649),
(29446,0,0,0,52649),
(29660,0,0,0,52649),
(29447,0,0,0,52649),
(29448,0,1,0,52649),
(29450,0,1,0,52649),
(39167,0,0,0,52649),
(39163,0,1,0,52649),
(39164,0,0,0,52649),
(39165,0,0,0,52649),
(39166,0,1,0,52649);
-- Lindie Springstock SAI 'Ogre Ruins'
SET @ENTRY := 150245;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 1, '', 1, 0, 100, 0, 8000, 10000, 8000, 10000, 66, 0, 0, 0, 0, 0, 0, 19, 156808, 10, 0, 0, 0, 0, 0, 'Every 8 - 10 seconds (OOC) - Self: Look at Closest alive creature Small Boar (156808) in 10 yards'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 5, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 8 - 10 seconds (OOC) - Self: Play emote 4');
-- Captain Garrick SAI 'Ogre Ruins'
SET @ENTRY := 156807;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 47, 0, 100, 0, 55194, 0, 0, 0, 11, 296845, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Self: Cast spell 296845 on Player who accepted');
-- Loot for Torgok
SET @ID := 162817;
UPDATE `creature_template_difficulty` SET `LootID`=@ID, GoldMin=4, GoldMax=20 WHERE `Entry` IN (@ID);
DELETE FROM `creature_loot_template` WHERE `Entry` IN (@ID);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(@ID,176398,0,100,0,1,0,1,1,'Torgok - Torgok\'s Reagent Pouch'),
(@ID,175245,0,5,0,1,0,1,1,'Torgok - Runetusk Necklace'),
(@ID,0,10100,10,0,1,0,1,1,'Torgok - Poor Quality Table Level 1 to 5');
-- Conditions for class loot
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=@ID;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1,@ID,176398,0,0,47,0,59610,64,0,1,0,0,'','Item drops if quest 59610 is not rewarded');
DELETE FROM `quest_template` WHERE `ID`=59610;
INSERT INTO `quest_template` (`ID`,`QuestType`,`RewardXPMultiplier`,`RewardMoneyMultiplier`,`RewardArtifactXPMultiplier`,`Flags`,`LogTitle`) VALUES
(59610,2,1,1,1,1024, '[Hidden Tracker] Torgok\'s Reagent Pouch Dropped');
-- Add missing scene spells "This will be updated in the future with end quest"
DELETE FROM `spell_area` WHERE `spell` IN (312605) AND `area` IN (10527);
DELETE FROM `spell_area` WHERE `spell` IN (321690,321691,321692,321693,325429) AND `area` IN (10424);
INSERT INTO `spell_area` (`spell`,`area`,`quest_start`,`quest_end`,`aura_spell`,`racemask`,`gender`,`flags`,`quest_start_status`,`quest_end_status`) VALUES
(312605,10527,55879,0,0,0,2,3,64,0),
(312605,10527,59942,0,0,0,2,3,64,0),
(321690,10424,55879,0,0,0,2,3,64,0),
(321690,10424,59942,0,0,0,2,3,64,0),
(321691,10424,55879,0,0,0,2,3,64,0),
(321691,10424,59942,0,0,0,2,3,64,0),
(321692,10424,55879,0,0,0,2,3,64,0),
(321692,10424,59942,0,0,0,2,3,64,0),
(321693,10424,55879,0,0,0,2,3,64,0),
(321693,10424,59942,0,0,0,2,3,64,0),
(325429,10424,59942,0,0,0,2,3,10,0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceEntry` IN (325429));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(17, 0, 325429, 0, 0, 48, 0, 397279, 0, 8, '', 0, 'Caster of the spell has quest objective 397279 == 8 (but hasn\'t rewarded quest yet)');
-- Re-Deather
UPDATE `creature` SET `StringId` = 'shuja_grimaxe_ogre_ruins_prisoner' WHERE `guid`=8000024;
UPDATE `creature_template` SET `ScriptName`="npc_warlord_grimaxe_q59942" WHERE `entry`=167146;
UPDATE `creature_template` SET `ScriptName`="npc_prisoner_q55879" WHERE `entry`=167126;
UPDATE `creature_template` SET `npcflag`=16777216 WHERE entry IN (167142);
DELETE FROM `creature_equip_template` WHERE `CreatureID`=167146;
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(167146, 1, 165616, 0, 0, 0, 0, 0, 0, 0, 0, 52808);
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (167142);
INSERT INTO `creature_template_movement` (`CreatureId`,`Ground`,`Swim`,`Flight`,`Rooted`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(167142,0,0,1,0,0,0,0); -- Choppy Booster Mk. 5
DELETE FROM `npc_vendor` WHERE `entry`=167213;
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(167213, 2, 178120, 0, 0, 1, 0, 0, 52808),
(167213, 1, 117, 0, 0, 1, 0, 1, 52808);
-- Quest data
DELETE FROM `creature_queststarter` WHERE `id`=167019 AND `quest`=59942;
DELETE FROM `creature_queststarter` WHERE `id`=167212 AND `quest`=59950;
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(167019, 59942, 52649), -- The Re-Deather accept from Cork Fizzlepop
(167212, 59950, 52649); -- Stocking Up on Supplies accept from Warlord Breka Grimaxe
DELETE FROM `creature_questender` WHERE `id`=167126 AND `quest`=59942;
DELETE FROM `creature_questender` WHERE `id`=167212 AND `quest`=59950;
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(167126, 59942, 52649), -- The Re-Deather turn in to Shuja Grimaxe
(167212, 59950, 52649); -- Stocking Up on Supplies turn in to Warlord Breka Grimaxe
DELETE FROM `quest_template_addon` WHERE `ID` IN (59942,59950);
INSERT INTO `quest_template_addon` (`ID`,`AllowableClasses`,`PrevQuestID`,`NextQuestID`,`ScriptName`) VALUES
(59942,0,59941,0,'quest_the_re_deather'), -- The Re-Deather
(59950,0,59942,0,''); -- Stocking Up on Supplies
-- Phase Area
DELETE FROM `phase_area` WHERE `AreaId`=10588 AND `PhaseId` IN (15331);
DELETE FROM `phase_area` WHERE `AreaId`=10424 AND `PhaseId` IN (15485,15447,15353,15338,15377);
INSERT INTO `phase_area` (`AreaId`,`PhaseId`,`Comment`) VALUES
(10588,15331, 'Cosmetic - NPE - See Choppy Booster Mk. 5 for Re-Deather'),
(10424,15485, 'Cosmetic - NPE - See Warlord Breka Grimaxe at Ogre Ruins'),
(10424,15447, 'Cosmetic - NPE - See Grunt Throg at Ogre Ruins'),
(10424,15353, 'Cosmetic - NPE - See Shuja Grimaxe at Ogre Ruins pre quest at Ogre Ruins'),
(10424,15338, 'Cosmetic - NPE - See Won\'sa and Lana Jordan at Ogre Ruins pre quest at Ogre Ruins'),
(10424,15377, 'Cosmetic - NPE - See Mithdran Dawntracker at Ogre Ruins pre quest at Ogre Ruins');
-- Phase Names
DELETE FROM `phase_name` WHERE `ID` IN (15331,15485,15447,15353,15338,15377);
INSERT INTO `phase_name` (`ID`,`Name`) VALUES
(15331,'Cosmetic - NPE - See Choppy Booster Mk. 5 for Re-Deather'),
(15485,'Cosmetic - NPE - See Warlord Breka Grimaxe at Ogre Ruins'),
(15447,'Cosmetic - NPE - See Grunt Throg at Ogre Ruins'),
(15353,'Cosmetic - NPE - See Shuja Grimaxe at Ogre Ruins pre quest at Ogre Ruins'),
(15338,'Cosmetic - NPE - See Won\'sa and Lana Jordan at Ogre Ruins pre quest at Ogre Ruins'),
(15377,'Cosmetic - NPE - See Mithdran Dawntracker at Ogre Ruins pre quest at Ogre Ruins');
-- Phase Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (15331) AND `SourceEntry`=10588;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (15319) AND `ConditionValue1`=59942;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (13783) AND `ConditionValue1`=325368;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (15485,15447,15353,15338,15377,15553,15316,15315,15318) AND `ConditionValue1`=59942;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (15316) AND `SourceEntry`=0;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (14663,15327) AND `ConditionValue1`=59942;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (14663) AND `ConditionValue1`=397279;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26,15331,10588, 0, 0, 47, 0, 59942, 8, 0, 0, 0, 0, '', 'Choppy Booster Mk. 5 if quest The Re-Deather is inprogress'),
(26,15331,10588, 0, 0, 1, 0, 325368, 0, 0, 1, 0, 0, '', 'See Choppy Booster Mk. 5 if player does not have aura'),
(26,15331,10588, 0, 0, 48, 0, 397279, 0, 0, 0, 0, 0, '', 'Player has quest objective 397279 == 0 (but hasn\'t rewarded quest yet)'),
(26,15319,10588, 0, 0, 47, 0, 59942, 1, 0, 0, 0, 0, '', 'Choppy Booster Mk. 5 if quest The Re-Deather is not taken'),
(26,13783,10529, 0, 0, 1, 0, 325368, 0, 0, 1, 0, 0, '', 'See See the Army of Undead if player does not have aura'),
(26,15485,10424, 0, 0, 47, 0, 59942, 64, 0, 0, 0, 0, '', 'See Warlord Breka Grimaxe at Ogre Ruins if quest The Re-Deather is rewarded'),
(26,15447,10424, 0, 0, 47, 0, 59942, 64, 0, 0, 0, 0, '', 'See Grunt Throg at Ogre Ruins if quest The Re-Deather is rewarded'),
(26,15353,10424, 0, 0, 47, 0, 59942, 64, 0, 0, 0, 0, '', 'See Shuja Grimaxe at Ogre Ruins pre quest if quest The Re-Deather is rewarded'),
(26,15338,10424, 0, 0, 47, 0, 59942, 64, 0, 0, 0, 0, '', 'See Won\'sa and Lana Jordan at Ogre Ruins pre quest if quest The Re-Deather is rewarded'),
(26,15377,10424, 0, 0, 47, 0, 59942, 64, 0, 0, 0, 0, '', 'See Mithdran Dawntracker at Ogre Ruins pre quest if quest The Re-Deather is rewarded'),
(26,15553,10588, 0, 0, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Horde Crew at Darkmaul Plains if quest The Re-Deather is not rewarded'),
(26,15316,10588, 0, 0, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Mithran Dawntracker at Darkmaul Plains if quest The Re-Deather is not rewarded'),
(26,15316,10588, 0, 1, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Mithran Dawntracker at Darkmaul Plains if quest The Re-Deather is not rewarded'),
(26,15315,10588, 0, 0, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Warlord Breka Grimaxe at Darkmaul Plains if quest The Re-Deather is not rewarded'),
(26,15318,10588, 0, 0, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Cork Fizzlepop at Darkmaul Plains if quest The Re-Deather is not rewarded'),
(26,14663,10424, 0, 1, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Torgok <Binder of Souls> if quest The Re-Deather is not rewarded'),
(26,14663,10424, 0, 1, 48, 0, 397279, 0, 8, 0, 0, 0, '', 'See Torgok <Binder of Souls> if quest Ride if player has objective complete'),
(26,15327,10424, 0, 0, 47, 0, 59942, 66, 0, 1, 0, 0, '', 'AND0 See Shuja Grimaxe at Ogre Ruins if quest The Re-Deather is not completed | rewarded Horde.');
-- Add Scenes for The Re-Deather
DELETE FROM `scene_template` WHERE `SceneId` IN (2489,2489,2497,2423,2422,2421,2420);
INSERT INTO `scene_template` (`SceneId`,`Flags`,`ScriptPackageID`,`Encrypted`,`ScriptName`) VALUES
(2489,17,2896,0,'scene_darkmaul_plains_skeleton_army_horde'),
(2497,17,2933,0,''),
(2423,16,2825,0,''),
(2422,16,2824,0,''),
(2421,16,2823,0,''),
(2420,16,2822,0,'');
-- Spell Click
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (167142);
INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES
(167142,325368,1,0);
-- Condition for Spell click event condition type Queststate
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup` IN (167142) AND `SourceEntry` IN (325368) AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(18, 167142, 325368, 0, 0, 47, 0, 59942, 8, 0, 0, 0, 0, '', 'Spellclick unit Choppy Booster Mk. 5 will cast spell Riding Choppy Booster Mk 5 (DNT) on player if quest The Choppy Booster Mk. 5 queststate is INCOMPLETE');
-- Spell Target Position
DELETE FROM `spell_target_position` WHERE `ID` IN (325368);
INSERT INTO `spell_target_position` (`ID`,`EffectIndex`,`MapID`,`PositionX`,`PositionY`,`PositionZ`,`VerifiedBuild`) VALUES
(325368,0,2175,107.87153,-2414.177,95.44844,52649);
-- Spell Target Position
DELETE FROM `spell_target_position` WHERE `ID` IN (325401);
INSERT INTO `spell_target_position` (`ID`,`EffectIndex`,`MapID`,`PositionX`,`PositionY`,`PositionZ`,`VerifiedBuild`) VALUES
(325401,0,2175,233.55,-2332.52,80.84,52649);
-- Summon data for Warlord Grimaxe
DELETE FROM `creature_summoned_data` WHERE `CreatureID` IN (167146);
INSERT INTO `creature_summoned_data` (`CreatureID`,`CreatureIDVisibleToSummoner`,`GroundMountDisplayID`,`FlyingMountDisplayID`, `DespawnOnQuestsRemoved`) VALUES
(167146,167145,NULL,NULL,'');
-- Conversation
DELETE FROM `conversation_template` WHERE `Id` IN (14525,14526,14527,15618);
INSERT INTO `conversation_template` (`Id`,`FirstLineId`,`TextureKitId`,`ScriptName`,`VerifiedBuild`) VALUES
(14525,36400,0,'',52649),
(14526,36402,0,'',52649),
(14527,36403,0,'',52649),
(15618,39171,0,'',52649);
DELETE FROM `conversation_actors` WHERE `ConversationId` IN (14525,14526,14527,15618);
INSERT INTO `conversation_actors` (`ConversationId`,`ConversationActorId`,`ConversationActorGuid`,`Idx`,`CreatureId`,`CreatureDisplayInfoId`,`NoActorObject`,`ActivePlayerObject`,`VerifiedBuild`) VALUES
(14525,75979,8000016,0,0,0,0,0,52649), -- Cork Fizzlepop
(14526,75979,0,0,167915,96314,0,0,52649), -- Cork Fizzlepop
(14527,76004,0,0,0,0,0,0,52649),
(14527,76357,0,1,0,0,0,0,52649),
(15618,76357,0,0,0,0,0,0,52649),
(15618,78501,0,1,0,0,0,0,52649);
DELETE FROM `conversation_line_template` WHERE `Id` IN (36400,36402,36403,36404,39171,39172,39173,39174,39175);
INSERT INTO `conversation_line_template` (`Id`,`UiCameraID`,`ActorIdx`,`Flags`,`VerifiedBuild`) VALUES
(36400,0,0,0,52649),
(36402,114,0,0,52649),
(36403,0,0,0,52649),
(36404,0,1,0,52649),
(39171,0,0,0,52649),
(39172,0,1,0,52649),
(39173,0,0,0,52649),
(39174,0,0,0,52649),
(39175,0,1,0,52649);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=14663 AND `ElseGroup`=1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26,14663,10424, 0, 1, 47, 0, 59942, 64, 0, 1, 0, 0, '', 'See Torgok <Binder of Souls> if quest The Re-Deather is not rewarded'),
(26,14663,10424, 0, 1, 48, 0, 397279, 0, 8, 0, 0, 0, '', 'See Torgok <Binder of Souls> if quest Ride if player has objective complete');
-- Westward Bound
UPDATE `creature` SET `StringId`= "bjorn_stouthands_pit_pre_quest" WHERE `guid`=1051890;
UPDATE `creature` SET `StringId`= "alaria_pit_pre_quest" WHERE `guid`=1051889;
UPDATE `creature` SET `StringId`= "lana_joran_pit_pre_quest" WHERE `guid`=8000057;
UPDATE `creature` SET `StringId`= "wonsa_pit_pre_quest" WHERE `guid`=8000058;
UPDATE `creature_template` SET `npcflag`=2 WHERE `entry` IN (154300,156891,167225);
UPDATE `creature_template` SET `ScriptName`="npc_bjorn_stouthands_q55965" WHERE `entry`=156891;
UPDATE `creature_template` SET `ScriptName`="npc_alaria_q55965" WHERE `entry`=156803;
UPDATE `creature_template` SET `ScriptName`="npc_lana_jordan_q59948" WHERE `entry`=167225;
UPDATE `creature_template` SET `ScriptName`="npc_wonsa_q59948" WHERE `entry`=167226;
DELETE FROM `creature_template_addon` WHERE `entry` IN (156891,158803,167225,167226);
INSERT INTO `creature_template_addon` (`entry`,`visibilityDistanceType`,`emote`,`auras`) VALUES
(156891,3,0, ''), -- Bjorn Stouthands
(158803,3,0, ''), -- Alaria
(167225,3,0, ''), -- Lana Jordan
(167226,3,0, ''); -- Won'sa
DELETE FROM `creature_text` WHERE `CreatureID` IN (156891,167225);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(156891,0,0,'All right, let\'s see what we can find.', 12, 0, 100, 0, 0, 153011, 178906, 0, 'Bjorn Stouthands to Player'),
(156891,1,0,'Well... I think we can say we found somethin\'.', 12, 0, 100, 0, 0, 153012, 178907, 0, 'Bjorn Stouthands to Player'),
(167225,0,0,'Let\'s see if we can find one of those rituals.', 12, 0, 100, 0, 0, 155935, 196409, 0, 'Lana Jordan to Player'),
(167225,1,0,'A dark pit and darker magic. I think we found the ritual.', 12, 0, 100, 0, 0, 155936, 196410, 0, 'Lana Jordan to Player');
-- Pathing for Bjorn Stouthands Entry: 156891
SET @NPC := 1051890;
SET @PATH := @NPC * 10;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Bjorn Stouthands Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,143.74654,-2304.6077,89.66764,NULL,0),
(@PATH,2,129.32639,-2291.981,94.09912,NULL,0),
(@PATH,3,119.19444,-2285.2258,96.639084,NULL,0),
(@PATH,4,111.0816,-2275.9983,97.39326,NULL,0),
(@PATH,5,102.78819,-2265.302,96.73692,NULL,0),
(@PATH,6,89.68403,-2249.264,94.694824,NULL,0),
(@PATH,7,89.68403,-2249.264,94.694824,1.939347267150878906,0);
-- Pathing for Alaria Entry: 156803
SET @NPC := 1051889;
SET @PATH := @NPC * 10;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Alaria Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,165.59766,-2308.5781,83.23175,NULL,0),
(@PATH,2,153.73611,-2305.8403,86.4088,NULL,0),
(@PATH,3,140.17014,-2296.8699,90.521965,NULL,0),
(@PATH,4,129.96355,-2287.9636,95.05551,NULL,0),
(@PATH,5,91.98264,-2246.8298,94.39893,NULL,0),
(@PATH,6,91.98264,-2246.8298,94.39893,2.024514675140380859,0);
-- Pathing for Lana Jordan Entry: 167225
SET @NPC := @CGUID+16;
SET @PATH := @NPC * 10;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Lana Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,149.25081,-2299.1108,89.23349,NULL,0),
(@PATH,2,138.00081,-2287.6108,93.98349,NULL,0),
(@PATH,3,125.25081,-2278.8608,97.48349,NULL,0),
(@PATH,4,102.25081,-2260.3608,96.23349,NULL,0),
(@PATH,5,92.015625,-2246.9114,94.41398,NULL,0),
(@PATH,6,92.015625,-2246.9114,94.41398,2.622560739517211914,0);
-- Pathing for Won'sa Entry: 167226
SET @NPC := @CGUID+17;
SET @PATH := @NPC * 10;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Wansa Ogre Ruins');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,146.84831,-2298.0352,89.56113,NULL,0),
(@PATH,2,134.59831,-2287.7852,94.81113,NULL,0),
(@PATH,3,112.09831,-2268.2852,97.31113,NULL,0),
(@PATH,4,94.09831,-2252.7852,95.06113,NULL,0),
(@PATH,5,89.265625,-2248.9602,94.66245,NULL,0),
(@PATH,6,89.265625,-2248.9602,94.66245,1.861210823059082031,0);
-- Quest data
DELETE FROM `creature_queststarter` WHERE `id`=154300 AND `quest`=55965;
DELETE FROM `creature_queststarter` WHERE `id`=167221 AND `quest`=59948;
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(154300, 55965, 52649), -- Westward Bound accept from Bjorn Stouthands Alliance
(167221, 59948, 52649); -- Westward Bound accept from Lana Jordan Horde
DELETE FROM `creature_questender` WHERE `id`=156891 AND `quest`=55965;
DELETE FROM `creature_questender` WHERE `id`=167225 AND `quest`=59948;
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(156891, 55965, 52649), -- Westward Bound turn in to Bjorn Stouthands Alliance
(167225, 59948, 52649); -- Westward Bound turn in to Lana Jordan Horde
DELETE FROM `quest_template_addon` WHERE `ID` IN (55965,59948);
INSERT INTO `quest_template_addon` (`ID`,`AllowableClasses`,`PrevQuestID`,`NextQuestID`,`ScriptName`) VALUES
(55965,0,55194,0,'quest_westward_bound_alliance'), -- Westward Bound Alliance
(59948,0,59950,0,'quest_westward_bound_horde'); -- Westward Bound Horde
-- Phase Area
DELETE FROM `phase_area` WHERE `AreaId`=10424 AND `PhaseId` IN (15337);
INSERT INTO `phase_area` (`AreaId`,`PhaseId`,`Comment`) VALUES
(10424,15337, 'Cosmetic - NPE - See Won\'sa and Lana Jordan at pit pre quest');
-- Phase Names
DELETE FROM `phase_name` WHERE `ID` IN (15337);
INSERT INTO `phase_name` (`ID`,`Name`) VALUES
(15337,'Cosmetic - NPE - See Won\'sa and Lana Jordan at pit pre quest');
-- Phase Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (15338,15337) AND `ConditionValue1` IN (59948,59949);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26,15338,10424, 0, 0, 47, 0, 59948, 74, 0, 1, 0, 0, '', 'See Won\'sa and Lana Jordan at Ogre Ruins pre quest if quest Westward Bound is not taken | complete | rewarded'),
(26,15337,10424, 0, 0, 47, 0, 59948, 74, 0, 0, 0, 0, '', 'See Won\'sa and Lana Jordan at pit pre quest if quest Westward Bound is taken | complete | rewarded'),
(26,15337,10424, 0, 0, 47, 0, 59949, 66, 0, 1, 0, 0, '', 'See Won\'sa and Lana Jordan at pit pre quest if quest Who Lurks in the Pit is not complete | rewarded');
UPDATE `creature` SET `PhaseUseFlags`=`PhaseUseFlags` | 0x01 WHERE `guid` IN(1051317, 1051942); -- fix spirithealer phases
UPDATE `creature_template_difficulty` SET `ContentTuningID`=957, `VerifiedBuild`=53262 WHERE (`Entry`=167146 AND `DifficultyID`=0); -- Horde Warrior
UPDATE `creature_template_difficulty` SET `ContentTuningID`=741, `VerifiedBuild`=53262 WHERE (`Entry`=167905 AND `DifficultyID`=0); -- Choppy Booster Mk. 5
UPDATE `creature_template_difficulty` SET `ContentTuningID`=741, `VerifiedBuild`=53262 WHERE (`Entry`=167915 AND `DifficultyID`=0); -- Cork Fizzlepop
UPDATE `creature_template` SET `faction`=116, `BaseAttackTime`=2000, `unit_flags`=64, `unit_flags2`=2048, `unit_flags3`=16 WHERE `entry`=167146; -- Horde Warrior
DELETE FROM `phase_area` WHERE `AreaId`=10424 AND `PhaseId` IN (15558, 13795);
INSERT INTO `phase_area` (`AreaId`,`PhaseId`,`Comment`) VALUES
(10424,15558, 'Cosmetic - NPE - See Breka and Shuja Grimaxe after freeing Shuja'),
(10424,13795, 'Cosmetic - NPE - See Captain and Henry Garrick after freeing Henry');
DELETE FROM `phase_name` WHERE `ID` IN (15558, 13795);
INSERT INTO `phase_name` (`ID`,`Name`) VALUES
(15558,'Cosmetic - NPE - See Breka and Shuja Grimaxe after freeing Shuja'),
(13795,'Cosmetic - NPE - See Captain and Henry Garrick after freeing Henry');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 26 AND `SourceEntry`=10424 AND `SourceGroup` IN(15558,13795);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 15558, 10424, 0, 0, 28, 0, 59942, 0, 0, '', 0, 'Player has completed quest quest The Re-Deather (59942) (but not yet rewarded)'),
(26, 13795, 10424, 0, 0, 28, 0, 55879, 0, 0, '', 0, 'Player has completed quest quest Ride of the Scientifically Enhanced Boar (55879) (but not yet rewarded)');
DELETE FROM `creature_template_addon` WHERE `entry` IN(156799, 167126);
DELETE FROM `creature_addon` WHERE `guid` IN(8000023, 8000024);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(8000023, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '305513 325408'),
(8000024, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '305513 325408');
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN(156799, 167126);
DELETE FROM `creature_movement_override` WHERE `SpawnId` IN(8000023, 8000024);
INSERT INTO `creature_movement_override` (`SpawnId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(8000023, 1, 1, 1, 0, 0, 0, 0),
(8000024, 1, 1, 1, 0, 0, 0, 0);
DELETE FROM `quest_request_items` WHERE `ID`=55879;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(55879, 0, 0, 0, 0, 'Please... help! I won\'t last much longer!', 53262); -- Ride of the Scientifically Enhanced Boar
UPDATE `creature_template_difficulty` SET `ContentTuningID`=741, `VerifiedBuild`=53262 WHERE (`Entry`=156267 AND `DifficultyID`=0); -- Giant Boar
UPDATE `creature_template_difficulty` SET `ContentTuningID`=741, `VerifiedBuild`=53262 WHERE (`Entry`=156736 AND `DifficultyID`=0); -- Re-sized Boar
UPDATE `creature_template_difficulty` SET `ContentTuningID`=741, `VerifiedBuild`=53262 WHERE (`Entry`=156749 AND `DifficultyID`=0); -- Lindie Springstock
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1421, `VerifiedBuild`=53262 WHERE (`Entry`=174955 AND `DifficultyID`=0); -- Alliance Captain
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=156807; -- Captain Garrick
UPDATE `creature_template` SET `faction`=2142, `speed_walk`=6.40000009536743164, `speed_run`=2.285714387893676757, `BaseAttackTime`=2000, `RangeAttackTime`=0, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=156267; -- Giant Boar
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048, `unit_flags3`=67108864 WHERE `entry`=156595; -- Giant Boar
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=32832, `unit_flags2`=2048, `unit_flags3`=67633152 WHERE `entry`=156736; -- Re-sized Boar
UPDATE `creature_template` SET `faction`=2618, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=156749; -- Lindie Springstock
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=156799; -- Henry Garrick
UPDATE `creature_template` SET `faction`=4, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=174955; -- Alliance Captain
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_pal_shield_of_the_righteous';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(53600, 'spell_pal_shield_of_the_righteous');
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_warl_doom';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(603, 'spell_warl_doom');
@@ -1,48 +0,0 @@
-- Frostmane Builder fixup
UPDATE `creature` SET `equipment_id`=2 WHERE `guid` IN (306720,306749,306685,306719,306721,306722,306725,306731,306748);
UPDATE `creature` SET `unit_flags`=537133824,`unit_flags2`=2049,`unit_flags3`=8192 WHERE `guid`=306672;
DELETE FROM `creature_addon` WHERE `guid` IN (306720,306749,306685,306719,306721,306722,306725,306731,306748,306672);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(306720, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- EMOTE_STATE_USE_STANDING
(306749, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- EMOTE_STATE_USE_STANDING
(306685, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306719, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306721, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306722, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306725, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306731, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306748, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, ''), -- EMOTE_STATE_WORK
(306672, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'); -- DEAD
DELETE FROM `creature_template_addon` WHERE `entry`=41251;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(41251, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, ''); -- EMOTE_STATE_WORK_CHOPWOOD
-- Covert Operative <Gnomeregan Covert Ops>
DELETE FROM `creature` WHERE `guid` IN (306637,306654);
UPDATE `creature` SET `unit_flags`=570721024,`unit_flags2`=2049,`unit_flags3`=8192 WHERE `guid`=306649;
DELETE FROM `creature_addon` WHERE `guid` IN (306671,306670,306645,306653,306649);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(306671, 0, 0, 0, 0, 0, 1, 1, 428, 0, 0, 0, 0, ''), -- EMOTE_STATE_LOOT
(306670, 0, 0, 0, 0, 0, 1, 1, 333, 0, 0, 0, 0, ''), -- EMOTE_STATE_READY1H
(306645, 0, 0, 0, 0, 0, 1, 1, 333, 0, 0, 0, 0, ''), -- EMOTE_STATE_READY1H
(306653, 0, 0, 0, 0, 0, 1, 1, 333, 0, 0, 0, 0, ''), -- EMOTE_STATE_READY1H
(306649, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '29266'); -- DEAD
-- Battok the Berserker
DELETE FROM `creature_template_addon` WHERE `entry`=41284;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(41284, 0, 0, 0, 0, 0, 1, 0, 10, 0, 0, 0, 0, ''); -- EMOTE_STATE_DANCE
-- Delete Vector Coil Fire (L) from frostmane Retreat
DELETE FROM `gameobject` WHERE `guid` IN (217535,217536,217541,217542,217543,217544,217545,217546);
-- Frostmane Retreat North, Frostmane Retreat South, Bombardment Bunny,
UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry` IN (41372,41373,41375);
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (41372,41373,41375);
INSERT INTO `creature_template_movement` (`CreatureId`,`Ground`,`Swim`,`Flight`,`Rooted`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(41372,0,0,1,1,0,0,0),
(41373,0,0,1,1,0,0,0),
(41375,0,0,1,1,0,0,0);
@@ -1,26 +0,0 @@
-- Pathing for Golorn Frostbeard Entry: 1692
SET @NPC := 1692;
SET @PATH := @NPC * 100;
-- UPDATE `creature_template` SET `flags_extra`=536870912 WHERE `entry`=1692; -- disable pathfinding as it adversely affects path
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Golorn Frostbeard - Idle');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,0,-5636.061,-495.83292,396.67853,NULL,0),
(@PATH,1,-5640.068,-496.73785,396.66605,NULL,0),
(@PATH,2,-5641.3994,-498.89606,396.66736,NULL,0),
(@PATH,3,-5640.8315,-501.3918,396.66876,NULL,19000), -- sniffed 17s to 20s on official
(@PATH,4,-5641.3994,-498.89606,396.66736,NULL,0),
(@PATH,5,-5640.068,-496.73785,396.66605,NULL,0),
(@PATH,6,-5636.061,-495.83292,396.67853,NULL,0),
(@PATH,8,-5633.44,-496.477,396.69183,2.199115,35000); -- sniffed 30s to 40s on offical
UPDATE `creature` SET `MovementType`=2 WHERE `guid`=306365;
DELETE FROM `creature_addon` WHERE `guid`=306365;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(306365,@PATH,0,0,1,0,0, '');
@@ -1,18 +0,0 @@
-- Kogan Forgestone SAI
SET @ENTRY := 1245;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (124500);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 59000, 59000, 80, 124500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 59 seconds (0s initially) (OOC) - Self: Start timed action list id #Kogan Forgestone #0 (124500) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 2.9147, 'After 1 seconds - Self: Set orientation to 2.9147'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 50, 372, 15, 0, 0, 0, 0, 8, 0, 0, 0, -5577.55, -429.308, 398.608, 0.733038, 'After 0 seconds - Self: Summon gameobject Battleground Shield (372) at (-5577.55, -429.308, 398.608, 0.733038) and despawn in 15 s'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 17, 233, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Set emote state to STATE_WORK_MINING (233)'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 15000, 15000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 15 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set walk'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5575.67, -430.965, 397.466, 0, 'After 0 seconds - Self: Move to position (-5575.67, -430.965, 397.466, 0)'),
(@ENTRY * 100, 9, 6, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 3.89208, 'After 1 seconds - Self: Set orientation to 3.89208'),
(@ENTRY * 100, 9, 7, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 50, 372, 15, 0, 0, 0, 0, 8, 0, 0, 0, -5577.32, -432.01, 397.881, 0.226892, 'After 0 seconds - Self: Summon gameobject Battleground Shield (372) at (-5577.32, -432.01, 397.881, 0.226892) and despawn in 15 s'),
(@ENTRY * 100, 9, 8, 0, '', 0, 0, 100, 0, 38000, 38000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5576.37, -429.771, 397.484, 0, 'After 38 seconds - Self: Move to position (-5576.37, -429.771, 397.484, 0)');
-- Delete 22 db Spawns that should be temp spawns
DELETE FROM `gameobject` WHERE `id`=372;
@@ -1,19 +0,0 @@
-- Tognus Flintfire smart ai
SET @ENTRY := 1241;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (124100);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 48000, 48000, 80, 124100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 48 seconds (0s initially) (OOC) - Self: Start timed action list id #Tognus Flintfire #0 (124100) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5581.89, -429.616, 397.568, 0, 'After 0 seconds - Self: Move to position (-5581.89, -429.616, 397.568, 0)'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 50, 386, 15, 0, 0, 0, 0, 8, 0, 0, 0, -5581.09, -429.379, 398.676, 2.02458, 'After 1 seconds - Self: Summon gameobject Metal Mace (386) at (-5581.09, -429.379, 398.676, 2.02458) and despawn in 15 s'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 17, 233, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Set emote state to STATE_WORK_MINING (233)'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 11000, 11000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 11 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set walk'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5582.41, -430.97, 397.447, 0, 'After 2 seconds - Self: Move to position (-5582.41, -430.97, 397.447, 0)'),
(@ENTRY * 100, 9, 6, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 5.39307, 'After 1 seconds - Self: Set orientation to 5.39307'),
(@ENTRY * 100, 9, 7, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 50, 386, 29, 0, 0, 0, 0, 8, 0, 0, 0, -5581.48, -432.389, 397.881, 2.18166, 'After 1 seconds - Self: Summon gameobject Metal Mace (386) at (-5581.48, -432.389, 397.881, 2.18166) and despawn in 29 s'),
(@ENTRY * 100, 9, 8, 0, '', 0, 0, 100, 0, 30000, 30000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5582.41, -430.97, 397.447, 0, 'After 30 seconds - Self: Move to position (-5582.41, -430.97, 397.447, 0)');
-- Delete 27 db Spawns that should be temp spawns
DELETE FROM `gameobject` WHERE `id`=386;
@@ -1,22 +0,0 @@
-- Gremlock Pilsnor smart ai
SET @ENTRY := 1699;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (169900);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 107000, 107000, 80, 169900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 107 seconds (0s initially) (OOC) - Self: Start timed action list id #Gremlock Pilsnor #0 (169900) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set walk'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 14000, 14000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5594.47, -545.82, 398.948, 0, 'After 14 seconds - Self: Move to position (-5594.47, -545.82, 398.948, 0)'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1.81514, 'After 1 seconds - Self: Set orientation to 1.81514'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Take off all equipped items'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 25000, 25000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5600.58, -543.316, 399.097, 0, 'After 25 seconds - Self: Move to position (-5600.58, -543.316, 399.097, 0)'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 4.7822, 'After 3 seconds - Self: Set orientation to 4.7822'),
(@ENTRY * 100, 9, 6, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 11, 76334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast spell Cooking - Cosmetic (76334) on Self'),
(@ENTRY * 100, 9, 7, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 11, 76334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Cast spell Cooking - Cosmetic (76334) on Self'),
(@ENTRY * 100, 9, 8, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 11, 76334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Cast spell Cooking - Cosmetic (76334) on Self'),
(@ENTRY * 100, 9, 9, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 11, 76334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Cast spell Cooking - Cosmetic (76334) on Self'),
(@ENTRY * 100, 9, 10, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 11, 76334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Cast spell Cooking - Cosmetic (76334) on Self'),
(@ENTRY * 100, 9, 11, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 71, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Equip equipment set 1'),
(@ENTRY * 100, 9, 12, 0, '', 0, 0, 100, 0, 10000, 10000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -5593.66, -542.815, 398.948, 0, 'After 10 seconds - Self: Move to position (-5593.66, -542.815, 398.948, 0)'),
(@ENTRY * 100, 9, 13, 0, '', 0, 0, 100, 0, 12000, 12000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 12 seconds - Self: Set emote state to STATE_USESTANDING (69)'),
(@ENTRY * 100, 9, 14, 0, '', 0, 0, 100, 0, 20000, 20000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 20 seconds - Self: Set emote state to 0');
@@ -1,30 +0,0 @@
-- This Wouunded Mountaineer should be kneeling
DELETE FROM `creature_addon` WHERE `guid` IN (306342);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(306342, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, '');
-- Technician missing emotestate
DELETE FROM `creature_template_addon` WHERE `entry`=41393;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(41393, 0, 0, 0, 0, 0, 1, 0, 173, 0, 0, 0, 0, '');
-- Warstrider Cannon SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=41366;
DELETE FROM `smart_scripts` WHERE `entryorguid`=41366 AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(41366,0,0,0,1,0,100,1,1000,1000,1000,1000,0,11,46598,0,0,0,0,0,19,41365,1,0,0,0,0,0,0,'OOC cast ride vehicle once');
DELETE FROM `creature` WHERE `id`=41366;
DELETE FROM `vehicle_template_accessory` WHERE (`entry`=41365 AND `seat_id`=0);
INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES
(41365, 41366, 0, 1, 'Warstrider Prototype - Warstrider Cannon', 8, 0); -- Warstrider Prototype - Warstrider Cannon
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=41365;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(41365, 46598, 1, 1);
-- Update movement for Warstrider Cannon
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (41366);
INSERT INTO `creature_template_movement` (`CreatureId`,`Ground`,`Swim`,`Flight`,`Rooted`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(41366,0,0,1,1,0,0,0);
@@ -1,53 +0,0 @@
-- Pathing for Buin "Phloppy" Freehand Entry: 43352
SET @NPC := 43352;
SET @PATH := @NPC * 100;
DELETE FROM `waypoint_path` WHERE `PathId` IN (@PATH, @PATH+1);
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Buin "Phloppy" Freehand - Pickup sack'),
(@PATH+1,0,0,'Buin "Phloppy" Freehand - Put sack');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH, @PATH+1);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5327.369,-1049.114,393.48065,NULL,0),
(@PATH,2,-5333.88,-1047.53,396.37463,NULL,0),
(@PATH,3,-5342.15,-1045.4,396.55692,NULL,0),
(@PATH,4,-5347.22,-1043.99,395.29846,NULL,0),
(@PATH,5,-5353.2,-1045.4,394.60522,NULL,0),
(@PATH,6,-5356.63,-1046.43,394.45398,NULL,0),
(@PATH,7,-5364.01,-1051.07,394.09357,NULL,0),
(@PATH,8,-5379.9785,-1051.9141,392.5756,NULL,0),
(@PATH,9,-5397.13,-1047.28,391.11234,NULL,0),
(@PATH,10,-5402.08,-1041.68,390.77133,NULL,0),
(@PATH,11,-5410.98,-1043.86,392.52325,NULL,0),
(@PATH,12,-5417.56,-1046.09,393.81155,NULL,0),
(@PATH+1,1,-5401.83,-1041.84,390.77032,NULL,0),
(@PATH+1,2,-5397.03,-1047.69,391.1369,NULL,0),
(@PATH+1,3,-5378.8,-1052.12,392.7226,NULL,0),
(@PATH+1,4,-5364.23,-1050.28,394.08246,NULL,0),
(@PATH+1,5,-5353.2383,-1045.4746,394.52502,NULL,0),
(@PATH+1,6,-5343.23,-1044.66,396.39218,NULL,0),
(@PATH+1,7,-5339.66,-1046.02,396.5569,NULL,0),
(@PATH+1,8,-5334.69,-1047.18,396.55695,NULL,0),
(@PATH+1,9,-5328.56,-1048.75,393.66238,NULL,0),
(@PATH+1,10,-5324.21,-1049.56,393.48068,NULL,0),
(@PATH+1,11,-5317.26,-1050.86,393.64874,NULL,0);
-- Buin "Phloppy" Freehand smart ai
SET @ENTRY := 43352;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (@ENTRY * 100, @ENTRY * 100 + 1);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 11, 0, 100, 0, 0, 0, 0, 0, 53, 0, @PATH, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(@ENTRY, 0, 1, 0, '', 58, 0, 100, 0, 12, @PATH, 0, 0, 80, 4335200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, CONCAT('On waypoint 12 of path ', @PATH, ' ended - Self: Start timed action list id #Buin "Phloppy" Freehand #0 (4335200) (update out of combat) // -inline')),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set emote state to STATE_USESTANDING (69)'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 5000, 5000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 5 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 11, 81041, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Cast spell Sack Carry State (81041) on Self'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 53, 0, @PATH+1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, CONCAT('After 1 seconds - Self: Start path #', @PATH+1, ', walk, do not repeat, Passive')),
(@ENTRY, 0, 2, 0, '', 58, 0, 100, 0, 11, @PATH+1, 0, 0, 80, 4335201, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, CONCAT('On waypoint 11 of path ', @PATH+1, ' ended - Self: Start timed action list id #Buin "Phloppy" Freehand #1 (4335201) (update out of combat) // -inline')),
(@ENTRY * 100 + 1, 9, 0, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 28, 81041, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Remove aura due to spell Sack Carry State (81041)'),
(@ENTRY * 100 + 1, 9, 1, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 53, 0, @PATH, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, CONCAT('After 1 seconds - Self: Start path #', @PATH, ', walk, do not repeat, Passive'));
UPDATE `creature_template_addon` SET `auras`='' WHERE `entry`=43352;
UPDATE `creature` SET `position_x`=-5317.26,`position_y`=-1050.86,`position_z`=393.64874 WHERE `guid`=306710;
@@ -1,42 +0,0 @@
-- Father Gavin smart ai
SET @ENTRY := 1253;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (125300);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 120000, 130000, 80, 125300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 120 - 130 seconds (0 - 0s initially) (OOC) - Self: Start timed action list id #Father Gavin #0 (125300) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Play emote ONESHOT_TALK(DNR) (1)'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 4000, 4000, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Play emote ONESHOT_TALK(DNR) (1)');
-- Kelaan smart ai
SET @ENTRY := 43354;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (4335400);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 120000, 130000, 80, 125300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 120 - 130 seconds (0 - 0s initially) (OOC) - Self: Start timed action list id #Father Gavin #0 (125300) (update out of combat) // -inline');
-- Lowan Featherbreeze smart ai
SET @ENTRY := 43355;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
UPDATE `creature_template_addon` SET `auras`='' WHERE `entry`=43355;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (4335500);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 0, 0, 120000, 130000, 5, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 120 - 130 seconds (0 - 0s initially) (OOC) - Self: Play emote ONESHOT_QUESTION(DNR) (6)'),
(@ENTRY, 0, 1, 0, '', 1, 0, 100, 0, 10000, 10000, 120000, 130000, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 120 - 130 seconds (10 - 10s initially) (OOC) - Self: Play emote ONESHOT_EXCLAMATION(DNR) (5)'),
(@ENTRY, 0, 2, 0, '', 1, 0, 100, 0, 20000, 20000, 180000, 190000, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 180 - 190 seconds (20 - 20s initially) (OOC) - Self: Play emote ONESHOT_EXCLAMATION(DNR) (5)'),
(@ENTRY, 0, 3, 0, '', 1, 0, 100, 0, 30000, 30000, 120000, 130000, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 120 - 130 seconds (30 - 30s initially) (OOC) - Self: Play emote ONESHOT_POINT(DNR) (25)'),
(@ENTRY, 0, 4, 0, '', 10, 0, 100, 0, 1, 20, 300000, 300000, 80, 4335500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On only non hostile unit in line of sight (OOC) - Self: Start timed action list id #Lowan Featherbreeze #0 (4335500) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 10, 306713, 1253, 0, 0, 0, 0, 0, 'After 0 seconds - Creature Father Gavin (1253) with guid 306713 (fetching): Talk 0 to invoker'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 8 seconds - Self: Talk 0 to invoker');
DELETE FROM `creature_text` WHERE `CreatureID` IN (1253,43355);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1253, 0, 0, 'I have sent to Light\'s Hope Chapel for a grant of gold for the care of the refugees. Carry out your mission, but help as you can.', 12, 0, 100, 1, 0, 0, 43423, 0, 'Father Gavin to Lowan Featherbreeze'),
(43355, 0, 0, 'Thank you, Father Gavin. The world needs more like you and Buin in these dark times.', 12, 0, 100, 5, 0, 0, 43424, 0, 'Lowan Featherbreeze to Lowan Featherbreeze');
-- This Refugee should be sitting
DELETE FROM `creature_addon` WHERE `guid`=306707;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(306707,0,0,1,0,0,1,0,0,0,0,0,0,'');
@@ -1,24 +0,0 @@
-- Timed list 4947900 smart ai
SET @ENTRY := 4947900;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Last action invoker: Close gossip'),
(@ENTRY, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove npc flags QUESTGIVER'),
(@ENTRY, 9, 2, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove stand state KNEEL'),
(@ENTRY, 9, 3, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 11, 87071, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Cast spell Alchemy (87071) on Self'),
(@ENTRY, 9, 4, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 11, 92388, 0, 0, 0, 0, 0, 19, 8584, 15, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast spell Curing Ivveron (92388) on Closest alive creature Iverron (8584) in 15 yards'),
(@ENTRY, 9, 5, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Talk Iverron\'s poison is cured, but it will take some time for hi... (0) to invoker'),
(@ENTRY, 9, 6, 0, '', 0, 0, 100, 0, 7000, 7000, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 7 seconds - Self: Set stand state to KNEEL'),
(@ENTRY, 9, 7, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Add npc flags QUESTGIVER');
-- Set Moonwell Bunny as trigger
UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry`=34575;
-- Fix Iverron Location from sniff
UPDATE `creature` SET `position_x`=10547.4599609375, `position_y`=874.11456298828125, `position_z`=1309.520751953125, `orientation`=0.667657673358917236 WHERE `guid`=313191;
UPDATE `creature` SET `position_x`=10547.3720703125, `position_y`=874.19097900390625, `position_z`=1309.529052734375, `orientation`=2.501891136169433593 WHERE `guid`=331007;
UPDATE `creature_template_addon` SET `StandState`=0 WHERE `entry`=8584;
-- Fix Dentaria Silverglade Location from sniff
UPDATE `creature` SET `position_x`=10545.201171875, `position_y`=875.4375, `position_z`=1309.362548828125, `orientation`=5.992145538330078125 WHERE `guid`=313193;
UPDATE `creature` SET `position_x`=10545.201171875, `position_y`=875.4375, `position_z`=1309.36279296875, `orientation`=5.97093057632446289 WHERE `guid`=331003;
@@ -1,66 +0,0 @@
-- Shadowglen Loot fix
SET @REF := 2000;
-- Reference Demon Loot
SET @REFDEMON := @REF;
DELETE FROM `reference_loot_template` WHERE `Entry`=@REFDEMON;
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(@REFDEMON,67310,0,80,0,1,1,1,1, 'Demon Junk 1 - Demon Hair'),
(@REFDEMON,23384,0,20,0,1,1,1,1, 'Demon Junk 1 - Dimly Glowing Eye');
-- Reference Boar Loot
SET @REFBOAR := @REF + 1;
DELETE FROM `reference_loot_template` WHERE `Entry`=@REFBOAR;
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(@REFBOAR,117,0,80,0,1,1,1,1, 'Boar Junk 1 - Tough Jerky'),
(@REFBOAR,771,0,20,0,1,1,1,1, 'Boar Junk 1 - Chipped Boar tusk');
-- Reference Spider Loot
SET @REFSPIDER := @REF + 2;
DELETE FROM `reference_loot_template` WHERE `Entry`=@REFSPIDER;
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(@REFSPIDER,7101,0,50,0,1,1,1,1, 'Spider Junk 1 - Bug Eye'),
(@REFSPIDER,1288,0,30,0,1,1,1,1, 'Spider Junk 1 - Large Venom Sac'),
(@REFSPIDER,32714,0,20,0,1,1,1,1, 'Spider Junk 1 - Splintered Spider Fang');
-- Young Thistle Boar junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1984 AND `Item` IN (4865,7098);
UPDATE `creature_loot_template` SET `Chance`=100, `MaxCount`=1, `Comment`='Young Thistle Boar <Junk> - Tough Jerky' WHERE `Entry`=1984 AND `Item`=117;
-- Thistle Boar junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1985 AND `Item` IN (117,159,769,4540,4865,7098,@REFBOAR);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1985,@REFBOAR,@REFBOAR,100,0,1,0,1,1, 'Thistle Boar <Junk> - Ref Boar Junk 1');
-- Webwood Spider junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1986 AND `Item` IN (117,159,1476,2070,4536,4540,5166,7100,7101,10640,@REFSPIDER);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1986,@REFSPIDER,@REFSPIDER,100,0,1,0,1,1, 'Webwood Spider <Junk> - Ref Spider Junk 1');
-- Grell junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1988 AND `Item` IN (117,159,2070,4536,4540,@REFDEMON);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1988,@REFDEMON,@REFDEMON,100,0,1,0,1,1, 'Grell <Junk> - Ref Demon Junk 1');
-- Grellkin junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1989 AND `Item` IN (117,159,2070,4536,4540,10639,@REFDEMON);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1989,@REFDEMON,@REFDEMON,100,0,1,0,1,1, 'Grellkin <Junk> - Ref Demon Junk 1');
-- Githyiss the Vile junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=1994 AND `Item` IN (117,159,1476,2070,4536,4540,7100,7101,@REFSPIDER);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(1994,@REFSPIDER,@REFSPIDER,100,0,1,0,1,1, 'Githyiss the Vile <Junk> - Ref Spider Junk 1');
-- Young Nightsaber junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=2031 AND `Item` IN (4865,7073,7074,62391);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(2031,62391,0,100,0,1,0,1,1, 'Young Nightsaber <Junk> - Cat Hair');
-- Mangy Nightsaber junk loot fix for master
DELETE FROM `creature_loot_template` WHERE `Entry`=2032 AND `Item` IN (4865,7073,7074,62391);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(2032,62391,0,100,0,1,0,1,1, 'Mangy Nightsaber <Junk> - Cat Hair');
-- Grell and Grellkin no longer hav coin
UPDATE `creature_template_difficulty` SET `GoldMin`=0, `GoldMax`=0 WHERE `Entry` IN (1988,1989);
@@ -1,11 +0,0 @@
-- Kurtok the Slayer SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=42938;
DELETE FROM `smart_scripts` WHERE `entryorguid`=42938 AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(42938,0,0,0,4,0,100,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Kurtok the Slayer - On Aggro - Say text 0'),
(42938,0,1,0,6,0,100,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Kurtok the Slayer - On Death - Say text 1');
DELETE FROM `creature_text` WHERE `CreatureID`=42938;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(42938, 0, 0, 'Alliance weakling, your lands will burn!', 12, 0, 100, 5, 0, 0, 0, 0, 'Kurtok the Slayer'),
(42938, 1, 0, 'The Blackrock Clan will end you...', 12, 0, 100, 0, 0, 0, 0, 0, 'Kurtok the Slayer');
@@ -1,224 +0,0 @@
-- Merchant Square Gilnean City Guard and Panicked Citizens at gate
-- Gilnean City Guard SAI
SET @NPC := 376310;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=34864;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 10000, 50000, 50000, 50000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 50 - 50 seconds (10 - 50s initially) (OOC) - Self: Talk 0 to invoker');
-- Panicked Citizen SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=44086;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (44086) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(44086, 0, 0, 0, '', 1, 0, 100, 0, 1000, 6000, 6000, 9000, 10, 1, 5, 18, 20, 430, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 9 seconds (1 - 6s initially) (OOC) - Self: Play random emote: ONESHOT_TALK(DNR) (1), ONESHOT_EXCLAMATION(DNR) (5), ONESHOT_CRY (18), ONESHOT_BEG (20), ONESHOT_COWER(DNR) (430),');
-- Panicked Citizen SAI
SET @NPC := 376285;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 1000, 6000, 6000, 9000, 10, 1, 5, 18, 20, 430, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 6 - 9 seconds (1 - 6s initially) (OOC) - Self: Play random emote: ONESHOT_TALK(DNR) (1), ONESHOT_EXCLAMATION(DNR) (5), ONESHOT_CRY (18), ONESHOT_BEG (20), ONESHOT_COWER(DNR) (430),'),
(-@NPC, 0, 1, 0, '', 1, 0, 100, 0, 45000, 55000, 45000, 55000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 45 - 55 seconds (OOC) - Self: Talk 0 to invoker');
DELETE FROM `creature_text` WHERE `CreatureID` IN (34864,44086);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(34864, 0, 0, 'No one\'s allowed to leave. Prince Liam\'s orders.', 12, 0, 100, 1, 0, 0, 44373, 0, 'Gilneas City Guard'),
(34864, 0, 1, 'It isn\'t safe to leave, there\'s something lurking out there in the woods.', 12, 0, 100, 1, 0, 0, 44374, 0, 'Gilneas City Guard'),
(34864, 0, 2, 'Stay calm. We have everything under control.', 12, 0, 100, 1, 0, 0, 44375, 0, 'Gilneas City Guard'),
(44086, 0, 0, 'You can\'t do this to us!', 12, 0, 100, 5, 0, 0, 44377, 0, 'Panicked Citizen to Gilneas City Guard'),
(44086, 0, 1, 'My children are in Stormglen alone! I have to get to them!', 12, 0, 100, 1, 0, 0, 44378, 0, 'Panicked Citizen to Gilneas City Guard'),
(44086, 0, 2, 'What\'s going on? I thought I saw something on the rooftops.', 12, 0, 100, 5, 0, 0, 44379, 0, 'Panicked Citizen to Gilneas City Guard');
-- Paniced Citizens Overspawns
DELETE FROM `creature` WHERE `guid` IN (376293,376343,376347,376372);
DELETE FROM `creature_addon` WHERE `guid` IN (376293,376343,376347,376372);
-- Static Paniced Citizens in Merchant Square missing emotestate
DELETE FROM `creature_addon` WHERE `guid` IN (376247,376249,376341,376354,376355,376313,376333,376252);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(376247, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376249, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376341, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376354, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376355, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376313, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376333, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385'),
(376252, 0, 0, 0, 0, 0, 1, 0, 431, 0, 0, 0, 0, '52385');
-- Shadowy Figures Missing scripting
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=34867;
SET @NPC := 376319;
UPDATE `creature` SET `Position_x`=-1420.2126,`Position_y`=1428.7153,`Position_z`=72.53332 WHERE `guid`=@NPC;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 9000, 9000, 18000, 18000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1420.96, 1408.97, 63.7833, 0, 'Every 18 seconds (9s initially) (OOC) - (0, 0, 0): Jump to pos (-1420.96, 1408.97, 63.7833, 0) with speed XY 16 and speed Z 19'),
(-@NPC, 0, 1, 0, '', 1, 0, 100, 0, 18000, 18000, 18000, 18000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1420.21, 1428.72, 72.5333, 0, 'Every 18 seconds (OOC) - (0, 0, 0): Jump to pos (-1420.21, 1428.72, 72.5333, 0) with speed XY 16 and speed Z 19');
SET @NPC := 376334;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 10000, 10000, 20000, 20000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1506.57, 1451.03, 71.1976, 0, 'Every 20 seconds (10s initially) (OOC) - (0, 0, 0): Jump to pos (-1506.57, 1451.03, 71.1976, 0) with speed XY 16 and speed Z 19'),
(-@NPC, 0, 1, 0, '', 1, 0, 100, 0, 20000, 20000, 20000, 20000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1464.9, 1450.8, 71.7703, 0, 'Every 20 seconds (OOC) - (0, 0, 0): Jump to pos (-1464.9, 1450.8, 71.7703, 0) with speed XY 16 and speed Z 19');
SET @NPC := 376306;
UPDATE `creature` SET `position_x`=-1513.757,`position_y`=1319.5868,`position_z`=72.689926 WHERE `guid`=@NPC;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 10000, 10000, 20000, 20000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1488.44, 1327.37, 71.0626, 0, 'Every 20 seconds (10s initially) (OOC) - (0, 0, 0): Jump to pos (-1488.44, 1327.37, 71.0626, 0) with speed XY 16 and speed Z 19'),
(-@NPC, 0, 1, 0, '', 1, 0, 100, 0, 20000, 20000, 20000, 20000, 97, 16, 19, 0, 0, 0, 0, 8, 0, 0, 0, -1513.76, 1319.59, 72.6899, 0, 'Every 20 seconds (OOC) - (0, 0, 0): Jump to pos (-1513.76, 1319.59, 72.6899, 0) with speed XY 16 and speed Z 19');
SET @NPC := 376323;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 10000, 11000, 10000, 11000, 5, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 10 - 11 seconds (OOC) - Self: Play emote ONESHOT_ROAR(DNR) (15)');
SET @NPC := 376284;
SET @SCRIPT := 3486700;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@SCRIPT) AND `source_type`=9;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(-@NPC, 0, 0, 0, '', 1, 0, 100, 0, 2000, 5000, 20000, 20000, 80, @SCRIPT, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 20 - 20 seconds (2 - 5s initially) (OOC) - Self: Start timed action list id #Waypoint (Only GM can see it) #0 (100) (update out of combat) // -inline'),
(@SCRIPT, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove stand state KNEEL'),
(@SCRIPT, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set walk'),
(@SCRIPT, 9, 2, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -1421.68, 1391.15, 71.27, 0, 'After 0 seconds - Self: Move to position (-1421.68, 1391.15, 71.27, 0)'),
(@SCRIPT, 9, 3, 0, '', 0, 0, 100, 0, 2500, 2500, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2.5 seconds - Self: Set stand state to KNEEL'),
(@SCRIPT, 9, 4, 0, '', 0, 0, 100, 0, 7000, 7000, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 7 seconds - Self: Remove stand state KNEEL'),
(@SCRIPT, 9, 5, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -1421.56, 1386.36, 71.8755, 0, 'After 0 seconds - Self: Move to position (-1421.56, 1386.36, 71.8755, 0)'),
(@SCRIPT, 9, 6, 0, '', 0, 0, 100, 0, 2500, 2500, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2.5 seconds - Self: Set stand state to KNEEL');
-- Pathing for Rat Entry: 4075
SET @CGUID := 376325;
SET @PATH := 4075 * 100 + 0;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-1585.2135,`position_y`=1365.3403,`position_z`=35.70951 WHERE `guid`=@CGUID;
DELETE FROM `creature_addon` WHERE `guid`=@CGUID;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@CGUID,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Rat - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1566.3524,1366.9497,35.890343,NULL,0),
(@PATH,2,-1555.7535,1370.8646,35.769573,NULL,0),
(@PATH,3,-1542.4653,1384.8073,35.995403,NULL,0),
(@PATH,4,-1542.0885,1408.8611,35.555916,NULL,0),
(@PATH,5,-1533.2067,1420.9827,35.555916,NULL,0),
(@PATH,6,-1528.0087,1414.783,35.55326,NULL,0),
(@PATH,7,-1539.75,1416.8438,35.555916,NULL,0),
(@PATH,8,-1542.4653,1384.8073,35.995403,NULL,0),
(@PATH,9,-1555.7535,1370.8646,35.769573,NULL,0),
(@PATH,10,-1566.3524,1366.9497,35.890343,NULL,0),
(@PATH,11,-1585.2135,1365.3403,35.70951,NULL,0);
-- Pathing for Rat Entry: 4075
SET @CGUID := 376346;
SET @PATH := 4075 * 100 + 1;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-1573.1423,`position_y`=1401.1389,`position_z`=36.61908 WHERE `guid`=@CGUID;
DELETE FROM `creature_addon` WHERE `guid`=@CGUID;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@CGUID,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Rat - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1569.6528,1401.1285,36.551193,NULL,0),
(@PATH,2,-1561.1267,1401.0504,36.159172,NULL,0),
(@PATH,3,-1559.4462,1404.783,36.093582,NULL,0),
(@PATH,4,-1559.8577,1411.4166,35.921894,NULL,0),
(@PATH,5,-1559.9688,1422.2848,35.718807,NULL,0),
(@PATH,6,-1555.533,1433.9219,35.80991,NULL,0),
(@PATH,7,-1547.9861,1438.7673,35.901875,NULL,0),
(@PATH,8,-1538.7466,1441.5243,35.983093,NULL,0),
(@PATH,9,-1529.4966,1441.5243,35.98047,NULL,0),
(@PATH,10,-1524.8594,1436.375,35.767334,NULL,0),
(@PATH,11,-1518.118,1436.0156,35.748398,NULL,0),
(@PATH,12,-1507.276,1435.7622,35.748604,NULL,0),
(@PATH,13,-1498.2188,1436.4271,35.785713,NULL,0),
(@PATH,14,-1492.8298,1437.6615,35.844475,NULL,0),
(@PATH,15,-1480.974,1437.4757,35.85198,NULL,0),
(@PATH,16,-1474.7587,1439.9584,35.9649,NULL,0),
(@PATH,17,-1468.632,1440.2535,35.967777,NULL,0),
(@PATH,18,-1454.4827,1437.776,35.877106,NULL,0),
(@PATH,19,-1449.7743,1439.8195,35.96333,NULL,0),
(@PATH,20,-1439.4323,1437.2396,35.862946,NULL,0),
(@PATH,21,-1449.7743,1439.8195,35.96333,NULL,0),
(@PATH,22,-1454.4827,1437.776,35.877106,NULL,0),
(@PATH,23,-1468.632,1440.2535,35.967777,NULL,0),
(@PATH,24,-1474.7587,1439.9584,35.9649,NULL,0),
(@PATH,25,-1480.974,1437.4757,35.85198,NULL,0),
(@PATH,26,-1492.8298,1437.6615,35.844475,NULL,0),
(@PATH,27,-1498.2188,1436.4271,35.785713,NULL,0),
(@PATH,28,-1507.276,1435.7622,35.748604,NULL,0),
(@PATH,29,-1518.118,1436.0156,35.748398,NULL,0),
(@PATH,30,-1524.8594,1436.375,35.767334,NULL,0),
(@PATH,31,-1529.4966,1441.5243,35.98047,NULL,0),
(@PATH,32,-1538.7466,1441.5243,35.983093,NULL,0),
(@PATH,33,-1547.9861,1438.7673,35.901875,NULL,0),
(@PATH,34,-1555.533,1433.9219,35.80991,NULL,0),
(@PATH,35,-1559.9688,1422.2848,35.718807,NULL,0),
(@PATH,36,-1559.8577,1411.4166,35.921894,NULL,0),
(@PATH,37,-1559.4462,1404.783,36.093582,NULL,0),
(@PATH,38,-1561.1267,1401.0504,36.159172,NULL,0),
(@PATH,39,-1569.6528,1401.1285,36.551193,NULL,0),
(@PATH,40,-1573.1423,1401.1389,36.61908,NULL,0);
-- Pathing for Rat Entry: 4075
SET @CGUID := 376254;
SET @PATH := 4075 * 100 + 2;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-1402.6649,`position_y`=1413.4149,`position_z`=35.555923 WHERE `guid`=@CGUID;
DELETE FROM `creature_addon` WHERE `guid`=@CGUID;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@CGUID,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Rat - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1408.7899,1421.2882,35.555923,NULL,0),
(@PATH,2,-1416.5017,1420.4392,35.555935,NULL,0),
(@PATH,3,-1435.3524,1423.6875,35.555935,NULL,0),
(@PATH,4,-1448.5435,1425.0348,35.55591,NULL,0),
(@PATH,5,-1465.6476,1425.0591,35.55591,NULL,0),
(@PATH,6,-1489.217,1426.3611,35.55591,NULL,0),
(@PATH,7,-1492.6337,1419.5573,35.55591,NULL,0),
(@PATH,8,-1495.2692,1408.132,35.555904,NULL,0),
(@PATH,9,-1496.3125,1402.4879,35.55591,NULL,0),
(@PATH,10,-1502.3004,1380.5538,35.555916,NULL,0),
(@PATH,11,-1500.2084,1350.625,35.555935,NULL,0),
(@PATH,12,-1490.9879,1347.6216,35.555935,NULL,0),
(@PATH,13,-1461.7327,1354.5173,35.555935,NULL,0),
(@PATH,14,-1433.2223,1362.0764,35.555935,NULL,0),
(@PATH,15,-1401.5416,1368.2882,35.555935,NULL,0),
(@PATH,16,-1402.9827,1385.6476,35.555923,NULL,0),
(@PATH,17,-1402.6649,1413.4149,35.555923,NULL,0);
-- Pathing for Rat Entry: 4075
SET @NPC := 376364;
SET @PATH := 4075 * 100 + 3;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=-1527.6719,`position_y`=1362.6615,`position_z`=35.995403 WHERE `guid`=@CGUID;
DELETE FROM `creature_addon` WHERE `guid`=@CGUID;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@CGUID,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Rat - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1534.3351,1354.1875,35.992195,NULL,0),
(@PATH,2,-1544.6024,1334.2274,35.555923,NULL,0),
(@PATH,3,-1561.4098,1319.868,35.555923,NULL,0),
(@PATH,4,-1598.5608,1310.0973,20.93024,NULL,0),
(@PATH,5,-1633.0781,1304.0295,19.662966,NULL,0),
(@PATH,6,-1666.2552,1304.8733,19.782318,NULL,0),
(@PATH,7,-1633.0781,1304.0295,19.662966,NULL,0),
(@PATH,8,-1598.5608,1310.0973,20.93024,NULL,0),
(@PATH,9,-1561.4098,1319.868,35.555923,NULL,0),
(@PATH,10,-1544.6024,1334.2274,35.555923,NULL,0),
(@PATH,11,-1534.3351,1354.1875,35.992195,NULL,0),
(@PATH,12,-1527.6719,1362.6615,35.995403,NULL,0);
@@ -1,240 +0,0 @@
-- Add SAI to Panicked Citizen Entry: 34851
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=34851;
SET @RESPAWN := 2;
-- Pathing for Panicked Citizen
SET @CGUID := 376371;
SET @PATH := 34851 * 100 + 0;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1557.4011,1332.6024,35.722572,NULL,0),
(@PATH,2,-1557.6598,1333.9774,35.63924,NULL,0),
(@PATH,3,-1557.9185,1335.3524,35.55591,NULL,0),
(@PATH,4,-1554.1493,1358.4913,35.555916,NULL,0),
(@PATH,5,-1550.8976,1378.5885,35.555916,NULL,0),
(@PATH,6,-1541.3663,1388.0035,35.555916,NULL,0),
(@PATH,7,-1513.9844,1391.6649,35.555916,NULL,0),
(@PATH,8,-1487.981,1390.5435,35.55591,NULL,0),
(@PATH,9,-1463.4462,1392.0591,35.555916,NULL,0),
(@PATH,10,-1446.1858,1381.3993,35.555935,NULL,0),
(@PATH,11,-1441.4531,1364.224,35.555935,NULL,0),
(@PATH,12,-1449.3108,1355.349,35.555935,NULL,0),
(@PATH,13,-1477.9427,1346.3942,35.555935,NULL,0),
(@PATH,14,-1486.1406,1337.4115,35.705914,NULL,0),
(@PATH,15,-1486.1406,1337.4115,35.705914,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,15,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 15 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376367;
SET @PATH := 34851 * 100 + 1;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1562.0626,1391.9254,36.616646,NULL,0),
(@PATH,2,-1566.0209,1390.8351,36.08628,NULL,0),
(@PATH,3,-1569.9791,1389.7448,35.555916,NULL,0),
(@PATH,4,-1559.1302,1390.5486,35.555916,NULL,0),
(@PATH,5,-1537.6163,1390.6666,35.555916,NULL,0),
(@PATH,6,-1520.1406,1391.868,35.555916,NULL,0),
(@PATH,7,-1481.0695,1396.9531,35.55591,NULL,0),
(@PATH,8,-1455.033,1398.9341,35.55591,NULL,0),
(@PATH,9,-1433.5642,1376.981,35.555935,NULL,0),
(@PATH,10,-1414.5192,1369.8872,35.555935,NULL,0),
(@PATH,11,-1403.7865,1391.5642,35.555923,NULL,0),
(@PATH,12,-1396.4462,1403.7483,35.96074,NULL,0),
(@PATH,13,-1396.4462,1403.7483,35.96074,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,13,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 13 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376318;
SET @PATH := 34851 * 100 + 2;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1517.1129,1367.2864,35.760757,NULL,0),
(@PATH,2,-1517.1841,1358.6823,35.675426,NULL,0),
(@PATH,3,-1517.2552,1350.0781,35.590096,NULL,0),
(@PATH,4,-1499.8942,1346.2361,35.555935,NULL,0),
(@PATH,5,-1485.7848,1346.5017,35.555935,NULL,0),
(@PATH,6,-1465.3541,1349.658,35.555935,NULL,0),
(@PATH,7,-1455.5764,1362.0295,35.555935,NULL,0),
(@PATH,8,-1452.5695,1376.5817,35.983498,NULL,0),
(@PATH,9,-1435.3837,1399.6216,35.555935,NULL,0),
(@PATH,10,-1436.967,1418.2291,35.555923,NULL,0),
(@PATH,11,-1423.0295,1417.8455,35.555935,NULL,0),
(@PATH,12,-1421.2673,1413.5712,36.78822,NULL,0),
(@PATH,13,-1421.2673,1413.5712,36.78822,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,13,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 13 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376345;
SET @PATH := 34851 * 100 + 3;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1395.1199,1432.106,35.722588,NULL,0),
(@PATH,2,-1398.1129,1431.0591,35.639256,NULL,0),
(@PATH,3,-1401.106,1430.0122,35.555923,NULL,0),
(@PATH,4,-1403.9358,1423.4948,35.555923,NULL,0),
(@PATH,5,-1404.2448,1395.625,35.555923,NULL,0),
(@PATH,6,-1406.974,1376.4445,35.555935,NULL,0),
(@PATH,7,-1412.8889,1366.2882,35.555935,NULL,0),
(@PATH,8,-1446.9166,1358.1754,35.555935,NULL,0),
(@PATH,9,-1479.6754,1349.5885,35.555935,NULL,0),
(@PATH,10,-1512.6007,1340.9723,35.555912,NULL,0),
(@PATH,11,-1545.6233,1331.4635,35.555935,NULL,0),
(@PATH,12,-1578.9254,1316.8889,35.555923,NULL,0),
(@PATH,13,-1603.4497,1312.6442,18.28202,NULL,0),
(@PATH,14,-1628.106,1308.6041,20.266262,NULL,0),
(@PATH,15,-1649.9219,1307.349,19.782322,NULL,0),
(@PATH,16,-1682.4462,1305.8646,19.782318,NULL,0),
(@PATH,17,-1689.481,1304.6354,19.782318,NULL,0),
(@PATH,18,-1692.3646,1297.5312,20.284113,NULL,0),
(@PATH,19,-1692.3646,1297.5312,20.284113,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,19,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 19 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376353;
SET @PATH := 34851 * 100 + 4;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1478.5085,1356.731,35.7226,NULL,0),
(@PATH,2,-1475.9166,1355.6216,35.639267,NULL,0),
(@PATH,3,-1473.3247,1354.5122,35.555935,NULL,0),
(@PATH,4,-1464.3611,1353.6111,35.555935,NULL,0),
(@PATH,5,-1456.9236,1359.3317,35.555935,NULL,0),
(@PATH,6,-1453.6685,1382.2344,35.86046,NULL,0),
(@PATH,7,-1472.6754,1390.3872,35.55591,NULL,0),
(@PATH,8,-1515.8281,1398.9791,35.555916,NULL,0),
(@PATH,9,-1540.9861,1399.3403,35.555916,NULL,0),
(@PATH,10,-1553.0798,1387.4688,35.57604,NULL,0),
(@PATH,11,-1560.1945,1364.8767,35.670723,NULL,0),
(@PATH,12,-1579.1562,1364.8698,35.749073,NULL,0),
(@PATH,13,-1583.474,1360.9688,35.998745,NULL,0),
(@PATH,14,-1583.474,1360.9688,35.998745,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,14,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 14 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376369;
SET @PATH := 34851 * 100 + 5;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1553.3905,1441.981,36.19169,NULL,0),
(@PATH,2,-1545.533,1436.9202,35.873802,NULL,0),
(@PATH,3,-1537.6754,1431.8594,35.555916,NULL,0),
(@PATH,4,-1508.5642,1420.9531,35.555916,NULL,0),
(@PATH,5,-1502.3629,1410.7413,35.55592,NULL,0),
(@PATH,6,-1499.8872,1397.2969,35.55591,NULL,0),
(@PATH,7,-1500.0226,1375.356,35.555912,NULL,0),
(@PATH,8,-1496.6858,1351.5295,35.555927,NULL,0),
(@PATH,9,-1474.1493,1349.4861,35.555935,NULL,0),
(@PATH,10,-1455.941,1353.3125,35.555935,NULL,0),
(@PATH,11,-1442.3351,1370.3281,35.555935,NULL,0),
(@PATH,12,-1443.8021,1397.6666,35.55591,NULL,0),
(@PATH,13,-1446.9774,1419.5747,35.55591,NULL,0),
(@PATH,14,-1463.3073,1441.8264,35.991337,NULL,0),
(@PATH,15,-1463.3073,1441.8264,35.991337,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,15,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 15 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376344;
SET @PATH := 34851 * 100 + 6;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1469.4896,1444.3473,35.722603,NULL,0),
(@PATH,2,-1476.8108,1439.6233,35.639256,NULL,0),
(@PATH,3,-1484.132,1434.8993,35.55591,NULL,0),
(@PATH,4,-1494.2188,1427.0209,35.55591,NULL,0),
(@PATH,5,-1513.0156,1419.2969,35.555916,NULL,0),
(@PATH,6,-1533.981,1421.5521,35.555916,NULL,0),
(@PATH,7,-1546.8733,1412.9844,35.555916,NULL,0),
(@PATH,8,-1555.7986,1380.9392,35.555916,NULL,0),
(@PATH,9,-1559.8629,1361.9514,35.555916,NULL,0),
(@PATH,10,-1564.8091,1348.467,35.555916,NULL,0),
(@PATH,11,-1565.9358,1326.4341,35.555916,NULL,0),
(@PATH,12,-1575.7101,1319.4514,35.65964,NULL,0),
(@PATH,13,-1603.9723,1314.3802,18.27019,NULL,0),
(@PATH,14,-1627.9861,1309.8611,20.290205,NULL,0),
(@PATH,15,-1656.349,1307.0781,19.782318,NULL,0),
(@PATH,16,-1675.7361,1314.0834,20.291834,NULL,0),
(@PATH,17,-1675.7361,1314.0834,20.291834,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,17,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 17 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
-- Pathing for Panicked Citizen
SET @CGUID := 376349;
SET @PATH := 34851 * 100 + 7;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Panicked Citizen - On Respawn');
DELETE FROM `waypoint_path_node` WHERE `PathId` IN (@PATH);
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1426.9183,1433.1615,35.7226,NULL,0),
(@PATH,2,-1432.875,1431.6459,35.639267,NULL,0),
(@PATH,3,-1438.8317,1430.1302,35.555935,NULL,0),
(@PATH,4,-1460.7048,1424.3368,35.55591,NULL,0),
(@PATH,5,-1484.4584,1424.6198,35.55591,NULL,0),
(@PATH,6,-1495.3212,1424.4445,35.55591,NULL,0),
(@PATH,7,-1519.1702,1424.1545,35.555916,NULL,0),
(@PATH,8,-1537.375,1418.9723,35.555916,NULL,0),
(@PATH,9,-1546.2639,1405.8125,35.555916,NULL,0),
(@PATH,10,-1542.0591,1392.9861,35.555916,NULL,0),
(@PATH,11,-1516.75,1390.3923,35.555916,NULL,0),
(@PATH,12,-1505.2778,1381.6024,35.555916,NULL,0),
(@PATH,13,-1500.9688,1364.6267,35.55591,NULL,0),
(@PATH,14,-1505.4479,1345.691,35.555935,NULL,0),
(@PATH,15,-1516.7188,1340.099,35.555916,NULL,0),
(@PATH,16,-1528.8368,1334.5591,35.55593,NULL,0),
(@PATH,17,-1530.0173,1325.1945,35.84444,NULL,0),
(@PATH,18,-1530.0173,1325.1945,35.84444,NULL,0);
-- Panicked Citizen SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@CGUID,0,0,0,11,0,100,0,0,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On respawn - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@CGUID,0,1,0,58,0,100,0,18,@PATH,0,0,0,41,1,@RESPAWN,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 18 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 2 seconds'));
@@ -1,151 +0,0 @@
-- Market Square Crows
-- Allow Gilnean Crows to fly
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (50260);
INSERT INTO `creature_template_movement` (`CreatureId`,`Ground`,`Swim`,`Flight`,`Rooted`,`Chase`,`Random`,`InteractionPauseTimer`) VALUES
(50260,1,0,1,0,0,0,0); -- Gilnean Crow
-- Add SAI to Gilnean Crows
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=50260;
-- Condition for source Spell implicit target condition type Object entry guid
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=93275 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 93275, 0, 0, 31, 0, 3, 50260, 0, 0, 0, 0, '', 'Spell Ping Gilnean Crow (effect 0) hits unit Gilnean Crow.');
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376332;
SET @PATH := 50260 * 100 + 0;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1404.2437,1418.7346,50.610405,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,1,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376302;
SET @PATH := 50260 * 100 + 1;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1411.3611,1447.3994,44.51103,NULL,0),
(@PATH,2,-1409.412,1440.6023,51.582096,NULL,0),
(@PATH,3,-1404.8746,1419.8765,54.30849,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,3,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376292;
SET @PATH := 50260 * 100 + 2;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1409.4534,1447.9543,42.710323,NULL,0),
(@PATH,2,-1404.4095,1419.5221,52.40137,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,2,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376314;
SET @PATH := 50260 * 100 + 3;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1401.4825,1451.0591,42.710323,NULL,0),
(@PATH,2,-1408.1272,1448.6406,49.78139,NULL,0),
(@PATH,3,-1404.1223,1419.9825,54.10521,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,3,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376322;
SET @PATH := 50260 * 100 + 4;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1404.2437,1418.7346,50.610405,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,1,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376294;
SET @PATH := 50260 * 100 + 5;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1409.4534,1447.9543,42.710323,NULL,0),
(@PATH,2,-1404.4095,1419.5221,52.40137,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,2,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376309;
SET @PATH := 50260 * 100 + 6;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1401.4825,1451.0591,42.710323,NULL,0),
(@PATH,2,-1408.1272,1448.6406,49.78139,NULL,0),
(@PATH,3,-1404.1223,1419.9825,54.10521,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,3,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
-- Pathing for Gilnean Crow Entry: 50260
SET @NPC := 376298;
SET @PATH := 50260 * 100 + 7;
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,1,0,'Gilnean Crow - Market Square');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-1411.1156,1439.1777,42.710323,NULL,0),
(@PATH,2,-1405.3027,1419.025,51.658836,NULL,0);
-- Gilnean Crow SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@NPC) AND `source_type`=0;
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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(-@NPC,0,0,0,8,0,100,0,93275,0,0,0,0,53,0,@PATH,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On spell Ping Gilnean Crow (93275) hit - Self: Start path #', @PATH, ', walk, do not repeat, Passive')),
(-@NPC,0,1,0,8,0,100,0,93275,0,0,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'On spell Ping Gilnean Crow (93275) hit - Self: Remove stand state SIT'),
(-@NPC,0,2,0,58,0,100,0,2,@PATH,0,0,0,41,1,30,0,0,0,0,1,0,0,0,0,0,0,0,0,CONCAT('On waypoint 1 of path ', @PATH, ' ended - Self: Despawn in 0.001 s respawn in 30 seconds'));
@@ -1,318 +0,0 @@
-- Missing Content Tuning Id from beer kegs in Coldridge Valley
UPDATE `gameobject_template` SET `ContentTuningId`=1477 WHERE `entry` IN (201609,201610,201611);
-- Gossip missing for flight master
DELETE FROM `gossip_menu` WHERE `MenuID`=11777;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(11777, 16509, 53007); -- 43701
DELETE FROM `gossip_menu_option` WHERE `MenuID`=11777;
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(11777, 38309, 0, 2, 'Show me where I can fly.', 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 53007);
-- Proper quest starter exist
DELETE FROM `creature_queststarter` WHERE `id`=1377 AND `quest`=313;
-- Quest Forced to Watch from Afar
-- Remove db spawn of temp Remote Observation Bot
DELETE FROM `creature` WHERE `guid`=305498;
-- Captain Tharran smart ai
SET @ENTRY := 40950;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 19, 0, 100, 0, 313, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Forced to Watch from Afar (313) - Self: Talk 0 to invoker');
-- Mountaineer Dunstan smart ai
SET @ENTRY := 40991;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (4099100);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 1, '', 62, 0, 100, 0, 11455, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11455 selected - Self: Call OnReset() event'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 80, 4099100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11455 selected - Self: Start timed action list id #Mountaineer Dunstan #0 (4099100) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 11, 76702, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Cast spell Mountaineer Dunstan Credit (76702) on Last action invoker'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Last action invoker: Close gossip'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Talk 0 to invoker'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 5000, 5000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 5 seconds - Self: Set emote state to STATE_USESTANDING (69)'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 12, 41052, 3, 13000, 0, 0, 0, 8, 0, 0, 0, -5476.73, -227.271, 354.411, 1.53265, 'After 0 seconds - Self: Summon creature Remote Observation Bot (41052) at (-5476.73, -227.271, 354.411, 1.53265) as summon type timed despawn with duration 13 seconds');
-- Mountaineer Lewin smart ai
SET @ENTRY := 40994;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (4099400);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 1, '', 62, 0, 100, 0, 11456, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11456 selected - Self: Call OnReset() event'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 80, 4099400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11456 selected - Self: Start timed action list id #Mountaineer Lewin #0 (4099400) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 11, 76704, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Cast spell Mountaineer Lewin Credit (76704) on Last action invoker'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Last action invoker: Close gossip'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Talk 0 to invoker'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 5000, 5000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 5 seconds - Self: Set emote state to STATE_USESTANDING (69)'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 12, 41052, 3, 13000, 0, 0, 0, 8, 0, 0, 0, -5501.69, -273.946, 354.217, 4.96495, 'After 0 seconds - Self: Summon creature Remote Observation Bot (41052) at (-5501.69, -273.946, 354.217, 4.96495) as summon type timed despawn with duration 13 seconds');
-- Mountaineer Valgrum smart ai
SET @ENTRY := 41056;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (4105600);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 1, '', 62, 0, 100, 0, 11457, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11457 selected - Self: Call OnReset() event'),
(@ENTRY, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 80, 4105600, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action Captain Tharran wants you... (0) from menu 11457 selected - Self: Start timed action list id #Mountaineer Valgrum #0 (4105600) (update out of combat) // -inline'),
(@ENTRY * 100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 11, 76705, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Cast spell Mountaineer Valgrum Credit (76705) on Last action invoker'),
(@ENTRY * 100, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Last action invoker: Close gossip'),
(@ENTRY * 100, 9, 2, 0, '', 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Talk 0 to invoker'),
(@ENTRY * 100, 9, 3, 0, '', 0, 0, 100, 0, 5000, 5000, 0, 0, 17, 69, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 5 seconds - Self: Set emote state to STATE_USESTANDING (69)'),
(@ENTRY * 100, 9, 4, 0, '', 0, 0, 100, 0, 3000, 3000, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Set emote state to 0'),
(@ENTRY * 100, 9, 5, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 12, 41052, 3, 13000, 0, 0, 0, 8, 0, 0, 0, -5389, -277.311, 363.067, 0.75923, 'After 0 seconds - Self: Summon creature Remote Observation Bot (41052) at (-5389, -277.311, 363.067, 0.75923) as summon type timed despawn with duration 13 seconds');
-- Remote Observation Bot smart ai
SET @ENTRY := 41052;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `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
(@ENTRY, 0, 0, 0, '', 1, 0, 100, 0, 9000, 9000, 9000, 9000, 89, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 9 seconds (OOC) - Self: Move randomly in radius 5 yards');
UPDATE `gossip_menu_option` SET `GossipOptionID`=37802 WHERE `MenuID`=11455;
UPDATE `gossip_menu_option` SET `GossipOptionID`=37803 WHERE `MenuID`=11456;
UPDATE `gossip_menu_option` SET `GossipOptionID`=37551 WHERE `MenuID`=11457;
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (76702,76704,76705);
INSERT INTO `serverside_spell_effect` (`SpellID`,`Effect`,`EffectMiscValue1`,`ImplicitTarget1`) VALUES
(76702,134,40991,25),
(76704,134,40994,25),
(76705,134,41056,25);
DELETE FROM `creature_text` WHERE `CreatureID` IN (40950,40991,40994,41056);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(40950, 0, 0, 'There\'s no substitute for live observers, but I need those mountaineers here. We\'ll have to rely on those little gnomish observer bots for now...', 12, 0, 100, 6, 0, 0, 43522, 0, 'Captain Tharran to Player'),
(40991, 0, 0, 'Tell Captain Tharran that I\'ll be back in Kharanos as soon as I\'ve verified that the bot is working correctly.', 12, 0, 100, 66, 0, 0, 41005, 0, 'Mountaineer Dunstan to Player'),
(40994, 0, 0, 'I can\'t wait to get out there and help in the fight against those trolls.', 12, 0, 100, 66, 0, 0, 41006, 0, 'Mountaineer Lewin to Player'),
(41056, 0, 0, 'We\'ve been fighting nonstop since the cataclysm. It\'ll be nice to get a rest, if a brief one.', 12, 0, 100, 66, 0, 0, 41008, 0, 'Mountaineer Valgrum to Player');
-- Objects should only be lootable if player has quest
UPDATE `gameobject_template_addon` SET `flags` = 4 WHERE `entry` IN (203129, 203130);
-- Condition for source Gossip menu option condition type Quest objective complete
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (11455,11456,11457) AND `SourceEntry`=0 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 11455, 0, 0, 0, 47, 0, 313, 10, 0, 0, 0, 0, '', 'Show gossip menu 11455 option id 0 if quest Forced to Watch from Afar in progress | complete.'),
(15, 11456, 0, 0, 0, 47, 0, 313, 10, 0, 0, 0, 0, '', 'Show gossip menu 11455 option id 0 if quest Forced to Watch from Afar in progress | complete.'),
(15, 11457, 0, 0, 0, 47, 0, 313, 10, 0, 0, 0, 0, '', 'Show gossip menu 11455 option id 0 if quest Forced to Watch from Afar in progress | complete.');
-- Operation Recombobulation quest
-- Loot for Frostmane Scavenger
SET @ID := 41146;
UPDATE `creature_template_difficulty` SET `LootID`=@ID, GoldMin=10, GoldMax=40 WHERE `Entry` IN (@ID);
DELETE FROM `creature_loot_template` WHERE `Entry` IN (@ID);
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(@ID,3084,0,100,1,1,0,1,1,'Frostmane Scavenger - Gyromechanic Gear');
-- Pushing forward quest
-- Kharanos Mountaineer missing aura
UPDATE `creature_template_addon` SET `auras`='77311' WHERE `entry`=41237;
-- Condition for source Spell implicit target condition type Object entry guid
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=77314 AND `SourceId`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 77314, 0, 0, 31, 0, 3, 41202, 0, 0, 0, 0, '', 'Spell Burn Constriction Totem (effect 0) will hit the potential target of the spell if target is unit Constriction Totem.');
-- Replace 79 Young Wendigo and Wendigo spawns with 39 spawns reusing the fist 39 guids In front of and in The Grizzed Den.
DELETE FROM `creature` WHERE `id` in (40940,40941);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(306015, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5680.0712890625, -308.63714599609375, 367.446533203125, 2.835796356201171875, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(306016, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5675.12841796875, -298.0225830078125, 369.583770751953125, 2.860849618911743164, 120, 7, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306017, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5727.23974609375, -271.7413330078125, 357.255615234375, 3.631609916687011718, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306018, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5690.861328125, -277.526031494140625, 363.99627685546875, 6.096832275390625, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306019, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5684.6787109375, -355.8038330078125, 368.884674072265625, 4.836206912994384765, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306023, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5716.40478515625, -368.21527099609375, 365.363525390625, 0.006283469963818788, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306026, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5707.01220703125, -341.805572509765625, 365.659912109375, 5.42330789566040039, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306028, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5718.80224609375, -321.755218505859375, 364.340301513671875, 3.445452451705932617, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306029, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5747.73095703125, -309.43402099609375, 360.325714111328125, 1.030947446823120117, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306030, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5747.830078125, -339.876739501953125, 365.01165771484375, 5.869902610778808593, 120, 7, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306031, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5756.50537109375, -277.4132080078125, 356.9256591796875, 1.792140364646911621, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306070, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5759.98291015625, -247.345489501953125, 354.08697509765625, 2.757476806640625, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306073, 40940, 0, 1, 136, '0', 0, 0, 0, 0, -5699.4150390625, -226.69097900390625, 361.1861572265625, 5.83659982681274414, 120, 15, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306076, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5651.12841796875, -284.486114501953125, 371.81982421875, 5.271619319915771484, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306077, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5631.90283203125, -274.0850830078125, 368.600372314453125, 1.588249564170837402, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306078, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5607.939453125, -270.25347900390625, 368.22760009765625, 4.697319507598876953, 120, 5, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306086, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5578.63525390625, -298.96527099609375, 364.9268798828125, 3.515988111495971679, 120, 5, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306124, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5577.56591796875, -279.357635498046875, 366.074005126953125, 0.923526406288146972, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(306126, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5541.48291015625, -234.78125, 359.494964599609375, 0, 120, 2, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306128, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5490.65625, -219.274307250976562, 354.34295654296875, 5.158249855041503906, 120, 5, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306237, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5490.38916015625, -245.670135498046875, 354.15875244140625, 3.528468608856201171, 120, 4, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(306240, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5527.85595703125, -221.942703247070312, 355.1053466796875, 6.175639152526855468, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(306243, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5446.60791015625, -272.927093505859375, 356.325439453125, 6.1741180419921875, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(306246, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5418.09033203125, -264.9444580078125, 361.328887939453125, 3.420845270156860351, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304427, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5491.94287109375, -288.916656494140625, 353.36749267578125, 1.593692779541015625, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304431, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5506.892578125, -318.529510498046875, 352.37152099609375, 4.632875919342041015, 120, 2, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304432, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5423.88037109375, -297.06597900390625, 357.8558349609375, 2.70088505744934082, 120, 5, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304433, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5378.580078125, -278.40972900390625, 358.72406005859375, 4.694935798645019531, 120, 3, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304434, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5362.470703125, -254.371536254882812, 361.23260498046875, 2.36943817138671875, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(304441, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5400.1650390625, -183.338546752929687, 370.2523193359375, 4.847203254699707031, 120, 5, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(305428, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5410.1005859375, -190.368057250976562, 371.396331787109375, 3.8939208984375, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(305430, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5377.564453125, -213.854171752929687, 359.936614990234375, 2.247099876403808593, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(305497, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5392.06591796875, -169.041671752929687, 369.462982177734375, 1.522531986236572265, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(305520, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5433.88916015625, -168.380203247070312, 351.2913818359375, 0, 120, 6, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(305523, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5434.125, -154.703125, 351.75396728515625, 1.503861665725708007, 120, 0, 0, 1, 0, 2, NULL, NULL, NULL, NULL, 53007),
(305527, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5449.26416015625, -99.171875, 346.910186767578125, 2.600540637969970703, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(305529, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5457.2880859375, -144.657989501953125, 346.910186767578125, 3.465970754623413085, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(305530, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5481.015625, -156.439239501953125, 346.910186767578125, 5.968484878540039062, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007),
(305536, 40941, 0, 1, 136, '0', 0, 0, 0, 0, -5483.15966796875, -114.387153625488281, 346.91015625, 5.964405059814453125, 120, 8, 0, 1, 0, 1, NULL, NULL, NULL, NULL, 53007);
-- Pathing for Young Wendigo Entry: 40940
SET @NPC := 306015;
SET @PATH := 40940 * 100 + 0;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Young Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5697.691,-303.08682,364.62872,NULL,0),
(@PATH,2,-5716.6284,-296.92014,360.31097,NULL,0),
(@PATH,3,-5735.0454,-294.67535,358.94733,NULL,0),
(@PATH,4,-5754.068,-291.12326,359.4975,NULL,0),
(@PATH,5,-5783.389,-279.99652,356.82654,NULL,0),
(@PATH,6,-5754.068,-291.12326,359.4975,NULL,0),
(@PATH,7,-5735.0454,-294.67535,358.94733,NULL,0),
(@PATH,8,-5716.6284,-296.92014,360.31097,NULL,0),
(@PATH,9,-5697.691,-303.08682,364.62872,NULL,0),
(@PATH,10,-5683.3213,-307.967,366.80826,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 305428;
SET @PATH := 40940 * 100 + 1;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5415.547,-195.46529,372.04425,NULL,0),
(@PATH,2,-5423.3423,-210.78473,373.1206,NULL,0),
(@PATH,3,-5424.663,-222.1875,371.91193,NULL,0),
(@PATH,4,-5423.3423,-210.78473,373.1206,NULL,0),
(@PATH,5,-5415.547,-195.46529,372.04425,NULL,0),
(@PATH,6,-5410.5034,-190.62154,371.5363,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 305430;
SET @PATH := 40940 * 100 + 2;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5384.186,-205.60764,357.51697,NULL,0),
(@PATH,2,-5398.592,-193.58705,352.6223,NULL,0),
(@PATH,3,-5415.132,-187.94098,349.65527,NULL,0),
(@PATH,4,-5445.65,-182.1272,349.8584,NULL,0),
(@PATH,5,-5415.132,-187.94098,349.65527,NULL,0),
(@PATH,6,-5398.592,-193.58705,352.6223,NULL,0),
(@PATH,7,-5384.186,-205.60764,357.51697,NULL,0),
(@PATH,8,-5377.7954,-213.96355,359.8448,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 305497;
SET @PATH := 40940 * 100 + 3;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5391.752,-162.42014,368.58902,NULL,0),
(@PATH,2,-5392.4688,-151.50348,367.65872,NULL,0),
(@PATH,3,-5399.3403,-130.72395,367.83624,NULL,0),
(@PATH,4,-5392.4736,-151.48874,367.6481,NULL,0),
(@PATH,5,-5391.752,-162.42014,368.58902,NULL,0),
(@PATH,6,-5391.913,-168.78125,369.5989,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 305523;
SET @PATH := 40940 * 100 + 4;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5433.262,-141.80208,351.33594,NULL,0),
(@PATH,2,-5430.5176,-122.78993,348.24203,NULL,0),
(@PATH,3,-5421.514,-112.52431,345.7881,NULL,0),
(@PATH,4,-5430.5176,-122.78993,348.24203,NULL,0),
(@PATH,5,-5433.262,-141.80208,351.33163,NULL,0),
(@PATH,6,-5434.283,-154.72223,351.79062,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 306124;
SET @PATH := 40940 * 100 + 5;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5570.078,-269.4566,367.37564,NULL,0),
(@PATH,2,-5565.4443,-252.40105,366.96545,NULL,0),
(@PATH,3,-5558.2485,-240.26389,364.53876,NULL,0),
(@PATH,4,-5540.856,-225.42708,357.9266,NULL,5000),
(@PATH,5,-5558.2485,-240.26389,364.53876,NULL,0),
(@PATH,6,-5565.4443,-252.40105,366.96545,NULL,0),
(@PATH,7,-5570.078,-269.4566,367.37564,NULL,0),
(@PATH,8,-5577.2275,-279.04166,366.27246,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 306240;
SET @PATH := 40940 * 100 + 6;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5513.318,-223.51216,353.49283,NULL,0),
(@PATH,2,-5499.146,-231.13368,353.7129,NULL,0),
(@PATH,3,-5484.6475,-233.76736,354.64172,NULL,0),
(@PATH,4,-5473.382,-241.0191,354.45215,NULL,0),
(@PATH,5,-5462.646,-249.62848,354.31207,NULL,0),
(@PATH,6,-5455.538,-263.52258,354.31473,NULL,0),
(@PATH,7,-5462.646,-249.62848,354.31207,NULL,3000),
(@PATH,8,-5473.382,-241.0191,354.45215,NULL,0),
(@PATH,9,-5484.6475,-233.76736,354.64172,NULL,0),
(@PATH,10,-5499.146,-231.13368,353.7129,NULL,0),
(@PATH,11,-5513.318,-223.51216,353.49283,NULL,0),
(@PATH,12,-5526.5767,-221.15973,355.00888,NULL,0);
-- Pathing for Wendigo Entry: 40941
SET @NPC := 306243;
SET @PATH := 40940 * 100 + 7;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`PathId`,`mount`,`StandState`,`SheathState`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '');
DELETE FROM `waypoint_path` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path` (`PathId`,`MoveType`,`Flags`,`Comment`) VALUES
(@PATH,0,0,'Wendigo The Grizzed Den');
DELETE FROM `waypoint_path_node` WHERE `PathId`=@PATH;
INSERT INTO `waypoint_path_node` (`PathId`,`NodeId`,`PositionX`,`PositionY`,`PositionZ`,`Orientation`,`Delay`) VALUES
(@PATH,1,-5432.259,-274.49826,358.54572,NULL,0),
(@PATH,2,-5413.3438,-273.65237,361.4378,NULL,0),
(@PATH,3,-5402.9463,-272.60245,362.57605,NULL,0),
(@PATH,4,-5387.222,-262.5521,363.20764,NULL,0),
(@PATH,5,-5402.9463,-272.60245,362.57605,NULL,0),
(@PATH,6,-5413.1978,-273.64584,361.46658,NULL,0),
(@PATH,7,-5432.259,-274.49826,358.54572,NULL,0),
(@PATH,8,-5446.2065,-272.88022,356.39362,NULL,0);
@@ -1,10 +0,0 @@
-- Westbrook Garrison Needs Help
DELETE FROM `quest_template_addon` WHERE `ID`=239;
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(239,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,'');
-- Cloth and Leather Armor and The Jasperlode Mine
UPDATE `quest_template_addon` SET `NextQuestID`=239 WHERE `ID` IN (59,76);
-- Young Lovers
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=106;
-- A Visit With Maybell
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=106 WHERE `ID`=26150;
@@ -1,26 +0,0 @@
-- Disable Deprecated Versions of Quests
DELETE FROM `disables` WHERE `sourceType`=1 AND `entry` IN (9303,9305);
INSERT INTO `disables` (`sourceType`,`entry`,`flags`,`params_0`,`params_1`,`comment`) VALUES
(1,9303,0,'','','Deprecated Quest: Inoculation'),
(1,9305,0,'','','Deprecated Quest: Spare Parts');
-- Volatile Mutations Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=10302;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,10302,0,0,47,0,9280,64,0,'',0,0,0,'','Volatile Mutations available if quest Replenishing the Healing Crystals RaceMask 1024 is rewarded'),
(19,0,10302,0,1,47,0,9369,64,0,'',0,0,0,'','Volatile Mutations available if quest Replenishing the Healing Crystals RaceMask 18446744073709551615 is rewarded');
-- Ammen Vale Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (9312,37445);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`)
VALUES (37445,0,0,0,0,9312,-9311,0,0,0,0,0,0,0,0,0,0,0,''); -- Spare Parts
-- Unnecessary SpecialFlags
UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID` IN (9279,9280,9283,9293,9294,9303,9309,9311,9369,9371,9409,9798,9799,10302,10303,10304);
-- Replenishing the Healing Crystals
UPDATE `quest_template_addon` SET `NextQuestID`=9409 WHERE `ID` IN (9280,9369);
UPDATE `quest_template_addon` SET `ExclusiveGroup`=0 WHERE `ID` IN (9280,9369);
-- Vindicator Aldar
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=37444 WHERE `ID`=10304;
-- The Missing Scout
UPDATE `quest_template_addon` SET `PrevQuestID`=37444 WHERE `ID`=9309;
-- Blood Elf Spy
UPDATE `quest_template_addon` SET `NextQuestID`=9312 WHERE `ID`=9311;
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-9311 WHERE `ID`=9311;
@@ -1,12 +0,0 @@
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (218,24473,24487,24493);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,24493,0,0,47,0,24492,10,0,'',0,0,0,'','Dont Forget About Us available if quest Pack Your Bags is in progress or completed');
-- Give Em What For and Aid the Wounded Exclusive Group
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-24470 WHERE `ID` IN (24470,24471);
UPDATE `quest_template_addon` SET `NextQuestID`=24473 WHERE `ID` IN (24470,24471);
-- All the Other Stuff and Make Hay While the Sun Shines Exclusive Group
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-24475 WHERE `ID` IN (24475,24486);
UPDATE `quest_template_addon` SET `NextQuestID`=24487 WHERE `ID` IN (24475,24486);
-- Ice and Fire
UPDATE `quest_template_addon` SET `PrevQuestID`=24489 WHERE `ID`=218;
@@ -1,13 +0,0 @@
-- Unneeded Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (26316,26318,26339);
-- Unneeded SpecialFlags
UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID` IN (26197,26199,26202,26203,26206,26264,26333,26373,26421,26422,26423,26424,26425,27635,27671,27674,28167,28169,31135,31137,41217,41218);
-- A Job for the Multibot, What's Left Behind, Dealing With the Fallout ExclusiveGroup
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-26205 WHERE `ID` IN (26205,26264,26265);
UPDATE `quest_template_addon` SET `NextQuestID`=26316 WHERE `ID` IN (26205,26264,26265);
-- Missing In Action and Get Me Explosives Back ExclusiveGroup
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-26284 WHERE `ID` IN (26284,26285);
UPDATE `quest_template_addon` SET `NextQuestID`=26318 WHERE `ID` IN (26284,26285);
-- Crushcog's Minions and No Tanks ExclusiveGroup
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-26331 WHERE `ID` IN (26331,26333);
UPDATE `quest_template_addon` SET `NextQuestID`=26339 WHERE `ID` IN (26331,26333);
@@ -1,5 +0,0 @@
-- Unneeded Row (Burning Blade Medallion)
DELETE FROM `quest_template_addon` WHERE `ID`=25132;
-- Lazy Peons and Vile Familiars Exclusive Group
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-25131 WHERE `ID` IN (25131,37446);
UPDATE `quest_template_addon` SET `NextQuestID`=25132 WHERE `ID` IN (25131,37446);
@@ -1,24 +0,0 @@
-- Unnecessary Rows
DELETE FROM `quest_template_addon` WHERE `ID`=29078;
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=26391;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,26391,0,0,47,0,28817,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 4 is rewarded'),
(19,0,26391,0,1,47,0,28818,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 128 is rewarded'),
(19,0,26391,0,2,47,0,28819,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 2 is rewarded'),
(19,0,26391,0,3,47,0,28820,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 16 is rewarded'),
(19,0,26391,0,4,47,0,28821,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 8 is rewarded'),
(19,0,26391,0,5,47,0,28822,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 256 is rewarded'),
(19,0,26391,0,6,47,0,28823,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 1 is rewarded'),
(19,0,26391,0,7,47,0,29083,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 0 is rewarded'),
(19,0,26391,0,8,47,0,31145,64,0,'',0,0,0,'','Extinguishing Hope available if quest The Rear is Clear ClassMask 1632 is rewarded');
-- Unnecessary NextQuestIDs
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID` IN (28757,28759,28762,28763,28764,28765,28766,28767,28769,28770,28771,28772,28773,28774,29079,28780,28784,28785,28786,28787,28788,28789,29080,28791,28792,28793,28794,28795,28796,28797,29081,31139,31140,31141,31143);
-- Other Classes Quest Chain
UPDATE `quest_template_addon` SET `AllowableClasses`=1632 WHERE `ID` IN (31139,31140,31143,63447,31144,31145);
-- Other Races Quest Chain
UPDATE `quest_template_addon` SET `AllowableClasses`=0 WHERE `ID` IN (29079,29080,29081,29082,29083);
-- Fear No Evil (Warrior)
UPDATE `quest_template_addon` SET `AllowableClasses`=1 WHERE `ID`=28813;
-- Fear No Evil (Other Classes)
UPDATE `quest_template_addon` SET `PrevQuestID`=31143 WHERE `ID`=63447;
@@ -1,24 +0,0 @@
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (24814,25037,25064);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,25037,0,0,47,0,24643,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 1 is rewarded'),
(19,0,25037,0,1,47,0,24755,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 128 is rewarded'),
(19,0,25037,0,2,47,0,24763,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 64 is rewarded'),
(19,0,25037,0,3,47,0,24769,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 1024 is rewarded'),
(19,0,25037,0,4,47,0,24775,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 8 is rewarded'),
(19,0,25037,0,5,47,0,24781,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 4 is rewarded'),
(19,0,25037,0,6,47,0,24787,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 16 is rewarded'),
(19,0,25037,0,7,47,0,26277,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 256 is rewarded'),
(19,0,25037,0,8,47,0,31163,64,0,'',0,0,0,'','Crab Fishin available if quest More Than Expected ClassMask 512 is rewarded');
-- More Than Expected
UPDATE `quest_template_addon` SET `NextQuestID`=25064 WHERE `ID` IN (24643,24755,24763,24769,24775,24781,24787,26277,31163);
-- Saving The Young, Mercy For the Lost, Consort of the Sea Witch Exclusive Group
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-24623 WHERE `ID` IN (24623,24624,24625);
UPDATE `quest_template_addon` SET `NextQuestID`=24626 WHERE `ID` IN (24623,24624,24625);
-- Young and Vicious
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=24626;
-- Territorial Fetish and No More Mercy Exclusive Group
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-24812 WHERE `ID` IN (24812,24813);
UPDATE `quest_template_addon` SET `NextQuestID`=24814 WHERE `ID` IN (24812,24813);
-- Sen'jin Village (To Durotar)
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=25167 WHERE `ID`=25073;
@@ -1,35 +0,0 @@
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (25986,25987,25792);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,25792,0,0,47,0,313,64,0,'',0,0,0,'','Pushing Foward available if quest Forced to Watch From Afar is rewarded'),
(19,0,25792,0,0,47,0,25667,64,0,'',0,0,0,'','Pushing Foward available if quest Culling the Wendigos is rewarded');
-- Dun Morogh Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (313,314,384,412,432,25667,25668,25724,25840,25905,25978,25979,25986);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(313,0,0,0,25724,412,-313,0,0,0,0,0,0,0,0,0,0,0,''), -- Forced to Watch From Afar
(314,0,0,0,25932,25933,-314,0,0,0,0,0,0,0,0,0,0,0,''), -- Protecting the Herd
(412,0,0,0,0,25838,-412,0,0,0,0,0,0,0,0,0,0,0,''), -- Operation Recombobulation
(432,0,0,0,0,25986,-432,0,0,0,0,0,0,0,0,0,0,0,''), -- Those Blasted Troggs
(25667,0,0,0,25724,412,-313,0,0,0,0,0,0,0,0,0,0,0,''), -- Culling the Wendigos
(25668,0,0,0,25724,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Pilfered Supplies
(25840,0,0,0,25839,25882,-25840,0,0,0,0,0,0,0,0,0,0,0,''), -- Eliminate the Resistance
(25905,0,0,0,25932,25933,-314,0,0,0,0,0,0,0,0,0,0,0,''), -- Rams on the Lam
(25978,0,0,0,0,25997,-25978,0,0,0,0,0,0,0,0,0,0,0,''), -- Entombed In Ice
(25979,0,0,0,0,25997,-25978,0,0,0,0,0,0,0,0,0,0,0,''), -- Dealing With the Surge
(25986,0,0,0,0,0,0,25978,0,0,0,0,0,0,0,0,0,0,''); -- Trouble at the Lake
-- On to Kharanos
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=25724 WHERE `ID`=26373;
-- Pushing Foward (Exclusive Group contains Operation Recombobulation)
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-412 WHERE `ID`=25792;
UPDATE `quest_template_addon` SET `NextQuestID`=25838 WHERE `ID`=25792;
-- Strike From Above (Exclusive Group contains Eliminate the Resistance)
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-25840 WHERE `ID`=25841;
UPDATE `quest_template_addon` SET `NextQuestID`=25882 WHERE `ID`=25841;
-- A Hand at the Ranch
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=25882;
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=25932 WHERE `ID`=25882;
-- The Public Servant and Priceless Treasures Exclusive Group (Also includes Those Blasted Troggs)
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-432 WHERE `ID` IN (432,433,25937);
UPDATE `quest_template_addon` SET `NextQuestID`=25986 WHERE `ID` IN (432,433,25937);
-- Seize the Ambassador
UPDATE `quest_template_addon` SET `PrevQuestID`=26112 WHERE `ID`=26118;
@@ -1,26 +0,0 @@
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (25190,25193,25194);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(19,0,25190,0,0,47,0,25188,8,0,'',0,0,0,'','Raggarans Rage available if quest Watershed Patrol is in progress'),
(19,0,25193,0,0,47,0,25188,8,0,'',0,0,0,'','Lost but Not Forgotten available if quest Watershed Patrol is in progress'),
(19,0,25194,0,0,47,0,25188,8,0,'',0,0,0,'','Unbidden Visitors available if quest Watershed Patrol is in progress');
-- Durotar Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (835,25167,25169,25171,25173,25176,25178,25179,25206,25257,25258,25259);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(25169,0,0,0,25167,25171,-25168,0,0,0,0,0,0,0,0,0,0,0,''), -- The War of Northwatch Aggression
(25173,0,0,0,25171,25178,-25173,0,0,0,0,0,0,0,0,0,0,0,''), -- From Bad to Worse
(25176,0,0,0,25171,25178,-25173,0,0,0,0,0,0,0,0,0,0,0,''), -- Exploiting the Situation
(25179,0,0,0,25173,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Loss Reduction
(25206,0,0,0,25205,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Ignoring the Warnings
(25257,0,0,0,25256,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Ghislania
(25258,0,0,0,25256,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Griswold Hanniston
(25259,0,0,0,25256,0,0,0,0,0,0,0,0,0,0,0,0,0,''); -- Gaur Icehorn
-- Purge the Valley Exclusive Group (Contains The War of Northwatch Aggression)
UPDATE `quest_template_addon` SET `ExclusiveGroup`=-25168 WHERE `ID`=25168;
UPDATE `quest_template_addon` SET `NextQuestID`=25169 WHERE `ID`=25168;
-- Thonk
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=25187 WHERE `ID`=25227;
-- Lost in the Floods
UPDATE `quest_template_addon` SET `PrevQuestID`=0 WHERE `ID`=25187;
-- Arnak Fireblade
UPDATE `quest_template_addon` SET `PrevQuestID`=25262 WHERE `ID`=25263;
@@ -1,18 +0,0 @@
-- Mulgore Quests
DELETE FROM `quest_template_addon` WHERE `ID` IN (749,773,14438,26179,26180);
INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`,`AllowableClasses`,`SourceSpellID`,`PrevQuestID`,`NextQuestID`,`ExclusiveGroup`,`BreadcrumbForQuestId`,`RewardMailTemplateID`,`RewardMailDelay`,`RequiredSkillID`,`RequiredSkillPoints`,`RequiredMinRepFaction`,`RequiredMaxRepFaction`,`RequiredMinRepValue`,`RequiredMaxRepValue`,`ProvidedItemCount`,`SpecialFlags`,`ScriptName`) VALUES
(773,0,0,0,20441,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- Rite of Wisdom
(26179,0,0,0,751,0,0,0,0,0,0,0,0,0,0,0,0,0,''), -- The Venture Company
(26180,0,0,0,751,0,0,0,0,0,0,0,0,0,0,0,0,0,''); -- Supervisor Fizsprocket
-- Unneeded NextQuestIDs
UPDATE `quest_template_addon` SET `NextQuestID`=0 WHERE `ID` IN (6361,6362,6363,20441,24440,24441,24456,24457,24459,24523,24524,24550);
-- Winterhoof Cleansing
UPDATE `quest_template_addon` SET `PrevQuestID`=20440 WHERE `ID`=24440;
-- Morin Cloudstalker
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=749 WHERE `ID`=24459;
-- Wildmane Totem
UPDATE `quest_template_addon` SET `PrevQuestID`=24456 WHERE `ID`=24523;
-- Journey Into Thunder Bluff
UPDATE `quest_template_addon` SET `BreadcrumbForQuestId`=24540 WHERE `ID`=24550;
-- War Dance
UPDATE `quest_template_addon` SET `PrevQuestID`=24524 WHERE `ID`=24540;
@@ -1,180 +0,0 @@
SET @CGUID := 9004108;
SET @OGUID := 9003868;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+48;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5902.6318359375, -3004.85595703125, 200.7157135009765625, 0.052480250597000122, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+1, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5750.1025390625, -3040.934814453125, 211.25299072265625, 3.843105316162109375, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+2, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5873.82080078125, -2966.31103515625, 207.3056488037109375, 2.744068384170532226, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+3, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5925.92431640625, -3046.973876953125, 200.7157135009765625, 0.943276762962341308, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+4, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5801.91943359375, -3040.503173828125, 210.5941162109375, 2.874973773956298828, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+5, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5793.21484375, -2919.36279296875, 207.296051025390625, 1.048147439956665039, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+6, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5933.38427734375, -3015.03369140625, 200.0926666259765625, 2.594782590866088867, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+7, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5797.5205078125, -2922.2548828125, 207.5377197265625, 1.500182867050170898, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+8, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5847.798828125, -2981.6796875, 207.8623504638671875, 5.329618453979492187, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+9, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5916.8271484375, -3039.683837890625, 201.4382171630859375, 0.267679601907730102, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+10, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5788.724609375, -3028.44482421875, 211.23529052734375, 0.350099146366119384, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+11, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5807.978515625, -3083.946533203125, 212.1324920654296875, 2.161147832870483398, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+12, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5854.6787109375, -2982.9765625, 207.263092041015625, 1.614386200904846191, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+13, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5930.3349609375, -3011.33251953125, 200.3862152099609375, 0.44295552372932434, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+14, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5792.3642578125, -2915.578125, 209.25634765625, 4.705502510070800781, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+15, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5758.41455078125, -3073.49853515625, 211.4390716552734375, 3.057764768600463867, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+16, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5769.76171875, -2986.830322265625, 210.831817626953125, 4.121662139892578125, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+17, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5800.421875, -2923.7587890625, 207.30914306640625, 1.26346755027770996, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+18, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5842.42431640625, -2936.533203125, 205.2529754638671875, 0.328986376523971557, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+19, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5925.619140625, -3053.7421875, 201.4376983642578125, 4.55332040786743164, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+20, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5866.43212890625, -2982.71435546875, 207.2529754638671875, 1.250236749649047851, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+21, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5796.4892578125, -3031.515625, 210.7431793212890625, 1.033916473388671875, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+22, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5755.10302734375, -3026.30908203125, 210.670379638671875, 2.215724468231201171, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+23, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5772.13037109375, -3088.53466796875, 211.7568817138671875, 2.049893617630004882, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+24, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5804.22265625, -2896.564453125, 207.3623809814453125, 0.914744794368743896, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+25, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5820.77099609375, -2903.092041015625, 207.5016937255859375, 0.561812758445739746, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+26, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5731.298828125, -2991.292236328125, 213.4561004638671875, 5.460728645324707031, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+27, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5771.7041015625, -3033.330810546875, 212.0654754638671875, 5.139191627502441406, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+28, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5721.7109375, -2997.479736328125, 211.5408172607421875, 5.605190277099609375, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+29, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5962.3115234375, -2993.604248046875, 199.6699981689453125, 2.362212181091308593, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+30, 186853, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5955.62158203125, -3026.51220703125, 199.9217681884765625, 2.635974407196044921, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Conjured Guardian (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+31, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5875.59326171875, -2898.97509765625, 207.252960205078125, 1.192506313323974609, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+32, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5889.2421875, -2904.270751953125, 207.186798095703125, 4.339447975158691406, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+33, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5944.345703125, -2938.5322265625, 201.7408599853515625, 0.729677259922027587, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+34, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5947.056640625, -2936.95556640625, 201.265411376953125, 5.587829113006591796, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+35, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5906.494140625, -2911.286376953125, 207.9876556396484375, 4.712388992309570312, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+36, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5923.650390625, -2980.5546875, 200.168609619140625, 5.308788299560546875, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+37, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5956.8046875, -2934.424072265625, 201.495452880859375, 0.178137376904487609, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+38, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5959.84033203125, -2938.955810546875, 201.57171630859375, 3.102656364440917968, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+39, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5951.87353515625, -2928.4375, 200.7156982421875, 4.687173366546630859, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+40, 186853, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5978.99755859375, -3020.447998046875, 198.8108978271484375, 2.635974407196044921, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Conjured Guardian (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+41, 186853, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5982.36474609375, -2965.288330078125, 199.8657073974609375, 0.857039332389831542, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Conjured Guardian (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+42, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5994.9853515625, -3086.94091796875, 200.2669677734375, 2.445415019989013671, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+43, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 6005.4462890625, -3036.3359375, 200.674591064453125, 1.781545877456665039, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+44, 186853, 2570, 13769, 13806, '0', 0, 0, 0, 0, 6014.35693359375, -3030.154541015625, 204.2588958740234375, 2.635974407196044921, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Conjured Guardian (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+45, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 6012.884765625, -3021.2109375, 200.96478271484375, 3.140908002853393554, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+46, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 6022.76708984375, -3032.10546875, 200.9654083251953125, 1.208475589752197265, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262), -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+47, 185272, 2570, 13769, 13806, '0', 0, 0, 0, 0, 6024.54150390625, -2982.920166015625, 200.7157135009765625, 3.360021352767944335, 120, 0, 0, 16605, 0, 0, NULL, NULL, NULL, NULL, 53262), -- Ancient Construct (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+48, 187163, 2570, 13769, 13806, '0', 0, 0, 0, 0, 5916.6689453125, -2796.9404296875, 71.5298919677734375, 4.734846115112304687, 120, 4, 0, 5, 0, 1, NULL, NULL, NULL, NULL, 53262); -- Dark Widow (Area: The War Creche - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+48;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Ancient Construct
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Ancient Construct
(@CGUID+29, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Ancient Construct
(@CGUID+30, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Conjured Guardian
(@CGUID+32, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Ancient Construct
(@CGUID+39, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''), -- Ancient Construct
(@CGUID+40, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Conjured Guardian
(@CGUID+41, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Conjured Guardian
(@CGUID+44, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Conjured Guardian
(@CGUID+47, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, ''); -- Ancient Construct
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+34;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 377597, 2570, 13769, 13806, '0', 0, 0, 5794.10498046875, -3093.44287109375, 263.763824462890625, 2.167680978775024414, 0, 0, 0.883761405944824218, 0.467937797307968139, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+1, 377602, 2570, 13769, 13806, '0', 0, 0, 5712.94287109375, -3023.697509765625, 263.107757568359375, 6.225575447082519531, 0, 0, -0.02880096435546875, 0.999585151672363281, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+2, 377592, 2570, 13769, 13806, '0', 0, 0, 5814.96630859375, -3086.807373046875, 211.436279296875, 6.03359079360961914, 0, 0, -0.12447357177734375, 0.992222905158996582, 120, 255, 1, 53262), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+3, 377595, 2570, 13769, 13806, '0', 0, 0, 5779.7666015625, -3093.101318359375, 263.763824462890625, 0.902321338653564453, 0, 0, 0.436010360717773437, 0.899941682815551757, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+4, 377591, 2570, 13769, 13806, '0', 0, 0, 5797.75927734375, -2897.719482421875, 207.07818603515625, 6.03359079360961914, 0, 0, -0.12447357177734375, 0.992222905158996582, 120, 255, 1, 53262), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+5, 377600, 2570, 13769, 13806, '0', 0, 0, 5734.8740234375, -3075.489990234375, 263.107757568359375, 0.736512541770935058, 0, 0, 0.359989166259765625, 0.932956516742706298, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+6, 376276, 2570, 13769, 13806, '0', 0, 0, 5837.6103515625, -2947.94970703125, 205.095458984375, 5.176036834716796875, 0.625855445861816406, 0.329096794128417968, -0.6258554458618164, 0.329097568988800048, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+7, 378712, 2570, 13769, 13806, '0', 0, 0, 5849.30908203125, -2985.170166015625, 209.110260009765625, 1.092055439949035644, 0, 0, 0.519296646118164062, 0.854594051837921142, 120, 255, 1, 53262), -- Edict: The Earth-Warder (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+8, 376276, 2570, 13769, 13806, '0', 0, 0, 5867.7734375, -2922.677001953125, 205.095458984375, 5.176036834716796875, 0.625855445861816406, 0.329096794128417968, -0.6258554458618164, 0.329097568988800048, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+9, 375420, 2570, 13769, 13806, '0', 0, 0, 5819.92626953125, -3077.282958984375, 213.3481292724609375, 5.467829704284667968, 0, 0, -0.39647865295410156, 0.918043911457061767, 120, 255, 1, 53262), -- Debris (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+10, 381425, 2570, 13769, 13806, '0', 0, 0, 5745.3115234375, -3055.223876953125, 251.0892791748046875, 4.348520755767822265, 0, 0, -0.82337474822998046, 0.56749802827835083, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+11, 381423, 2570, 13769, 13806, '0', 0, 0, 5736.9755859375, -3034.963623046875, 252.4689483642578125, 2.337939739227294921, 0, 0, 0.920348167419433593, 0.391100019216537475, 120, 255, 1, 53262), -- Edict: Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+12, 375503, 2570, 13769, 13806, '0', 0, 0, 5795.330078125, -2892.260498046875, 215.4988861083984375, 5.240739822387695312, 0, 0, -0.4979410171508789, 0.867210924625396728, 120, 255, 1, 53262), -- Edict: Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+13, 376276, 2570, 13769, 13806, '0', 0, 0, 5817.291015625, -3022.241455078125, 210.4369659423828125, 5.176036834716796875, 0.625855445861816406, 0.329096794128417968, -0.6258554458618164, 0.329097568988800048, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+14, 381425, 2570, 13769, 13806, '0', 0, 0, 5735.02685546875, -3016.630126953125, 251.090057373046875, 3.691178083419799804, 0, 0, -0.96248149871826171, 0.271347343921661376, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+15, 375501, 2570, 13769, 13806, '0', 0, 0, 5870.2021484375, -2983.376708984375, 209.519195556640625, 2.32742166519165039, 0, 0, 0.918278694152832031, 0.395934671163558959, 120, 255, 1, 53262), -- Edict: Weyrns (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+16, 376276, 2570, 13769, 13806, '0', 0, 0, 5762.50537109375, -2995.814208984375, 210.7897186279296875, 5.176036834716796875, 0.625855445861816406, 0.329096794128417968, -0.6258554458618164, 0.329097568988800048, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+17, 376276, 2570, 13769, 13806, '0', 0, 0, 5762.56005859375, -3047.67529296875, 210.5292510986328125, 5.176036834716796875, 0.625855445861816406, 0.329096794128417968, -0.6258554458618164, 0.329097568988800048, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+18, 381425, 2570, 13769, 13806, '0', 0, 0, 5780.0615234375, -3075.114501953125, 251.089141845703125, 5.120627403259277343, 0, 0, -0.54909324645996093, 0.835761070251464843, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+19, 381423, 2570, 13769, 13806, '0', 0, 0, 5798.43505859375, -3073.194580078125, 252.5824432373046875, 4.005276203155517578, 0, 0, -0.90819644927978515, 0.418544113636016845, 120, 255, 1, 53262), -- Edict: Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+20, 381425, 2570, 13769, 13806, '0', 0, 0, 5818.900390625, -3063.569580078125, 251.0961151123046875, 5.94611215591430664, 0, 0, -0.1677398681640625, 0.985831260681152343, 120, 255, 1, 53262), -- Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+21, 381423, 2570, 13769, 13806, '0', 0, 0, 5829.7353515625, -3050.04345703125, 252.7537689208984375, 4.766773223876953125, 0, 0, -0.68762016296386718, 0.726070582866668701, 120, 255, 1, 53262), -- Edict: Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+22, 381423, 2570, 13769, 13806, '0', 0, 0, 5759.7197265625, -3066.645751953125, 252.5118255615234375, 3.336160182952880859, 0, 0, -0.99527168273925781, 0.097130239009857177, 120, 255, 1, 53262), -- Edict: Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+23, 376276, 2570, 13769, 13806, '0', 0, 0, 5886.54248046875, -2950.451416015625, 205.095458984375, 0.502843201160430908, -0.35277557373046875, 0.612820625305175781, 0.35277557373046875, 0.612821102142333984, 120, 255, 1, 53262), -- Rune of Guardians (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+24, 377897, 2570, 13769, 13806, '0', 0, 0, 5901.9482421875, -2910.326171875, 207.1034393310546875, 5.143473625183105468, 0, 0, -0.53951072692871093, 0.841978728771209716, 120, 255, 1, 53262), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+25, 378702, 2570, 13769, 13806, '0', 0, 0, 5910.712890625, -2907.739501953125, 215.2241973876953125, 3.11642765998840332, 0, 0, 0.999920845031738281, 0.012582127936184406, 120, 255, 1, 53262), -- Edict: Dark Talons (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+26, 377884, 2570, 13769, 13806, '0', 0, 0, 5974.734375, -3086.33251953125, 200.7344970703125, 5.770055770874023437, 0, 0, -0.25375938415527343, 0.967267394065856933, 120, 255, 1, 53262), -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+27, 377885, 2570, 13769, 13806, '0', 0, 0, 6005.32421875, -3064.97021484375, 200.5421905517578125, 0.088163316249847412, 0, 0, 0.0440673828125, 0.999028563499450683, 120, 255, 1, 53262), -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+28, 377896, 2570, 13769, 13806, '0', 0, 0, 5962.10595703125, -3134.885498046875, 124.1091842651367187, 1.792439579963684082, 0, 0, 0.780971527099609375, 0.624566614627838134, 120, 255, 1, 53262), -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+29, 377898, 2570, 13769, 13806, '0', 0, 0, 5962.10595703125, -3134.885498046875, 124.1091766357421875, 1.792439579963684082, 0, 0, 0.780971527099609375, 0.624566614627838134, 120, 255, 1, 53262), -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+30, 378704, 2570, 13769, 13806, '0', 0, 0, 6024.26318359375, -3019.89404296875, 204.103485107421875, 3.776696443557739257, 0, 0, -0.95000267028808593, 0.312241733074188232, 120, 255, 1, 53262), -- Edict: Evoker (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+31, 377598, 2570, 13769, 13806, '0', 0, 0, 6010.4326171875, -3066.028076171875, 129.2456512451171875, 5.605981826782226562, 0, 0, -0.3321685791015625, 0.943220019340515136, 120, 255, 1, 53262), -- Forge (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+32, 377593, 2570, 13769, 13806, '0', 0, 0, 6027.41796875, -3061.28857421875, 128.776275634765625, 3.459235906600952148, 0, 0, -0.98741436004638671, 0.158154711127281188, 120, 255, 1, 53262), -- Anvil (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+33, 377889, 2570, 13769, 13806, '0', 0, 0, 6023.79541015625, -3133.31982421875, 122.4642257690429687, 0.684976041316986083, 0, 0, 0.335831642150878906, 0.941922008991241455, 120, 255, 1, 53262), -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+34, 377886, 2570, 13769, 13806, '0', 0, 0, 6106.88623046875, -3069.354736328125, 136.075347900390625, 0.14539743959903717, 0, 0, 0.072634696960449218, 0.997358620166778564, 120, 255, 1, 53262); -- Everflame Brazier (Area: The War Creche - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+34;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Dark Talons
(@OGUID+1, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Dark Talons
(@OGUID+2, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+3, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Dark Talons
(@OGUID+4, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+5, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Dark Talons
(@OGUID+24, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+26, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Everflame Brazier
(@OGUID+27, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Everflame Brazier
(@OGUID+28, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Everflame Brazier
(@OGUID+29, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Everflame Brazier
(@OGUID+31, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Forge
(@OGUID+32, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Anvil
(@OGUID+33, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Everflame Brazier
(@OGUID+34, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0); -- Everflame Brazier
-- Template
UPDATE `creature_template` SET `faction`=31, `speed_walk`=0.400000005960464477, `speed_run`=0.285714298486709594, `BaseAttackTime`=2000, `unit_flags`=32768, `unit_flags2`=2048 WHERE `entry`=187163; -- Dark Widow
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=185272; -- Ancient Construct
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=2048 WHERE `entry`=186853; -- Conjured Guardian
-- Template Addon
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (377886 /*Everflame Brazier*/, 377889 /*Everflame Brazier*/, 377898 /*Everflame Brazier*/, 377896 /*Everflame Brazier*/, 377885 /*Everflame Brazier*/, 377884 /*Everflame Brazier*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(377886, 114, 0, 0, 0), -- Everflame Brazier
(377889, 114, 0, 0, 0), -- Everflame Brazier
(377898, 114, 0, 0, 0), -- Everflame Brazier
(377896, 114, 0, 0, 0), -- Everflame Brazier
(377885, 114, 0, 0, 0), -- Everflame Brazier
(377884, 114, 0, 0, 0); -- Everflame Brazier
-- Model & Difficulty
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=53262 WHERE (`DifficultyID`=0 AND `Entry` IN (187335,181312,187131,187133,187164,182696,186853,183380,187015,181712,186946,181596,181680,187163,185272,185172,55370));
DELETE FROM `creature_model_info` WHERE `DisplayID`=116786;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(116786, 0.212528020143508911, 0.150000005960464477, 0, 53262);
UPDATE `creature_model_info` SET `VerifiedBuild`=53262 WHERE `DisplayID`=104019;
UPDATE `creature_model_info` SET `BoundingRadius`=3.186465263366699218, `CombatReach`=4, `VerifiedBuild`=53262 WHERE `DisplayID`=105960;
-- Page Text
DELETE FROM `page_text` WHERE `ID` IN (8606 /*8606*/, 8531 /*8531*/);
INSERT INTO `page_text` (`ID`, `Text`, `NextPageID`, `PlayerConditionID`, `Flags`, `VerifiedBuild`) VALUES
(8606, 'Dark Talons\n\nWhere the enemies of the Earth-Warder tread, the Dark Talons shall harrow their skies, crush their will, and topple their leaders.\n\nDeny our enemies solace in walls and borders. For every talon in our ranks, you shall strike down ten of our foes from behind.\n\nThis weyrn, currently under the authority of Scalecommander Cindrethresh, shall train to be the elite force that shall be feared by all enemies of the black dragonflight.', 0, 0, 0, 53441), -- 8606
(8531, 'Obsidian Warders\n\nThis weyrn is charged with defending the allies of the black dragonflight and protecting its strongholds.\n\nWhether it is deployed to reinforce draconic legions or guard the skies alongside dragons, this weyrn is the embodiment of the Earth-Warder\'s aegis.\n\nCurrently under the authority of Scalecommander Azurathel, the Warders shall train to be the bulwark that enemy forces will break upon.', 0, 0, 0, 53441); -- 8531
-- Path for CGUID+18
SET @ENTRY := 185272;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Ancient Construct - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 5865.528, -2935.503, 205.253, NULL, 0),
(@PATH, 1, 5887.056, -2941.627, 205.387, NULL, 0),
(@PATH, 2, 5903.747, -2952.913, 205.3282, NULL, 0),
(@PATH, 3, 5887.056, -2941.627, 205.387, NULL, 0),
(@PATH, 4, 5865.528, -2935.503, 205.253, NULL, 0),
(@PATH, 5, 5849.722, -2934.042, 205.253, NULL, 0),
(@PATH, 6, 5835.656, -2938.844, 205.253, NULL, 0),
(@PATH, 7, 5825.506, -2943.889, 205.253, NULL, 0),
(@PATH, 8, 5835.656, -2938.844, 205.253, NULL, 0),
(@PATH, 9, 5849.722, -2934.042, 205.253, NULL, 0);
UPDATE `creature` SET `position_x`= 5865.528, `position_y`= -2935.503, `position_z`= 205.253, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= @CGUID+18;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+18;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+18, @PATH, 1);
@@ -1,976 +0,0 @@
SET @CGUID := 223912;
SET @OGUID := 166877;
SET @SPAWNGROUP := 1201;
DELETE FROM `spell_area` WHERE `spell` IN (68719, 68720);
INSERT INTO `spell_area` (`spell`, `area`, `gender`, `flags`) VALUES
(68719, 4710, 2, 0x3),
(68720, 4710, 2, 0x3);
DELETE FROM `conditions` where `SourceTypeOrReferenceId` = 17 AND `SourceEntry` IN (68719, 68720);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 68720, 0, 0, 11, 4308, 1, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Quarry - Horde Controlled'),
(17, 0, 68720, 0, 0, 6, 67, 0, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Quarry - Team Horde'),
(17, 0, 68720, 0, 1, 11, 4309, 1, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Quarry - Alliance Controlled'),
(17, 0, 68720, 0, 1, 6, 469, 0, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Quarry - Team Alliance'),
(17, 0, 68719, 0, 0, 11, 4313, 1, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Oil Refinery - Horde Controlled'),
(17, 0, 68719, 0, 0, 6, 67, 0, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Oil Refinery - Team Horde'),
(17, 0, 68719, 0, 1, 11, 4314, 1, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Oil Refinery - Alliance Controlled'),
(17, 0, 68719, 0, 1, 6, 469, 0, 0, 0, 0, 0, '', 'Isle of Conquest - Spell - Oil Refinery - Team Alliance');
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+1000;
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'Isle of Conquest - Horde Keep - Horde Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+1, 'Isle of Conquest - Horde Keep - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+2, 'Isle of Conquest - Horde Keep - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+3, 'Isle of Conquest - Horde Keep - Alliance Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+4, 'Isle of Conquest - Alliance Keep - Horde Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+5, 'Isle of Conquest - Alliance Keep - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+6, 'Isle of Conquest - Alliance Keep - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+7, 'Isle of Conquest - Alliance Keep - Alliance Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+8, 'Isle of Conquest - Quarry - Neutral Controlled - Banner', 0x20),
(@SPAWNGROUP+9, 'Isle of Conquest - Quarry - Horde Controlled - Banner & Miners', 0x20),
(@SPAWNGROUP+10, 'Isle of Conquest - Quarry - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+11, 'Isle of Conquest - Quarry - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+12, 'Isle of Conquest - Quarry - Alliance Controlled - Banner & Miners', 0x20),
(@SPAWNGROUP+13, 'Isle of Conquest - Refinery - Neutral Controlled - Banner', 0x20),
(@SPAWNGROUP+14, 'Isle of Conquest - Refinery - Horde Controlled - Banner', 0x20),
(@SPAWNGROUP+15, 'Isle of Conquest - Refinery - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+16, 'Isle of Conquest - Refinery - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+17, 'Isle of Conquest - Refinery - Alliance Controlled - Banner', 0x20),
(@SPAWNGROUP+18, 'Isle of Conquest - Docks - Neutral Controlled - Banner', 0x20),
(@SPAWNGROUP+19, 'Isle of Conquest - Docks - Horde Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+20, 'Isle of Conquest - Docks - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+21, 'Isle of Conquest - Docks - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+22, 'Isle of Conquest - Docks - Alliance Controlled - Banner & Spirit Guide', 0x20),
(@SPAWNGROUP+23, 'Isle of Conquest - Docks - Horde Controlled - Vehicles', 0x0),
(@SPAWNGROUP+24, 'Isle of Conquest - Docks - Alliance Controlled - Vehicles', 0x0),
(@SPAWNGROUP+25, 'Isle of Conquest - Workshop - Neutral Controlled - Banner', 0x20),
(@SPAWNGROUP+26, 'Isle of Conquest - Workshop - Horde Controlled - Banner & Spirit Guide & Bombs', 0x20),
(@SPAWNGROUP+27, 'Isle of Conquest - Workshop - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+28, 'Isle of Conquest - Workshop - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+29, 'Isle of Conquest - Workshop - Alliance Controlled - Banner & Spirit Guide & Bombs', 0x20),
(@SPAWNGROUP+30, 'Isle of Conquest - Workshop - Horde Controlled - Vehicles', 0x0),
(@SPAWNGROUP+31, 'Isle of Conquest - Workshop - Alliance Controlled - Vehicles', 0x0),
(@SPAWNGROUP+32, 'Isle of Conquest - Hangar - Neutral Controlled - Banner', 0x20),
(@SPAWNGROUP+33, 'Isle of Conquest - Hangar - Horde Controlled - Banner & Spirit Guide & Teleporter', 0x20),
(@SPAWNGROUP+34, 'Isle of Conquest - Hangar - Horde Contested - Banner', 0x20),
(@SPAWNGROUP+35, 'Isle of Conquest - Hangar - Alliance Contested - Banner', 0x20),
(@SPAWNGROUP+36, 'Isle of Conquest - Hangar - Alliance Controlled - Banner & Spirit Guide & Teleporter', 0x20),
(@SPAWNGROUP+37, 'Isle of Conquest - Horde Keep - Breached', 0x20),
(@SPAWNGROUP+38, 'Isle of Conquest - Alliance Keep - Breached', 0x20),
(@SPAWNGROUP+39, 'Isle of Conquest - Horde Front Gate - Broken', 0x20),
(@SPAWNGROUP+40, 'Isle of Conquest - Alliance East Gate - Broken', 0x20);
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+1000;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(@SPAWNGROUP+0, 1, @OGUID+2),
(@SPAWNGROUP+0, 0, @CGUID+140),
(@SPAWNGROUP+1, 1, @OGUID+145),
(@SPAWNGROUP+2, 1, @OGUID+146),
(@SPAWNGROUP+3, 1, @OGUID+147),
(@SPAWNGROUP+3, 0, @CGUID+147),
(@SPAWNGROUP+4, 1, @OGUID+149),
(@SPAWNGROUP+4, 0, @CGUID+144),
(@SPAWNGROUP+5, 1, @OGUID+99),
(@SPAWNGROUP+6, 1, @OGUID+148),
(@SPAWNGROUP+7, 1, @OGUID+22),
(@SPAWNGROUP+7, 0, @CGUID+143),
(@SPAWNGROUP+8, 1, @OGUID+16),
(@SPAWNGROUP+9, 1, @OGUID+44),
(@SPAWNGROUP+9, 0, @OGUID+326), -- honorable defender
(@SPAWNGROUP+9, 0, @CGUID+80), -- Forsaken miners
(@SPAWNGROUP+9, 0, @CGUID+81),
(@SPAWNGROUP+9, 0, @CGUID+82),
(@SPAWNGROUP+9, 0, @CGUID+83),
(@SPAWNGROUP+9, 0, @CGUID+84),
(@SPAWNGROUP+9, 0, @CGUID+85),
(@SPAWNGROUP+9, 0, @CGUID+86),
(@SPAWNGROUP+9, 0, @CGUID+87),
(@SPAWNGROUP+9, 0, @CGUID+88),
(@SPAWNGROUP+9, 0, @CGUID+89),
(@SPAWNGROUP+9, 0, @CGUID+90),
(@SPAWNGROUP+9, 0, @CGUID+91),
(@SPAWNGROUP+9, 0, @CGUID+92),
(@SPAWNGROUP+10, 1, @OGUID+43),
(@SPAWNGROUP+11, 1, @OGUID+24),
(@SPAWNGROUP+12, 1, @OGUID+29),
(@SPAWNGROUP+12, 0, @CGUID+150),
(@SPAWNGROUP+12, 0, @CGUID+47), -- Human miners
(@SPAWNGROUP+12, 0, @CGUID+48),
(@SPAWNGROUP+12, 0, @CGUID+49),
(@SPAWNGROUP+12, 0, @CGUID+50),
(@SPAWNGROUP+12, 0, @CGUID+51),
(@SPAWNGROUP+12, 0, @CGUID+52),
(@SPAWNGROUP+12, 0, @CGUID+53),
(@SPAWNGROUP+12, 0, @CGUID+54),
(@SPAWNGROUP+12, 0, @CGUID+55),
(@SPAWNGROUP+12, 0, @CGUID+56),
(@SPAWNGROUP+12, 0, @CGUID+57),
(@SPAWNGROUP+12, 0, @CGUID+59),
(@SPAWNGROUP+12, 0, @CGUID+60),
(@SPAWNGROUP+13, 1, @OGUID+100),
(@SPAWNGROUP+14, 1, @OGUID+78),
(@SPAWNGROUP+14, 0, @CGUID+157),
(@SPAWNGROUP+15, 1, @OGUID+142),
(@SPAWNGROUP+16, 1, @OGUID+144),
(@SPAWNGROUP+17, 1, @OGUID+143),
(@SPAWNGROUP+17, 0, @CGUID+158),
(@SPAWNGROUP+18, 1, @OGUID+141),
(@SPAWNGROUP+19, 1, @OGUID+45),
(@SPAWNGROUP+19, 0, @CGUID+72),
(@SPAWNGROUP+19, 0, @CGUID+155),
(@SPAWNGROUP+20, 1, @OGUID+138),
(@SPAWNGROUP+21, 1, @OGUID+140),
(@SPAWNGROUP+22, 1, @OGUID+139),
(@SPAWNGROUP+22, 0, @CGUID+139),
(@SPAWNGROUP+22, 0, @CGUID+156),
(@SPAWNGROUP+23, 0, @CGUID+75),
(@SPAWNGROUP+23, 0, @CGUID+73),
(@SPAWNGROUP+23, 0, @CGUID+74),
(@SPAWNGROUP+23, 0, @CGUID+99),
(@SPAWNGROUP+23, 0, @CGUID+77),
(@SPAWNGROUP+23, 0, @CGUID+78),
(@SPAWNGROUP+23, 0, @CGUID+76),
(@SPAWNGROUP+24, 0, @CGUID+125),
(@SPAWNGROUP+24, 0, @CGUID+123),
(@SPAWNGROUP+24, 0, @CGUID+124),
(@SPAWNGROUP+24, 0, @CGUID+126),
(@SPAWNGROUP+24, 0, @CGUID+128),
(@SPAWNGROUP+24, 0, @CGUID+129),
(@SPAWNGROUP+24, 0, @CGUID+127),
(@SPAWNGROUP+25, 1, @OGUID+6),
(@SPAWNGROUP+26, 1, @OGUID+26),
(@SPAWNGROUP+26, 0, @CGUID+43),
(@SPAWNGROUP+26, 0, @CGUID+153),
(@SPAWNGROUP+26, 1, @OGUID+27),
(@SPAWNGROUP+26, 1, @OGUID+28),
(@SPAWNGROUP+27, 1, @OGUID+9),
(@SPAWNGROUP+28, 1, @OGUID+137),
(@SPAWNGROUP+29, 1, @OGUID+136),
(@SPAWNGROUP+29, 0, @CGUID+146),
(@SPAWNGROUP+29, 0, @CGUID+154),
(@SPAWNGROUP+29, 1, @OGUID+150),
(@SPAWNGROUP+29, 1, @OGUID+151),
(@SPAWNGROUP+30, 0, @CGUID+45),
(@SPAWNGROUP+30, 0, @CGUID+42),
(@SPAWNGROUP+30, 0, @CGUID+41),
(@SPAWNGROUP+30, 0, @CGUID+44),
(@SPAWNGROUP+30, 0, @CGUID+46),
(@SPAWNGROUP+31, 0, @CGUID+137),
(@SPAWNGROUP+31, 0, @CGUID+135),
(@SPAWNGROUP+31, 0, @CGUID+134),
(@SPAWNGROUP+31, 0, @CGUID+136),
(@SPAWNGROUP+31, 0, @CGUID+138),
(@SPAWNGROUP+32, 1, @OGUID+8),
(@SPAWNGROUP+33, 1, @OGUID+30),
(@SPAWNGROUP+33, 1, @OGUID+35),
(@SPAWNGROUP+33, 1, @OGUID+36),
(@SPAWNGROUP+33, 1, @OGUID+34),
(@SPAWNGROUP+33, 1, @OGUID+31),
(@SPAWNGROUP+33, 1, @OGUID+33),
(@SPAWNGROUP+33, 1, @OGUID+32),
(@SPAWNGROUP+33, 0, @CGUID+64),
(@SPAWNGROUP+33, 0, @CGUID+151),
(@SPAWNGROUP+33, 0, @CGUID+194),
(@SPAWNGROUP+34, 1, @OGUID+25),
(@SPAWNGROUP+35, 1, @OGUID+135),
(@SPAWNGROUP+36, 1, @OGUID+134),
(@SPAWNGROUP+36, 0, @CGUID+145),
(@SPAWNGROUP+36, 0, @CGUID+152),
(@SPAWNGROUP+36, 0, @CGUID+195),
(@SPAWNGROUP+36, 1, @OGUID+152),
(@SPAWNGROUP+36, 1, @OGUID+153),
(@SPAWNGROUP+36, 1, @OGUID+154),
(@SPAWNGROUP+36, 1, @OGUID+155),
(@SPAWNGROUP+36, 1, @OGUID+156),
(@SPAWNGROUP+36, 1, @OGUID+157),
(@SPAWNGROUP+37, 0, @CGUID+208),
(@SPAWNGROUP+37, 0, @CGUID+209),
(@SPAWNGROUP+37, 0, @CGUID+210),
(@SPAWNGROUP+37, 0, @CGUID+211),
(@SPAWNGROUP+37, 0, @CGUID+212),
(@SPAWNGROUP+37, 0, @CGUID+213),
(@SPAWNGROUP+37, 0, @CGUID+214),
(@SPAWNGROUP+37, 0, @CGUID+215),
(@SPAWNGROUP+37, 0, @CGUID+216),
(@SPAWNGROUP+38, 0, @CGUID+199),
(@SPAWNGROUP+38, 0, @CGUID+200),
(@SPAWNGROUP+38, 0, @CGUID+201),
(@SPAWNGROUP+38, 0, @CGUID+202),
(@SPAWNGROUP+38, 0, @CGUID+203),
(@SPAWNGROUP+38, 0, @CGUID+204),
(@SPAWNGROUP+38, 0, @CGUID+205),
(@SPAWNGROUP+38, 0, @CGUID+206),
(@SPAWNGROUP+38, 0, @CGUID+207),
(@SPAWNGROUP+39, 0, @CGUID+196),
(@SPAWNGROUP+39, 0, @CGUID+197),
(@SPAWNGROUP+39, 0, @CGUID+198),
(@SPAWNGROUP+40, 0, @CGUID+130),
(@SPAWNGROUP+40, 0, @CGUID+131),
(@SPAWNGROUP+40, 0, @CGUID+132),
(@SPAWNGROUP+40, 0, @CGUID+133);
DELETE FROM `graveyard_zone` WHERE `ID` IN (1480, 1481, 1482, 1483, 1484, 1485, 1486);
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES
(1480, 4710, 'Isle of Conquest - Docks'),
(1481, 4710, 'Isle of Conquest - Airport'),
(1482, 4710, 'Isle of Conquest - Workshop'),
(1483, 4710, 'Isle of Conquest - Alliance Default'),
(1484, 4710, 'Isle of Conquest - Horde Default'),
(1485, 4710, 'Isle of Conquest - Alliance Keep'),
(1486, 4710, 'Isle of Conquest - Horde Keep');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 27 AND `SourceEntry` IN (1480, 1481, 1482, 1483, 1484, 1485, 1486);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `SourceGroup`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES
-- Docks
-- -- Alliance
(27, 1480, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Docks - Team Alliance'),
(27, 1480, 4710, 0, 11, 4304, 1, 'Graveyard - Isle of Conquest - Docks - Alliance Controlled'),
-- -- Horde
(27, 1480, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Docks - Team Horde'),
(27, 1480, 4710, 1, 11, 4303, 1, 'Graveyard - Isle of Conquest - Docks - Horde Controlled'),
-- Hangar
-- -- Alliance
(27, 1481, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Hangar - Team Alliance'),
(27, 1481, 4710, 0, 11, 4299, 1, 'Graveyard - Isle of Conquest - Hangar - Alliance Controlled'),
-- -- Horde
(27, 1481, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Hangar - Team Horde'),
(27, 1481, 4710, 1, 11, 4298, 1, 'Graveyard - Isle of Conquest - Hangar - Horde Controlled'),
-- Workshop
-- -- Alliance
(27, 1482, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Workshop - Team Alliance'),
(27, 1482, 4710, 0, 11, 4229, 1, 'Graveyard - Isle of Conquest - Workshop - Alliance Controlled'),
-- -- Horde
(27, 1482, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Workshop - Team Horde'),
(27, 1482, 4710, 1, 11, 4230, 1, 'Graveyard - Isle of Conquest - Workshop - Horde Controlled'),
-- Defaults (fallback)
-- -- Alliance
(27, 1483, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Alliance Base - Team Alliance'),
(27, 1483, 4710, 0, 11, 4339, 0, 'Graveyard - Isle of Conquest - Alliance Base - Keep NOT Alliance Controlled'),
-- -- Horde
(27, 1484, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Horde Base - Team Horde'),
(27, 1484, 4710, 1, 11, 4345, 0, 'Graveyard - Isle of Conquest - Horde Base - Keep NOT Horde Controlled'),
-- Alliance Keep
-- -- Alliance
(27, 1485, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Alliance Keep - Team Alliance'),
(27, 1485, 4710, 0, 11, 4339, 1, 'Graveyard - Isle of Conquest - Alliance Keep - Alliance Controlled'),
-- -- Horde
(27, 1485, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Alliance Keep - Team Horde'),
(27, 1485, 4710, 1, 11, 4340, 1, 'Graveyard - Isle of Conquest - Alliance Keep - Horde Controlled'),
-- Horde Keep
-- -- Alliance
(27, 1486, 4710, 0, 6, 469, 0, 'Graveyard - Isle of Conquest - Horde Keep - Team Alliance'),
(27, 1486, 4710, 0, 11, 4344, 1, 'Graveyard - Isle of Conquest - Horde Keep - Alliance Controlled'),
-- -- Horde
(27, 1486, 4710, 1, 6, 67, 0, 'Graveyard - Isle of Conquest - Horde Keep - Team Horde'),
(27, 1486, 4710, 1, 11, 4345, 1, 'Graveyard - Isle of Conquest - Horde Keep - Horde Controlled');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceEntry` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+1000;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES
(33, @SPAWNGROUP+0, 0, 11, 4345, 1, 'Isle of Conquest - Spawn Group - Horde Keep - Horde Controlled'),
(33, @SPAWNGROUP+1, 0, 11, 4348, 1, 'Isle of Conquest - Spawn Group - Horde Keep - Horde Contested'),
(33, @SPAWNGROUP+2, 0, 11, 4347, 1, 'Isle of Conquest - Spawn Group - Horde Keep - Alliance Contested'),
(33, @SPAWNGROUP+3, 0, 11, 4344, 1, 'Isle of Conquest - Spawn Group - Horde Keep - Alliance Controlled'),
(33, @SPAWNGROUP+4, 0, 11, 4340, 1, 'Isle of Conquest - Spawn Group - Alliance Keep - Horde Controlled'),
(33, @SPAWNGROUP+5, 0, 11, 4343, 1, 'Isle of Conquest - Spawn Group - Alliance Keep - Horde Contested'),
(33, @SPAWNGROUP+6, 0, 11, 4342, 1, 'Isle of Conquest - Spawn Group - Alliance Keep - Alliance Contested'),
(33, @SPAWNGROUP+7, 0, 11, 4339, 1, 'Isle of Conquest - Spawn Group - Alliance Keep - Alliance Controlled'),
(33, @SPAWNGROUP+8, 0, 11, 4306, 1, 'Isle of Conquest - Spawn Group - Quarry - Neutral Controlled'),
(33, @SPAWNGROUP+9, 0, 11, 4308, 1, 'Isle of Conquest - Spawn Group - Quarry - Horde Controlled'),
(33, @SPAWNGROUP+10, 0, 11, 4307, 1, 'Isle of Conquest - Spawn Group - Quarry - Horde Contested'),
(33, @SPAWNGROUP+11, 0, 11, 4310, 1, 'Isle of Conquest - Spawn Group - Quarry - Alliance Contested'),
(33, @SPAWNGROUP+12, 0, 11, 4309, 1, 'Isle of Conquest - Spawn Group - Quarry - Alliance Controlled'),
(33, @SPAWNGROUP+13, 0, 11, 4311, 1, 'Isle of Conquest - Spawn Group - Refinery - Neutral Controlled'),
(33, @SPAWNGROUP+14, 0, 11, 4313, 1, 'Isle of Conquest - Spawn Group - Refinery - Horde Controlled'),
(33, @SPAWNGROUP+15, 0, 11, 4312, 1, 'Isle of Conquest - Spawn Group - Refinery - Horde Contested'),
(33, @SPAWNGROUP+16, 0, 11, 4315, 1, 'Isle of Conquest - Spawn Group - Refinery - Alliance Contested'),
(33, @SPAWNGROUP+17, 0, 11, 4314, 1, 'Isle of Conquest - Spawn Group - Refinery - Alliance Controlled'),
(33, @SPAWNGROUP+18, 0, 11, 4301, 1, 'Isle of Conquest - Spawn Group - Docks - Neutral Controlled'),
(33, @SPAWNGROUP+19, 0, 11, 4303, 1, 'Isle of Conquest - Spawn Group - Docks - Horde Controlled'),
(33, @SPAWNGROUP+20, 0, 11, 4302, 1, 'Isle of Conquest - Spawn Group - Docks - Horde Contested'),
(33, @SPAWNGROUP+21, 0, 11, 4305, 1, 'Isle of Conquest - Spawn Group - Docks - Alliance Contested'),
(33, @SPAWNGROUP+22, 0, 11, 4304, 1, 'Isle of Conquest - Spawn Group - Docks - Alliance Controlled'),
(33, @SPAWNGROUP+23, 0, 11, 4303, 1, 'Isle of Conquest - Spawn Group - Docks, Vehicles - Horde Controlled'),
(33, @SPAWNGROUP+24, 0, 11, 4304, 1, 'Isle of Conquest - Spawn Group - Docks, Vehicles - Alliance Controlled'),
(33, @SPAWNGROUP+25, 0, 11, 4294, 1, 'Isle of Conquest - Spawn Group - Workshop - Neutral Controlled'),
(33, @SPAWNGROUP+26, 0, 11, 4230, 1, 'Isle of Conquest - Spawn Group - Workshop - Horde Controlled'),
(33, @SPAWNGROUP+27, 0, 11, 4293, 1, 'Isle of Conquest - Spawn Group - Workshop - Horde Contested'),
(33, @SPAWNGROUP+28, 0, 11, 4228, 1, 'Isle of Conquest - Spawn Group - Workshop - Alliance Contested'),
(33, @SPAWNGROUP+29, 0, 11, 4229, 1, 'Isle of Conquest - Spawn Group - Workshop - Alliance Controlled'),
(33, @SPAWNGROUP+30, 0, 11, 4230, 1, 'Isle of Conquest - Spawn Group - Workshop, Vehicles - Horde Controlled'),
(33, @SPAWNGROUP+31, 0, 11, 4229, 1, 'Isle of Conquest - Spawn Group - Workshop, Vehicles - Alliance Controlled'),
(33, @SPAWNGROUP+32, 0, 11, 4296, 1, 'Isle of Conquest - Spawn Group - Hangar - Neutral Controlled'),
(33, @SPAWNGROUP+33, 0, 11, 4298, 1, 'Isle of Conquest - Spawn Group - Hangar - Horde Controlled'),
(33, @SPAWNGROUP+34, 0, 11, 4297, 1, 'Isle of Conquest - Spawn Group - Hangar - Horde Contested'),
(33, @SPAWNGROUP+35, 0, 11, 4300, 1, 'Isle of Conquest - Spawn Group - Hangar - Alliance Contested'),
(33, @SPAWNGROUP+36, 0, 11, 4299, 1, 'Isle of Conquest - Spawn Group - Hangar - Alliance Controlled'),
(33, @SPAWNGROUP+37, 0, 11, 4322, 1, 'Isle of Conquest - Spawn Group - Horde Keep Breached'),
(33, @SPAWNGROUP+37, 1, 11, 4321, 1, 'Isle of Conquest - Spawn Group - Horde Keep Breached'),
(33, @SPAWNGROUP+37, 2, 11, 4320, 1, 'Isle of Conquest - Spawn Group - Horde Keep Breached'),
(33, @SPAWNGROUP+38, 0, 11, 4323, 1, 'Isle of Conquest - Spawn Group - Alliance Keep Breached'),
(33, @SPAWNGROUP+38, 1, 11, 4324, 1, 'Isle of Conquest - Spawn Group - Alliance Keep Breached'),
(33, @SPAWNGROUP+38, 2, 11, 4325, 1, 'Isle of Conquest - Spawn Group - Alliance Keep Breached'),
(33, @SPAWNGROUP+39, 0, 11, 4322, 1, 'Isle of Conquest - Spawn Group - Horde Front Gate Breached'),
(33, @SPAWNGROUP+40, 0, 11, 4325, 1, 'Isle of Conquest - Spawn Group - Alliance East Gate Breached');
UPDATE `gameobject_template` SET `ScriptName` = 'go_ioc_capturable_object' WHERE `entry` IN (195393,195391,195398,195396,195338,195336,195334,195343,195341,195339,195157,195151,195149,195133,195130,195132,195158,195155,195153);
UPDATE `gameobject_template` SET `ScriptName` = 'go_ioc_contested_object' WHERE `entry` IN (195394,195392,195399,195397,195337,195335,195342,195340,195152,195150,195145,195144,195156,195154);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+10000;
-- Keep cannons
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `StringId`, `VerifiedBuild`) VALUES
(@CGUID+159, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1156.2222900390625, -866.80902099609375, 87.8754425048828125, 4.660028934478759765, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+160, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1137.7222900390625, -688.51739501953125, 88.402252197265625, 3.31612563133239746, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+161, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 410.142364501953125, -754.515625, 87.79909515380859375, 1.780235767364501953, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+162, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1138.892333984375, -835.734375, 88.37462615966796875, 2.984513044357299804, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+163, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1135.1353759765625, -840.73785400390625, 88.0251922607421875, 3.019419670104980468, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+164, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1160.02783203125, -660.935791015625, 87.9332122802734375, 1.413716673851013183, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+165, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1167.1285400390625, -669.2117919921875, 87.96822357177734375, 1.361356854438781738, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+166, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1142.5885009765625, -691.9461669921875, 87.97562408447265625, 3.31612563133239746, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+167, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1162.078125, -863.717041015625, 88.35797119140625, 4.799655437469482421, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+168, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 404.736114501953125, -754.79864501953125, 87.79889678955078125, 1.780235767364501953, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+169, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 415.82464599609375, -753.796875, 87.798980712890625, 1.780235767364501953, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+170, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1164.5504150390625, -663.984375, 88.35713958740234375, 1.396263360977172851, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+171, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1134.701416015625, -683.89581298828125, 88.040863037109375, 3.246312379837036132, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+172, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1166.1319580078125, -858.390625, 87.96527099609375, 4.817108631134033203, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+173, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 1144.326416015625, -833.30902099609375, 87.9267730712890625, 3.001966238021850585, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+174, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 425.0694580078125, -879.8507080078125, 88.0445556640625, 0.436332315206527709, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+175, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 426.998260498046875, -785.85589599609375, 87.799102783203125, 5.742133140563964843, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+176, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 427.477447509765625, -884.93927001953125, 88.04461669921875, 0.436332315206527709, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+177, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 429.357635498046875, -780.796875, 87.79906463623046875, 5.79449319839477539, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+178, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 429.9132080078125, -890.435791015625, 88.04461669921875, 0.436332315206527709, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+179, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 431.729156494140625, -775.66839599609375, 87.7990875244140625, 5.8817596435546875, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+180, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 408.055572509765625, -911.8819580078125, 88.0445404052734375, 4.642575740814208984, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+181, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 413.609375, -912.388916015625, 88.04470062255859375, 4.660028934478759765, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+182, 34944, 628, 4710, 4752, '0', 0, 0, 0, 0, 402.5538330078125, -911.29339599609375, 88.044647216796875, 4.572762489318847656, 7200, 0, 0, 451676, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162); -- Keep Cannon (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 75925 - Facing Saver, 52455 - PvP Vehicle Health Regen Suppression)
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
-- triggers
(@CGUID+5, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1287.376708984375, -1079.4444580078125, 2.130718231201171875, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+6, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1247.611083984375, -1102.5694580078125, 4.007014274597167968, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+7, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1272.234375, -1093.9010009765625, 0.447357356548309326, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+8, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1248.8646240234375, -1136.9617919921875, 3.470679283142089843, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+9, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1267.7413330078125, -1158.6302490234375, 2.388451337814331054, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+10, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1272.71875, -1125.421875, 3.611910343170166015, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+11, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1301.310791015625, -1117.357666015625, 1.536232352256774902, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+12, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1298.07470703125, -1152.48095703125, 1.257777333259582519, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+13, 23472, 628, 4710, 4752, '0', 0, 0, 0, 0, 1236.77783203125, -1177.361083984375, 4.7059326171875, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+19, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 774.84722900390625, -887.0711669921875, 56.27956008911132812, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+20, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 774.90802001953125, -886.982666015625, 56.26288986206054687, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+21, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 775.37677001953125, -887.11456298828125, 56.132415771484375, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+22, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 775.11456298828125, -886.8663330078125, 56.20595550537109375, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+23, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 774.7725830078125, -887.326416015625, 56.29906082153320312, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+24, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 775.22222900390625, -886.796875, 56.17631912231445312, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+25, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 775.09552001953125, -887.046875, 56.21084976196289062, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+26, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 775.12847900390625, -887.234375, 56.20093154907226562, 1.466076612472534179, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+29, 22515, 628, 4710, 4752, '0', 0, 0, 0, 0, 766.93402099609375, -900.967041015625, 35.64332199096679687, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+32, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1230.5850830078125, -1207.892333984375, 4.828125476837158203, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+33, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1254.03125, -1201.3697509765625, 2.774367332458496093, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+34, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1290.9305419921875, -1191.8489990234375, 1.83943641185760498, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+35, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1273.85595703125, -1219.5416259765625, 2.406368255615234375, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+36, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1238.5660400390625, -1238.717041015625, 4.824849605560302734, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+37, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1233.2239990234375, -1260.123291015625, 12.68245506286621093, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+38, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1262.0086669921875, -1248.3958740234375, 2.581503152847290039, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+120, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1267.96875, -1038.8125, 0.826364338397979736, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+121, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1263.2447509765625, -1064.015625, 2.007972240447998046, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+122, 23472, 628, 4710, 0, '0', 0, 0, 0, 0, 1303.3958740234375, -1062.3836669921875, 0.083269335329532623, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- World Trigger (Large AOI, Not Immune PC/NPC) (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+183, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1401.1336669921875, -1167.3350830078125, 4.88478851318359375, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+184, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1400.73095703125, -1144.4913330078125, 5.117686271667480468, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+185, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1446.5260009765625, -1338.8958740234375, 4.475928306579589843, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+186, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1449.9879150390625, -1327.798583984375, 4.599755287170410156, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+187, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1444.998291015625, -1349.861083984375, 5.181267261505126953, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+188, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1448.560791015625, -1333.5191650390625, 4.450309276580810546, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+189, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1400.267333984375, -1150.576416015625, 5.154570579528808593, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162), -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+190, 36171, 628, 4710, 4752, '0', 0, 0, 0, 0, 1400.4114990234375, -1155.9913330078125, 5.118544578552246093, 0, 7200, 0, 0, 36, 0, 0, NULL, NULL, NULL, NULL, 53162); -- World Trigger (Infinite AOI) (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Honorable Defenders
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+79, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 250.65625, -1159.37158203125, 17.28952980041503906, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Keep
(@CGUID+148, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 1212.0365, -762.69617, 48.91625, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
(@CGUID+149, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 347.64062, -836.16144, 48.91625, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Quarry
(@CGUID+150, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 250.65625, -1159.37158203125, 17.28952980041503906, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Hangar
(@CGUID+151, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.345870018005371093, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
(@CGUID+152, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.345870018005371093, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Workshop
(@CGUID+153, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
(@CGUID+154, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Docks
(@CGUID+155, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
(@CGUID+156, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Refinery
(@CGUID+157, 35380, 628, 4710, 4748, '0', 0, 0, 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0), -- Honorable Defender Trigger (Horde) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
(@CGUID+158, 35379, 628, 4710, 4748, '0', 0, 0, 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 0); -- Honorable Defender Trigger (Alliance) (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 66157 - Honorable Defender)
-- Spirit Guides
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+43, 13117, 628, 4710, 4750, '0', 0, 0, 0, 1, 774.51214599609375, -646.88543701171875, 9.864583015441894531, 4.625122547149658203, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53007), -- Horde Spirit Guide (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+64, 13117, 628, 4710, 0, '0', 0, 0, 0, 1, 784.1475830078125, -1095.6510009765625, 135.53009033203125, 3.141592741012573242, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53007), -- Horde Spirit Guide (Area: 0 - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+72, 13117, 628, 4710, 4748, '0', 0, 0, 0, 1, 628.53643798828125, -277.392364501953125, 11.30339336395263671, 5.934119224548339843, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53007), -- Horde Spirit Guide (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+139, 13116, 628, 4710, 4747, '0', 0, 0, 0, 1, 628.7725830078125, -277.508697509765625, 11.31214237213134765, 5.934119224548339843, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Spirit Guide (Area: Workshop - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+140, 13117, 628, 4710, 4749, '0', 0, 0, 0, 1, 1301.5086669921875, -832.77777099609375, 48.99958038330078125, 1.553343057632446289, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Horde Spirit Guide (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+141, 13117, 628, 4710, 4749, '0', 0, 0, 0, 1, 1147.3472900390625, -1245.0885009765625, 16.68014335632324218, 1.919862151145935058, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Horde Spirit Guide (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+142, 13116, 628, 4710, 4749, '0', 0, 0, 0, 1, 440.23089599609375, -309.12847900390625, 51.89045333862304687, 5.846852779388427734, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Spirit Guide (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+143, 13116, 628, 4710, 4749, '0', 0, 0, 0, 1, 278.041656494140625, -883.46875, 50.00659942626953125, 1.535889744758605957, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Spirit Guide (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+144, 13117, 628, 4710, 4753, '0', 0, 0, 0, 1, 277.92535400390625, -883.40625, 50.00659942626953125, 1.448623299598693847, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Horde Spirit Guide (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+145, 13116, 628, 4710, 4750, '0', 0, 0, 0, 1, 784.3836669921875, -1095.7691650390625, 135.528228759765625, 3.141592741012573242, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Spirit Guide (Area: Hangar - Difficulty: 0) CreateObject1 (Auras: 9036 - Ghost, 9617 - Ghost Visual)
(@CGUID+146, 13116, 628, 4710, 4753, '0', 0, 0, 0, 1, 774.748291015625, -647.00177001953125, 9.865810394287109375, 4.625122547149658203, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Spirit Guide (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
(@CGUID+147, 13116, 628, 4710, 4752, '0', 0, 0, 0, 1, 1301.3055419921875, -832.671875, 48.99958038330078125, 1.518436431884765625, 7200, 0, 0, 1129190, 6310, 0, NULL, NULL, NULL, NULL, 53162); -- Alliance Spirit Guide (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: 9036 - Ghost)
-- Oil-covered Hawk
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 885.9461669921875, -531.1475830078125, 0.391945332288742065, 4.450589656829833984, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+1, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 885.05206298828125, -509.729156494140625, 5.066973686218261718, 4.450589656829833984, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+2, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 808.64410400390625, -688.920166015625, 2.001918315887451171, 2.164208173751831054, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+3, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 1337.30908203125, -367.446197509765625, 0.230803340673446655, 5.689773082733154296, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+4, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 1363.3697509765625, -407.01910400390625, 0.812617301940917968, 5.550147056579589843, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+14, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 1349.1353759765625, -439.118072509765625, 0.259844332933425903, 5.550147056579589843, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+15, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 1299.670166015625, -409.2413330078125, 0.27183234691619873, 1.308996915817260742, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+16, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 772.76739501953125, -570.3524169921875, 0.388206332921981811, 0, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+17, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 784.54339599609375, -546.90625, 1.641917347908020019, 4.450589656829833984, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+18, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 704.05902099609375, -663.295166015625, 2.097845315933227539, 0, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+27, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 661.36114501953125, -729.45660400390625, 0.237812340259552001, 2.164208173751831054, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+28, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 694.9288330078125, -589.59893798828125, 2.620331287384033203, 2.164208173751831054, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+30, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 716.6492919921875, -562.93402099609375, 1.780481338500976562, 4.258603572845458984, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+31, 25748, 628, 4710, 4752, '0', 0, 0, 0, 0, 676.1788330078125, -626.0538330078125, 1.276142358779907226, 5.113814830780029296, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Horde Keep - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+39, 25748, 628, 4710, 4750, '0', 0, 0, 0, 0, 886.8507080078125, -683.80902099609375, 0.453427344560623168, 2.164208173751831054, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Hangar - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+40, 25748, 628, 4710, 4750, '0', 0, 0, 0, 0, 838.48956298828125, -633.26910400390625, 1.17678534984588623, 5.585053443908691406, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Hangar - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+96, 25748, 628, 4710, 0, '0', 0, 0, 0, 0, 579.23089599609375, -601.15106201171875, 1.009244322776794433, 0, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+97, 25748, 628, 4710, 0, '0', 0, 0, 0, 0, 560.88714599609375, -575.36285400390625, 0.648507297039031982, 5.096361160278320312, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+98, 25748, 628, 4710, 0, '0', 0, 0, 0, 0, 605.94097900390625, -542.11981201171875, 0.608721315860748291, 3.612831592559814453, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+101, 25748, 628, 4710, 0, '0', 0, 0, 0, 0, 928.25177001953125, -589.420166015625, 0.77868729829788208, 3.141592741012573242, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+111, 25748, 628, 4710, 4749, '0', 0, 0, 0, 0, 1273.1129150390625, -500.0850830078125, 0.449441343545913696, 1.151917338371276855, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Oil-covered Hawk (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
(@CGUID+112, 25748, 628, 4710, 4749, '0', 0, 0, 0, 0, 1319.3663330078125, -458.55035400390625, 0.339978337287902832, 1.518436431884765625, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Oil-covered Hawk (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 45948 - Oil Coat)
-- Demolishers
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `stringId`, `VerifiedBuild`) VALUES
(@CGUID+41, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 761.80902099609375, -854.2274169921875, 12.52632427215576171, 1.466076612472534179, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+42, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 793.0555419921875, -852.71875, 12.56713294982910156, 1.710422635078430175, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+44, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 751.828125, -852.732666015625, 12.52509784698486328, 1.466076612472534179, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+45, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 783.47222900390625, -853.9600830078125, 12.54775047302246093, 1.710422635078430175, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+46, 35069, 628, 4710, 4750, '0', 0, 0, 0, 0, 773.6805419921875, -884.092041015625, 16.8090362548828125, 1.588249564170837402, 180, 0, 0, 3161732, 100, 0, NULL, NULL, NULL, NULL, NULL, 53007), -- Siege Engine (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+134, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 761.80902099609375, -854.2274169921875, 12.52632427215576171, 1.466076612472534179, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 0), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+135, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 793.0555419921875, -852.71875, 12.56713294982910156, 1.710422635078430175, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 0), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+136, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 751.828125, -852.732666015625, 12.52509784698486328, 1.466076612472534179, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 0), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+137, 34775, 628, 4710, 4750, '0', 0, 0, 0, 0, 783.47222900390625, -853.9600830078125, 12.54775047302246093, 1.710422635078430175, 180, 0, 0, 1693785, 0, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 0), -- Demolisher (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+138, 34776, 628, 4710, 4750, '0', 0, 0, 0, 0, 773.6805419921875, -884.092041015625, 16.8090362548828125, 1.588249564170837402, 180, 0, 0, 3161732, 100, 0, NULL, NULL, NULL, NULL, NULL, 0); -- Siege Engine (Area: Hangar - Difficulty: 0) CreateObject2 (Auras: )
-- Fires (missing lots of them)
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+130, 35377, 628, 4710, 4753, '0', 0, 0, 0, 0, 366.77777099609375, -903.25347900390625, 73.65229034423828125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Door Fire (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+131, 35377, 628, 4710, 4753, '0', 0, 0, 0, 0, 368.43402099609375, -899.44793701171875, 87.982452392578125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Door Fire (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+132, 35377, 628, 4710, 4753, '0', 0, 0, 0, 0, 323.576385498046875, -904.24481201171875, 88.535675048828125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Door Fire (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+133, 35377, 628, 4710, 4753, '0', 0, 0, 0, 0, 320.60589599609375, -901.0850830078125, 70.51508331298828125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Door Fire (Area: Alliance Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+196, 35377, 628, 4710, 4752, '0', 0, 0, 0, 0, 1148.296875, -762.80731201171875, 89.02325439453125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Door Fire (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+197, 35377, 628, 4710, 4752, '0', 0, 0, 0, 0, 1153.4444580078125, -786.17364501953125, 71.0856475830078125, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Door Fire (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
(@CGUID+198, 35377, 628, 4710, 4752, '0', 0, 0, 0, 0, 1150.1180419921875, -750.0399169921875, 81.47015380859375, 0, 7200, 0, 0, 152441, 0, 0, NULL, NULL, NULL, NULL, 53162); -- Door Fire (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: 67359 - Door Fire)
-- Penguins
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+100, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 601.43231201171875, -353.758697509765625, 0.924143314361572265, 5.550147056579589843, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+102, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 531.89581298828125, -206.338546752929687, 0.520865321159362792, 4.24114990234375, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+103, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 616.2413330078125, -190.244796752929687, 0.807831287384033203, 4.450589656829833984, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+104, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 635.31427001953125, -189.84722900390625, 0.78067028522491455, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+105, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 616.91839599609375, -192.489578247070312, 0.796478331089019775, 1.047197580337524414, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+106, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 634.48956298828125, -186.022567749023437, 0.813599288463592529, 1.448623299598693847, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+107, 32498, 628, 4710, 4749, '0', 0, 0, 0, 0, 647.0399169921875, -171.010421752929687, 0.305968344211578369, 1.448623299598693847, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+108, 32498, 628, 4710, 4749, '0', 0, 0, 0, 0, 934.37847900390625, -303.7413330078125, 0.178161337971687316, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+109, 32498, 628, 4710, 4749, '0', 0, 0, 0, 0, 947.670166015625, -177.96875, 0.290117323398590087, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+110, 32498, 628, 4710, 4749, '0', 0, 0, 0, 0, 958.3125, -159.871536254882812, 0.705229341983795166, 1.448623299598693847, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: Docks - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+113, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1375.9114990234375, -297.821197509765625, 0.546406328678131103, 3.40339207649230957, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+114, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1378.828125, -298.42535400390625, 0.51107335090637207, 2.94960641860961914, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+115, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1378.0035400390625, -297.005218505859375, 0.515660345554351806, 1.047197580337524414, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+116, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1377.28125, -286.373260498046875, 0.519130349159240722, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+117, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1386.9791259765625, -297.375, 0.532947301864624023, 0.331612557172775268, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+118, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1388.5521240234375, -297.086822509765625, 0.534635305404663085, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
(@CGUID+119, 32498, 628, 4710, 0, '0', 0, 0, 0, 0, 1399.6927490234375, -297.20660400390625, 0.76446533203125, 3.490658521652221679, 7200, 0, 0, 2035, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Glacier Penguin (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 51583 - [DND] Creature Random Size (0 - 50))
-- Catapults
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `StringId`, `VerifiedBuild`) VALUES
(@CGUID+76, 34793, 628, 4710, 4748, '0', 0, 0, 0, 0, 770.5382080078125, -321.857635498046875, 12.71080684661865234, 4.729842185974121093, 180, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Catapult (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+77, 34793, 628, 4710, 4748, '0', 0, 0, 0, 0, 791.59027099609375, -321.149322509765625, 12.71045589447021484, 4.677482128143310546, 180, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Catapult (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+78, 34793, 628, 4710, 4748, '0', 0, 0, 0, 0, 780.91668701171875, -321.430572509765625, 12.71062374114990234, 4.694935798645019531, 180, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Catapult (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+99, 34793, 628, 4710, 0, '0', 0, 0, 0, 0, 802.60418701171875, -322.34722900390625, 12.70589637756347656, 4.660028934478759765, 180, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1735', 53007), -- Catapult (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+126, 34793, 628, 4710, 4747, '0', 0, 0, 0, 0, 770.375, -321.84027099609375, 12.71123027801513671, 4.729842185974121093, 7200, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Catapult (Area: Workshop - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+127, 34793, 628, 4710, 4747, '0', 0, 0, 0, 0, 802.44097900390625, -322.329864501953125, 12.70589733123779296, 4.660028934478759765, 7200, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Catapult (Area: Workshop - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+128, 34793, 628, 4710, 4747, '0', 0, 0, 0, 0, 780.75347900390625, -321.40972900390625, 12.71072578430175781, 4.694935798645019531, 7200, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162), -- Catapult (Area: Workshop - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+129, 34793, 628, 4710, 4747, '0', 0, 0, 0, 0, 791.4305419921875, -321.1319580078125, 12.71054267883300781, 4.677482128143310546, 7200, 0, 0, 564595, 100, 0, NULL, NULL, NULL, NULL, 'bg_ioc_faction_1732', 53162); -- Catapult (Area: Workshop - Difficulty: 0) CreateObject1 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
-- Glaive Throwers
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+73, 35273, 628, 4710, 4748, '0', 0, 0, 0, 0, 787.47918701171875, -343.060760498046875, 12.25117206573486328, 4.712388992309570312, 180, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glaive Thrower (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+74, 35273, 628, 4710, 4748, '0', 0, 0, 0, 0, 802.65106201171875, -343.291656494140625, 12.17534732818603515, 4.712388992309570312, 180, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glaive Thrower (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+75, 35273, 628, 4710, 4748, '0', 0, 0, 0, 0, 771.842041015625, -342.401031494140625, 12.19386196136474609, 4.712388992309570312, 180, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Glaive Thrower (Area: Quarry - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+123, 34802, 628, 4710, 4747, '0', 0, 0, 0, 0, 787.31597900390625, -343.04339599609375, 12.24087047576904296, 4.712388992309570312, 7200, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Glaive Thrower (Area: Workshop - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+124, 34802, 628, 4710, 4747, '0', 0, 0, 0, 0, 802.65106201171875, -343.248260498046875, 12.17302513122558593, 4.712388992309570312, 7200, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Glaive Thrower (Area: Workshop - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
(@CGUID+125, 34802, 628, 4710, 4747, '0', 0, 0, 0, 0, 771.68231201171875, -342.380218505859375, 12.19341564178466796, 4.712388992309570312, 7200, 0, 0, 1027563, 0, 0, NULL, NULL, NULL, NULL, 53162); -- Glaive Thrower (Area: Workshop - Difficulty: 0) CreateObject2 (Auras: 52455 - PvP Vehicle Health Regen Suppression)
-- Human Miners
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+47, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 300.42535400390625, -1180.0069580078125, 16.7330169677734375, 1.431169986724853515, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+48, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 302.197906494140625, -1141.2257080078125, 30.97160530090332031, 5.497786998748779296, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+49, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 320.243072509765625, -1147.7430419921875, 34.2675628662109375, 4.084070205688476562, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+50, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 331.192718505859375, -1129.8316650390625, 19.95678901672363281, 3.647738218307495117, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+51, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 273.28125, -1260.579833984375, 42.1154632568359375, 4.956735134124755859, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+52, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 303.885406494140625, -1243.829833984375, 25.91202926635742187, 4.660028934478759765, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+53, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 374.927093505859375, -1160.296875, 28.20929718017578125, 5.235987663269042968, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+54, 61696, 628, 4710, 4750, '0', 0, 0, 0, 1, 231.904510498046875, -1076.3663330078125, 17.85601425170898437, 1.884955525398254394, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: Hangar - Difficulty: 0) CreateObject1
(@CGUID+55, 61696, 628, 4710, 0, '0', 0, 0, 0, 1, 203.451385498046875, -1102.0382080078125, 8.814992904663085937, 3.560471534729003906, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+56, 61696, 628, 4710, 0, '0', 0, 0, 0, 1, 226.626739501953125, -1068.6961669921875, 27.455169677734375, 1.623156189918518066, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+57, 61696, 628, 4710, 0, '0', 0, 0, 0, 1, 197.4131927490234375, -1107.0260009765625, 16.24344825744628906, 2.460914134979248046, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+59, 61696, 628, 4710, 0, '0', 0, 0, 0, 1, 174.62847900390625, -1132.4410400390625, 10.53891181945800781, 2.94960641860961914, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Human Miner (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+60, 61696, 628, 4710, 0, '0', 0, 0, 0, 1, 172.86285400390625, -1174.263916015625, 2.087067365646362304, 3.281219005584716796, 7200, 0, 0, 118565, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Human Miner (Area: 0 - Difficulty: 0) CreateObject1
-- Peasant workers
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+58, 19444, 628, 4710, 0, '0', 0, 0, 0, 4, 302.064239501953125, -893.94793701171875, 66.069427490234375, 4.223696708679199218, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+61, 19444, 628, 4710, 0, '0', 0, 0, 0, 2, 299.6358642578125, -872.642822265625, 48.95278167724609375, 5.4851837158203125, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection) (possible waypoints or random movement)
(@CGUID+62, 19444, 628, 4710, 0, '0', 0, 0, 0, 4, 265.80902099609375, -891.12847900390625, 76.61261749267578125, 0.890117883682250976, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+63, 19444, 628, 4710, 0, '0', 0, 0, 0, 4, 252.734375, -893.67706298828125, 62.05205535888671875, 5.585053443908691406, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+65, 19444, 628, 4710, 0, '0', 0, 0, 0, 4, 236.64410400390625, -880.6024169921875, 50.06217193603515625, 2.513274192810058593, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+66, 19444, 628, 4710, 0, '0', 0, 0, 0, 2, 233.032989501953125, -874.2430419921875, 64.42089080810546875, 3.31612563133239746, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+67, 19444, 628, 4710, 0, '0', 0, 0, 0, 0, 387.5, -780.22918701171875, 48.91879653930664062, 0.055398445576429367, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: 0 - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection) (possible waypoints or random movement)
(@CGUID+68, 19444, 628, 4710, 4748, '0', 0, 0, 0, 2, 265.3125, -795.59893798828125, 48.99958038330078125, 2.757620096206665039, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+69, 19444, 628, 4710, 4748, '0', 0, 0, 0, 4, 255.423614501953125, -791.1163330078125, 52.6163177490234375, 1.65806281566619873, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+70, 19444, 628, 4710, 4748, '0', 0, 0, 0, 4, 258.33160400390625, -792.6961669921875, 63.36460113525390625, 5.98647928237915039, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+71, 19444, 628, 4710, 4748, '0', 0, 0, 0, 0, 271.357635498046875, -790.48785400390625, 48.96506500244140625, 6.009759426116943359, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection) (possible waypoints or random movement)
(@CGUID+93, 19444, 628, 4710, 4748, '0', 0, 0, 0, 4, 240.986114501953125, -787.29864501953125, 73.56451416015625, 5.777040004730224609, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+94, 19444, 628, 4710, 4748, '0', 0, 0, 0, 2, 265.524322509765625, -778.732666015625, 48.99958038330078125, 2.111848354339599609, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+95, 19444, 628, 4710, 4748, '0', 0, 0, 0, 2, 238.8090362548828125, -786.42535400390625, 55.42572784423828125, 3.385938644409179687, 7200, 0, 0, 225838, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Peasant Worker (Area: Quarry - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
-- Forsaken Miner
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+80, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 226.626739501953125, -1068.6961669921875, 27.455169677734375, 1.623156189918518066, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+81, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 174.62847900390625, -1132.4410400390625, 10.53891181945800781, 2.94960641860961914, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+82, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 300.42535400390625, -1180.0069580078125, 16.7330169677734375, 1.431169986724853515, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+83, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 231.904510498046875, -1076.3663330078125, 17.85601425170898437, 1.884955525398254394, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+84, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 197.4131927490234375, -1107.0260009765625, 16.24344825744628906, 2.460914134979248046, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+85, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 203.451385498046875, -1102.0382080078125, 8.814992904663085937, 3.560471534729003906, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+86, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 302.197906494140625, -1141.2257080078125, 30.97160530090332031, 5.497786998748779296, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+87, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 320.243072509765625, -1147.7430419921875, 34.2675628662109375, 4.084070205688476562, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+88, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 331.192718505859375, -1129.8316650390625, 19.95678901672363281, 3.647738218307495117, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject2
(@CGUID+89, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 273.28125, -1260.579833984375, 42.1154632568359375, 4.956735134124755859, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject1
(@CGUID+90, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 303.885406494140625, -1243.829833984375, 25.91202926635742187, 4.660028934478759765, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject1
(@CGUID+91, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 172.86285400390625, -1174.263916015625, 2.087067365646362304, 3.281219005584716796, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject1
(@CGUID+92, 15075, 628, 4710, 4748, '0', 0, 0, 0, 1, 374.927093505859375, -1160.296875, 28.20929718017578125, 5.235987663269042968, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Forsaken Miner (Area: Quarry - Difficulty: 0) CreateObject1
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+191, 51435, 641, 4710, 4752, '0', 0, 0, 0, 0, -13.1210212707519531, -0.0992838516831398, 24.45633125305175781, 3.106686115264892578, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Alliance Gunship (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+192, 51436, 642, 4710, 4752, '0', 0, 0, 0, 0, -5.64433193206787109, 0.352720469236373901, 34.79607009887695312, 3.03687286376953125, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Horde Gunship (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+193, 35003, 642, 4710, 4750, '0', 0, 0, 0, 0, 2.516399621963500976, -3.52628135681152343, 34.24978256225585937, 1.558264493942260742, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007); -- Horde Gunship Captain (Area: Hangar - Difficulty: 0) CreateObject1 (Auras: 47934 - [DND] Force Response - Salute (0. Aura)) (possible waypoints or random movement)
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+194, 35003, 628, 4710, 4750, '0', 0, 0, 0, 0, 825.66668701171875, -994.00518798828125, 134.3568878173828125, 3.40339207649230957, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 'npc_ioc_gunship_captain', 53162), -- Horde Gunship Captain (Area: Hangar - Difficulty: 0) CreateObject2
(@CGUID+195, 51435, 628, 4710, 4750, '0', 0, 0, 0, 0, 825.66668701171875, -994.00518798828125, 134.3568878173828125, 3.40339207649230957, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 'npc_ioc_gunship_captain', 0); -- Alliance Gunship Captain (Area: Hangar - Difficulty: 0) CreateObject2
-- keep bosses
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+199, 34924, 628, 4710, 4747, '0', 0, 0, 0, 1, 224.982635498046875, -831.57293701171875, 60.90335464477539062, 0, 7200, 0, 0, 44038410, 0, 0, NULL, NULL, NULL, NULL, 53162), -- High Commander Halford Wyrmbane (Area: Workshop - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+200, 34919, 628, 4710, 4753, '0', 0, 0, 0, 1, 262.763885498046875, -837.32293701171875, 50.52349090576171875, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53007), -- 7th Legion Infantry (Area: Alliance Keep - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+201, 34919, 628, 4710, 4753, '0', 0, 0, 0, 1, 262.90972900390625, -830.4757080078125, 50.52349472045898437, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53007), -- 7th Legion Infantry (Area: Alliance Keep - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+202, 34919, 628, 4710, 4753, '0', 0, 0, 0, 1, 262.87847900390625, -833.8680419921875, 50.52349472045898437, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53007), -- 7th Legion Infantry (Area: Alliance Keep - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+203, 34919, 628, 4710, 4753, '0', 0, 0, 0, 1, 262.967010498046875, -826.7725830078125, 50.52349090576171875, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53007), -- 7th Legion Infantry (Area: Alliance Keep - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+204, 34919, 628, 4710, 0, '0', 0, 0, 0, 1, 224.376739501953125, -827.40106201171875, 60.90335464477539062, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- 7th Legion Infantry (Area: 0 - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+205, 34919, 628, 4710, 0, '0', 0, 0, 0, 1, 223.3229217529296875, -833.21875, 60.90335464477539062, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- 7th Legion Infantry (Area: 0 - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+206, 34919, 628, 4710, 0, '0', 0, 0, 0, 1, 223.8402862548828125, -835.513916015625, 60.90335464477539062, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- 7th Legion Infantry (Area: 0 - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+207, 34919, 628, 4710, 0, '0', 0, 0, 0, 1, 223.2934112548828125, -829.2100830078125, 60.90335464477539062, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- 7th Legion Infantry (Area: 0 - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+208, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1294.7535400390625, -761.451416015625, 70.0415496826171875, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+209, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1300.5399169921875, -764.08160400390625, 50.70293045043945312, 2.897246599197387695, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+210, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1295.7100830078125, -757.5399169921875, 70.04154205322265625, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+211, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1300.4322509765625, -775.70660400390625, 50.70293045043945312, 2.897246599197387695, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+212, 34922, 628, 4710, 4752, '0', 0, 0, 0, 1, 1295.439208984375, -765.732666015625, 70.0540618896484375, 0, 7200, 0, 0, 44038410, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Overlord Agmar (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: 177684 - Unit Frame)
(@CGUID+213, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1294.9600830078125, -770.52606201171875, 70.04145050048828125, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+214, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1300.8697509765625, -757.95831298828125, 50.70293045043945312, 2.897246599197387695, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+215, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1300.76220703125, -769.58331298828125, 50.70293045043945312, 2.897246599197387695, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+216, 34918, 628, 4710, 4752, '0', 0, 0, 0, 1, 1296.0660400390625, -774.78472900390625, 70.04144287109375, 0, 7200, 0, 0, 56460, 0, 0, NULL, NULL, NULL, NULL, 53162), -- Kor'kron Guard (Area: Horde Keep - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+217, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1233.154541015625, -685.33331298828125, 49.32620620727539062, 0.506145477294921875, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+218, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1323.454833984375, -717.48956298828125, 52.20786285400390625, 2.617993831634521484, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+219, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1251.34375, -685.13543701171875, 49.13456344604492187, 3.857177734375, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+220, 36167, 628, 4710, 4752, '0', 0, 0, 0, 0, 1325.0972900390625, -804.70660400390625, 49.04310226440429687, 3.333578824996948242, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Wolf (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+221, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1315.248291015625, -713.0242919921875, 65.445953369140625, 0.279252678155899047, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+222, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1333.7083740234375, -710.1319580078125, 48.9995880126953125, 4.206243515014648437, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+223, 36167, 628, 4710, 4752, '0', 0, 0, 0, 0, 1353.0225830078125, -832.2742919921875, 49.07046890258789062, 2.373647689819335937, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Wolf (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+224, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1317.84375, -696.78302001953125, 48.943145751953125, 4.520402908325195312, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+225, 36167, 628, 4710, 4752, '0', 0, 0, 0, 0, 1332.24658203125, -842.1007080078125, 49.14832305908203125, 2.600540637969970703, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Wolf (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+226, 36169, 628, 4710, 4752, '0', 0, 0, 0, 1, 1321.1754150390625, -706.3507080078125, 69.2999267578125, 0.03490658476948738, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Bor'gorok Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+227, 36154, 628, 4710, 4752, '0', 0, 0, 0, 0, 1159.3350830078125, -817.39581298828125, 48.95509719848632812, 0, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Valgarde Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+228, 36154, 628, 4710, 4752, '0', 0, 0, 0, 0, 1188.6007080078125, -845.0538330078125, 49.0836944580078125, 2.129301786422729492, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Valgarde Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+229, 36154, 628, 4710, 4752, '0', 0, 0, 0, 0, 1157.2274169921875, -822.576416015625, 53.09723663330078125, 0, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007), -- [DND] Valgarde Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
(@CGUID+230, 36154, 628, 4710, 4752, '0', 0, 0, 0, 0, 1158.7066650390625, -822.921875, 49.03955078125, 0.558505356311798095, 7200, 0, 0, 112919, 0, 0, NULL, NULL, NULL, NULL, 53007); -- [DND] Valgarde Peon (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Delete duplicate cannons
DELETE FROM `creature` WHERE `guid` IN (142965, 142966, 142967, 142968, 142969, 142970, 142971, 142972, 142973, 142974);
-- update current cannons
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -12.1064128875732421, `position_y` = -31.969635009765625, `position_z` = 34.463897705078125, `orientation` = 4.625122547149658203, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75000;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = 19.46366691589355468, `position_y` = -30.7939929962158203, `position_z` = 36.30840682983398437, `orientation` = 4.852015495300292968, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75001;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -2.48760795593261718, `position_y` = -31.9885425567626953, `position_z` = 34.92169570922851562, `orientation` = 4.834561824798583984, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75002;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = 10.26639747619628906, `position_y` = -32.0712966918945312, `position_z` = 35.81895065307617187, `orientation` = 4.852015495300292968, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75003;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -21.4009037017822265, `position_y` = -31.3430347442626953, `position_z` = 34.2563323974609375, `orientation` = 4.677482128143310546, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75004;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -31.0354042053222656, `position_y` = 24.86196708679199218, `position_z` = 21.7027435302734375, `orientation` = 1.65806281566619873, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75005;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -12.4733877182006835, `position_y` = 25.72649765014648437, `position_z` = 21.678131103515625, `orientation` = 1.65806281566619873, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75006;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -21.4492530822753906, `position_y` = 25.398895263671875, `position_z` = 21.66955757141113281, `orientation` = 1.65806281566619873, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75007;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -41.7122764587402343, `position_y` = 22.90813636779785156, `position_z` = 22.60103225708007812, `orientation` = 1.902408838272094726, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75008;
UPDATE `creature` SET `spawnDifficulties` = '0', `position_x` = -2.81130409240722656, `position_y` = 25.78116035461425781, `position_z` = 21.69147872924804687, `orientation` = 1.65806281566619873, `curhealth` = 451676, `VerifiedBuild` = 53162 WHERE `guid` = 75009;
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+10000;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+58, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+61, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+62, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+63, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+65, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+66, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+67, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+68, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+69, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+70, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+93, 0, 0, 0, 0, 0, 1, 0, 234, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+94, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+95, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, '18950'), -- Peasant Worker - 18950 - Invisibility and Stealth Detection
(@CGUID+217, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- [DND] Bor'gorok Peon
(@CGUID+218, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- [DND] Bor'gorok Peon
(@CGUID+220, 0, 0, 0, 0, 0, 1, 0, 418, 0, 0, 0, 0, ''), -- [DND] Bor'gorok Wolf
(@CGUID+221, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- [DND] Bor'gorok Peon
(@CGUID+224, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, ''), -- [DND] Bor'gorok Peon
(@CGUID+226, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, ''); -- [DND] Bor'gorok Peon
UPDATE `creature_template_addon` SET `StandState`=1 WHERE `entry`=25748; -- 25748 (Oil-covered Hawk) - Oil Coat
UPDATE `creature_template_addon` SET `auras`='52455' WHERE `entry`=34775; -- 34775 (Demolisher) - PvP Vehicle Health Regen Suppression
UPDATE `creature_template_addon` SET `PvpFlags`=1 WHERE `entry`=35069; -- 35069 (Siege Engine)
UPDATE `creature_template_addon` SET `auras`='52455' WHERE `entry`=34793; -- 34793 (Catapult) - PvP Vehicle Health Regen Suppression
UPDATE `creature_template_addon` SET `auras`='52455' WHERE `entry`=35273; -- 35273 (Glaive Thrower) - PvP Vehicle Health Regen Suppression
UPDATE `creature_template_addon` SET `visibilityDistanceType`=5, `auras`='177684' WHERE `entry`=34924; -- 34924 (High Commander Halford Wyrmbane) - Unit Frame
UPDATE `creature_template_addon` SET `auras`='67359' WHERE `entry`=35377; -- 35377 (Door Fire) - Door Fire
UPDATE `creature_template_addon` SET `auras`='75925 52455' WHERE `entry`=34944; -- 34944 (Keep Cannon) - Facing Saver, PvP Vehicle Health Regen Suppression
DELETE FROM `creature_template_addon` WHERE `entry` IN (15075 /*Forsaken Miner*/, 61696 /*Human Miner*/, 36148 /*36148 ([DND] Forsaken Mariner)*/, 35380 /*35380 (Honorable Defender Trigger (Horde)) - Honorable Defender*/, 35003 /*35003 (Horde Gunship Captain) - [DND] Force Response - Salute (0. Aura)*/, 36164 /*36164 (Kor'kron Reaver)*/, 36152 /*36152 (Navigator Saracen)*/, 36151 /*36151 (Navigator Taylor)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(36148, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 36148 ([DND] Forsaken Mariner)
(35380, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '66157'), -- 35380 (Honorable Defender Trigger (Horde)) - Honorable Defender
(35003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '47934'), -- 35003 (Horde Gunship Captain) - [DND] Force Response - Salute (0. Aura)
(36164, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 36164 (Kor'kron Reaver)
(36152, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- 36152 (Navigator Saracen)
(36151, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- 36151 (Navigator Taylor)
(61696, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, ''), -- 61696 (Human Miner)
(15075, 0, 0, 0, 0, 0, 1, 0, 233, 0, 0, 0, 0, ''); -- 15075 (Forsaken Miner)
UPDATE `creature_template` SET `faction` = 1732 WHERE `entry` = 34802;
UPDATE `creature_template` SET `ScriptName` = 'npc_ioc_siege_engine' WHERE `entry` IN (34776, 35069);
UPDATE `creature_template` SET `ScriptName` = '' WHERE `ScriptName` = 'npc_ioc_gunship_captain';
UPDATE `creature_template_difficulty` SET `ContentTuningID`=958, `VerifiedBuild`=53162 WHERE (`Entry`=34919 AND `DifficultyID`=0); -- 7th Legion Infantry
UPDATE `creature_template_difficulty` SET `ContentTuningID`=958, `VerifiedBuild`=53162 WHERE (`Entry`=34924 AND `DifficultyID`=0); -- High Commander Halford Wyrmbane
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+10000;
-- Cosmetics
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0, 195377, 628, 4710, 4752, '0', 0, 0, 1162.2100830078125, -790.54339599609375, 48.91624832153320312, 2.277654170989990234, 0, 0, 0.908143043518066406, 0.418660014867782592, 7200, 255, 1, 53007), -- Bonfire (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+3, 195403, 628, 4710, 4752, '0', 0, 0, 1262.579833984375, -781.86114501953125, 48.81315994262695312, 2.042031526565551757, 0, 0, 0.852639198303222656, 0.522500097751617431, 7200, 255, 1, 53007), -- Brazier (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+37, 195425, 628, 4710, 0, '0', 0, 0, 223.8183746337890625, -839.3519287109375, 60.79163360595703125, 1.090830326080322265, 0, 0, 0.518773078918457031, 0.854911983013153076, 7200, 255, 1, 53007), -- Brazier (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+40, 195424, 628, 4710, 4748, '0', 0, 0, 224.2770843505859375, -822.7701416015625, 60.79163360595703125, 2.068215370178222656, 0, 0, 0.859406471252441406, 0.511292934417724609, 7200, 255, 1, 53007), -- Brazier (Area: Quarry - Difficulty: 0) CreateObject1
(@OGUID+47, 160411, 628, 4710, 0, '0', 0, 0, 761.462158203125, -446.683807373046875, 22.56014823913574218, 0.24434363842010498, 0, 0, 0.121868133544921875, 0.992546260356903076, 7200, 255, 1, 53007), -- Stove (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+48, 160413, 628, 4710, 0, '0', 0, 0, 762.9974365234375, -445.86358642578125, 22.85254096984863281, 3.28996133804321289, 0, 0, -0.99724960327148437, 0.074116282165050506, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+49, 160415, 628, 4710, 0, '0', 0, 0, 762.24468994140625, -444.7945556640625, 22.85254096984863281, 4.302238941192626953, 0, 0, -0.83628559112548828, 0.5482940673828125, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+50, 160414, 628, 4710, 0, '0', 0, 0, 762.9208984375, -447.259063720703125, 22.85254096984863281, 2.827429771423339843, 0, 0, 0.987688064575195312, 0.156436234712600708, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+51, 195418, 628, 4710, 0, '0', 0, 0, 632.15643310546875, -304.5028076171875, 5.487901687622070312, 1.156033277511596679, 0, 0, 0.54636383056640625, 0.837547957897186279, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+52, 195411, 628, 4710, 0, '0', 0, 0, 633.96527099609375, -283.52777099609375, 5.453640937805175781, 2.369039058685302734, 0, 0, 0.926318168640136718, 0.376742124557495117, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+53, 195410, 628, 4710, 0, '0', 0, 0, 632.8760986328125, -282.461181640625, 5.453640937805175781, 5.432093620300292968, 0, 0, -0.41281795501708984, 0.910813570022583007, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+54, 195413, 628, 4710, 0, '0', 0, 0, 631.4180908203125, -278.137115478515625, 5.486441612243652343, 5.432093620300292968, 0, 0, -0.41281795501708984, 0.910813570022583007, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+55, 195412, 628, 4710, 0, '0', 0, 0, 632.63323974609375, -279.27374267578125, 5.486441612243652343, 2.369039058685302734, 0, 0, 0.926318168640136718, 0.376742124557495117, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+56, 195415, 628, 4710, 0, '0', 0, 0, 634.68426513671875, -276.426177978515625, 5.486584663391113281, 0.03029748611152172, 0, 0, 0.015148162841796875, 0.999885261058807373, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+57, 160416, 628, 4710, 0, '0', 0, 0, 798.32391357421875, -444.950897216796875, 22.56005096435546875, 5.26216888427734375, 0, 0, -0.48862075805664062, 0.872496306896209716, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+58, 195414, 628, 4710, 0, '0', 0, 0, 635.79608154296875, -276.2947998046875, 5.486584663391113281, 3.250456571578979492, 0, 0, -0.99851894378662109, 0.054405026137828826, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+59, 195417, 628, 4710, 0, '0', 0, 0, 642.7708740234375, -269.137420654296875, 5.488974571228027343, 5.432093620300292968, 0, 0, -0.41281795501708984, 0.910813570022583007, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+60, 195416, 628, 4710, 0, '0', 0, 0, 643.86004638671875, -270.20391845703125, 5.488974571228027343, 2.369039058685302734, 0, 0, 0.926318168640136718, 0.376742124557495117, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+61, 186897, 628, 4710, 0, '0', 0, 0, 819.2640380859375, -461.961181640625, 22.76141166687011718, 1.579522609710693359, -0.00304460525512695, -0.00312519073486328, 0.710178375244140625, 0.704008281230926513, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+62, 186899, 628, 4710, 0, '0', 0, 0, 817.4462890625, -470.46966552734375, 25.37198638916015625, 4.721118450164794921, 0, 0, -0.70401382446289062, 0.710186243057250976, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+63, 186901, 628, 4710, 0, '0', 0, 0, 826.9306640625, -470.380340576171875, 25.37198638916015625, 4.721118450164794921, 0, 0, -0.70401382446289062, 0.710186243057250976, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+64, 186900, 628, 4710, 0, '0', 0, 0, 822.15185546875, -470.433563232421875, 25.37198638916015625, 4.721118450164794921, 0, 0, -0.70401382446289062, 0.710186243057250976, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+65, 186903, 628, 4710, 0, '0', 0, 0, 822.2222900390625, -474.467803955078125, 25.37198638916015625, 1.579522013664245605, 0, 0, 0.710185050964355468, 0.704015016555786132, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+66, 186902, 628, 4710, 0, '0', 0, 0, 817.5167236328125, -474.503936767578125, 25.37198638916015625, 1.579522013664245605, 0, 0, 0.710185050964355468, 0.704015016555786132, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+67, 186904, 628, 4710, 0, '0', 0, 0, 827.00103759765625, -474.41461181640625, 25.37198638916015625, 1.579522013664245605, 0, 0, 0.710185050964355468, 0.704015016555786132, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+68, 160419, 628, 4710, 0, '0', 0, 0, 814.930908203125, -470.815521240234375, 33.63730621337890625, 3.159062385559082031, 0, 0, -0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+69, 160418, 628, 4710, 0, '0', 0, 0, 810.23651123046875, -461.2003173828125, 25.46265792846679687, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+70, 160420, 628, 4710, 0, '0', 0, 0, 813.23382568359375, -475.408050537109375, 33.57374954223632812, 6.213373661041259765, 0, 0, -0.03489875793457031, 0.999390840530395507, 7200, 255, 1, 53007), -- Stove (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+71, 186922, 628, 4710, 0, '0', 0, 0, 826.15289306640625, -461.984771728515625, 22.514923095703125, 1.570796370506286621, -0.00617122650146484, -0.00617027282714843, 0.707079887390136718, 0.707079827785491943, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+72, 186896, 628, 4710, 0, '0', 0, 0, 834.20782470703125, -461.825592041015625, 22.30665206909179687, 1.570796370506286621, -0.00617122650146484, -0.00617027282714843, 0.707079887390136718, 0.707079827785491943, 7200, 255, 1, 53007), -- Bench (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+73, 174863, 628, 4710, 0, '0', 0, 0, 903.29071044921875, -457.344818115234375, 18.13561820983886718, 2.234017848968505859, 0, 0, 0.898793220520019531, 0.438372820615768432, 7200, 255, 1, 53007), -- Stove (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+74, 160409, 628, 4710, 0, '0', 0, 0, 901.24652099609375, -457.39837646484375, 18.39345932006835937, 0.008724239654839038, 0, 0, 0.004362106323242187, 0.999990463256835937, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+75, 160410, 628, 4710, 0, '0', 0, 0, 902.2344970703125, -455.507965087890625, 18.39345932006835937, 5.279621601104736328, 0, 0, -0.4809885025024414, 0.876726925373077392, 7200, 255, 1, 53007), -- Chair (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+81, 160409, 628, 4710, 4749, '0', 0, 0, 1067.9530029296875, -338.4100341796875, 18.82249069213867187, 1.466073274612426757, 0, 0, 0.669129371643066406, 0.743145942687988281, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+82, 160410, 628, 4710, 4749, '0', 0, 0, 1066.1865234375, -337.214385986328125, 18.82249069213867187, 0.453785061836242675, 0, 0, 0.224950790405273437, 0.974370121955871582, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+83, 174863, 628, 4710, 4749, '0', 0, 0, 1068.1312255859375, -336.372894287109375, 18.56464958190917968, 3.691374778747558593, 0, 0, -0.96245479583740234, 0.271441996097564697, 7200, 255, 1, 53007), -- Stove (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+84, 160416, 628, 4710, 4749, '0', 0, 0, 1081.805419921875, -358.63665771484375, 18.5531463623046875, 1.928588032722473144, 0, 0, 0.821646690368652343, 0.569997072219848632, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+85, 160411, 628, 4710, 4749, '0', 0, 0, 1118.320556640625, -363.9691162109375, 18.55324363708496093, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Stove (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+86, 160413, 628, 4710, 4749, '0', 0, 0, 1116.656982421875, -364.481353759765625, 18.84563636779785156, 6.239553451538085937, 0, 0, -0.02181434631347656, 0.99976205825805664, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+87, 160415, 628, 4710, 4749, '0', 0, 0, 1117.19189453125, -365.67437744140625, 18.84563636779785156, 0.968655109405517578, 0, 0, 0.465613365173339843, 0.884988248348236083, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+88, 160414, 628, 4710, 4749, '0', 0, 0, 1116.9984130859375, -363.1260986328125, 18.84563636779785156, 5.777042865753173828, 0, 0, -0.25037860870361328, 0.968147993087768554, 7200, 255, 1, 53007), -- Chair (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+95, 195376, 628, 4710, 0, '0', 0, 0, 1162.9132080078125, -734.578125, 48.89479446411132812, 3.298687219619750976, 0, 0, -0.99691677093505859, 0.078466430306434631, 7200, 255, 1, 53007), -- Bonfire (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+96, 195402, 628, 4710, 0, '0', 0, 0, 1262.2083740234375, -751.357666015625, 48.81328201293945312, 2.268925428390502929, 0, 0, 0.906307220458984375, 0.422619491815567016, 7200, 255, 1, 53007), -- Brazier (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+97, 195207, 628, 4710, 0, '0', 0, 0, 1281.7579345703125, -732.84429931640625, 87.1573944091796875, 3.150726795196533203, 0.012359142303466796, -0.01225185394287109, -0.99983882904052734, 0.004414829425513744, 7200, 255, 1, 53007), -- Bonfire (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+98, 195208, 628, 4710, 0, '0', 0, 0, 1282.3419189453125, -799.76226806640625, 87.135711669921875, 3.150327444076538085, 0, 0, -0.99999046325683593, 0.004367320332676172, 7200, 255, 1, 53007), -- Bonfire (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+113, 195209, 628, 4710, 4752, '0', 0, 0, 1358.814697265625, -797.898681640625, 87.2953338623046875, 3.133123159408569335, 0.0067901611328125, -0.01746177673339843, 0.999814987182617187, 0.004353650845587253, 7200, 255, 1, 53007), -- Bonfire (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+114, 195210, 628, 4710, 4752, '0', 0, 0, 1358.0614013671875, -732.17840576171875, 87.16064453125, 3.150349617004394531, -0.005615234375, -0.0065164566040039, -0.99995326995849609, 0.004414829425513744, 7200, 255, 1, 53007); -- Bonfire (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Teleporters
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+4, 195315, 628, 4710, 4752, '0', 0, 0, 425.67535400390625, -857.09027099609375, 48.51041793823242187, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 53007), -- Teleporter (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+10, 195316, 628, 4710, 0, '0', 0, 0, 397.088531494140625, -859.3819580078125, 48.8993072509765625, 1.640606880187988281, 0, 0, 0.731352806091308593, 0.6819993257522583, 7200, 255, 1, 53007), -- Teleporter (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+11, 195316, 628, 4710, 0, '0', 0, 0, 323.539947509765625, -888.36114501953125, 48.91973495483398437, 0.034906249493360519, 0, 0, 0.017452239990234375, 0.999847710132598876, 7200, 255, 1, 53007), -- Teleporter (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+12, 195315, 628, 4710, 0, '0', 0, 0, 311.920135498046875, -913.97222900390625, 48.81592178344726562, 3.089183330535888671, 0, 0, 0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Teleporter (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+17, 195316, 628, 4710, 4750, '0', 0, 0, 326.28472900390625, -777.3663330078125, 49.02083206176757812, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 53007), -- Teleporter (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+20, 195315, 628, 4710, 4750, '0', 0, 0, 324.635406494140625, -749.12847900390625, 49.3601837158203125, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 7200, 255, 1, 53007), -- Teleporter (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+76, 195313, 628, 4710, 4749, '0', 0, 0, 1158.76220703125, -746.18231201171875, 48.62767791748046875, 4.764749526977539062, 0, 0, -0.6883544921875, 0.725374460220336914, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+77, 195314, 628, 4710, 4749, '0', 0, 0, 1143.25, -779.59893798828125, 48.62895584106445312, 1.640606880187988281, 0, 0, 0.731352806091308593, 0.6819993257522583, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+79, 195314, 628, 4710, 4749, '0', 0, 0, 1236.53125, -669.4149169921875, 48.27285385131835937, 0.104719325900077819, 0, 0, 0.052335739135742187, 0.998629570007324218, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+80, 195313, 628, 4710, 4749, '0', 0, 0, 1235.52783203125, -683.87152099609375, 49.30397415161132812, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+92, 195313, 628, 4710, 4749, '0', 0, 0, 1233.2725830078125, -844.52606201171875, 48.882415771484375, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+94, 195314, 628, 4710, 4749, '0', 0, 0, 1235.0867919921875, -857.8975830078125, 48.91625595092773437, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 7200, 255, 1, 53007), -- Teleporter (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+101, 195701, 628, 4710, 4752, '0', 0, 0, 397.1163330078125, -859.37847900390625, 48.89894485473632812, 1.640606880187988281, 0, 0, 0.731352806091308593, 0.6819993257522583, 7200, 255, 1, 53007), -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+102, 195702, 628, 4710, 4752, '0', 0, 0, 1235.0711669921875, -857.95660400390625, 48.91625595092773437, 3.054326534271240234, 0, 0, 0.999048233032226562, 0.043619260191917419, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+103, 195701, 628, 4710, 4752, '0', 0, 0, 326.265625, -777.34722900390625, 49.02154541015625, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 7200, 255, 1, 53007), -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+104, 195702, 628, 4710, 4752, '0', 0, 0, 1158.640625, -746.1475830078125, 48.62769317626953125, 4.782202720642089843, 0, 0, -0.68199825286865234, 0.731353819370269775, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+105, 195702, 628, 4710, 4752, '0', 0, 0, 1235.595458984375, -683.8055419921875, 49.30275344848632812, 3.211419343948364257, 0, 0, -0.9993906021118164, 0.034906134009361267, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+106, 195701, 628, 4710, 4752, '0', 0, 0, 324.633697509765625, -749.1475830078125, 49.35897445678710937, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 7200, 255, 1, 53007), -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+107, 195702, 628, 4710, 4752, '0', 0, 0, 1236.4583740234375, -669.34375, 48.26840591430664062, 0.087265998125076293, 0, 0, 0.043619155883789062, 0.999048233032226562, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+108, 195701, 628, 4710, 4752, '0', 0, 0, 311.911468505859375, -913.98614501953125, 48.81566238403320312, 3.089183330535888671, 0, 0, 0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+109, 195702, 628, 4710, 4752, '0', 0, 0, 1233.24658203125, -844.57293701171875, 48.88356781005859375, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+110, 195701, 628, 4710, 4752, '0', 0, 0, 323.55035400390625, -888.34722900390625, 48.91978836059570312, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 7200, 255, 1, 53007), -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+111, 195702, 628, 4710, 4752, '0', 0, 0, 1143.24658203125, -779.623291015625, 48.62913894653320312, 1.623155713081359863, 0, 0, 0.725374221801757812, 0.688354730606079101, 7200, 255, 1, 53007), -- Teleporter Effects (Horde) (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+112, 195701, 628, 4710, 4752, '0', 0, 0, 425.685760498046875, -857.092041015625, 48.50996017456054687, 4.660029888153076171, 0, 0, -0.72537422180175781, 0.688354730606079101, 7200, 255, 1, 53007); -- Teleporter Effects (Alliance) (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Gates
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+115, 195699, 628, 4710, 4752, '0', 0, 0, 351.614593505859375, -762.75, 48.91624832153320312, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 7200, 255, 1, 53007), -- Alliance Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+116, 195698, 628, 4710, 4752, '0', 0, 0, 413.479156494140625, -833.94964599609375, 48.5237579345703125, 3.141592741012573242, 0, 0, -1, 0, 7200, 252, 1, 53007), -- Alliance Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+117, 195700, 628, 4710, 4752, '0', 0, 0, 351.024322509765625, -903.326416015625, 48.92471694946289062, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 0, 1, 53007), -- Alliance Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+118, 195703, 628, 4710, 4752, '0', 0, 0, 413.4791259765625, -833.94964599609375, 48.5237579345703125, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 53007), -- Doodad_ND_Human_Gate_ClosedFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+119, 195223, 628, 4710, 4752, '0', 0, 0, 1283.0460205078125, -765.87847900390625, 50.82971954345703125, 3.150327444076538085, 0, 0, -0.99999046325683593, 0.004367320332676172, 7200, 255, 1, 53007), -- Horde Keep Portcullis (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+120, 195491, 628, 4710, 4752, '0', 0, 0, 1218.7430419921875, -851.154541015625, 48.25328445434570312, 4.712392330169677734, 0, 0, -0.70710563659667968, 0.707107901573181152, 7200, 255, 1, 53007), -- Doodad_ND_WinterOrc_Wall_GateFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+121, 195437, 628, 4710, 4752, '0', 0, 0, 1156.8858642578125, -843.998291015625, 48.63224029541015625, 0.732933998107910156, 0, 0, 0.358319282531738281, 0.933599114418029785, 7200, 255, 1, 53007), -- Doodad_VR_Portcullis01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+122, 195436, 628, 4710, 4752, '0', 0, 0, 399.80194091796875, -885.20751953125, 50.19386672973632812, 2.515995502471923828, 0, 0, 0.951476097106933593, 0.307722687721252441, 7200, 255, 1, 53007), -- Portcullis (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+123, 195491, 628, 4710, 4752, '0', 0, 0, 1150.90283203125, -762.60589599609375, 47.50767898559570312, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 53007), -- Doodad_ND_WinterOrc_Wall_GateFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+124, 195495, 628, 4710, 4752, '0', 0, 0, 1217.8992919921875, -676.94793701171875, 47.63407516479492187, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 53007), -- Horde Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+125, 195494, 628, 4710, 4752, '0', 0, 0, 1150.90283203125, -762.60589599609375, 47.50767898559570312, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 53007), -- Horde Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+126, 195496, 628, 4710, 4752, '0', 0, 0, 1218.7430419921875, -851.154541015625, 48.25328445434570312, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 7200, 255, 1, 53007), -- Horde Gate (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+127, 195703, 628, 4710, 4752, '0', 0, 0, 351.614593505859375, -762.75, 48.91624832153320312, 4.712392330169677734, 0, 0, -0.70710563659667968, 0.707107901573181152, 7200, 255, 1, 53007), -- Doodad_ND_Human_Gate_ClosedFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+128, 195451, 628, 4710, 4752, '0', 0, 0, 288.15972900390625, -832.59527587890625, 51.41080093383789062, 6.257006168365478515, 0, 0, -0.01308917999267578, 0.999914348125457763, 7200, 255, 1, 53007), -- Portcullis (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+129, 195452, 628, 4710, 4752, '0', 0, 0, 273.03271484375, -832.19915771484375, 51.41080093383789062, 6.257006168365478515, 0, 0, -0.01308917999267578, 0.999914348125457763, 7200, 255, 1, 53007), -- Portcullis (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+130, 195437, 628, 4710, 4752, '0', 0, 0, 1157.047119140625, -682.36041259765625, 48.6322479248046875, 5.454051017761230468, 0, 0, -0.40279388427734375, 0.915290713310241699, 7200, 255, 1, 53007), -- Doodad_VR_Portcullis01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+131, 195436, 628, 4710, 4752, '0', 0, 0, 401.0240478515625, -780.7237548828125, 49.94826889038085937, 3.754217147827148437, 0, 0, -0.95345211029052734, 0.301544517278671264, 7200, 255, 1, 53007), -- Portcullis (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+132, 195703, 628, 4710, 4752, '0', 0, 0, 351.024322509765625, -903.326416015625, 48.92471694946289062, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 53007), -- Doodad_ND_Human_Gate_ClosedFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+133, 195491, 628, 4710, 4752, '0', 0, 0, 1217.8992919921875, -676.94793701171875, 47.63407516479492187, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 7200, 255, 1, 53007); -- Doodad_ND_WinterOrc_Wall_GateFX_Door01 (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Bombs
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+13, 195332, 628, 4710, 4750, '0', 0, 0, 298.104156494140625, -861.02606201171875, 48.9162750244140625, 3.52557229995727539, 0, 0, -0.98162651062011718, 0.190812408924102783, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+14, 195332, 628, 4710, 4750, '0', 0, 0, 297.321197509765625, -851.3211669921875, 48.91627120971679687, 5.340708732604980468, 0, 0, -0.45398998260498046, 0.891006767749786376, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+18, 195332, 628, 4710, 4750, '0', 0, 0, 302.135406494140625, -810.70831298828125, 48.91624832153320312, 5.235987663269042968, 0, 0, -0.5, 0.866025388240814208, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+19, 195332, 628, 4710, 4750, '0', 0, 0, 300.37152099609375, -818.732666015625, 48.91624832153320312, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+89, 195333, 628, 4710, 4749, '0', 0, 0, 1268.5086669921875, -738.12152099609375, 48.91749954223632812, 5.235987663269042968, 0, 0, -0.5, 0.866025388240814208, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+90, 195333, 628, 4710, 4749, '0', 0, 0, 1268.30908203125, -745.78302001953125, 48.9187774658203125, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+91, 195333, 628, 4710, 4749, '0', 0, 0, 1273.0660400390625, -786.57293701171875, 48.94191741943359375, 5.340708732604980468, 0, 0, -0.45398998260498046, 0.891006767749786376, 10, 255, 1, 53007), -- Huge Seaforium Bombs (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+93, 195333, 628, 4710, 4749, '0', 0, 0, 1273.8489990234375, -796.27777099609375, 48.93642807006835937, 3.52557229995727539, 0, 0, -0.98162651062011718, 0.190812408924102783, 10, 255, 1, 53007); -- Huge Seaforium Bombs (Area: Docks - Difficulty: 0) CreateObject1
-- Hangar
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+7, 195131, 628, 4710, 0, '0', 0, 0, 807.779541015625, -1000.06768798828125, 132.38140869140625, 4.363324165344238281, 0, 0, -0.81915187835693359, 0.573576688766479492, 7200, 255, 1, 53007), -- Flagpole (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+8, 195158, 628, 4710, 0, '0', 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.345870018005371093, 0, 0, -0.82412624359130859, 0.566406130790710449, 7200, 255, 1, 53007), -- Hangar Banner (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+25, 195156, 628, 4710, 4750, '0', 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.345870018005371093, 0, 0, -0.82412624359130859, 0.566406130790710449, 7200, 255, 1, 53007), -- Horde Banner (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+30, 195155, 628, 4710, 0, '0', 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.363324165344238281, 0, 0, -0.81915187835693359, 0.573576688766479492, 7200, 255, 1, 53007), -- Horde Banner (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+31, 195326, 628, 4710, 0, '0', 0, 0, 739.0225830078125, -1106.6614990234375, 134.7550811767578125, 2.426007747650146484, 0, 0, 0.936672210693359375, 0.350207358598709106, 7200, 255, 1, 53007), -- Horde Gunship Portal (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+32, 195706, 628, 4710, 0, '0', 0, 0, 672.0867919921875, -1156.7864990234375, 133.7056732177734375, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53007), -- Horde Gunship Portal Effects (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+33, 195326, 628, 4710, 0, '0', 0, 0, 672.07989501953125, -1156.7760009765625, 133.7056732177734375, 1.832594871520996093, 0, 0, 0.793353080749511718, 0.608761727809906005, 7200, 255, 1, 53007), -- Horde Gunship Portal (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+34, 195706, 628, 4710, 0, '0', 0, 0, 739.013916015625, -1106.6614990234375, 134.7548370361328125, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53007), -- Horde Gunship Portal Effects (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+35, 195706, 628, 4710, 0, '0', 0, 0, 827.92364501953125, -993.29864501953125, 134.2002105712890625, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53007), -- Horde Gunship Portal Effects (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+36, 195326, 628, 4710, 0, '0', 0, 0, 827.921875, -993.32464599609375, 134.1971893310546875, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 1, 53007), -- Horde Gunship Portal (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+134, 195153, 628, 0, 0, '0', 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.363324165344238281, 0, 0, -0.81915187835693359, 0.573576688766479492, 7200, 255, 1, 0), -- Alliance Banner
(@OGUID+135, 195154, 628, 0, 0, '0', 0, 0, 807.780029296875, -1000.07000732421875, 132.3809967041015625, 4.345870018005371093, 0, 0, -0.82412624359130859, 0.566406130790710449, 7200, 255, 1, 0), -- Alliance Banner
(@OGUID+152, 195705, 628, 4710, 4752, '0', 0, 0, 827.9617919921875, -994.4757080078125, 134.0702667236328125, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53162), -- Alliance Gunship Portal Effects (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+153, 195320, 628, 4710, 4752, '0', 0, 0, 738.61285400390625, -1106.5833740234375, 134.7453155517578125, 2.548179388046264648, 0, 0, 0.956304550170898437, 0.292372345924377441, 7200, 255, 1, 53162), -- Alliance Gunship Portal (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+154, 195705, 628, 4710, 4752, '0', 0, 0, 672.263916015625, -1157.0347900390625, 133.7056732177734375, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53162), -- Alliance Gunship Portal Effects (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+155, 195705, 628, 4710, 4752, '0', 0, 0, 738.795166015625, -1106.74658203125, 134.7429656982421875, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 53162), -- Alliance Gunship Portal Effects (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+156, 195320, 628, 4710, 4752, '0', 0, 0, 827.95831298828125, -994.467041015625, 134.0712432861328125, 0, 0, 0, 0, 1, 7200, 255, 1, 53162), -- Alliance Gunship Portal (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+157, 195320, 628, 4710, 4752, '0', 0, 0, 672.28302001953125, -1156.9947509765625, 133.7056732177734375, 1.378809213638305664, 0, 0, 0.636077880859375, 0.771624863147735595, 7200, 255, 1, 53162); -- Alliance Gunship Portal (Area: Horde Keep - Difficulty: 0) CreateObject1
-- Workshop
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `stringId`, `VerifiedBuild`) VALUES
(@OGUID+5, 195131, 628, 4710, 0, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 53007), -- Flagpole (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+6, 195133, 628, 4710, 0, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 53007), -- Workshop Banner (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+9, 195145, 628, 4710, 0, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 53007), -- Horde Banner (Area: 0 - Difficulty: 0) CreateObject2
(@OGUID+26, 195130, 628, 4710, 4750, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 53007), -- Horde Banner (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+27, 195237, 628, 4710, 4750, '0', 0, 0, 750.6007080078125, -864.59722900390625, 13.47540664672851562, 1.937312245368957519, 0, 0, 0.824125289916992187, 0.566407561302185058, 10, 255, 1, 'bg_ioc_faction_1735', 53007), -- Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+28, 195237, 628, 4710, 4750, '0', 0, 0, 785.5086669921875, -864.71527099609375, 13.39930534362792968, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 10, 255, 1, 'bg_ioc_faction_1735', 53007), -- Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+136, 195132, 628, 4710, 4750, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 0), -- Alliance Banner
(@OGUID+137, 195144, 628, 4710, 0, '0', 0, 0, 776.22900390625, -804.28302001953125, 6.450520038604736328, 1.605701684951782226, 0, 0, 0.719339370727539062, 0.694658815860748291, 7200, 255, 1, NULL, 0), -- Alliance Banner
(@OGUID+150, 195237, 628, 4710, 4750, '0', 0, 0, 750.6007080078125, -864.59722900390625, 13.47540664672851562, 1.937312245368957519, 0, 0, 0.824125289916992187, 0.566407561302185058, 10, 255, 1, 'bg_ioc_faction_1732', 53007), -- Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+151, 195237, 628, 4710, 4750, '0', 0, 0, 785.5086669921875, -864.71527099609375, 13.39930534362792968, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 10, 255, 1, 'bg_ioc_faction_1732', 53007); -- Seaforium Bombs (Area: Hangar - Difficulty: 0) CreateObject2
-- Quarry
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+15, 195131, 628, 4710, 4750, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 1, 53007), -- Flagpole (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+16, 195338, 628, 4710, 4750, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 1, 53007), -- Quarry Banner (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+24, 195335, 628, 4710, 4750, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 1, 53007), -- Alliance Banner (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+29, 195334, 628, 4710, 4750, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 0, 53007), -- Alliance Banner (Area: Hangar - Difficulty: 0) CreateObject2
(@OGUID+43, 195337, 628, 4710, 4748, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 1, 53007), -- Horde Banner (Area: Quarry - Difficulty: 0) CreateObject2
(@OGUID+44, 195336, 628, 4710, 4748, '0', 0, 0, 251.015625, -1159.3160400390625, 17.23760032653808593, 4.031712055206298828, 0, 0, -0.90258502960205078, 0.430511653423309326, 7200, 255, 1, 53007); -- Horde Banner (Area: Quarry - Difficulty: 0) CreateObject2
-- Docks
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+45, 195151, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 53007), -- Horde Banner (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+46, 195131, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 53007), -- Flagpole (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+138, 195152, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 0), -- Horde Banner (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+139, 195149, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 0), -- Alliance Banner (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+140, 195150, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 0), -- Alliance Banner (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+141, 195157, 628, 4710, 0, '0', 0, 0, 726.385009765625, -360.204986572265625, 17.81529998779296875, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 0); -- Dock Banner
-- Refinery
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+1, 195131, 628, 4710, 4752, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 53007), -- Flagpole (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+78, 195341, 628, 4710, 4749, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 53007), -- Horde Banner (Area: Docks - Difficulty: 0) CreateObject1
(@OGUID+100, 195343, 628, 4710, 4752, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 53007), -- Refinery Banner (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+142, 195342, 628, 4710, 4749, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 0), -- Horde Banner
(@OGUID+143, 195339, 628, 4710, 4749, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 0), -- Alliance Banner
(@OGUID+144, 195340, 628, 4710, 4749, '0', 0, 0, 1269.501708984375, -400.80902099609375, 37.62525177001953125, 4.520402908325195312, 0, 0, -0.77162456512451171, 0.636078238487243652, 7200, 255, 1, 0); -- Alliance Banner
-- Horde Keep
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+2, 195393, 628, 4710, 4752, '0', 0, 0, 1284.7552490234375, -705.66839599609375, 48.91626358032226562, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Horde Banner (Area: Horde Keep - Difficulty: 0) CreateObject1
(@OGUID+23, 195439, 628, 4710, 4750, '0', 0, 0, 1284.7552490234375, -705.66839599609375, 48.91626358032226562, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 53007), -- Flagpole (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+145, 195394, 628, 4710, 4752, '0', 0, 0, 1284.7552490234375, -705.66839599609375, 48.91626358032226562, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 0), -- Horde Banner
(@OGUID+146, 195392, 628, 4710, 4752, '0', 0, 0, 1284.7552490234375, -705.66839599609375, 48.91626358032226562, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 0), -- Alliance Banner
(@OGUID+147, 195391, 628, 4710, 4752, '0', 0, 0, 1284.7552490234375, -705.66839599609375, 48.91626358032226562, 3.194002151489257812, 0, 0, -0.99965667724609375, 0.026201646775007247, 7200, 255, 1, 0); -- Alliance Banner
-- Alliance Keep
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+21, 195439, 628, 4710, 4750, '0', 0, 0, 299.15277099609375, -784.58856201171875, 48.91624832153320312, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 7200, 255, 1, 53007), -- Flagpole (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+22, 195396, 628, 4710, 4750, '0', 0, 0, 299.15277099609375, -784.58856201171875, 48.91624832153320312, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 7200, 255, 1, 53007), -- Alliance Banner (Area: Hangar - Difficulty: 0) CreateObject1
(@OGUID+99, 195399, 628, 4710, 4753, '0', 0, 0, 299.15277099609375, -784.58856201171875, 48.91624832153320312, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 7200, 255, 1, 53007), -- Horde Banner (Area: Alliance Keep - Difficulty: 0) CreateObject2
(@OGUID+148, 195397, 628, 4710, 4753, '0', 0, 0, 299.15277099609375, -784.58856201171875, 48.91624832153320312, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 7200, 255, 1, 0), -- Alliance Banner
(@OGUID+149, 195398, 628, 4710, 4753, '0', 0, 0, 299.15277099609375, -784.58856201171875, 48.91624832153320312, 6.12610626220703125, 0, 0, -0.07845878601074218, 0.996917366981506347, 7200, 255, 1, 0); -- Horde Banner
-- Statues Collision in alliance keep
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+38, 375005, 628, 4710, 0, '0', 0, 0, 217.08160400390625, -842.29339599609375, 61.00786209106445312, 0.98643660545349121, 0, 0, 0.473463058471679687, 0.880813658237457275, 7200, 255, 1, 53007), -- Collision PC Size (Blocks LoS) (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+39, 375005, 628, 4710, 0, '0', 0, 0, 215.703125, -841.4617919921875, 61.00786209106445312, 0.98643660545349121, 0, 0, 0.473463058471679687, 0.880813658237457275, 7200, 255, 1, 53007), -- Collision PC Size (Blocks LoS) (Area: 0 - Difficulty: 0) CreateObject1
(@OGUID+41, 375005, 628, 4710, 4748, '0', 0, 0, 218.1215362548828125, -819.22222900390625, 61.00786209106445312, 0.4928361177444458, 0, 0, 0.243931770324707031, 0.969792366027832031, 7200, 255, 1, 53007), -- Collision PC Size (Blocks LoS) (Area: Quarry - Difficulty: 0) CreateObject1
(@OGUID+42, 375005, 628, 4710, 4748, '0', 0, 0, 216.5677032470703125, -820.17364501953125, 61.00786209106445312, 0.4928361177444458, 0, 0, 0.243931770324707031, 0.969792366027832031, 7200, 255, 1, 53007); -- Collision PC Size (Blocks LoS) (Area: Quarry - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+10000;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+37, 0, 0, -0.01308943517506122, 0.999914348125457763, 0, 0), -- Brazier
(@OGUID+40, 0, 0, -0.01308943517506122, 0.999914348125457763, 0, 0), -- Brazier
(@OGUID+47, 0, 0, 0.982450366020202636, 0.186524167656898498, 0, 0), -- Stove
(@OGUID+48, 0, 0, 0.982450366020202636, 0.186524167656898498, 0, 0), -- Chair
(@OGUID+49, 0, 0, 0.982450366020202636, 0.186524167656898498, 0, 0), -- Chair
(@OGUID+50, 0, 0, 0.982450366020202636, 0.186524167656898498, 0, 0), -- Chair
(@OGUID+51, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+52, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+53, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+54, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+55, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+56, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+57, 0, 0, 0.982450366020202636, 0.186524167656898498, 0, 0), -- Chair
(@OGUID+58, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+59, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+60, 0, 0, 0.366501331329345703, 0.930417537689208984, 0, 0), -- Chair
(@OGUID+61, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+62, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+63, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+64, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+65, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+66, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+67, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+68, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Chair
(@OGUID+69, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Chair
(@OGUID+70, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Stove
(@OGUID+71, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+72, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+73, 0, 0, -0.69151294231414794, 0.722364068031311035, 0, 0), -- Stove
(@OGUID+74, 0, 0, -0.69151294231414794, 0.722364068031311035, 0, 0), -- Chair
(@OGUID+75, 0, 0, -0.69151294231414794, 0.722364068031311035, 0, 0), -- Chair
(@OGUID+81, 0, 0, -0.03489945083856582, 0.999390840530395507, 0, 0), -- Chair
(@OGUID+82, 0, 0, -0.03489945083856582, 0.999390840530395507, 0, 0), -- Chair
(@OGUID+83, 0, 0, -0.03489945083856582, 0.999390840530395507, 0, 0), -- Stove
(@OGUID+84, 0, 0, -0.27982896566390991, 0.960049867630004882, 0, 0), -- Chair
(@OGUID+85, 0, 0, -0.27982896566390991, 0.960049867630004882, 0, 0), -- Stove
(@OGUID+86, 0, 0, -0.27982896566390991, 0.960049867630004882, 0, 0), -- Chair
(@OGUID+87, 0, 0, -0.27982896566390991, 0.960049867630004882, 0, 0), -- Chair
(@OGUID+88, 0, 0, -0.27982896566390991, 0.960049867630004882, 0, 0), -- Chair
(@OGUID+97, 0, 0, 0.999990463256835937, -0.00436332821846008, 0, 0), -- Bonfire
(@OGUID+98, 0, 0, 0.999990463256835937, -0.00436332821846008, 0, 0), -- Bonfire
(@OGUID+115, 0, 0, 0, 1, 0, 0), -- Alliance Gate
(@OGUID+116, 0, 0, 0, 1, 0, 0), -- Alliance Gate
(@OGUID+117, 0, 0, 0, 1, 0, 0), -- Alliance Gate
(@OGUID+118, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_ND_Human_Gate_ClosedFX_Door01
(@OGUID+119, 0, 0, 0.999990463256835937, -0.00436332821846008, 0, 0), -- Horde Keep Portcullis
(@OGUID+120, 0, 0, -0.70710641145706176, 0.707107126712799072, 0, 0), -- Doodad_ND_WinterOrc_Wall_GateFX_Door01
(@OGUID+113, 0, 0, 0.999990463256835937, -0.00436332821846008, 0, 0), -- Bonfire
(@OGUID+114, 0, 0, 0.999990463256835937, -0.00436332821846008, 0, 0), -- Bonfire
(@OGUID+121, 0, 0, 0.358319789171218872, 0.933598935604095458, 0, 0), -- Doodad_VR_Portcullis01
(@OGUID+122, 0, 0, 0.951476275920867919, 0.307722091674804687, 0, 0), -- Portcullis
(@OGUID+123, 0, 0, 1, -0.00000004371138828, 0, 0), -- Doodad_ND_WinterOrc_Wall_GateFX_Door01
(@OGUID+124, 0, 0, 0, 1, 0, 0), -- Horde Gate
(@OGUID+125, 0, 0, 0, 1, 0, 0), -- Horde Gate
(@OGUID+126, 0, 0, 0, 1, 0, 0), -- Horde Gate
(@OGUID+127, 0, 0, -0.70710641145706176, 0.707107126712799072, 0, 0), -- Doodad_ND_Human_Gate_ClosedFX_Door01
(@OGUID+128, 0, 0, -0.01308943517506122, 0.999914348125457763, 0, 0), -- Portcullis
(@OGUID+129, 0, 0, -0.01308943517506122, 0.999914348125457763, 0, 0), -- Portcullis
(@OGUID+130, 0, 0, -0.4027940034866333, 0.915290653705596923, 0, 0), -- Doodad_VR_Portcullis01
(@OGUID+131, 0, 0, 0.953452110290527343, -0.30154460668563842, 0, 0), -- Portcullis
(@OGUID+132, 0, 0, 0.707106590270996093, 0.707106947898864746, 0, 0), -- Doodad_ND_Human_Gate_ClosedFX_Door01
(@OGUID+133, 0, 0, 0.707106590270996093, 0.707106947898864746, 0, 0); -- Doodad_ND_WinterOrc_Wall_GateFX_Door01
UPDATE `gameobject_template_addon` SET `flags` = `flags` & ~0x1 WHERE `entry` IN (195133, 195151, 195153, 195155, 195157, 195158, 195339, 195341, 195396);
UPDATE `gameobject_template_addon` SET `flags` = `flags` | 0x10 WHERE `entry` IN (195396, 195393);
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_ioc_damaged';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(67323, 'spell_ioc_damaged');
DELETE FROM `areatrigger_scripts` WHERE `entry` IN (9176, 9178, 5535, 5536);
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(9176, 'at_ioc_exploit'),
(9178, 'at_ioc_exploit'),
(5535, 'at_ioc_backdoor_job'),
(5536, 'at_ioc_backdoor_job');
@@ -1,3 +0,0 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dk_permafrost';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(207200,'spell_dk_permafrost');

Some files were not shown because too many files have changed in this diff Show More