DB Updates

This commit is contained in:
Hondacrx
2024-11-10 00:15:32 -05:00
parent c39e7bc255
commit 46643bd178
230 changed files with 175078 additions and 435 deletions
@@ -0,0 +1,3 @@
-- TDB 1027.24051 auth
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/auth', 'ARCHIVED');
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54673;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54673,10,2,7,NULL,NULL,'AF8B9C8A9C6128498E85228B965A004D',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54673 WHERE `gamebuild`=54630;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54673';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54717;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54717,10,2,7,NULL,NULL,'862BBA15158DFF6B56BCF71C1B34D41A',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54717 WHERE `gamebuild`=54673;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '54717';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build`=54736;
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(54736,10,2,7,NULL,NULL,'FE58F039D91E1C248886A2828127CA2F',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=54736 WHERE `gamebuild`=54717;
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';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (55960);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55960,11,0,0,NULL,NULL,'078C056CFC7B371BDE1BAF308E6C19AF',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=55960 WHERE `gamebuild`=55939;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '55960';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56008);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56008,11,0,0,NULL,NULL,'00FCD6BFFCCCBA7A8E71E307EA6EBD0C',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56008 WHERE `gamebuild`=55960;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56008';
@@ -0,0 +1,8 @@
DELETE FROM `build_info` WHERE `build` IN (55959,56110);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(55959,11,0,2,NULL,NULL,'ED57E0538FD1CE99B171BE34823148A9',NULL,NULL,NULL),
(56110,11,0,2,NULL,NULL,'800BCA228E2FAE37ED160F3C09E21F3A',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56110 WHERE `gamebuild`=56008;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56110';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56162);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56162,11,0,2,NULL,NULL,'6F5C93BA436665A94DB67CE5361D4EA8',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56162 WHERE `gamebuild`=56110;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56162';
@@ -0,0 +1 @@
ALTER TABLE `account` ADD `client_build` int unsigned NOT NULL DEFAULT '0' AFTER `muteby`;
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56196);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56196,11,0,2,NULL,NULL,'81FC14274BFF0347FFF9C8B1AA6BED9B',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56196 WHERE `gamebuild`=56162;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56196';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56263);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56263,11,0,2,NULL,NULL,'EA8472C99236CC617BF518A924014D56',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56263 WHERE `gamebuild`=56196;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56263';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56288);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56288,11,0,2,NULL,NULL,'03544E35D0480938E5C1238B3A26BDDD',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56288 WHERE `gamebuild`=56263;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56288';
@@ -0,0 +1,3 @@
ALTER TABLE `account` MODIFY `expansion` tinyint unsigned NOT NULL DEFAULT 10;
UPDATE `account` SET `expansion`=10 WHERE `expansion`=9;
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56311);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56311,11,0,2,NULL,NULL,'AC6415575AEE4D32735FFAD0C57226B2',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56311 WHERE `gamebuild`=56288;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56311';
@@ -0,0 +1,7 @@
DELETE FROM `build_info` WHERE `build` IN (56313);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`,`winAuthSeed`,`win64AuthSeed`,`mac64AuthSeed`,`winChecksumSeed`,`macChecksumSeed`) VALUES
(56313,11,0,2,NULL,NULL,'EAF769009A9AD3B1AA0414E1C344074B',NULL,NULL,NULL);
UPDATE `realmlist` SET `gamebuild`=56313 WHERE `gamebuild`=56311;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56313';
@@ -0,0 +1,6 @@
ALTER TABLE `build_info` ADD `macArmAuthSeed` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL AFTER `mac64AuthSeed`;
UPDATE `build_info` SET `macArmAuthSeed`='778F6A5DF79A4EF1B86F651F3B303CE7' WHERE `build`=56196;
UPDATE `build_info` SET `macArmAuthSeed`='41710C793EF021721F14B06EC1896D3F' WHERE `build`=56288;
UPDATE `build_info` SET `macArmAuthSeed`='412D3200715AAFDC0522DF031A941F0E' WHERE `build`=56311;
UPDATE `build_info` SET `macArmAuthSeed`='A83ED19EE659BC95CC322D1E49BDEDBB' WHERE `build`=56313;
@@ -0,0 +1,39 @@
--
-- Table structure for table `build_auth_key`
--
DROP TABLE IF EXISTS `build_auth_key`;
CREATE TABLE `build_auth_key` (
`build` int NOT NULL,
`platform` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`arch` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`type` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`key` binary(16) NOT NULL,
PRIMARY KEY (`build`,`platform`,`arch`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `build_executable_hash`
--
DROP TABLE IF EXISTS `build_executable_hash`;
CREATE TABLE `build_executable_hash` (
`build` int NOT NULL,
`platform` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`executableHash` binary(20) NOT NULL,
PRIMARY KEY (`build`,`platform`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `build_auth_key` SELECT `build`,'Win','x86','WoW',UNHEX(`winAuthSeed`) FROM `build_info` WHERE LENGTH(`winAuthSeed`)=32;
INSERT INTO `build_auth_key` SELECT `build`,'Win','x64','WoW',UNHEX(`win64AuthSeed`) FROM `build_info` WHERE LENGTH(`win64AuthSeed`)=32;
INSERT INTO `build_auth_key` SELECT `build`,'Mac','x64','WoW',UNHEX(`mac64AuthSeed`) FROM `build_info` WHERE LENGTH(`mac64AuthSeed`)=32;
INSERT INTO `build_auth_key` SELECT `build`,'Mac','A64','WoW',UNHEX(`macArmAuthSeed`) FROM `build_info` WHERE LENGTH(`macArmAuthSeed`)=32;
INSERT INTO `build_executable_hash` SELECT `build`,'Win',UNHEX(`winChecksumSeed`) FROM `build_info` WHERE LENGTH(`winChecksumSeed`)=40;
INSERT INTO `build_executable_hash` SELECT `build`,'OSX',UNHEX(`macChecksumSeed`) FROM `build_info` WHERE LENGTH(`macChecksumSeed`)=40;
ALTER TABLE `build_info`
DROP `winAuthSeed`,
DROP `win64AuthSeed`,
DROP `mac64AuthSeed`,
DROP `macArmAuthSeed`,
DROP `winChecksumSeed`,
DROP `macChecksumSeed`;
@@ -0,0 +1,14 @@
DELETE FROM `build_info` WHERE `build` IN (56380,56382);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(56380,11,0,2,NULL),
(56382,11,0,2,NULL);
DELETE FROM `build_auth_key` WHERE `build`=56380 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=56380 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=56382 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=56382 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(56380,'Win','x64','WoW',0xD081784493233E2869933FCC01F1A3C1),
(56380,'Win','x64','WoWC',0x4FB3D72D89F5FF01DD7F4E028494A4E6),
(56382,'Win','x64','WoW',0x67C36A3EF655534C58AD50942192BFDA),
(56382,'Win','x64','WoWC',0xA5BD7A1C33039F58CD45CD5C7EBDF122);
@@ -0,0 +1,13 @@
DELETE FROM `build_info` WHERE `build` IN (56421);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(56421,11,0,2,NULL);
DELETE FROM `build_auth_key` WHERE `build`=56421 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=56421 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(56421,'Win','x64','WoW',0x3BDFA9AA4B70041F2C8B8CDE3C8DC255),
(56421,'Win','x64','WoWC',0x0DDB8F8738647F3CD8FD585A3A78ED1B);
UPDATE `realmlist` SET `gamebuild`=56421 WHERE `gamebuild`=56313;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '56421';
@@ -0,0 +1,2 @@
DELETE FROM build_auth_key WHERE `build` = 56421 AND `platform` = 'Mac' AND `arch` = 'A64' AND `type`='WoW';
INSERT INTO build_auth_key VALUES (56421, 'Mac', 'A64', 'WoW', 0x5892FFABAEFDCECB0CFFAAA55D2F9B13);
@@ -0,0 +1,3 @@
-- 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;
@@ -0,0 +1,3 @@
ALTER TABLE `item_loot_items` ADD `item_type` tinyint NOT NULL DEFAULT 0 COMMENT 'item or currency' AFTER `container_id`;
ALTER TABLE `item_loot_items` DROP PRIMARY KEY;
ALTER TABLE `item_loot_items` ADD PRIMARY KEY (`container_id`,`item_type`,`item_id`);
@@ -0,0 +1,3 @@
-- 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`;
@@ -0,0 +1,37 @@
--
-- Table structure for table `trait_sub_tree`
--
DROP TABLE IF EXISTS `trait_sub_tree`;
CREATE TABLE `trait_sub_tree` (
`Name` text,
`Description` text,
`ID` int unsigned NOT NULL DEFAULT '0',
`UiTextureAtlasElementID` int NOT NULL DEFAULT '0',
`TraitTreeID` 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 `trait_sub_tree_locale`
--
DROP TABLE IF EXISTS `trait_sub_tree_locale`;
CREATE TABLE `trait_sub_tree_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_lang` text,
`Description_lang` text,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
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);
@@ -0,0 +1,21 @@
ALTER TABLE `creature_model_data` MODIFY `MountScaleOther1` float NOT NULL DEFAULT 0 AFTER `Unknown1100`;
ALTER TABLE `creature_model_data` MODIFY `MountScaleOther2` float NOT NULL DEFAULT 0 AFTER `MountScaleOther1`;
ALTER TABLE `friendship_rep_reaction` MODIFY `FriendshipRepID` int NOT NULL DEFAULT 0 AFTER `Reaction`;
ALTER TABLE `friendship_rep_reaction` MODIFY `ReactionThreshold` int NOT NULL DEFAULT 0 AFTER `FriendshipRepID`;
ALTER TABLE `garr_mission` MODIFY `GarrFollowerTypeID` tinyint NOT NULL DEFAULT 0 AFTER `GarrMissionTypeID`;
ALTER TABLE `garr_plot` MODIFY `PlotType` tinyint NOT NULL DEFAULT 0 AFTER `Name`;
ALTER TABLE `map_difficulty` ADD `WorldStateExpressionID` int NOT NULL DEFAULT 0 AFTER `ContentTuningID`;
ALTER TABLE `quest_sort` ADD `Flags` int NOT NULL DEFAULT 0 AFTER `UiOrderIndex`;
ALTER TABLE `spell_shapeshift_form` DROP `CreatureDisplayID2`;
ALTER TABLE `spell_shapeshift_form` DROP `CreatureDisplayID3`;
ALTER TABLE `spell_shapeshift_form` DROP `CreatureDisplayID4`;
ALTER TABLE `trait_cond` ADD `TraitNodeEntryID` int NOT NULL DEFAULT 0 AFTER `TraitNodeID`;
ALTER TABLE `ui_map` ADD `MapArtZoneTextPosition` tinyint NOT NULL DEFAULT 0 AFTER `AdventureMapTextureKitID`;
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,4 @@
-- TDB 1027.24051 world
UPDATE `version` SET `db_version`='TDB 1027.24051', `cache_id`=24051 LIMIT 1;
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/10.x/world', 'ARCHIVED');
@@ -0,0 +1,24 @@
-- update phasing for the Vindicaar
UPDATE `creature` SET `PhaseId` = 0 WHERE `guid` IN (650104, 650079, 650083, 650100, 650095, 650123, 650094, 650089, 650072, 650114, 650113, 650115, 650096, 650127, 650121, 650087, 650085, 650086, 650128, 650099, 650125, 650108, 650126, 650122, 650091, 650084, 650109, 650076, 650090, 650093, 650105, 650080, 650092, 650106, 650078, 650116, 650071, 650098, 650111, 650112, 650117, 650118, 650119, 650107, 650110, 650129, 650081, 650102, 650124, 650120, 650088, 650085, 650103, 650073);
UPDATE `gameobject` SET `PhaseId` = 0 WHERE `guid` IN (400081, 400064, 400083, 400077, 400075, 400082, 400069, 400072, 400066, 400065, 400063, 400074, 400061, 400062, 400070, 400076, 400071);
-- new phase for Grand Artificer Romuul
UPDATE `creature` SET `PhaseId` = 21673 WHERE `guid` = 650075;
-- Phasing
DELETE FROM `phase_name` WHERE `ID` IN (21673, 10260, 10349, 9949);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(21673, 'Cosmetic - See Grand Artificer Romuul'),
(10260, 'Cosmetic - See Lightforged Innkeeper and Vigilant Quoram'),
(10349, 'Cosmetic - See Captain Fareeya before enter Stormwind'),
(9949, 'Cosmetic - See Captain Fareeya after enter Stormwind');
DELETE FROM `phase_area` WHERE `AreaId` = 9359 AND `PhaseId` = 21673;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9359, 21673, 'Cosmetic - See Grand Artificer Romuul');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 10260 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 10349 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUES
(26, 10260, 0, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Apply Phase 10260 if Player is Lightforged Draenei'),
(26, 10349, 0, 0, 0, 16, 0, 0x20000000, 0, 0, 0, 'Apply Phase 10349 if Player is Lightforged Draenei'),
(26, 10349, 0, 0, 0, 8, 0, 49772, 0, 0, 1, 'Apply Phase 10349 if Quest 49772 is not in progress');
@@ -0,0 +1,55 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_adarogg' WHERE `entry`=61408;
UPDATE `creature` SET `StringId`='npc_corrupted_houndmaster_1' WHERE `guid`=4000039;
UPDATE `creature` SET `StringId`='npc_corrupted_houndmaster_2' WHERE `guid`=4000052;
-- Spells
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (120064, 119405, 119298, 120113);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 120064, 0, 0, 51, 0, 5, 61659, 0, '', 0, 0, 0, '', 'Spell \'Eat Trog\' can only hit \'Slain Trogg\''),
(13, 1, 120064, 0, 1, 51, 0, 5, 61669, 0, '', 0, 0, 0, '', 'Spell \'Eat Trog\' can only hit \'Oggleflint\''),
(13, 1, 119405, 0, 0, 51, 0, 5, 61409, 0, '', 0, 0, 0, '', 'Spell \'Inferno Charge\' can only hit \'Demonic Leap\''),
(13, 1, 119298, 0, 0, 51, 0, 5, 61409, 0, '', 0, 0, 0, '', 'Spell \'Inferno Charge\' can only hit \'Demonic Leap\''),
(13, 1, 120113, 0, 0, 51, 0, 5, 61666, 0, '', 0, 0, 0, '', 'Spell \'Adjules Chow Time\' can only hit \'Corrupted Houndmaster\''),
(13, 2, 120113, 0, 0, 51, 0, 5, 61666, 0, '', 0, 0, 0, '', 'Spell \'Adjules Chow Time\' can only hit \'Corrupted Houndmaster\'');
-- Serverside spells
DELETE FROM `serverside_spell` WHERE `Id` IN (119297, 119298) AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(119297, 0, 0, 0, 0, 256, 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 5, 0, 0, 0, -1, 0, 0, 0, 'Inferno Charge', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119298, 0, 0, 0, 0, 256, 0, 0, 0, 0, 0, 0, 0, 134217728, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 25, 0, 0, -1, 0, 0, 0, 'Inferno Charge', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (119297, 119298) AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(119297, 0, 0, 28, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 61409, 491, 0, 0, 0, 0, 0, 0, 53, 0),
(119298, 0, 0, 96, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 119299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0);
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID`=61666;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(61666, 0, 0, 'He\'s cornered!', 14, 0, 100, 0, 0, 0, 61203, 0, 'Corrupted Houndmaster to Player'),
(61666, 1, 0, 'We\'ve got him now!', 14, 0, 100, 0, 0, 0, 61204, 0, 'Corrupted Houndmaster to Player');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7904;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7904, 'at_adarogg_intro');
-- Waypoint
SET @ENTRY := 61408;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId` BETWEEN @PATH+0 AND @PATH+2;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH+0, 0, 0, 'Adarogg - Intro - Oggleflint from start'),
(@PATH+1, 0, 0, 'Adarogg - Intro - Slain Trogg'),
(@PATH+2, 0, 0, 'Adarogg - Intro - Oggleflint from Slain Trogg');
DELETE FROM `waypoint_path_node` WHERE `PathId` BETWEEN @PATH+0 AND @PATH+2;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH+0, 0, -277.3586, -36.89559, -60.6918, NULL, 0),
(@PATH+1, 0, -278.8507, -54.90896, -60.57021, NULL, 0),
(@PATH+1, 1, -285.0681, -66.49124, -60.46365, NULL, 0),
(@PATH+1, 2, -286.4794, -74.89896, -60.55044, NULL, 0),
(@PATH+2, 0, -278.9581, -43.25373, -60.82312, NULL, 0),
(@PATH+2, 1, -277.3586, -36.89559, -60.6918, NULL, 0);
@@ -0,0 +1,12 @@
UPDATE `creature_template_difficulty` SET `StaticFlags1`=`StaticFlags1` & ~0x20000000 WHERE `entry` IN(61788, 61680);
DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN(4000126, 4000122, 4000098, 4000042);
INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES
(4000126, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000122, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000042, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4000098, 0, 805306624, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
DELETE FROM `creature_addon` WHERE `guid`=4000126;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(4000126, 0, 0, 0, 0, 3, 0, 1, 0, 0, 2297, 0, 0, 0, '');
@@ -0,0 +1,39 @@
DELETE FROM `phase_name` WHERE `ID` IN(22061,22145,22146,22147,22136,22137,22138,22086,22087,22088,22064,22067,22068,22074,22083,22084,22091,22092,22093,22506,22507,22508,22121,22122,22123,22161,22162,22163,22172,22173,22174,22210,22211,22212,22519,22524,22525);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
-- (22061, 'Northrend Cup - Unk'),
(22145, 'Northrend Cup - Dragonblight Dragon Flight - Basic Course'),
(22146, 'Northrend Cup - Dragonblight Dragon Flight - Advanced Course'),
(22147, 'Northrend Cup - Dragonblight Dragon Flight - Reverse Course'),
(22136, 'Northrend Cup - Crystalsong Crisis - Basic Course'),
(22137, 'Northrend Cup - Crystalsong Crisis - Advanced Course'),
(22138, 'Northrend Cup - Crystalsong Crisis - Reverse Course'),
(22086, 'Northrend Cup - Blackriver Burble - Basic Course'),
(22087, 'Northrend Cup - Blackriver Burble - Advanced Course'),
(22088, 'Northrend Cup - Blackriver Burble - Reverse Course'),
(22064, 'Northrend Cup - Scalawag Slither - Basic Course'),
(22067, 'Northrend Cup - Scalawag Slither - Advanced Course'),
(22068, 'Northrend Cup - Scalawag Slither - Reverse Course'),
(22074, 'Northrend Cup - Daggercap Dart - Basic Course'),
(22083, 'Northrend Cup - Daggercap Dart - Advanced Course'),
(22084, 'Northrend Cup - Daggercap Dart - Reverse Course'),
(22091, 'Northrend Cup - Zul''Drak Zephyr - Basic Course'),
(22092, 'Northrend Cup - Zul''Drak Zephyr - Advanced Course'),
(22093, 'Northrend Cup - Zul''Drak Zephyr - Reverse Course'),
(22506, 'Northrend Cup - Gundrak Fast Track - Basic Course'),
(22507, 'Northrend Cup - Gundrak Fast Track - Advanced Course'),
(22508, 'Northrend Cup - Gundrak Fast Track - Reverse Course'),
(22121, 'Northrend Cup - Makers'' Marathon - Basic Course'),
(22122, 'Northrend Cup - Makers'' Marathon - Advanced Course'),
(22123, 'Northrend Cup - Makers'' Marathon - Reverse Course'),
(22161, 'Northrend Cup - Citadel Sortie - Basic Course'),
(22162, 'Northrend Cup - Citadel Sortie - Advanced Course'),
(22163, 'Northrend Cup - Citadel Sortie - Reverse Course'),
(22172, 'Northrend Cup - Sholazar Spree - Basic Course'),
(22173, 'Northrend Cup - Sholazar Spree - Advanced Course'),
(22174, 'Northrend Cup - Sholazar Spree - Reverse Course'),
(22210, 'Northrend Cup - Geothermal Jaunt - Basic Course'),
(22211, 'Northrend Cup - Geothermal Jaunt - Advanced Course'),
(22212, 'Northrend Cup - Geothermal Jaunt - Reverse Course'),
(22519, 'Northrend Cup - Coldarra Climb - Basic Course'),
(22524, 'Northrend Cup - Coldarra Climb - Advanced Course'),
(22525, 'Northrend Cup - Coldarra Climb - Reverse Course');
@@ -0,0 +1,20 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_dark_shaman_koranthal' WHERE `entry`=61412;
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry`=61413;
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` = 119927;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 119927, 0, 0, 51, 0, 5, 61413, 0, '', 0, 0, 0, '', 'Spell \'Shadow Vortex\' can only hit \'Flame Visual\'');
-- Texts
DELETE FROM `creature_text` WHERE `CreatureID` = 61412;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(61412, 0, 0, 'The power of the Dark Shaman will overwhelm you!', 14, 0, 100, 0, 0, 0, 61305, 0, 'Dark Shaman Koranthal to Player'),
(61412, 1, 0, '|TInterface\Icons\spell_shadow_shadowfury:20|tDark Shaman Koranthal summons a |r|cFF9E09DE|Hspell:119971|h[Shadow Storm]|h|r!', 41, 0, 100, 0, 0, 0, 61139, 0, 'Dark Shaman Koranthal to Player'),
(61412, 2, 0, 'My death... means... nothing...', 14, 0, 100, 0, 0, 0, 61306, 0, 'Dark Shaman Koranthal to Player');
-- Spell
DELETE FROM `spell_script_names` WHERE `spell_id`=119973;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(119973, 'spell_dark_shaman_koranthal_shadow_storm');
@@ -0,0 +1,544 @@
SET @CGUID := 397123;
DELETE FROM `creature` WHERE `guid` IN (450338, 450300, 450306, 450328, 450398, 450416, 450431, 450311, 450332, 450312, 450339, 450532, 450473, 450472, 450433, 450477, 450530, 450396, 450306, 450418, 450424, 450446, 450476, 450443, 450450); -- Reusable guids
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1358.9617919921875, 3672.4150390625, 94.14377593994140625, 3.787364482879638671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53584), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1437.204833984375, 3651.520751953125, 92.66880035400390625, 3.089232683181762695, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54070), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+2, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1437.5191650390625, 3621.397705078125, 89.036590576171875, 2.443460941314697265, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 53584), -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+3, 56739, 860, 5736, 5835, '0', 0, 0, 0, 0, 1459.907958984375, 3756.73779296875, 95.20215606689453125, 3.473205089569091796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205), -- Hozen Hanging Bunny (Area: Wu-Song Village - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+4, 56739, 860, 5736, 5825, '0', 0, 0, 0, 0, 1366.236083984375, 3786.056396484375, 96.02268218994140625, 5.445427417755126953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54205); -- Hozen Hanging Bunny (Area: The Dawning Valley - Difficulty: 0) CreateObject1 (Auras: )
UPDATE `creature` SET `equipment_id` = 0 WHERE `guid` IN (450303, 450341, 450404, 450457, 450409, 450439, 450544, 450537);
UPDATE `creature` SET `equipment_id` = 1 WHERE `guid` = 450307;
UPDATE `creature` SET `position_x`=1445.74, `position_y`=3713.97, `position_z`=79.9498 WHERE `guid`=450438;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_1' WHERE `guid` = 450409;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_2' WHERE `guid` = 450439;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_3' WHERE `guid` = 450475;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_4' WHERE `guid` = 450303;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_5' WHERE `guid` = 450323;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_6' WHERE `guid` = 450438;
UPDATE `creature` SET `StringId` ='npc_wu_song_villager_attack_7' WHERE `guid` = 450455;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_1' WHERE `guid` = 450402;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_2' WHERE `guid` = 450448;
UPDATE `creature` SET `StringId` ='npc_fe_feng_hozen_attack_3' WHERE `guid` = 450451;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_1' WHERE `guid` = 450305;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_2' WHERE `guid` = 450326;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_3' WHERE `guid` = 450436;
UPDATE `creature` SET `StringId` ='npc_fe_feng_brewthief_attack_4' WHERE `guid` = 450456;
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=57164 AND `DifficultyID`=0); -- Fe-Feng Leaper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=56730 AND `DifficultyID`=0); -- Fe-Feng Brewthief
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54070 WHERE (`Entry`=54131 AND `DifficultyID`=0); -- Fe-Feng Hozen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=53584 WHERE (`Entry`=56739 AND `DifficultyID`=0); -- Hozen Hanging Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`DifficultyID`=0 AND `Entry` IN (65472,57132)); -- Wu-Song Villager
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=53584 WHERE (`Entry`=57617 AND `DifficultyID`=0); -- Lee Sunspark
DELETE FROM `creature_template_addon` WHERE `entry` IN (57164, 57205);
DELETE FROM `creature_template_addon` WHERE `entry` IN (57617, 54568);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(57617, 0, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, NULL),
(54568, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL);
UPDATE `creature_template_addon` SET `auras`='109084' WHERE `entry`=56730; -- 56730 (Fe-Feng Brewthief) - Drunken Boxing
DELETE FROM `creature_addon` WHERE `guid`IN (450317, 450303, 450323, 450324, 450321, 450318, 450320, 450322, 450315, 450329, 450335, 450308, 450404, 450409, 450555, 450438, 450439, 450475, 450455);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(450317, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450303, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450323, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450438, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450475, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450455, 0, 0, 0, 0, 0, 0, 1, 0, 425, 0, 0, 0, 0, NULL),
(450409, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450439, 0, 0, 0, 0, 0, 0, 1, 0, 27, 0, 0, 0, 0, NULL),
(450329, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '109084 107747'),
(450555, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450335, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450308, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450404, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450324, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450321, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450318, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450320, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450322, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733'),
(450315, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '96733');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=56730; -- Fe-Feng Brewthief
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=57164; -- Fe-Feng Leaper
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`IN (57205, 54131); -- Fe-Feng Hozen
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`IN (57132, 65472); -- Wu-Song Villager
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=54568; -- Ji Firepaw
DELETE FROM `creature_template_sparring` WHERE `Entry` IN (57132, 56730, 57205, 65472) AND `NoNPCDamageBelowHealthPct`=85;
INSERT INTO `creature_template_sparring` (`Entry`, `NoNPCDamageBelowHealthPct`) VALUES
(57132, 85),
(65472, 85),
(57205, 85),
(56730, 85);
DELETE FROM `creature_text` WHERE `CreatureID` = 54568;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(54568, 0, 0, 'Take that monkeybutt!', 12, 0, 100, 5, 0, 27344, 59757, 0, 'Ji Firepaw to Player');
-- Vehicle
DELETE FROM `vehicle_template_accessory` WHERE (`entry`=56739 AND `seat_id`=0);
INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES
(56739, 54131, 0, 0, 'Hozen Hanging Bunny - Fe-Feng Hozen', 7, 0); -- Hozen Hanging Bunny - Fe-Feng Hozen
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=56739 AND `spell_id`=46598;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(56739, 46598, 0, 0);
-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450434 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450434, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450341 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450341, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450457 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450457, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450447 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450447, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450344 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450344, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450304 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450304, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450445 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450445, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450478 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450478, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450336 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450336, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450334 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450334, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450314 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450314, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450313 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450313, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450474 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450474, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450471 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450471, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
-- Waypoints
-- Normal waypoints
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
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, 1, 0, 'Fe-Feng Hozen - Waypoint 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1251.481, 3684.075, 93.97271, NULL, 0),
(@PATH, 1, 1265.085, 3689.423, 93.59255, NULL, 0),
(@PATH, 2, 1281.759, 3671.965, 89.19791, NULL, 0),
(@PATH, 3, 1295.333, 3662.651, 89.23215, NULL, 0),
(@PATH, 4, 1302.435, 3666.339, 86.99618, NULL, 0),
(@PATH, 5, 1314.788, 3669.837, 86.47299, NULL, 0),
(@PATH, 6, 1323.345, 3665.26, 85.1386, NULL, 0),
(@PATH, 7, 1302.436, 3666.339, 87.02302, NULL, 0),
(@PATH, 8, 1295.334, 3662.651, 89.20162, NULL, 0),
(@PATH, 9, 1281.759, 3671.965, 89.19791, NULL, 0),
(@PATH, 10, 1265.085, 3689.423, 93.59255, NULL, 0),
(@PATH, 11, 1257.632, 3692.337, 94.46534, NULL, 0),
(@PATH, 12, 1251.481, 3684.075, 93.97271, NULL, 0);
UPDATE `creature` SET `position_x`= 1251.481, `position_y`= 3684.075, `position_z`= 93.97271, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450535;
DELETE FROM `creature_addon` WHERE `guid`= 450535;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450535, @PATH, 1);
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1510.571, 3655.367, 77.37856, NULL, 390),
(@PATH, 1, 1508.556, 3633.912, 78.70818, NULL, 0),
(@PATH, 2, 1490.227, 3610.696, 81.53677, NULL, 0),
(@PATH, 3, 1472.73, 3603.274, 87.48109, NULL, 0),
(@PATH, 4, 1450.028, 3598.661, 86.96149, NULL, 0),
(@PATH, 5, 1427.795, 3595.583, 89.88957, NULL, 0),
(@PATH, 6, 1417.955, 3600.851, 89.90552, NULL, 0),
(@PATH, 7, 1418.339, 3617.548, 86.55445, NULL, 0),
(@PATH, 8, 1420.514, 3629.339, 83.81339, NULL, 0),
(@PATH, 9, 1410.627, 3644.011, 82.84434, NULL, 0),
(@PATH, 10, 1399.51, 3646.278, 86.80801, NULL, 0),
(@PATH, 11, 1393.873, 3650.874, 86.88097, NULL, 0),
(@PATH, 12, 1393.064, 3661.001, 87.92618, NULL, 0),
(@PATH, 13, 1381.281, 3672.597, 87.92618, NULL, 0),
(@PATH, 14, 1369.106, 3669.344, 87.92618, NULL, 0),
(@PATH, 15, 1356.769, 3666.675, 88.03418, NULL, 0),
(@PATH, 16, 1347.543, 3676.744, 85.85583, NULL, 204),
(@PATH, 17, 1356.769, 3666.675, 88.03418, NULL, 0),
(@PATH, 18, 1369.106, 3669.344, 87.92618, NULL, 0),
(@PATH, 19, 1381.281, 3672.597, 87.92618, NULL, 0),
(@PATH, 20, 1393.064, 3661.001, 87.92618, NULL, 0),
(@PATH, 21, 1393.873, 3650.874, 86.88097, NULL, 0),
(@PATH, 22, 1399.51, 3646.278, 86.80801, NULL, 0),
(@PATH, 23, 1410.627, 3644.011, 82.84434, NULL, 0),
(@PATH, 24, 1420.514, 3629.339, 83.81339, NULL, 0),
(@PATH, 25, 1418.339, 3617.548, 86.55445, NULL, 0),
(@PATH, 26, 1417.955, 3600.851, 89.90552, NULL, 0),
(@PATH, 27, 1427.795, 3595.583, 89.88957, NULL, 0),
(@PATH, 28, 1450.028, 3598.661, 86.96149, NULL, 0),
(@PATH, 29, 1472.578, 3603.221, 87.48109, NULL, 0),
(@PATH, 30, 1490.227, 3610.696, 81.53677, NULL, 0),
(@PATH, 31, 1508.556, 3633.912, 78.70818, NULL, 0);
UPDATE `creature` SET `position_x`= 1510.571, `position_y`= 3655.367, `position_z`= 77.37856, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450307;
DELETE FROM `creature_addon` WHERE `guid`= 450307;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450307, @PATH, 1);
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1433.557, 3710.008, 79.5691, NULL, 0),
(@PATH, 1, 1445.766, 3710.594, 79.94168, NULL, 0),
(@PATH, 2, 1452.951, 3714.253, 79.94983, NULL, 0),
(@PATH, 3, 1456.028, 3724.659, 82.1713, NULL, 0),
(@PATH, 4, 1453.163, 3731.899, 84.73679, NULL, 0),
(@PATH, 5, 1447.457, 3738.717, 85.36936, NULL, 0),
(@PATH, 6, 1447.764, 3751.399, 85.08856, NULL, 0),
(@PATH, 7, 1444.819, 3760.462, 84.78928, NULL, 0),
(@PATH, 8, 1436.623, 3769.741, 84.52623, NULL, 0),
(@PATH, 9, 1428.234, 3775.19, 84.49818, NULL, 0),
(@PATH, 10, 1414.582, 3772.882, 83.44241, NULL, 0),
(@PATH, 11, 1406.505, 3761.499, 84.41571, NULL, 0),
(@PATH, 12, 1409.063, 3749.219, 84.39035, NULL, 0),
(@PATH, 13, 1415.936, 3736.017, 82.43708, NULL, 0),
(@PATH, 14, 1417.028, 3725.414, 81.06744, NULL, 0),
(@PATH, 15, 1420.585, 3713.412, 79.68462, NULL, 0);
UPDATE `creature` SET `position_x`= 1433.557, `position_y`= 3710.008, `position_z`= 79.5691, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450441;
DELETE FROM `creature_addon` WHERE `guid`= 450441;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450441, @PATH, 1);
-- Waypoints of creatures who attack other npcs
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1473.46, 3715.695, 79.83499, NULL, 0),
(@PATH, 1, 1465.448, 3708.645, 79.85747, NULL, 0),
(@PATH, 2, 1457.01, 3703.309, 79.78724, NULL, 0),
(@PATH, 3, 1442.898, 3702.631, 79.27051, NULL, 0),
(@PATH, 4, 1432.934, 3706.349, 79.93696, NULL, 0),
(@PATH, 5, 1423.271, 3708.028, 79.52547, NULL, 0),
(@PATH, 6, 1417.344, 3697.451, 78.79962, NULL, 0),
(@PATH, 7, 1414.998, 3688.631, 83.38158, NULL, 0);
UPDATE `creature` SET `position_x`= 1473.46, `position_y`= 3715.695, `position_z`= 79.83499, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450402;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450402 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450402, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720502, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450402, 0, 1, 2, '', 58, 0, 100, 0, 7, 5720502, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_1', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450402, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450409 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450409, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_1', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450409, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 5');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1450.712, 3763.139, 85.01343, NULL, 0),
(@PATH, 1, 1444.384, 3745.242, 84.93659, NULL, 0),
(@PATH, 2, 1434.585, 3739.824, 84.23158, NULL, 0),
(@PATH, 3, 1422.84, 3740.06, 83.58831, NULL, 0),
(@PATH, 4, 1410.189, 3739.675, 83.69814, NULL, 0);
UPDATE `creature` SET `position_x`= 1450.712, `position_y`= 3763.139, `position_z`= 85.01343, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450448;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450448 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450448, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720504, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450448, 0, 1, 2, '', 58, 0, 100, 0, 4, 5720504, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_2', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450448, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450439 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450439, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_2', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450439, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 5;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint to Wu-Song Villager 7');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1358.036, 3768.396, 83.11465, NULL, 0),
(@PATH, 1, 1372.575, 3767.295, 84.63619, NULL, 0),
(@PATH, 2, 1394.809, 3753.418, 84.93942, NULL, 0),
(@PATH, 3, 1409.22, 3749.642, 84.4346, NULL, 0),
(@PATH, 4, 1420.172, 3750.372, 84.69238, NULL, 0);
UPDATE `creature` SET `position_x`= 1358.036, `position_y`= 3768.396, `position_z`= 83.11465, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450451;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450451 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450451, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5720505, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450451, 0, 1, 2, '', 58, 0, 100, 0, 4, 5720505, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_3', 0, 0, 0, 0, 'Fe-Feng Hozen - On Waypoint Finished - Start Attacking'),
(-450451, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Hozen - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450475 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450475, 0, 0, 1, '', 75, 0, 100, 1, 0, 57205, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57205, 0, 0, 0, 'npc_fe_feng_hozen_attack_3', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450475, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 1
SET @ENTRY := 56730;
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, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1472.51, 3608.762, 85.91302, NULL, 0),
(@PATH, 1, 1455.12, 3603.943, 86.8589, NULL, 0),
(@PATH, 2, 1440.436, 3610.888, 87.19036, NULL, 0),
(@PATH, 3, 1433.392, 3619.705, 84.96278, NULL, 0),
(@PATH, 4, 1432.549, 3623.884, 84.26337, NULL, 0);
UPDATE `creature` SET `position_x`= 1472.51, `position_y`= 3608.762, `position_z`= 85.91302, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450305;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450305 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450305, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673000, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450305, 0, 1, 2, '', 58, 0, 100, 0, 4, 5673000, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_4', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450305, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450303 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450303, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_1', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450303, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 2
SET @ENTRY := 56730;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1341.082, 3680.921, 83.52776, NULL, 0),
(@PATH, 1, 1342.387, 3668.629, 87.68966, NULL, 0),
(@PATH, 2, 1350.229, 3652.049, 88.62582, NULL, 0),
(@PATH, 3, 1360.543, 3642.147, 88.033, NULL, 0),
(@PATH, 4, 1372.198, 3639.886, 87.92618, NULL, 0),
(@PATH, 5, 1378.575, 3640.457, 87.92618, NULL, 0),
(@PATH, 6, 1383.488, 3645.484, 87.8055, NULL, 0),
(@PATH, 7, 1384.646, 3650.066, 87.75733, NULL, 0);
UPDATE `creature` SET `position_x`= 1341.082, `position_y`= 3680.921, `position_z`= 83.52776, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450326;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450326 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450326, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673001, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450326, 0, 1, 2, '', 58, 0, 100, 0, 7, 5673001, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 57132, 0, 0, 0, 'npc_wu_song_villager_attack_5', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450326, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450323 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450323, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_2', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450323, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 3
SET @ENTRY := 56730;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1475.618, 3758.82, 81.3439, NULL, 0),
(@PATH, 1, 1473.146, 3738.558, 81.6088, NULL, 0),
(@PATH, 2, 1462.161, 3728.173, 83.25296, NULL, 0),
(@PATH, 3, 1453.792, 3716.79, 79.94983, NULL, 0),
(@PATH, 4, 1449.754, 3712.675, 79.94983, NULL, 0),
(@PATH, 5, 1448.912, 3712.947, 79.94983, 0, 0);
UPDATE `creature` SET `position_x`= 1475.618, `position_y`= 3758.82, `position_z`= 81.3439, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450436;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450436 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450436, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673002, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450436, 0, 1, 2, '', 58, 0, 100, 0, 5, 5673002, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 65472, 0, 0, 0, 'npc_wu_song_villager_attack_6', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450436, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450438 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450438, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 4, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_3', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450438, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Fe-Feng Brewthief 4
SET @ENTRY := 56730;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to Wu-Song Villager 6');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1396.523, 3761.713, 84.58096, NULL, 0),
(@PATH, 1, 1403.3, 3744.214, 85.10693, NULL, 0);
UPDATE `creature` SET `position_x`= 1396.523, `position_y`= 3761.713, `position_z`= 84.58096, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450456;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450456 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450456, 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673003, 0, 0, 0, 2, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On just created - Self: Start path #5673000, run, do not repeat, Aggresive'),
(-450456, 0, 1, 2, '', 58, 0, 100, 0, 1, 5673003, 0, 0, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 65472, 0, 0, 0, 'npc_wu_song_villager_attack_7', 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Start Attacking'),
(-450456, 0, 2, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Linked - Disable Health Regen');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450455 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450455, 0, 0, 1, '', 75, 0, 100, 1, 0, 56730, 2, 1000, 0, '', 49, 0, 0, 0, 0, 0, 0, 0, NULL, 19, 56730, 0, 0, 0, 'npc_fe_feng_brewthief_attack_4', 0, 0, 0, 0, 'Wu-Song Villager - On Creature Distance - Start Attacking'),
(-450455, 0, 1, 0, '', 61, 0, 100, 0, 0, 0, 0, 0, 0, '', 102, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Wu-Song Villager - On Linked - Disable Health Regen');
-- Vendor
DELETE FROM `npc_vendor` WHERE (`entry`=57617 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=18567 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=180733 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=57617 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(57617, 8, 3857, 0, 0, 1, 0, 0, 54070), -- Coal
(57617, 7, 18567, 0, 0, 1, 0, 0, 54070), -- Elemental Flux
(57617, 6, 160298, 0, 0, 1, 0, 0, 54070), -- Durable Flux
(57617, 5, 3466, 0, 0, 1, 0, 0, 54070), -- Strong Flux
(57617, 4, 2880, 0, 0, 1, 0, 0, 54070), -- Weak Flux
(57617, 3, 180733, 0, 0, 1, 0, 0, 54070), -- Luminous Flux
(57617, 2, 5956, 0, 0, 1, 0, 0, 54070), -- Blacksmith Hammer
(57617, 1, 2901, 0, 0, 1, 0, 0, 54070); -- Mining Pick
-- Quests
DELETE FROM `quest_offer_reward_locale` WHERE (`locale`='esES' AND `ID` IN (29417,29522));
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES
(29417, 'esES', '¡Luchas con soltura! ¡Creo que me caes bien!', 54205),
(29522, 'esES', '¡Hola! Rebosas aplomo y seguridad... ¡Me gusta!$b$bMe han llegado algunos rumores bastante impresionantes sobre ti desde los campos de entrenamiento. Si eres la mitad de capaz de lo que cuentan, ¡creo que y yo nos vamos a llevar muy bien!', 54205);
UPDATE `quest_template_locale` SET `LogDescription`='Habla con Ji Zarpa Ígnea en la Aldea Wu-Song.', `QuestDescription`='Otro de mis discípulos con más talento te espera en la Aldea Wu-Song, al noroeste. Su forma de pensar es distinta a la de Aysa, pero con sus diferencias se equilibran mutuamente.$b$bJi Zarpa Ígnea te enseñará a reunir las ofrendas para el espíritu del fuego. Confía en su sabiduría.', `VerifiedBuild`=54205 WHERE (`ID`=29522 AND `locale`='esES');
UPDATE `quest_template_locale` SET `LogTitle`='La filosofía huojin', `QuestDescription`='A esos monos rabiosos que arrasan nuestro pueblo los llamamos \"hozen\". Normalmente nos dejan en paz, pero como saben que va a pasar algo malo han venido a robar nuestros suministros.$b$bEn este tipo de situaciones es necesaria una respuesta contundente. ¡Esos monos se irán por la fuerza! El verdadero crimen sería no defender nuestro pueblo y a nuestros seres queridos. Esa es la filosofía huojin.', `VerifiedBuild`=54205 WHERE (`ID`=29417 AND `locale`='esES');
DELETE FROM `quest_template_addon` WHERE `ID`=29414;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29414, 0, 0, 0, 29424, 29522, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29522;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29522, 0, 0, 0, 29414, 29417, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29417;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29417, 0, 0, 0, 29522, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29418;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29418, 0, 0, 0, 29417, 29420, -29418, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29523;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29523, 0, 0, 0, 29417, 29420, -29418, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, '');
DELETE FROM `quest_template_addon` WHERE `ID`=29420;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29420, 0, 0, 0, 29418, 29664, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7749;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7749, 'SmartTrigger');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=7749;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 7749, 2, 0, 1, 0, 116219, 0, 0, 1, 0, 0, '', 'Areatrigger 7749 only triggers when player has not aura 116219'),
(22, 1, 7749, 2, 0, 47, 0, 29522, 2, 0, 0, 0, 0, '', 'Areatrigger 7749 only triggers when player has completed quest 29522');
DELETE FROM `smart_scripts` WHERE `entryorguid`=7749 AND `source_type`=2;
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`, `event_param_string`, `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
(7749, 2, 0, 0, 46, 0, 100, 0, 7749, 0, 0, 0, 0, '', 86, 116219, 2, 19, 54568, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On Trigger - Cast Area Trigger Dummy Timer Aura A');
DELETE FROM `smart_scripts` WHERE `entryorguid`=54568 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`, `event_param_string`, `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
(54568, 0, 0, 0, 31, 0, 100, 0, 116219, 0, 1000, 1000, 0, '', 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ji Firepaw - On Spellhit Target - Talk');
-- Graveyards
DELETE FROM `graveyard_zone` WHERE `ID` IN (3295, 3297, 3299, 3301, 3303, 3305, 3307) AND `GhostZone`=5736;
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Comment`) VALUES
(3295, 5736, 'The Wandering Isle, Starting Area GY'),
(3297, 5736, 'The Wandering Isle, Hot Springs GY'),
(3299, 5736, 'The Wandering Isle, Farm Area GY'),
(3301, 5736, 'The Wandering Isle, Temple Town GY'),
(3303, 5736, 'The Wandering Isle, Wind Area Town GY'),
(3305, 5736, 'The Wandering Isle, Staff Forest GY'),
(3307, 5736, 'The Wandering Isle, Bamboo Forest GY');
@@ -0,0 +1,128 @@
SET @SPAWNGROUP := 1248;
DELETE FROM `creature` WHERE `guid`=650534; -- Thal'kiel
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+2;
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'The Maw of Souls - Ymiron, the Fallen King', 4),
(@SPAWNGROUP+1, 'The Maw of Souls - Harbaron', 4),
(@SPAWNGROUP+2, 'The Maw of Souls - Helya', 4);
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @SPAWNGROUP+0 AND @SPAWNGROUP+2;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
-- Ymiron
(@SPAWNGROUP+0, 0, 650507),
(@SPAWNGROUP+0, 0, 650481),
(@SPAWNGROUP+0, 0, 650506),
(@SPAWNGROUP+0, 0, 650499),
(@SPAWNGROUP+0, 0, 650488),
(@SPAWNGROUP+0, 0, 650509),
(@SPAWNGROUP+0, 0, 650515),
(@SPAWNGROUP+0, 0, 650485),
(@SPAWNGROUP+0, 0, 650511),
(@SPAWNGROUP+0, 0, 650471),
(@SPAWNGROUP+0, 0, 650493),
(@SPAWNGROUP+0, 0, 650494),
(@SPAWNGROUP+0, 0, 650477),
(@SPAWNGROUP+0, 0, 650472),
(@SPAWNGROUP+0, 0, 650489),
(@SPAWNGROUP+0, 0, 650497),
(@SPAWNGROUP+0, 0, 650500),
(@SPAWNGROUP+0, 0, 650498),
(@SPAWNGROUP+0, 0, 650470),
(@SPAWNGROUP+0, 0, 650490),
(@SPAWNGROUP+0, 0, 650469),
(@SPAWNGROUP+0, 0, 650473),
(@SPAWNGROUP+0, 0, 650474),
(@SPAWNGROUP+0, 0, 650478),
(@SPAWNGROUP+0, 0, 650479),
(@SPAWNGROUP+0, 0, 650480),
(@SPAWNGROUP+0, 0, 650482),
(@SPAWNGROUP+0, 0, 650483),
(@SPAWNGROUP+0, 0, 650484),
(@SPAWNGROUP+0, 0, 650486),
(@SPAWNGROUP+0, 0, 650487),
(@SPAWNGROUP+0, 0, 650491),
(@SPAWNGROUP+0, 0, 650492),
(@SPAWNGROUP+0, 0, 650496),
(@SPAWNGROUP+0, 0, 650501),
(@SPAWNGROUP+0, 0, 650503),
(@SPAWNGROUP+0, 0, 650504),
(@SPAWNGROUP+0, 0, 650508),
(@SPAWNGROUP+0, 0, 650510),
(@SPAWNGROUP+0, 0, 650512),
(@SPAWNGROUP+0, 0, 650513),
(@SPAWNGROUP+0, 0, 650514),
(@SPAWNGROUP+0, 0, 650552),
(@SPAWNGROUP+0, 0, 650577),
(@SPAWNGROUP+0, 0, 650476),
(@SPAWNGROUP+0, 0, 650502),
(@SPAWNGROUP+0, 0, 650495),
-- Harbaron
(@SPAWNGROUP+1, 0, 650572),
(@SPAWNGROUP+1, 0, 650576),
(@SPAWNGROUP+1, 1, 400184),
(@SPAWNGROUP+1, 1, 400185),
(@SPAWNGROUP+1, 1, 400182),
(@SPAWNGROUP+1, 1, 400186),
(@SPAWNGROUP+1, 0, 650521),
(@SPAWNGROUP+1, 0, 650525),
(@SPAWNGROUP+1, 0, 650553),
(@SPAWNGROUP+1, 0, 650526),
(@SPAWNGROUP+1, 0, 650516),
(@SPAWNGROUP+1, 0, 650533),
(@SPAWNGROUP+1, 0, 650520),
(@SPAWNGROUP+1, 0, 650536),
(@SPAWNGROUP+1, 0, 650539),
(@SPAWNGROUP+1, 0, 650554),
(@SPAWNGROUP+1, 0, 650532),
(@SPAWNGROUP+1, 0, 650557),
(@SPAWNGROUP+1, 0, 650556),
(@SPAWNGROUP+1, 0, 650550),
(@SPAWNGROUP+1, 0, 650548),
(@SPAWNGROUP+1, 0, 650545),
(@SPAWNGROUP+1, 0, 650531),
(@SPAWNGROUP+1, 0, 650538),
(@SPAWNGROUP+1, 0, 650528),
(@SPAWNGROUP+1, 0, 650558),
(@SPAWNGROUP+1, 0, 650555),
(@SPAWNGROUP+1, 0, 650580),
(@SPAWNGROUP+1, 0, 650579),
(@SPAWNGROUP+1, 0, 650565),
(@SPAWNGROUP+1, 0, 650578),
(@SPAWNGROUP+1, 0, 650547),
(@SPAWNGROUP+1, 0, 650542),
(@SPAWNGROUP+1, 0, 650559),
(@SPAWNGROUP+1, 0, 650574),
(@SPAWNGROUP+1, 0, 650575),
(@SPAWNGROUP+1, 0, 650560),
(@SPAWNGROUP+1, 0, 650562),
(@SPAWNGROUP+1, 0, 650573),
(@SPAWNGROUP+1, 0, 650569),
(@SPAWNGROUP+1, 0, 650563),
(@SPAWNGROUP+1, 0, 650564),
(@SPAWNGROUP+1, 0, 650570),
(@SPAWNGROUP+1, 0, 650567),
(@SPAWNGROUP+1, 0, 650566),
-- Helya
(@SPAWNGROUP+2, 1, 400147),
(@SPAWNGROUP+2, 1, 400148),
(@SPAWNGROUP+2, 1, 400150),
(@SPAWNGROUP+2, 1, 400153),
(@SPAWNGROUP+2, 1, 400157),
(@SPAWNGROUP+2, 1, 400155),
(@SPAWNGROUP+2, 1, 400151),
(@SPAWNGROUP+2, 1, 400154),
(@SPAWNGROUP+2, 1, 400149),
(@SPAWNGROUP+2, 1, 400160),
(@SPAWNGROUP+2, 1, 400158),
(@SPAWNGROUP+2, 1, 400161),
(@SPAWNGROUP+2, 1, 400143),
(@SPAWNGROUP+2, 1, 400159),
(@SPAWNGROUP+2, 1, 400170);
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId`=1492;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(1492, 0, 23, @SPAWNGROUP+0, 1), -- Ymiron
(1492, 1, 23, @SPAWNGROUP+1, 1), -- Harbaron
(1492, 2, 23, @SPAWNGROUP+2, 1); -- Helya
@@ -0,0 +1,159 @@
-- Creature
SET @CGUID := 4000130;
SET @SPAWNGROUP := 71;
UPDATE `creature_template` SET `ScriptName`='boss_lava_guard_gordoth' WHERE `entry`=61528;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61724;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61716;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61822;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=61823;
DELETE FROM `creature_template_addon` WHERE `entry` IN (61404, 61821, 61716);
DELETE FROM `creature_addon` WHERE `guid` IN (4000010, 4000118, 4000124, 4000015, 4000019);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(4000010, 0, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''),
(4000118, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000124, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000015, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, ''),
(4000019, 0, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '');
DELETE FROM `creature_static_flags_override` WHERE `SpawnId` IN (@CGUID+2, @CGUID+7) AND `DifficultyId`=0;
INSERT INTO `creature_static_flags_override` (`SpawnId`, `DifficultyId`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`) VALUES
(@CGUID+2, 0, 268435456, NULL, 0, NULL, NULL, NULL, NULL, NULL),
(@CGUID+7, 0, 268435456, NULL, 0, NULL, NULL, NULL, NULL, NULL);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
-- Horde
(@CGUID+0, 61724, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.520751953125, 221.1774749755859375, -25.1318569183349609, 3.087508440017700195, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Commander Bagran (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+1, 61404, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.936126708984375, 223.105926513671875, -24.9686126708984375, 3.026282072067260742, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Kor'kron Elite (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+2, 61716, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.498779296875, 215.7811431884765625, -25.4272956848144531, 2.846178770065307617, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Invoker Xorenth (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+3, 61404, 389, 2437, 2437, '1', 0, 0, 0, 1, -297.062896728515625, 218.29010009765625, -25.3582916259765625, 3.026282072067260742, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54673), -- Kor'kron Elite (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
-- Alliance
(@CGUID+4, 61821, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.398834228515625, 221.740570068359375, -25.15625, 2.834229469299316406, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Commando (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+5, 61821, 389, 2437, 2437, '1', 0, 0, 0, 1, -296.525543212890625, 216.924713134765625, -25.3940963745117187, 3.067924737930297851, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Commando (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+6, 61822, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.025115966796875, 219.8191070556640625, -25.3599357604980468, 2.975675582885742187, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717), -- SI:7 Field Commander Dirken (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
(@CGUID+7, 61823, 389, 2437, 2437, '1', 0, 0, 0, 1, -299.02191162109375, 215.8939666748046875, -25.431009292602539, 2.871391773223876953, 7200, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54717); -- High Sorceress Aryna (Area: Ragefire Chasm - Difficulty: Normal) CreateObject2
-- Spawn groups
DELETE FROM `spawn_group_template` WHERE `groupId` IN (@SPAWNGROUP+0, @SPAWNGROUP+1);
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
(@SPAWNGROUP+0, 'RFC - Alliance end dungeon spawns', 4),
(@SPAWNGROUP+1, 'RFC - Horde end dungeon spawns', 4);
DELETE FROM `spawn_group` WHERE `groupId` IN (@SPAWNGROUP+0, @SPAWNGROUP+1) AND `spawnType`=0;
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(@SPAWNGROUP+0, 0, @CGUID+4),
(@SPAWNGROUP+0, 0, @CGUID+5),
(@SPAWNGROUP+0, 0, @CGUID+6),
(@SPAWNGROUP+0, 0, @CGUID+7),
(@SPAWNGROUP+1, 0, @CGUID+0),
(@SPAWNGROUP+1, 0, @CGUID+1),
(@SPAWNGROUP+1, 0, @CGUID+2),
(@SPAWNGROUP+1, 0, @CGUID+3);
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId`=389 AND `bossStateId`=3;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(389, 3, 0x08, @SPAWNGROUP+0, 0x05),
(389, 3, 0x08, @SPAWNGROUP+1, 0x09);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=33 AND `SourceGroup`=0 AND `SourceEntry` IN (@SPAWNGROUP+0, @SPAWNGROUP+1);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(33, 0, @SPAWNGROUP+0, 0, 0, 11, 0, 6592, 1, 0, '', 0, 0, 0, '', 'RFC - Spawn Alliance NPCs if Lava Guard Gordoth encounter is done'),
(33, 0, @SPAWNGROUP+1, 0, 0, 11, 0, 6592, 1, 0, '', 0, 0, 0, '', 'RFC - Spawn Horde NPCs if Lava Guard Gordoth encounter is done');
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+0, @CGUID+6);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+0, @CGUID+0, 0, 0, 512, 0, 0),
(@CGUID+0, @CGUID+1, 4, 45, 512, 0, 0),
(@CGUID+0, @CGUID+3, 4, 315, 512, 0, 0),
(@CGUID+6, @CGUID+6, 0, 0, 512, 0, 0),
(@CGUID+6, @CGUID+4, 4, 45, 512, 0, 0),
(@CGUID+6, @CGUID+5, 4, 315, 512, 0, 0);
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=7899;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(7899, 'at_lava_guard_gordoth_intro');
-- SAI
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-(@CGUID+0), -(@CGUID+6)) 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+0), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 6172400, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Commander Bagran - On Just Created - Self: Start waypoint 6172400'),
(-(@CGUID+6), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 0, 6182200, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'SI:7 Field Commander Dirken - On Just Created - Self: Start waypoint 6182200');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-(@CGUID+2), -(@CGUID+7)) 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+2), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 6171600, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Invoker Xorenth - On Just Created - Self: Start waypoint 6171600'),
(-(@CGUID+2), 0, 1, 0, '', 40, 0, 100, 0, 1, 6171600, 0, 0, 0, '', 90, 8, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Invoker Xorenth - On Waypoint Reached - Self: Set StandState Kneel'),
(-(@CGUID+7), 0, 0, 0, '', 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 6182300, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'High Sorceress Aryna - On Just Created - Self: Start waypoint 6182300'),
(-(@CGUID+7), 0, 1, 0, '', 40, 0, 100, 0, 1, 6182300, 0, 0, 0, '', 90, 8, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'High Sorceress Aryna - On Waypoint Reached - Self: Set Emotestate Kneel');
-- Waypoints
-- Horde
SET @ENTRY := 61724;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'Commander Bagran - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -319.3589, 221.9741, -21.71945, NULL, 0),
(@PATH, 1, -326.1815, 221.1362, -20.62629, NULL, 0),
(@PATH, 2, -336.6703, 218.9815, -20.65222, NULL, 0);
SET @ENTRY := 61716;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Invoker Xorenth - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -326.3615, 217.6746, -20.42875, NULL, 0),
(@PATH, 1, -356.8222, 205.9922, -22.21798, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+2;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+2;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+2, @PATH, 1);
-- Alliance
SET @ENTRY := 61822;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 0, 0, 'SI:7 Field Commander Dirken - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -319.3589, 221.9741, -21.71945, NULL, 0),
(@PATH, 1, -326.1815, 221.1362, -20.62629, NULL, 0),
(@PATH, 2, -336.6703, 218.9815, -20.65222, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+6;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+6;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+6, @PATH, 1);
SET @ENTRY := 61823;
SET @PATH := @ENTRY * 100;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'High Sorceress Aryna - Lava Guard Gordoth encounter done Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, -326.3615, 217.6746, -20.42875, NULL, 0),
(@PATH, 1, -356.8222, 205.9922, -22.21798, NULL, 0);
UPDATE `creature` SET `MovementType`= 2 WHERE `guid`= @CGUID+7;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+7;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+7, @PATH, 1);
UPDATE `gameobject` SET `state`=1 WHERE `guid` IN(4000054, 4000055, 4000057);
@@ -0,0 +1,17 @@
DELIMITER ;;
CREATE PROCEDURE 2024_05_18_01_areatrigger_spellvisual() BEGIN
IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='areatrigger_create_properties' AND `column_name`='SpellsForVisuals') THEN
ALTER TABLE `areatrigger`
DROP COLUMN `SpellForVisuals`;
ALTER TABLE `areatrigger_create_properties`
ADD COLUMN `SpellForVisuals` INT AFTER `DecalPropertiesId`;
END IF;
END;;
DELIMITER ;
CALL 2024_05_18_01_areatrigger_spellvisual();
DROP PROCEDURE IF EXISTS 2024_05_18_01_areatrigger_spellvisual;
@@ -0,0 +1,173 @@
DELETE FROM `creature` WHERE `guid` IN (450465, 450538, 450454, 450543, 450595, 450606, 450542, 450463, 450525, 450588, 450592, 450541, 450479, 450609, 450586); -- Reusable guids
UPDATE `creature` SET `spawntimesecs` = 30 WHERE `guid` IN (450610, 450597);
DELETE FROM `creature_addon` WHERE `guid`IN (450551, 450587, 450577, 450556);
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(450551, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450587, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450577, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL),
(450556, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, NULL);
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450553 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450553, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450547 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450547, 0, 0, 0, '', 1, 0, 100, 0, 6000, 6000, 6000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 6 seconds - Fe-Feng Leaper - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450552 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450552, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450554 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450554, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450546 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450546, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450545 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450545, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
-- I think these npcs have wrong emote on retail (should be 35 instead of 53) but here we are
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450544 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450544, 0, 0, 0, '', 1, 0, 100, 0, 5000, 6000, 5000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450537 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450537, 0, 0, 0, '', 1, 0, 100, 0, 5000, 6000, 5000, 6000, 0, '', 10, 53, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds - Fe-Feng Hozen - OOC - Do emote 53');
-- Fe-Feng Brewthief 1
SET @ENTRY := 56730;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1377.052, 3802.752, 86.05312, NULL, 0),
(@PATH, 1, 1384.057, 3779.156, 83.25222, NULL, 0),
(@PATH, 2, 1386.589, 3757.36, 84.33394, NULL, 0),
(@PATH, 3, 1393.135, 3745.388, 84.63531, NULL, 78);
SET @ENTRY := 56730;
SET @PATHOFFSET := 5;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1379.793, 3787.59, 84.01439, NULL, 0),
(@PATH, 1, 1379.019, 3807.806, 86.91505, NULL, 0),
(@PATH, 2, 1380.738, 3829.742, 87.99515, NULL, 0),
(@PATH, 3, 1380.879, 3848.524, 93.4976, NULL, 227);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450610 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (5673000, 5673001, 5673002);
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`, `event_param_string`, `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
(-450610, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (56730 * 100), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Just Created - Self: Start timed action list'),
(-450610, 0, 1, 0, 58, 0, 100, 0, 3, 5673004, 0, 0, 0, '', 80, (56730 * 100) + 1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
(-450610, 0, 2, 0, 58, 0, 100, 0, 3, 5673005, 0, 0, 0, '', 80, (56730 * 100) + 2, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
((56730 * 100), 9, 0, 0, 0, 0, 100, 0x20, 500, 500, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1380.98, 3846.78, 93.4798, 0, 'After 0.5 seconds - Self: Jump To Pos'),
((56730 * 100), 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673004, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673004, run, do not repeat, Aggresive'),
((56730 * 100) + 1, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1401.19, 3736.55, 87.4988, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 1, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, '', 85, 107747, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast to Self spell 107747'),
((56730 * 100) + 1, 9, 2, 0, 0, 0, 100, 0x20, 4000, 4000, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1393.03, 3746.33, 84.6671, 0, 'After 3 seconds - Self: Jump To Pos'),
((56730 * 100) + 1, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673005, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673005, run, do not repeat, Aggresive'),
((56730 * 100) + 2, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1380.9, 3863.48, 100.405, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 2, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, '', 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Despawn');
-- Fe-Feng Brewthief 2
SET @ENTRY := 56730;
SET @PATHOFFSET := 6;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1376.896, 3812.387, 87.55208, NULL, 0),
(@PATH, 1, 1376.342, 3789.305, 84.46112, NULL, 0),
(@PATH, 2, 1377.7, 3770.052, 84.21375, NULL, 0),
(@PATH, 3, 1383.566, 3752.828, 83.47913, NULL, 0),
(@PATH, 4, 1390.667, 3744.428, 84.28326, NULL, 158);
SET @ENTRY := 56730;
SET @PATHOFFSET := 7;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Brewthief - Waypoint to steal brew 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1378.795, 3767.181, 84.29975, NULL, 0),
(@PATH, 1, 1376.438, 3789.023, 84.41727, NULL, 0),
(@PATH, 2, 1381.368, 3809.92, 87.31419, NULL, 0),
(@PATH, 3, 1390.418, 3833.358, 86.94251, NULL, 0),
(@PATH, 4, 1396.009, 3847.9, 90.90401, NULL, 221);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450597 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` IN (5673003, 5673004, 5673005);
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`, `event_param_string`, `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
(-450597, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (56730 * 100) + 3, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Just Created - Self: Start timed action list'),
(-450597, 0, 1, 0, 58, 0, 100, 0, 4, 5673006, 0, 0, 0, '', 80, (56730 * 100) + 4, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
(-450597, 0, 2, 0, 58, 0, 100, 0, 4, 5673007, 0, 0, 0, '', 80, (56730 * 100) + 5, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fe-Feng Brewthief - On Waypoint Finished - Self: Start timed action list'),
((56730 * 100) + 3, 9, 0, 0, 0, 0, 100, 0x20, 500, 500, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1390.44, 3846, 91.4894, 0, 'After 0.5 seconds - Self: Jump To Pos'),
((56730 * 100) + 3, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673006, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673004, run, do not repeat, Aggresive'),
((56730 * 100) + 4, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1402.4, 3737.49, 87.1755, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 4, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, '', 85, 107747, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast to Self spell 107747'),
((56730 * 100) + 4, 9, 2, 0, 0, 0, 100, 0x20, 4000, 4000, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1395.43, 3743.21, 84.791, 0, 'After 3 seconds - Self: Jump To Pos'),
((56730 * 100) + 4, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5673007, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #5673005, run, do not repeat, Aggresive'),
((56730 * 100) + 5, 9, 0, 0, 0, 0, 100, 0x20, 0, 0, 0, 0, 0, '', 97, 20, 9, 0, 0, 0, 0, 8, 0, 0, 0, 0, 1399.77, 3859.49, 100.569, 0, 'After 0 seconds - Self: Jump To Pos'),
((56730 * 100) + 5, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, '', 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Despawn');
-- Fe-Feng Hozen
SET @ENTRY := 57205;
SET @PATHOFFSET := 6;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1372.106, 3740.393, 76.431, NULL, 61),
(@PATH, 1, 1349.958, 3741.615, 78.44532, NULL, 0),
(@PATH, 2, 1341.099, 3745.504, 77.86064, NULL, 0),
(@PATH, 3, 1336.149, 3749.592, 77.6916, NULL, 0),
(@PATH, 4, 1330.002, 3755.87, 76.78313, NULL, 0),
(@PATH, 5, 1327.401, 3771.976, 76.90037, NULL, 0),
(@PATH, 6, 1330.542, 3783.554, 81.22856, NULL, 0),
(@PATH, 7, 1326.892, 3797.945, 85.61081, NULL, 0),
(@PATH, 8, 1309.026, 3801.955, 79.50826, NULL, 0),
(@PATH, 9, 1291.641, 3811.724, 77.48859, NULL, 0),
(@PATH, 10, 1286.974, 3817.953, 81.05396, NULL, 31),
(@PATH, 11, 1309.026, 3801.955, 79.50826, NULL, 0),
(@PATH, 12, 1326.892, 3797.945, 85.61081, NULL, 0),
(@PATH, 13, 1330.564, 3783.626, 81.11723, NULL, 0),
(@PATH, 14, 1330.002, 3755.87, 76.78313, NULL, 0),
(@PATH, 15, 1336.149, 3749.592, 77.6916, NULL, 0),
(@PATH, 16, 1349.958, 3741.615, 78.44532, NULL, 0),
(@PATH, 17, 1363.657, 3738.729, 76.73334, NULL, 0);
UPDATE `creature` SET `position_x`= 1372.106, `position_y`= 3740.393, `position_z`= 76.431, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450528;
DELETE FROM `creature_addon` WHERE `guid`= 450528;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450528, @PATH, 1);
@@ -0,0 +1,9 @@
UPDATE `phase_name` SET `Name`='Cosmetic - See Cyrus Crestfall in Harbormasters Office' WHERE `ID`=10827;
UPDATE `phase_name` SET `Name`='Cosmetic - See Taelia in Harbormasters Office' WHERE `ID`=9001;
UPDATE `phase_area` SET `Comment`='Cosmetic - See Cyrus Crestfall in Harbormasters Office' WHERE `PhaseId`=10827;
UPDATE `phase_area` SET `Comment`='Cosmetic - See Taelia in Harbormasters Office' WHERE `PhaseId`=9001;
UPDATE `creature` SET `PhaseId`=9001 WHERE `guid`=8000038; -- Taelia
UPDATE `creature` SET `PhaseId`=10827 WHERE `guid`=8000039; -- Cyrus Crestfall
@@ -0,0 +1,256 @@
-- Normal
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96754 AND `DifficultyID`=1); -- Harbaron
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96756 AND `DifficultyID`=1); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=96759 AND `DifficultyID`=0); -- Helya
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97043 AND `DifficultyID`=1); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97097 AND `DifficultyID`=1); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97119 AND `DifficultyID`=1); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97163 AND `DifficultyID`=1); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97182 AND `DifficultyID`=1); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97185 AND `DifficultyID`=1); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97200 AND `DifficultyID`=1); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=97365 AND `DifficultyID`=1); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`DifficultyID`=0 AND `Entry` IN (98363,100354,100360,100362)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98693 AND `DifficultyID`=0); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98761 AND `DifficultyID`=0); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98919 AND `DifficultyID`=1); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=98973 AND `DifficultyID`=1) OR (`Entry`=114288 AND `DifficultyID`=0); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99033 AND `DifficultyID`=1); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99188 AND `DifficultyID`=1); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99307 AND `DifficultyID`=1); -- Skjal
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=99801 AND `DifficultyID`=0); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=102104 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`DifficultyID`=1 AND `Entry` IN (102375,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=111221 AND `DifficultyID`=1); -- Xal'atath
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=111833 AND `DifficultyID`=1); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6 WHERE (`Entry`=114289 AND `DifficultyID`=0); -- Skeletal Sorcerer
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (96759,97099,98363,98693,98761,99800,99801,99803,100188,100353,100354,100359,100360,100361,100362,101502,101504,101814,102306,114288,114289));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `LevelScalingDeltaMin`, `LevelScalingDeltaMax`, `ContentTuningID`, `StaticFlags1`, `StaticFlags2`, `StaticFlags3`, `StaticFlags4`, `StaticFlags5`, `StaticFlags6`, `StaticFlags7`, `StaticFlags8`, `VerifiedBuild`) VALUES
(96759, 1, 2, 2, 485, 805306624, 0, 0, 0, 0, 0, 0, 0, 54762), -- Helya
(97099, 1, 0, 0, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Swirling Pool
(98363, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(98693, 1, 1, 1, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Shackled Servitor
(98761, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Soul Fragment
(99800, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(99801, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Destructor Tentacle
(99803, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Destructor Tentacle
(100188, 1, 1, 1, 1155, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Piercing Tentacle
(100353, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100354, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100359, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100360, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100361, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(100362, 1, 1, 1, 485, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(101502, 1, 0, 0, 1155, 536870912, 0, 0, 0, 0, 0, 0, 0, 54762), -- Helya's Tentacle
(101504, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(101814, 1, 2, 2, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Grasping Tentacle
(102306, 1, 0, 0, 1155, 536871168, 0, 0, 0, 0, 0, 0, 0, 54762), -- Swirling Pool
(114288, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762), -- Skeletal Warrior
(114289, 1, 0, 0, 485, 268435456, 0, 0, 0, 0, 0, 0, 0, 54762); -- Skeletal Sorcerer
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=1); -- Harbaron
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=1); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=1); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=1); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=1); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=1); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=1); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=1); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=1); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=97208 AND `DifficultyID`=1); -- Spear
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=1); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (98291,102326)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=1); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98973 AND `DifficultyID`=1); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=98989 AND `DifficultyID`=1); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=1); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=1); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=1); -- Skjal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=100733 AND `DifficultyID`=1); -- Charge
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=100839 AND `DifficultyID`=1); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101013 AND `DifficultyID`=1); -- Captured Runecarver
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=102108 AND `DifficultyID`=1); -- Captured Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (102325,102327)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102375 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102742 AND `DifficultyID`=1); -- Fallen Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102769 AND `DifficultyID`=1); -- Decrepit Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102830 AND `DifficultyID`=1); -- Deceased Sorcerer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102894 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102896 AND `DifficultyID`=1); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`DifficultyID`=1 AND `Entry` IN (103115,111374));
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=1); -- Xal'atath
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `VerifiedBuild`=54762 WHERE (`Entry`=111833 AND `DifficultyID`=1); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `ContentTuningID`=485, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114712 AND `DifficultyID`=1); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=877, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=188142 AND `DifficultyID`=1); -- Motion Sick Peon's Soul
-- Heroic
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=2 AND `Entry` IN (96754,96756,96759,97043,97097,97099,97119,97163,97182,97185,97200,97365,98246,98363,98693,98761,98919,98973,99033,99188,99307,99800,99801,99803,100188,100353,100354,100359,100360,101502,101504,101814,102104,102306,102375,114288,114289,114712));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(96754, 2, 6, 38, 1, 103217, 2097256, 128), -- Harbaron
(96756, 2, 6, 35, 0.000350554008036851, 103241, 2097256, 128), -- Ymiron, the Fallen King
(96759, 2, 6, 249.600006103515625, 1, 102839, 2097260, 128), -- Helya
(97043, 2, 6, 5.15000009536743164, 1, 103230, 2097224, 0), -- Seacursed Slaver
(97097, 2, 6, 6.5, 1, 103225, 270532680, 0), -- Helarjar Champion
(97099, 2, 6, 1, 1, 97598, 1024, 0), -- Swirling Pool
(97119, 2, 6, 1.5, 1, 103224, 2097224, 0), -- Shroud Hound
(97163, 2, 6, 0.800000011920928955, 1, 103237, 2097224, 0), -- Cursed Falke
(97182, 2, 6, 7.5, 1, 103226, 270532680, 0), -- Night Watch Mariner
(97185, 2, 6, 15, 1, 103233, 2097224, 0), -- The Grimewalker
(97200, 2, 6, 6.5, 1, 103229, 2097224, 0), -- Seacursed Soulkeeper
(97365, 2, 6, 4.75, 1, 103227, 270532680, 0), -- Seacursed Mistmender
(98246, 2, 6, 0.899999976158142089, 1, 117105, 2097224, 128), -- Risen Warrior
(98363, 2, 6, 4, 1, 103221, 104, 128), -- Grasping Tentacle
(98693, 2, 6, 1.299999952316284179, 1, 103218, 2097224, 128), -- Shackled Servitor
(98761, 2, 6, 0.5, 1, 102165, 2097224, 128), -- Soul Fragment
(98919, 2, 6, 4.25, 1, 103231, 270532680, 0), -- Seacursed Swiftblade
(98973, 2, 6, 1.10000002384185791, 0.065200001001358032, 103236, 2097224, 0), -- Skeletal Warrior
(99033, 2, 6, 5.5, 1, 103228, 270532680, 0), -- Helarjar Mistcaller
(99188, 2, 6, 5.25, 1, 103232, 2097224, 0), -- Waterlogged Soul Guard
(99307, 2, 6, 16, 1, 103234, 270532712, 0), -- Skjal
(99800, 2, 6, 1, 1, 100308, 0, 128), -- Grasping Tentacle
(99801, 2, 6, 4, 1, 103223, 2097256, 128), -- Destructor Tentacle
(99803, 2, 6, 1, 1, 100311, 0, 128), -- Destructor Tentacle
(100188, 2, 6, 1, 1, 100697, 0, 128), -- Piercing Tentacle
(100353, 2, 6, 1, 1, 100863, 0, 128), -- Grasping Tentacle
(100354, 2, 6, 4, 1, 103222, 104, 128), -- Grasping Tentacle
(100359, 2, 6, 1, 1, 100869, 0, 128), -- Grasping Tentacle
(100360, 2, 6, 4, 1, 103219, 104, 128), -- Grasping Tentacle
(101502, 2, 6, 1, 1, 102076, 0, 0), -- Helya's Tentacle
(101504, 2, 6, 1, 1, 102078, 0, 0), -- Grasping Tentacle
(101814, 2, 6, 1, 1, 102424, 0, 0), -- Grasping Tentacle
(102104, 2, 6, 5, 1, 103240, 2097224, 0), -- Enslaved Shieldmaiden
(102306, 2, 6, 1, 1, 103079, 1024, 0), -- Swirling Pool
(102375, 2, 6, 4, 140.25439453125, 103238, 2097224, 0), -- Runecarver Slave
(114288, 2, 6, 1.10000002384185791, 0.065200001001358032, 117624, 2097224, 0), -- Skeletal Warrior
(114289, 2, 6, 0.75, 1, 117627, 270532680, 0), -- Skeletal Sorcerer
(114712, 2, 6, 4, 140.25439453125, 118182, 2097224, 0); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=2); -- Xal'atath
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`Entry`=111374 AND `DifficultyID`=2);
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=2); -- Harbaron
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=2); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=96759 AND `DifficultyID`=2); -- Helya
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=2); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=2); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (97099,102306)); -- Swirling Pool
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=2); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=2); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=2); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=2); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=2); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=2); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98246 AND `DifficultyID`=2); -- Risen Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (98363,100354,100360)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98693 AND `DifficultyID`=2); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98761 AND `DifficultyID`=2); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=2); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (98973,114288)); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=2); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=2); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=2); -- Skjal
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (99800,100353,100359,101504,101814)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=628, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99801 AND `DifficultyID`=2); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99803 AND `DifficultyID`=2); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1155, `VerifiedBuild`=54762 WHERE (`Entry`=100188 AND `DifficultyID`=2); -- Piercing Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101502 AND `DifficultyID`=2); -- Helya's Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=2); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=2 AND `Entry` IN (102375,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `ContentTuningID`=628, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114289 AND `DifficultyID`=2); -- Skeletal Sorcerer
-- Mythic
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=23 AND `Entry` IN (96759,97099,98246,98363,98693,98761,98989,99033,99307,99800,99801,99803,100188,100353,100354,100359,100360,100361,100362,100733,100839,101502,101504,101814,102306,114288,114289));
INSERT INTO `creature_template_difficulty` (`Entry`, `DifficultyID`, `HealthScalingExpansion`, `HealthModifier`, `ManaModifier`, `CreatureDifficultyID`, `TypeFlags`, `TypeFlags2`) VALUES
(96759, 23, 6, 249.600006103515625, 1, 115330, 2097260, 128), -- Helya
(97099, 23, 6, 1, 1, 97598, 1024, 0), -- Swirling Pool
(98246, 23, 6, 0.899999976158142089, 1, 117106, 2097224, 128), -- Risen Warrior
(98363, 23, 6, 4, 1, 115313, 104, 128), -- Grasping Tentacle
(98693, 23, 6, 1.299999952316284179, 1, 115320, 2097224, 128), -- Shackled Servitor
(98761, 23, 6, 0.5, 1, 115333, 2097224, 128), -- Soul Fragment
(98989, 23, 6, 1, 1, 99495, 1024, 0), -- Cosmic Scythe
(99033, 23, 6, 5.5, 1, 115321, 270532680, 0), -- Helarjar Mistcaller
(99307, 23, 6, 16, 1, 115338, 270532712, 0), -- Skjal
(99800, 23, 6, 1, 1, 100308, 0, 128), -- Grasping Tentacle
(99801, 23, 6, 4, 1, 115322, 2097256, 128), -- Destructor Tentacle
(99803, 23, 6, 1, 1, 100311, 0, 128), -- Destructor Tentacle
(100188, 23, 6, 1, 1, 100697, 0, 128), -- Piercing Tentacle
(100353, 23, 6, 1, 1, 100863, 0, 128), -- Grasping Tentacle
(100354, 23, 6, 4, 1, 115328, 104, 128), -- Grasping Tentacle
(100359, 23, 6, 1, 1, 100869, 0, 128), -- Grasping Tentacle
(100360, 23, 6, 4, 1, 115334, 104, 128), -- Grasping Tentacle
(100361, 23, 6, 1, 1, 100871, 0, 128), -- Grasping Tentacle
(100362, 23, 6, 4, 1, 115319, 104, 128), -- Grasping Tentacle
(100733, 23, 6, 1, 1, 101244, 1024, 0), -- Charge
(100839, 23, 6, 1, 1, 101356, 1024, 0), -- Cosmic Scythe
(101502, 23, 6, 1, 1, 102076, 0, 0), -- Helya's Tentacle
(101504, 23, 6, 1, 1, 102078, 0, 0), -- Grasping Tentacle
(101814, 23, 6, 1, 1, 102424, 0, 0), -- Grasping Tentacle
(102306, 23, 6, 1, 1, 103079, 1024, 0), -- Swirling Pool
(114288, 23, 6, 1.10000002384185791, 0.065200001001358032, 117625, 2097224, 0), -- Skeletal Warrior
(114289, 23, 6, 0.75, 1, 117628, 270532680, 0); -- Skeletal Sorcerer
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `CreatureDifficultyID`=115314 WHERE (`Entry`=96754 AND `DifficultyID`=23); -- Harbaron
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `ManaModifier`=0.000350554008036851, `CreatureDifficultyID`=115318 WHERE (`Entry`=96756 AND `DifficultyID`=23); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115311 WHERE (`Entry`=97043 AND `DifficultyID`=23); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115312 WHERE (`Entry`=97097 AND `DifficultyID`=23); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115331, `TypeFlags`=2097224 WHERE (`Entry`=97119 AND `DifficultyID`=23); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115325, `TypeFlags`=2097224 WHERE (`Entry`=97163 AND `DifficultyID`=23); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115324 WHERE (`Entry`=97182 AND `DifficultyID`=23); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115327 WHERE (`Entry`=97185 AND `DifficultyID`=23); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `HealthScalingExpansion`=6, `CreatureDifficultyID`=115332 WHERE (`Entry`=97200 AND `DifficultyID`=23); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115336 WHERE (`Entry`=97365 AND `DifficultyID`=23); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115317 WHERE (`Entry`=98919 AND `DifficultyID`=23); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115329 WHERE (`Entry`=98973 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115316 WHERE (`Entry`=99188 AND `DifficultyID`=23); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115335 WHERE (`Entry`=102104 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=115315 WHERE (`Entry`=102375 AND `DifficultyID`=23); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `CreatureDifficultyID`=118183 WHERE (`Entry`=114712 AND `DifficultyID`=23); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96754 AND `DifficultyID`=23); -- Harbaron
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=96756 AND `DifficultyID`=23); -- Ymiron, the Fallen King
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97043 AND `DifficultyID`=23); -- Seacursed Slaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97097 AND `DifficultyID`=23); -- Helarjar Champion
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97119 AND `DifficultyID`=23); -- Shroud Hound
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=54762 WHERE (`Entry`=97163 AND `DifficultyID`=23); -- Cursed Falke
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97182 AND `DifficultyID`=23); -- Night Watch Mariner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97185 AND `DifficultyID`=23); -- The Grimewalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97200 AND `DifficultyID`=23); -- Seacursed Soulkeeper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=97208 AND `DifficultyID`=23); -- Spear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=97365 AND `DifficultyID`=23); -- Seacursed Mistmender
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (98291,102326)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98919 AND `DifficultyID`=23); -- Seacursed Swiftblade
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98973 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99188 AND `DifficultyID`=23); -- Waterlogged Soul Guard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101013 AND `DifficultyID`=23); -- Captured Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=102104 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=102108 AND `DifficultyID`=23); -- Captured Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (102325,102327)); -- Seacursed Rower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (102375,102894,114712)); -- Runecarver Slave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102742 AND `DifficultyID`=23); -- Fallen Shieldmaiden
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102769 AND `DifficultyID`=23); -- Decrepit Runecarver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=102830 AND `DifficultyID`=23); -- Deceased Sorcerer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=102896 AND `DifficultyID`=23); -- Enslaved Shieldmaiden
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (103115,111374));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=104906 AND `DifficultyID`=23); -- Captured Val'kyr
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `VerifiedBuild`=54762 WHERE (`Entry`=111221 AND `DifficultyID`=23); -- Xal'atath
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `VerifiedBuild`=54762 WHERE (`Entry`=111833 AND `DifficultyID`=23); -- Thal'kiel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=120652 AND `DifficultyID`=23); -- Global Affix Stalker
UPDATE `creature_template_difficulty` SET `ContentTuningID`=877, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=188142 AND `DifficultyID`=23); -- Motion Sick Peon's Soul
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=629, `StaticFlags1`=805306624, `VerifiedBuild`=54762 WHERE (`Entry`=96759 AND `DifficultyID`=23); -- Helya
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (97099,102306)); -- Swirling Pool
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98246 AND `DifficultyID`=23); -- Risen Warrior
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (98363,100354,100360,100362)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98693 AND `DifficultyID`=23); -- Shackled Servitor
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=98761 AND `DifficultyID`=23); -- Soul Fragment
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=98989 AND `DifficultyID`=23); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99033 AND `DifficultyID`=23); -- Helarjar Mistcaller
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=99307 AND `DifficultyID`=23); -- Skjal
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`DifficultyID`=23 AND `Entry` IN (99800,100353,100359,100361,101504,101814)); -- Grasping Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=629, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99801 AND `DifficultyID`=23); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=99803 AND `DifficultyID`=23); -- Destructor Tentacle
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1155, `VerifiedBuild`=54762 WHERE (`Entry`=100188 AND `DifficultyID`=23); -- Piercing Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=100733 AND `DifficultyID`=23); -- Charge
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=100839 AND `DifficultyID`=23); -- Cosmic Scythe
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1155, `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=101502 AND `DifficultyID`=23); -- Helya's Tentacle
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114288 AND `DifficultyID`=23); -- Skeletal Warrior
UPDATE `creature_template_difficulty` SET `ContentTuningID`=629, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=114289 AND `DifficultyID`=23); -- Skeletal Sorcerer
@@ -0,0 +1,7 @@
SET @CGUID := 650469;
DELETE FROM `creature` WHERE `guid`=@CGUID+65;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `VerifiedBuild`) VALUES
(@CGUID+65, 111833, 1492, 7812, 7811, '1,2,8,23', 0, 0, 0, 0, 2933.046875, 848.609375, 515.24334716796875, 0, 7200, 0, 0, 100, 0, NULL, NULL, 45745); -- Thal'kiel (Area: -Unknown- - Difficulty: 23)
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry` IN(111833, 111221);
@@ -0,0 +1,26 @@
-- Creature
UPDATE `creature_template` SET `ScriptName`='boss_slagmaw' WHERE `entry`=61463;
-- Serverside spells
DELETE FROM `serverside_spell` WHERE `Id` IN (119424, 119425, 119426, 119428) AND `DifficultyID`=0;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(119424, 0, 0, 0, 0, 0x100, 0x40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport North', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119425, 0, 0, 0, 0, 0x100, 0x40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport East', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119426, 0, 0, 0, 0, 0x100, 0x40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport South', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(119428, 0, 0, 0, 0, 0x100, 0x40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 'Magnaw Teleport West', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID` IN (119424, 119425, 119426, 119428) AND `EffectIndex`=0 AND `DifficultyID`=0;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(119424, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119425, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119426, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17),
(119428, 0, 0, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17);
DELETE FROM `spell_target_position` WHERE `ID` IN (119424, 119425, 119426, 119428) AND `EffectIndex`=0;
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
(119424, 0, 389, -222.94, 165.703, -19.721, 3.797819, 54630),
(119425, 0, 389, -226.477, 135.704, -19.721, 2.330294, 54630),
(119426, 0, 389, -263.212, 136.244, -19.721, 0.7556769, 54630),
(119428, 0, 389, -256.389, 172.884, -19.721, 5.577933, 54630);
UPDATE `creature_template_difficulty` SET `StaticFlags4`=`StaticFlags4`|0x00000200 WHERE `Entry`=61463;
@@ -0,0 +1 @@
DELETE FROM `spawn_group` WHERE `spawnId` IN(650564, 650567, 650566, 650570);
@@ -0,0 +1,163 @@
SET @CGUID := 7000335;
SET @OGUID := 7000163;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+28;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3755.681396484375, -485.461822509765625, 37.06344985961914062, 2.305676937103271484, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: ) (possible waypoints or random movement)
(@CGUID+1, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3754.829833984375, -492.923614501953125, 38.96415328979492187, 3.880747556686401367, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+2, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3755.521728515625, -478.270843505859375, 36.71664047241210937, 2.450761079788208007, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+3, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3773.49658203125, -514.68231201171875, 38.44319915771484375, 3.832850933074951171, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+4, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3755.68408203125, -493.7725830078125, 39.22199249267578125, 4.122908592224121093, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+5, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3749.25341796875, -484.29339599609375, 36.63306427001953125, 1.921743392944335937, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+6, 142194, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3762.919189453125, -501.77777099609375, 40.64550018310546875, 4.378778934478759765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@CGUID+7, 134377, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3775.802001953125, -574.13226318359375, 93.52033233642578125, 1.574845790863037109, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+8, 136422, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3790.881103515625, -512.48785400390625, 34.124176025390625, 0, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+9, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3820.5166015625, -552.38543701171875, 21.1963348388671875, 5.083871364593505859, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+10, 137039, 1643, 9042, 9626, '0', 0, 0, 0, 1, 3821.741455078125, -555.888916015625, 20.29308700561523437, 1.851087570190429687, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+11, 136422, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3805.596435546875, -557.19427490234375, 21.22417831420898437, 2.928831100463867187, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+12, 142168, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3837.822509765625, -571.02923583984375, 17.352203369140625, 0.733493030071258544, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Path of Storms - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+13, 137039, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3790.887939453125, -605.3680419921875, 4.198330402374267578, 0.834012150764465332, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Path of Storms - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+14, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3787.091064453125, -618.8992919921875, 0.942745804786682128, 4.97591257095336914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+15, 137039, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3820.47998046875, -613.54864501953125, 4.198333263397216796, 1.944154620170593261, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tideguard (Area: Path of Storms - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+16, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.079833984375, -618.57464599609375, 1.071032047271728515, 4.673542976379394531, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+17, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3797.712646484375, -639.9913330078125, 1.728608489036560058, 1.258543848991394042, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+18, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.111083984375, -637.50347900390625, 1.728608965873718261, 6.028524398803710937, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+19, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3814.947998046875, -625.9913330078125, 0.695562958717346191, 3.69903421401977539, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+20, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3816.49658203125, -626.171875, 0.69555830955505371, 3.79045414924621582, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+21, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3797.12158203125, -639.96527099609375, 1.728608489036560058, 1.276374220848083496, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+22, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3816.646728515625, -632.56427001953125, 0.695555329322814941, 3.002608537673950195, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+23, 137726, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3817.643310546875, -628.27777099609375, 0.695553004741668701, 3.728364229202270507, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Conscript (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+24, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3806.216064453125, -642.47052001953125, 1.728608489036560058, 2.866831064224243164, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+25, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3789.942626953125, -644.5694580078125, 1.728608250617980957, 0.504748940467834472, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+26, 137037, 1643, 9042, 10033, '0', 0, 0, 0, 1, 3802.15625, -647.873291015625, 1.728608489036560058, 2.145909070968627929, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Awakened Tidesage (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+27, 54638, 1643, 9042, 10033, '0', 0, 0, 0, 0, 3788.731689453125, -672.38018798828125, 0.083333335816860198, 1.20302438735961914, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Path of Storms - Difficulty: 0) CreateObject1
(@CGUID+28, 134377, 1643, 9042, 9626, '0', 0, 0, 0, 0, 3723.644287109375, -630.08819580078125, 24.94845390319824218, 1.935096144676208496, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762); -- Slickbeak Osprey (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+28;
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, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+3, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+2, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+4, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+5, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+6, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+7, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+9, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+10, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+13, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+14, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+15, 0, 0, 0, 0, 0, 1, 1, 716, 0, 0, 0, 0, ''), -- Awakened Tideguard
(@CGUID+16, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+17, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+19, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+20, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+21, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+22, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+23, 0, 0, 0, 0, 0, 0, 0, 714, 0, 0, 0, 0, ''), -- Awakened Conscript
(@CGUID+24, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+25, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+26, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- Awakened Tidesage
(@CGUID+27, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Generic Bunny
(@CGUID+28, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Slickbeak Osprey
DELETE FROM `creature_template_addon` WHERE `entry` IN(137037, 137726, 137039);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(137037, 0, 0, 0, 0, 0, 1, 0, 0, 15351, 0, 0, 0, ''), -- 137037 (Awakened Tidesage)
(137726, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 137726 (Awakened Conscript)
(137039, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''); -- 137039 (Awakened Tideguard)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137037 AND `DifficultyID`=0); -- Awakened Tidesage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137726 AND `DifficultyID`=0); -- Awakened Conscript
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=137039 AND `DifficultyID`=0); -- Awakened Tideguard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=`StaticFlags1`|0x20000000, `VerifiedBuild`=54762 WHERE (`Entry`=134377 AND `DifficultyID`=0); -- Slickbeak Osprey
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=134377; -- Slickbeak Osprey
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=137039; -- Awakened Tideguard
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 137039;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN(-7000344, -7000345);
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
(-7000344, 0, 0, 0, '', 1, 0, 100, 0, 5000, 7000, 5000, 7000, 10, 6, 273, 274, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 7 seconds (OOC) - Self: Play random emote: 6, 273, 274, 1,'),
(-7000345, 0, 0, 0, '', 1, 0, 100, 0, 5000, 7000, 5000, 7000, 10, 6, 273, 274, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 7 seconds (OOC) - Self: Play random emote: 6, 273, 274, 1,');
SET @ENTRY := 137039;
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, 0x1|0x2, 'Awakened Tideguard - Patrol');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 3755.6814, -485.46182, 37.06345, NULL, 2314),
(@PATH, 1, 3758.3186, -488.0512, 37.839016, NULL, 0),
(@PATH, 2, 3760.5686, -490.5512, 38.589016, NULL, 0),
(@PATH, 3, 3763.0686, -493.0512, 39.339016, NULL, 0),
(@PATH, 4, 3765.3186, -495.8012, 39.589016, NULL, 0),
(@PATH, 5, 3767.8186, -498.5512, 39.589016, NULL, 0),
(@PATH, 6, 3770.5686, -501.3012, 39.339016, NULL, 0),
(@PATH, 7, 3773.5686, -504.8012, 38.339016, NULL, 0),
(@PATH, 8, 3776.5686, -508.0512, 37.589016, NULL, 0),
(@PATH, 9, 3779.0686, -510.8012, 37.089016, NULL, 0),
(@PATH, 10, 3781.0686, -512.8012, 36.339016, NULL, 0),
(@PATH, 11, 3783.0686, -515.0512, 35.589016, NULL, 0),
(@PATH, 12, 3785.0686, -516.8012, 34.839016, NULL, 0),
(@PATH, 13, 3787.3186, -518.8012, 34.089016, NULL, 0),
(@PATH, 14, 3789.8186, -521.0512, 33.089016, NULL, 0),
(@PATH, 15, 3792.5686, -523.0512, 32.089016, NULL, 0),
(@PATH, 16, 3795.0686, -525.3012, 30.339016, NULL, 0),
(@PATH, 17, 3797.3186, -527.3012, 29.339016, NULL, 0),
(@PATH, 18, 3799.8186, -529.5512, 28.839016, NULL, 0),
(@PATH, 19, 3802.0686, -531.8012, 28.089016, NULL, 0),
(@PATH, 20, 3804.3186, -534.3012, 27.339016, NULL, 0),
(@PATH, 21, 3806.8186, -536.5512, 26.089016, NULL, 0),
(@PATH, 22, 3808.8186, -539.0512, 25.339016, NULL, 0),
(@PATH, 23, 3810.8186, -541.8012, 24.339016, NULL, 0),
(@PATH, 24, 3812.8186, -544.8012, 23.589016, NULL, 0),
(@PATH, 25, 3814.3186, -547.5512, 22.839016, NULL, 0),
(@PATH, 26, 3815.3186, -550.3012, 21.839016, NULL, 0),
(@PATH, 27, 3816.0686, -553.3012, 21.089016, NULL, 0),
(@PATH, 28, 3817.0686, -556.5512, 20.089016, NULL, 0),
(@PATH, 29, 3817.8186, -559.3012, 19.339016, NULL, 0),
(@PATH, 30, 3818.0686, -562.3012, 18.339016, NULL, 0),
(@PATH, 31, 3818.0686, -565.5512, 17.589016, NULL, 0),
(@PATH, 32, 3817.8186, -568.8012, 16.589016, NULL, 0),
(@PATH, 33, 3817.3186, -572.0512, 15.589016, NULL, 0),
(@PATH, 34, 3816.8186, -575.8012, 14.339016, NULL, 0),
(@PATH, 35, 3816.0686, -579.3012, 13.339016, NULL, 0),
(@PATH, 36, 3815.3186, -582.5512, 12.089016, NULL, 0),
(@PATH, 37, 3814.4558, -586.6406, 10.614583, NULL, 2314);
UPDATE `creature` SET `position_x`=3755.6814, `position_y`=-485.46182, `position_z`=37.06345, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`=@CGUID+0;
DELETE FROM `creature_addon` WHERE `guid`= @CGUID+0;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@CGUID+0, @PATH, 1);
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, 288430, 1643, 9042, 9626, '0', 0, 0, 3790.704833984375, -637.79864501953125, 3.032180309295654296, 2.919285058975219726, 0, 0, 0.993828773498535156, 0.11092504858970642, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+1, 288430, 1643, 9042, 9626, '0', 0, 0, 3791.48095703125, -643.578125, 3.032178878784179687, 3.719591856002807617, 0, 0, -0.95852947235107421, 0.284993380308151245, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+2, 288430, 1643, 9042, 9626, '0', 0, 0, 3801.54248046875, -646.890625, 3.032178878784179687, 5.24310302734375, 0, 0, -0.49691581726074218, 0.86779874563217163, 120, 255, 1, 54762), -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) CreateObject1
(@OGUID+3, 288430, 1643, 9042, 9626, '0', 0, 0, 3804.646728515625, -641.88714599609375, 3.032178878784179687, 6.047809600830078125, 0, 0, -0.1174163818359375, 0.993082761764526367, 120, 255, 1, 54762); -- Scroll of Tides (Area: Tidebreak Foothills - Difficulty: 0) Creat
--
DELETE FROM `creature_model_info` WHERE `DisplayID`=90814;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(90814, 0.908434152603149414, 1.5, 0, 54762);
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (6295, 30255, 42855, 83302, 1939, 83301, 86396, 38380, 65631, 981, 75365, 29756, 82550, 85468, 85471, 85470, 85467, 88679, 31773, 85469, 85466, 85339, 21936, 41326, 36357, 11686, 79043, 79042, 78928, 87594, 36700, 328, 79040, 64016, 82001, 88675, 88678, 58380, 83929, 4626, 36499, 88677, 79041, 83932, 84083, 76601);
UPDATE `creature_model_info` SET `BoundingRadius`=0.347222000360488891, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85204;
UPDATE `creature_model_info` SET `BoundingRadius`=1.050927042961120605, `CombatReach`=1.346153855323791503, `VerifiedBuild`=54762 WHERE `DisplayID`=75383;
UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85192;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `VerifiedBuild`=54762 WHERE `DisplayID`=24964;
UPDATE `creature_model_info` SET `BoundingRadius`=2.788770675659179687, `CombatReach`=1, `VerifiedBuild`=54762 WHERE `DisplayID`=75702;
UPDATE `creature_model_info` SET `BoundingRadius`=1.399999976158142089, `CombatReach`=1.75, `VerifiedBuild`=54762 WHERE `DisplayID`=32024;
UPDATE `creature_model_info` SET `BoundingRadius`=58.802764892578125, `CombatReach`=11, `VerifiedBuild`=54762 WHERE `DisplayID`=85053;
UPDATE `creature_model_info` SET `BoundingRadius`=1.366205096244812011, `CombatReach`=1.75, `VerifiedBuild`=54762 WHERE `DisplayID`=87603;
UPDATE `creature_model_info` SET `BoundingRadius`=1.32942509651184082, `CombatReach`=1.60000002384185791, `VerifiedBuild`=54762 WHERE `DisplayID`=81269;
UPDATE `creature_model_info` SET `BoundingRadius`=0.546643853187561035, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85200;
UPDATE `creature_model_info` SET `BoundingRadius`=1.288985729217529296, `CombatReach`=2, `VerifiedBuild`=54762 WHERE `DisplayID`=27849;
UPDATE `creature_model_info` SET `BoundingRadius`=3.01638031005859375, `VerifiedBuild`=54762 WHERE `DisplayID`=90852;
@@ -0,0 +1,337 @@
DELETE FROM `creature` WHERE `guid` IN (450485, 450492, 450480, 450462, 450391, 450612, 450482, 450619, 450486, 450616); -- Reusable guids
UPDATE `creature` SET `equipment_id` = 0 WHERE `guid` IN (450036, 450039, 450620, 450493);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60245 AND `DifficultyID`=0); -- Brewer Zhen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60248 AND `DifficultyID`=0); -- Chia-hui Autumnleaf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54205 WHERE (`Entry`=60253 AND `DifficultyID`=0); -- Brewer Lin
-- Waypoints
-- Fe-Feng Hozen 1
SET @ENTRY := 57205;
SET @PATHOFFSET := 7;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 5');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1244.173, 3667.366, 91.5778, NULL, 0),
(@PATH, 1, 1224.637, 3659.807, 92.90532, NULL, 0),
(@PATH, 2, 1227.151, 3646.648, 95.53232, NULL, 0),
(@PATH, 3, 1237.653, 3642.382, 93.94682, NULL, 0),
(@PATH, 4, 1239.809, 3635.231, 95.35127, NULL, 0),
(@PATH, 5, 1227.151, 3646.648, 95.53232, NULL, 0),
(@PATH, 6, 1224.637, 3659.807, 92.90532, NULL, 0),
(@PATH, 7, 1234.964, 3671.273, 92.63132, NULL, 0);
UPDATE `creature` SET `position_x`= 1244.173, `position_y`= 3667.366, `position_z`= 91.5778, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450394;
DELETE FROM `creature_addon` WHERE `guid`= 450394;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450394, @PATH, 1);
-- Fe-Feng Hozen 2
SET @ENTRY := 57205;
SET @PATHOFFSET := 8;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 6');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1269.55, 3727.061, 91.53522, NULL, 0),
(@PATH, 1, 1256.146, 3725.214, 92.103, NULL, 0),
(@PATH, 2, 1244.363, 3726.153, 93.97342, NULL, 0),
(@PATH, 3, 1242.783, 3735.703, 93.94279, NULL, 0),
(@PATH, 4, 1244.597, 3741.183, 93.36487, NULL, 0),
(@PATH, 5, 1254.595, 3739.469, 90.5905, NULL, 402),
(@PATH, 6, 1242.783, 3735.703, 93.94279, NULL, 0),
(@PATH, 7, 1244.363, 3726.153, 93.97342, NULL, 0),
(@PATH, 8, 1256.146, 3725.214, 92.103, NULL, 0),
(@PATH, 9, 1269.55, 3727.061, 91.53522, NULL, 0),
(@PATH, 10, 1278.092, 3720.293, 90.02708, NULL, 0),
(@PATH, 11, 1284.429, 3705.247, 86.14371, NULL, 0),
(@PATH, 12, 1291.422, 3704.616, 86.2205, NULL, 14),
(@PATH, 13, 1278.092, 3720.293, 90.02708, NULL, 0);
UPDATE `creature` SET `position_x`= 1190.519, `position_y`= 3745.292, `position_z`= 93.05916, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450494;
DELETE FROM `creature_addon` WHERE `guid`= 450494;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450494, @PATH, 1);
-- Fe-Feng Hozen 3
SET @ENTRY := 57205;
SET @PATHOFFSET := 9;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 7');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1191.799, 3687.529, 99.47076, NULL, 0),
(@PATH, 1, 1186.318, 3678.026, 99.45316, NULL, 0),
(@PATH, 2, 1197.944, 3672.267, 97.57945, NULL, 138),
(@PATH, 3, 1186.318, 3678.026, 99.45316, NULL, 0),
(@PATH, 4, 1191.799, 3687.529, 99.47076, NULL, 0),
(@PATH, 5, 1202.731, 3694.034, 96.55957, NULL, 0),
(@PATH, 6, 1209.949, 3697.479, 94.91675, NULL, 0),
(@PATH, 7, 1219.832, 3699.931, 93.70534, NULL, 107),
(@PATH, 8, 1202.734, 3694.031, 96.57874, NULL, 0);
UPDATE `creature` SET `position_x`= 1191.799, `position_y`= 3687.529, `position_z`= 99.47076, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450529;
DELETE FROM `creature_addon` WHERE `guid`= 450529;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450529, @PATH, 1);
-- Fe-Feng Hozen 4
SET @ENTRY := 57205;
SET @PATHOFFSET := 10;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 8');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1182.804, 3764.365, 91.73024, NULL, 0),
(@PATH, 1, 1188.118, 3772.423, 89.70108, NULL, 0),
(@PATH, 2, 1197.42, 3767.958, 89.47875, NULL, 0),
(@PATH, 3, 1200.476, 3754.757, 90.39675, NULL, 0),
(@PATH, 4, 1198.905, 3745.451, 91.50883, NULL, 0),
(@PATH, 5, 1190.519, 3745.292, 93.05916, NULL, 283),
(@PATH, 6, 1200.476, 3754.757, 90.39675, NULL, 0),
(@PATH, 7, 1197.42, 3767.958, 89.47875, NULL, 0),
(@PATH, 8, 1188.118, 3772.423, 89.70108, NULL, 0),
(@PATH, 9, 1182.804, 3764.365, 91.73024, NULL, 0),
(@PATH, 10, 1172.188, 3745.387, 93.76577, NULL, 0),
(@PATH, 11, 1167.257, 3730.832, 98.12619, NULL, 0),
(@PATH, 12, 1168.033, 3719.603, 99.47594, NULL, 276),
(@PATH, 13, 1172.188, 3745.387, 93.76577, NULL, 0);
UPDATE `creature` SET `position_x`= 1182.804, `position_y`= 3764.365, `position_z`= 91.73024, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450507;
DELETE FROM `creature_addon` WHERE `guid`= 450507;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450507, @PATH, 1);
-- Fe-Feng Hozen 5
SET @ENTRY := 57205;
SET @PATHOFFSET := 11;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 9');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1293.873, 3755.62, 82.17702, NULL, 0),
(@PATH, 1, 1282.594, 3757.129, 85.56174, NULL, 0),
(@PATH, 2, 1281.186, 3748.994, 88.807, NULL, 0),
(@PATH, 3, 1281.755, 3739.134, 89.93045, NULL, 0),
(@PATH, 4, 1298.151, 3731.044, 81.84277, NULL, 361),
(@PATH, 5, 1281.755, 3739.134, 89.93045, NULL, 0),
(@PATH, 6, 1281.186, 3748.994, 88.807, NULL, 0),
(@PATH, 7, 1282.594, 3757.129, 85.56174, NULL, 0),
(@PATH, 8, 1293.873, 3755.62, 82.17702, NULL, 0),
(@PATH, 9, 1287.311, 3762.478, 81.80273, NULL, 0),
(@PATH, 10, 1273.207, 3768.954, 83.10479, NULL, 0),
(@PATH, 11, 1247.661, 3763.284, 89.44864, NULL, 0),
(@PATH, 12, 1238.859, 3764.387, 90.39224, NULL, 355),
(@PATH, 13, 1273.207, 3768.954, 83.10479, NULL, 0),
(@PATH, 14, 1287.311, 3762.478, 81.80273, NULL, 0);
UPDATE `creature` SET `position_x`= 1293.873, `position_y`= 3755.62, `position_z`= 82.17702, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450509;
DELETE FROM `creature_addon` WHERE `guid`= 450509;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450509, @PATH, 1);
-- Fe-Feng Hozen 6
SET @ENTRY := 57205;
SET @PATHOFFSET := 12;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Fe-Feng Hozen - Waypoint 10');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1130.002, 3694.614, 102.9448, NULL, 0),
(@PATH, 1, 1144.3, 3693.514, 104.1493, NULL, 0),
(@PATH, 2, 1151.035, 3696.048, 103.3115, NULL, 280),
(@PATH, 3, 1130.002, 3694.614, 102.9448, NULL, 0),
(@PATH, 4, 1131.681, 3681.453, 103.1755, NULL, 0),
(@PATH, 5, 1135.257, 3667.392, 101.0022, NULL, 0),
(@PATH, 6, 1143.129, 3652.982, 105.1957, NULL, 3020),
(@PATH, 7, 1131.681, 3681.453, 103.1755, NULL, 0);
UPDATE `creature` SET `position_x`= 1130.002, `position_y`= 3694.614, `position_z`= 102.9448, `orientation`= 0, `wander_distance`= 0, `MovementType`= 2 WHERE `guid`= 450515;
DELETE FROM `creature_addon` WHERE `guid`= 450515;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450515, @PATH, 1);
-- Amberleaf Scamp 1
SET @ENTRY := 54130;
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, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 1');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1277.88, 3543.563, 93.56727, NULL, 0),
(@PATH, 1, 1269.757, 3550.408, 95.10683, NULL, 0),
(@PATH, 2, 1259.813, 3557.848, 99.41698, NULL, 0),
(@PATH, 3, 1253.368, 3559.958, 101.3789, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450286;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450286, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450286 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413000;
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`, `event_param_string`, `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
(-450286, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450286, 0, 1, 0, 58, 0, 100, 0, 3, 5413000, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100), 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100), 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 2
SET @ENTRY := 54130;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 2');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1292.674, 3502.029, 102.3115, NULL, 0),
(@PATH, 1, 1299.087, 3493.448, 106.8531, NULL, 0),
(@PATH, 2, 1304.938, 3489.859, 109.5571, NULL, 0),
(@PATH, 3, 1318.639, 3477.482, 112.7021, NULL, 0),
(@PATH, 4, 1328.307, 3465.213, 114.6394, NULL, 0),
(@PATH, 5, 1327.819, 3459.954, 117.4277, NULL, 0),
(@PATH, 6, 1330.396, 3451.8, 120.444, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450284;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450284, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450284 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413001;
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`, `event_param_string`, `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
(-450284, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450284, 0, 1, 0, 58, 0, 100, 0, 6, 5413001, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 1, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 3
SET @ENTRY := 54130;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 3');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1312.16, 3514.234, 103.2949, NULL, 0),
(@PATH, 1, 1320.901, 3511.293, 103.7662, NULL, 0),
(@PATH, 2, 1333.394, 3508.494, 102.8783, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450297;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450297, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450297 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413002;
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`, `event_param_string`, `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
(-450297, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450297, 0, 1, 0, 58, 0, 100, 0, 2, 5413002, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 2, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 2, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- Amberleaf Scamp 4
SET @ENTRY := 54130;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Comment`) VALUES
(@PATH, 1, 0, 'Amberleaf Scamp Cosmetic waypoint 4');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1314.536, 3541.405, 99.65874, NULL, 0),
(@PATH, 1, 1338.78, 3543.706, 94.42071, NULL, 0);
DELETE FROM `creature_addon` WHERE `guid`= 450296;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(450296, @PATH, 1);
DELETE FROM `smart_scripts` WHERE `entryorguid`= -450296 AND `source_type`= 0;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = 5413003;
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`, `event_param_string`, `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
(-450296, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, '', 80, (54130 * 100) + 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Just Created - Self: Start timed action list'),
(-450296, 0, 1, 0, 58, 0, 100, 0, 1, 5413003, 0, 0, 0, '', 41, 3500, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Amberleaf Scamp - On Waypoint Finished - Self: Despawn after 3,5 seconds'),
((54130 * 100) + 3, 9, 0, 0, 0, 0, 100, 0, 1000, 3000, 0, 0, 0, '', 85, 109137, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Between 1 and 3 seconds - Self: Cast to Self spell 109137'),
((54130 * 100) + 3, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 53, 1, 5413003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Self: Start path #5413000, run, do not repeat, Passive');
-- SAI
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60245; -- Brewer Zhen
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60248; -- Chia-hui Autumnleaf
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=60253; -- Brewer Lin
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=54130; -- Amberleaf Scamp
DELETE FROM `smart_scripts` WHERE `entryorguid`=60245 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60245, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6024500, 6024501, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Brewer Zhen - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6024500, 6024501) 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6024500, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6024501, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=60248 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60248, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6024800, 6024801, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Chia-hui Autumnleaf - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6024800, 6024801) 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6024800, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6024801, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=60253 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(60253, 0, 0, 0, '', 1, 0, 100, 0, 2000, 10000, 2000, 10000, 0, '', 87, 6025300, 6025301, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Every 2 to 10 seconds - Brewer Lin - OOC - Random Action list');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (6025300, 6025301) 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6025300, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 10, 1, 5, 6, 25, 11, 273, 274, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Play random emote: 1, 5, 6, 25, 11, 273, 274'),
(6025301, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 85, 56745, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'On Actionlist - Self: Cast to Self spell 56745');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450514 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450514, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450513 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450513, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450501 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450501, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450504 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450504, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450039 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450039, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
DELETE FROM `smart_scripts` WHERE `entryorguid`=-450036 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`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-450036, 0, 0, 0, '', 1, 0, 100, 0, 2000, 2400, 2000, 2400, 0, '', 10, 35, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Every 2 - 2.4 seconds - Fe-Feng Leaper - OOC - Do emote 35');
@@ -0,0 +1,17 @@
SET @OGUID := 7000167;
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 320950, 1643, 9042, 9579, '0', 12812, 0, 3523.903564453125, -476.6163330078125, -3.33042573928833007, 1.7016984224319458, 0, 0, 0.751840591430664062, 0.659344911575317382, 120, 255, 1, 54762); -- The Abyssal Melody (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `phase_name` WHERE `ID`=12812;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12812, 'Cosmetic - The Abyssal Melody in Port Fogtide');
DELETE FROM `phase_area` WHERE `PhaseId`=12812;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9042, 12812, 'Cosmetic - The Abyssal Melody in Port Fogtide');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12812));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12812, 9042, 0, 0, 9, 0, 54721, 0, 0, '', 1, 'Player doesn\'t have quest I\'m Too Old for This Ship (54721) active');
@@ -0,0 +1,206 @@
SET @CGUID := 7000364;
SET @OGUID := 7000168;
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+25;
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, 295051, 1643, 9042, 9579, '0', 0, 0, 3441.21875, -421.598876953125, 7.794084072113037109, 1.125736594200134277, 0, 0, 0.533614158630371093, 0.845728039741516113, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+1, 295050, 1643, 9042, 9579, '0', 0, 0, 3443.36328125, -421.15594482421875, 7.794084072113037109, 2.687806606292724609, 0, 0, 0.974370002746582031, 0.224951311945915222, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+2, 295049, 1643, 9042, 9579, '0', 0, 0, 3445.842041015625, -414.021148681640625, 7.794084072113037109, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+3, 294711, 1643, 9042, 9579, '0', 0, 0, 3349.053955078125, -344.736114501953125, 15.80430126190185546, 2.146752834320068359, 0, 0, 0.878816604614257812, 0.477159708738327026, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+4, 295048, 1643, 9042, 9579, '0', 0, 0, 3444.24169921875, -416.453125, 7.794084072113037109, 1.064649581909179687, 0, 0, 0.507537841796875, 0.861629426479339599, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+5, 295055, 1643, 9042, 9579, '0', 0, 0, 3443.762939453125, -425.733795166015625, 7.823177337646484375, 4.302238941192626953, 0, 0, -0.83628559112548828, 0.5482940673828125, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+6, 295054, 1643, 9042, 9579, '0', 0, 0, 3441.719970703125, -424.44921875, 7.823177337646484375, 4.188792228698730468, 0, 0, -0.86602497100830078, 0.50000077486038208, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+7, 295053, 1643, 9042, 9579, '0', 0, 0, 3440.671875, -423.75396728515625, 7.823177337646484375, 4.00553131103515625, 0, 0, -0.9081430435180664, 0.418660014867782592, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+8, 295052, 1643, 9042, 9579, '0', 0, 0, 3442.56787109375, -419.377471923828125, 7.794084072113037109, 4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+9, 294713, 1643, 9042, 9579, '0', 0, 0, 3342.913330078125, -338.9132080078125, 15.80521011352539062, 2.12057352066040039, 0, 0, 0.872495651245117187, 0.488621890544891357, 120, 255, 1, 54762), -- Chair (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+10, 294712, 1643, 9042, 9579, '0', 0, 0, 3347.741455078125, -340.125, 15.80521011352539062, 4.101525306701660156, 0, 0, -0.88701057434082031, 0.461749136447906494, 120, 255, 1, 54762), -- Stove (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+11, 295057, 1643, 9042, 9579, '0', 0, 0, 3451.556396484375, -410.005523681640625, 7.698925018310546875, 5.866266250610351562, 0, 0, -0.20695304870605468, 0.97835087776184082, 120, 255, 1, 54762), -- Fire (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+12, 295056, 1643, 9042, 9579, '0', 0, 0, 3442.771728515625, -425.065277099609375, 7.823177337646484375, 4.127707481384277343, 0, 0, -0.880889892578125, 0.473321229219436645, 120, 255, 1, 54762), -- Stool (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+13, 296877, 1643, 9042, 9579, '0', 0, 0, 3317.94970703125, -328.380218505859375, 13.34244823455810546, 3.970627307891845703, 0, 0, -0.91531085968017578, 0.402748137712478637, 120, 255, 1, 54762), -- Mailbox (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+14, 291132, 1643, 9042, 9579, '0', 0, 0, 3426.7509765625, -448.95660400390625, 10.82904052734375, 5.013007164001464843, 0, 0, -0.59324932098388671, 0.805018782615661621, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+15, 292545, 1643, 9042, 9579, '0', 0, 0, 3243.585205078125, -521.7569580078125, 1.267088532447814941, 4.341106414794921875, 0, 0, -0.82547283172607421, 0.564441800117492675, 120, 255, 1, 54762), -- Weapon Rack (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+16, 291132, 1643, 9042, 9579, '0', 0, 0, 3405.470458984375, -440.880218505859375, 13.84467887878417968, 1.691165447235107421, 0, 0, 0.748357772827148437, 0.663295328617095947, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+17, 291132, 1643, 9042, 9579, '0', 0, 0, 3426.98779296875, -447.786468505859375, 10.87959575653076171, 4.05368661880493164, 0, 0, -0.89780044555664062, 0.440402477979660034, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+18, 291132, 1643, 9042, 9579, '0', 0, 0, 3406.9140625, -443.064239501953125, 13.85734844207763671, 1.691165447235107421, 0, 0, 0.748357772827148437, 0.663295328617095947, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+19, 291132, 1643, 9042, 9579, '0', 0, 0, 3405.163330078125, -442.229156494140625, 13.86177253723144531, 0.333484798669815063, 0, 0, 0.165970802307128906, 0.98613065481185913, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+20, 291132, 1643, 9042, 9579, '0', 0, 0, 3407.224853515625, -440.857635498046875, 13.83086967468261718, 2.694235801696777343, 0, 0, 0.975088119506835937, 0.221817851066589355, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+21, 277419, 1643, 9042, 9579, '0', 0, 0, 2949.50439453125, -99.939239501953125, -0.15199999511241912, 4.412836074829101562, 0, 0, -0.8047027587890625, 0.593677937984466552, 120, 255, 1, 54762), -- Cylinder Collision (2.5 Scale) (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+22, 298912, 1643, 9042, 9579, '0', 0, 0, 3440.279541015625, -424.914947509765625, 9.003243446350097656, 0.65004122257232666, 0, 0, 0.31932830810546875, 0.947644174098968505, 120, 255, 1, 54762), -- Spring-Loaded Spikes (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+23, 291132, 1643, 9042, 9579, '0', 0, 0, 3425.233642578125, -447.80902099609375, 10.89545059204101562, 0.114566504955291748, 0, 0, 0.057251930236816406, 0.998359739780426025, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+24, 291132, 1643, 9042, 9579, '0', 0, 0, 3424.92626953125, -449.157989501953125, 10.89236164093017578, 1.745003461837768554, 0, 0, 0.765939712524414062, 0.64291238784790039, 120, 255, 1, 54762), -- Bone (Area: Tidecross - Difficulty: 0) CreateObject1
(@OGUID+25, 292545, 1643, 9042, 9579, '0', 0, 0, 3248.560791015625, -569.76910400390625, 15.49766731262207031, 5.017819404602050781, 0, 0, -0.59131050109863281, 0.806443989276885986, 120, 255, 1, 54762); -- Weapon Rack (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+25;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+1, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+2, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+4, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+5, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+6, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+7, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+8, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+11, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Fire
(@OGUID+12, 0, 0, 0.488621234893798828, 0.872496008872985839, 0, 0), -- Stool
(@OGUID+22, 0, 0, 0, 1, 10427, 0); -- Spring-Loaded Spikes
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+47;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 134721, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3385.50439453125, -426.213531494140625, 13.984375, 5.759586334228515625, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Stalwart Revolutionary (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+1, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3301.605712890625, -407.547332763671875, -0.92706239223480224, 3.90489506721496582, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+2, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3297.99755859375, -410.6275634765625, -1.85077071189880371, 2.114041328430175781, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+3, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3221.817626953125, -357.66375732421875, -2.22753810882568359, 0.924048066139221191, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+4, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3282.886474609375, -374.376708984375, 1.735674500465393066, 0.61657869815826416, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+5, 131376, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3293.455078125, -335.76104736328125, 16.61583137512207031, 2.62044072151184082, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Honey Bee (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+6, 54638, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3373.75439453125, -412.697906494140625, 11.97694587707519531, 2.518779993057250976, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+7, 142609, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3345.7041015625, -340.84027099609375, 15.88854312896728515, 0.272221922874450683, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Handyman Gareth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+8, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3274.7255859375, -381.170379638671875, -0.22728478908538818, 3.094667911529541015, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+9, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3313.872314453125, -421.67401123046875, 0.253625929355621337, 2.498286962509155273, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+10, 134696, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3346.368896484375, -378.435760498046875, 18.62731361389160156, 1.479342818260192871, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Marla Featherfoot (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+11, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3275.889404296875, -375.01885986328125, 0.913532853126525878, 3.640160799026489257, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+12, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3328.483642578125, -433.258209228515625, -0.67110049724578857, 6.25389719009399414, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+13, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3210.4443359375, -359.988189697265625, -3.14969778060913085, 5.316576957702636718, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+14, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.74609375, -327.729034423828125, 13.91765403747558593, 3.27478957176208496, 120, 10, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+15, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3361.510986328125, -429.319305419921875, 12.359130859375, 6.030802726745605468, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+16, 134623, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3380.854248046875, -420.930572509765625, 12.76978397369384765, 5.354724407196044921, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Taelia (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+17, 126642, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3237.994140625, -353.96844482421875, -0.35828664898872375, 3.603056907653808593, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crab (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+18, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3250.69873046875, -411.104156494140625, 12.97412776947021484, 2.146619081497192382, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+19, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3272.033447265625, -338.469207763671875, 30.24342536926269531, 0.020568065345287323, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+20, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3247.850341796875, -326.96929931640625, 11.3204050064086914, 3.202183961868286132, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+21, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3230.534912109375, -352.71588134765625, -0.10200726985931396, 3.726888179779052734, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+22, 142634, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3335.232666015625, -372.78125, 13.08397769927978515, 1.577361583709716796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Sister Alison (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+23, 143036, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3311.38525390625, -409.27252197265625, 1.420114517211914062, 3.4574737548828125, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+24, 134723, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3378.085205078125, -421.619781494140625, 12.48090267181396484, 5.637413501739501953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Trueheart Marksman (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+25, 130077, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3220.886962890625, -418.09332275390625, -29.7011795043945312, 4.630242824554443359, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Hermit Crab (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+26, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3263.96240234375, -360.572967529296875, -0.95921695232391357, 1.309251070022583007, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+27, 143038, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3303.398193359375, -362.05145263671875, 13.24366474151611328, 1.140060782432556152, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Honey Bee (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+28, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3299.60400390625, -366.361572265625, 9.207753181457519531, 0.163060203194618225, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+29, 138280, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3210.666748046875, -334.50482177734375, 1.714617490768432617, 0.824052929878234863, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Sandyback Crawler (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+30, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.361083984375, -323.368072509765625, 16.2221221923828125, 4.085919857025146484, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+31, 142199, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3370.92919921875, -285.589752197265625, 67.8933258056640625, 4.735934257507324218, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Alpine Hawk (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+32, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3209.2216796875, -509.387786865234375, 34.58963775634765625, 2.333814382553100585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+33, 134377, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3419.518310546875, -452.075897216796875, 24.73954010009765625, 2.244010210037231445, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Slickbeak Osprey (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+34, 134721, 1643, 9042, 9579, '0', 0, 0, 0, 1, 3393.317626953125, -424.90972900390625, 13.94179153442382812, 5.567600250244140625, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Stalwart Revolutionary (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+35, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3398.8349609375, -383.160980224609375, 15.22425365447998046, 3.427221536636352539, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+36, 142194, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3289.229248046875, -400.2413330078125, 12.06528377532958984, 4.666686534881591796, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Skittish Seagull (Area: Tidecross - Difficulty: 0) CreateObject2
(@CGUID+37, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3285.26611328125, -287.03338623046875, 24.55756187438964843, 0.348952054977416992, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+38, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3389.5830078125, -336.458984375, 27.79191970825195312, 4.149394989013671875, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+39, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3314.965087890625, -286.88104248046875, 26.78862953186035156, 2.047563552856445312, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+40, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3344.130859375, -286.04913330078125, 32.71361160278320312, 4.950742244720458984, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+41, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3375.09521484375, -291.60174560546875, 35.71710586547851562, 1.278772473335266113, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+42, 54638, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3406.584228515625, -442.161468505859375, 13.93338203430175781, 2.441189289093017578, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Generic Bunny (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: 264700 - Bonestorm)
(@CGUID+43, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3416.94189453125, -305.246490478515625, 39.27288436889648437, 1.849901080131530761, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+44, 136422, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3396.633056640625, -268.82843017578125, 39.65697479248046875, 2.348807334899902343, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Cottontail (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+45, 142168, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3354.30908203125, -254.696182250976562, 39.20532608032226562, 5.19281768798828125, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Valley Squirrel (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+46, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3381.385498046875, -254.387832641601562, 41.39926528930664062, 5.033213615417480468, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762), -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+47, 141064, 1643, 9042, 9579, '0', 0, 0, 0, 0, 3306.25, -250, 33.9922637939453125, 5.399059295654296875, 120, 10, 0, 100, 1, NULL, NULL, NULL, NULL, 54762); -- Highland Hare (Area: Tidecross - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+47;
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, 333, 0, 0, 0, 0, ''), -- Stalwart Revolutionary
(@CGUID+5, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Honey Bee
(@CGUID+7, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- Handyman Gareth
(@CGUID+10, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- Marla Featherfoot
(@CGUID+16, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Taelia
(@CGUID+18, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+19, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+22, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- Sister Alison
(@CGUID+24, 0, 0, 0, 0, 0, 2, 0, 214, 0, 0, 0, 0, ''), -- Trueheart Marksman
(@CGUID+27, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Honey Bee
(@CGUID+30, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Skittish Seagull
(@CGUID+32, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+33, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Slickbeak Osprey
(@CGUID+34, 0, 0, 0, 0, 0, 1, 0, 333, 0, 0, 0, 0, ''), -- Stalwart Revolutionary
(@CGUID+36, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Skittish Seagull
DELETE FROM `creature_template_addon` WHERE `entry` IN (142199 /*142199 (Alpine Hawk)*/, 143038 /*143038 (Honey Bee)*/, 134723 /*134723 (Trueheart Marksman)*/, 142634 /*142634 (Sister Alison)*/, 134377 /*134377 (Slickbeak Osprey)*/, 134696 /*134696 (Marla Featherfoot)*/, 142609 /*142609 (Handyman Gareth)*/, 131376 /*131376 (Honey Bee)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(142199, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 142199 (Alpine Hawk)
(143038, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 143038 (Honey Bee)
(134723, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, ''), -- 134723 (Trueheart Marksman)
(142634, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 142634 (Sister Alison)
(134377, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 134377 (Slickbeak Osprey)
(134696, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''), -- 134696 (Marla Featherfoot)
(142609, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''), -- 142609 (Handyman Gareth)
(131376, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 131376 (Honey Bee)
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=134696 AND `MenuID`=6944) OR (`CreatureID`=142609 AND `MenuID`=23171) OR (`CreatureID`=142634 AND `MenuID`=23172);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(134696, 6944, 54762), -- Marla Featherfoot
(142609, 23171, 54762), -- Handyman Gareth
(142634, 23172, 54762); -- Sister Alison
DELETE FROM `npc_vendor` WHERE (`entry`=142609 AND `item`=163203 AND `ExtendedCost`=6426 AND `type`=1) OR (`entry`=142609 AND `item`=3857 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=18567 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=160298 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=3466 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=2880 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=5956 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=2901 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=6219 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=160502 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=163569 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=183952 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142609 AND `item`=180733 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159875 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=160554 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159871 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=163075 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159869 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159898 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159868 AND `ExtendedCost`=0 AND `type`=1) OR (`entry`=142634 AND `item`=159867 AND `ExtendedCost`=0 AND `type`=1);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `ExtendedCost`, `type`, `PlayerConditionID`, `IgnoreFiltering`, `VerifiedBuild`) VALUES
(142609, 13, 163203, 0, 6426, 1, 0, 0, 54762), -- Hypersensitive Azeritometer Sensor
(142609, 12, 3857, 0, 0, 1, 0, 0, 54762), -- Coal
(142609, 11, 18567, 0, 0, 1, 0, 0, 54762), -- Elemental Flux
(142609, 10, 160298, 0, 0, 1, 0, 0, 54762), -- Durable Flux
(142609, 9, 3466, 0, 0, 1, 0, 0, 54762), -- Strong Flux
(142609, 8, 2880, 0, 0, 1, 0, 0, 54762), -- Weak Flux
(142609, 7, 5956, 0, 0, 1, 0, 0, 54762), -- Blacksmith Hammer
(142609, 6, 2901, 0, 0, 1, 0, 0, 54762), -- Mining Pick
(142609, 5, 6219, 0, 0, 1, 0, 0, 54762), -- Arclight Spanner
(142609, 4, 160502, 0, 0, 1, 0, 0, 54762), -- Chemical Blasting Cap
(142609, 3, 163569, 0, 0, 1, 0, 0, 54762), -- Insulated Wiring
(142609, 2, 183952, 0, 0, 1, 0, 0, 54762), -- Machinist's Oil
(142609, 1, 180733, 0, 0, 1, 0, 0, 54762), -- Luminous Flux
(142634, 8, 159875, 0, 0, 1, 0, 0, 54762), -- Sour Vanilla Skyr
(142634, 7, 160554, 0, 0, 1, 0, 0, 54762), -- Stormsong Sourdough
(142634, 6, 159871, 0, 0, 1, 0, 0, 54762), -- Buttered Turnip Porridge
(142634, 5, 163075, 0, 0, 1, 0, 0, 54762), -- Stormshore Haddock
(142634, 4, 159869, 0, 0, 1, 0, 0, 54762), -- Goldfield Sweet Yams
(142634, 3, 159898, 0, 0, 1, 0, 0, 54762), -- Sour Stormberries
(142634, 2, 159868, 0, 0, 1, 0, 0, 54762), -- Free-Range Goat's Milk
(142634, 1, 159867, 0, 0, 1, 0, 0, 54762); -- Rockskip Mineral Water
DELETE FROM `gossip_menu` WHERE (`MenuID`=23171 AND `TextID`=160710) OR (`MenuID`=23172 AND `TextID`=160740);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23171, 160710, 54762), -- 142609 (Handyman Gareth)
(23172, 160740, 54762); -- 142634 (Sister Alison)
UPDATE `gossip_menu` SET `VerifiedBuild`=54762 WHERE (`MenuID`=6944 AND `TextID`=7778);
UPDATE `gossip_menu_option` SET `GossipOptionID`=34833, `VerifiedBuild`=54762 WHERE (`MenuID`=6944 AND `OptionID`=0); -- OptionBroadcastTextID: 12271 - 140511 - 158191
UPDATE `gossip_menu_option` SET `GossipOptionID`=49432, `OptionBroadcastTextID`=45533, `VerifiedBuild`=54762 WHERE (`MenuID`=23171 AND `OptionID`=0); -- OptionBroadcastTextID: 45533 - 143334
UPDATE `gossip_menu_option` SET `GossipOptionID`=49434, `OptionBroadcastTextID`=2822, `VerifiedBuild`=54762 WHERE (`MenuID`=23172 AND `OptionID`=0); -- OptionBroadcastTextID: 2822 - 162070
UPDATE `gossip_menu_option` SET `GossipOptionID`=49433, `OptionBroadcastTextID`=2823, `VerifiedBuild`=54762 WHERE (`MenuID`=23172 AND `OptionID`=1); -- OptionBroadcastTextID: 2823 - 7509 - 8097
--
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (68093, 10612, 68092, 83920, 52520, 6302, 79406, 75344, 75343, 68090, 30257, 81202, 32187, 81283, 81084, 81198, 32789, 52599, 1072, 81291, 85042, 52601, 86312, 86176, 86309, 32790, 80264, 83815, 982, 87006, 342, 86311, 88681, 88625, 79014, 85797, 85041, 86175, 81201);
UPDATE `creature_model_info` SET `BoundingRadius`=0.264983922243118286, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=79404;
UPDATE `creature_model_info` SET `BoundingRadius`=3.662486076354980468, `VerifiedBuild`=54762 WHERE `DisplayID`=87014;
UPDATE `creature_model_info` SET `BoundingRadius`=0.208000004291534423, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=83273;
UPDATE `creature_model_info` SET `BoundingRadius`=0.199136361479759216, `CombatReach`=1.399999976158142089, `VerifiedBuild`=54762 WHERE `DisplayID`=81663;
UPDATE `creature_model_info` SET `BoundingRadius`=0.289333313703536987, `CombatReach`=1.399999976158142089, `VerifiedBuild`=54762 WHERE `DisplayID`=71828;
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=123226 AND `DifficultyID`=0); -- Harbor Thresher
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=126642 AND `DifficultyID`=0); -- Sandyback Crab
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130094 AND `DifficultyID`=0); -- Tidesage Seacaller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130116 AND `DifficultyID`=0); -- Frothing Tideblood
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=130531 AND `DifficultyID`=0); -- Shipwright Turncoat
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (131376,143038)); -- Honey Bee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=131387 AND `DifficultyID`=0); -- Coppertail Fox
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368 WHERE (`Entry`=134377 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `StaticFlags3`=262144, `VerifiedBuild`=54762 WHERE (`Entry`=134623 AND `DifficultyID`=0); -- Taelia
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134631 AND `DifficultyID`=0); -- Brittle Sailor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134696 AND `DifficultyID`=0); -- Marla Featherfoot
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134721 AND `DifficultyID`=0); -- Stalwart Revolutionary
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=54762 WHERE (`Entry`=134723 AND `DifficultyID`=0); -- Trueheart Marksman
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=134747 AND `DifficultyID`=0); -- Tidesage Defector
UPDATE `creature_template_difficulty` SET `ContentTuningID`=188, `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=134861 AND `DifficultyID`=0); -- Inert Grasp
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136204 AND `DifficultyID`=0); -- Coldtooth Alpha
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136205 AND `DifficultyID`=0); -- Coldtooth Howler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136422 AND `DifficultyID`=0); -- Valley Cottontail
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=136591 AND `DifficultyID`=0); -- Highland Grizzly
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (138134,143037)); -- River Otter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (138280,143036)); -- Sandyback Crawler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=54762 WHERE (`Entry`=139177 AND `DifficultyID`=0); -- Brittle Sailor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=139968 AND `DifficultyID`=0); -- Corrupted Tideskipper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=139973 AND `DifficultyID`=0); -- Juvenile Tideskipper
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54762 WHERE (`Entry`=141008 AND `DifficultyID`=0); -- Reanimated Kraken Tentacle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=141064 AND `DifficultyID`=0); -- Highland Hare
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`DifficultyID`=0 AND `Entry` IN (142196,143032)); -- River Frog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=54762 WHERE (`Entry`=142199 AND `DifficultyID`=0); -- Alpine Hawk
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=142609 AND `DifficultyID`=0); -- Handyman Gareth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=142634 AND `DifficultyID`=0); -- Sister Alison
@@ -0,0 +1,100 @@
--
SET @ATID := 65;
SET @ATSPAWNID := 67;
SET @ATCP := 53;
DELETE FROM `areatrigger` WHERE `SpawnId`=@ATSPAWNID+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATSPAWNID+0, @ATCP+0, 1, 1492, '1,2,8,23', 7380.5766, 7289.9389, 43.8447, 2.8720, 1, 0, 0, 'at_ymiron_the_fallen_king_activation', 'Maw of Souls - Ymiron Activation Trigger', 0);
DELETE FROM `areatrigger_create_properties` WHERE `Id`=@ATCP+0 AND `IsCustom`=1;
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`, `ScriptName`, `VerifiedBuild`) VALUES
(@ATCP+0, 1, @ATID+0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 4, 35, 35, 5, 5, 0, 0, 0, 0, '', 0);
DELETE FROM `areatrigger_template` WHERE `Id`=@ATID+0 AND `IsCustom`=1;
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 1, 1, 0);
UPDATE `creature_model_info` SET `VerifiedBuild`=52129 WHERE `DisplayID` IN (30076, 66346, 66348, 66681, 66345, 66238, 66121, 70528, 66688, 64208, 66852, 26725, 66184, 106378, 67556, 30710, 70529, 66102, 66181, 67179, 66183, 66103, 65823, 64467, 64200, 28120, 28118, 65214, 67001, 65079, 21342, 66119, 25801, 27824, 66091, 11686, 16925, 66090, 25630);
UPDATE `creature_model_info` SET `BoundingRadius`=10.46424579620361328, `VerifiedBuild`=52129 WHERE `DisplayID`=65778;
UPDATE `creature_model_info` SET `BoundingRadius`=52.32122802734375, `VerifiedBuild`=52129 WHERE `DisplayID`=66680;
UPDATE `creature_model_info` SET `BoundingRadius`=13.0803070068359375, `VerifiedBuild`=52129 WHERE `DisplayID`=66618;
UPDATE `creature_model_info` SET `BoundingRadius`=31.39273834228515625, `VerifiedBuild`=52129 WHERE `DisplayID`=67211;
DELETE FROM `areatrigger_create_properties_orbit` WHERE (`AreaTriggerCreatePropertiesId`=5838 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties_orbit` (`AreaTriggerCreatePropertiesId`, `IsCustom`, `StartDelay`, `CircleRadius`, `BlendFromRadius`, `InitialAngle`, `ZOffset`, `CounterClockwise`, `CanLoop`, `VerifiedBuild`) VALUES
(5838, 0, 0, 0, 0, 0, 0, 0, 1, 52129); -- Spell: 193465 (Bane)
DELETE FROM `areatrigger_create_properties` WHERE (`IsCustom`=0 AND `Id` IN (5838));
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
(5838, 0, 10407, 0, 0, 0, 0, 0, 0, -1, 0, 26, 11863, 21000, 0, 2, 2, 0, 0, 0, 0, 0, 0, 52129); -- Spell: 193465 (Bane)
UPDATE `areatrigger_create_properties` SET `ScriptName`='at_ymiron_the_fallen_king_bane' WHERE `Id`=5838 AND `IsCustom`=0;
UPDATE `areatrigger_template` SET `Flags`=0, `VerifiedBuild`=52129 WHERE (`Id`=10407 AND `IsCustom`=0);
-- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DELETE FROM `instance_template` WHERE `map`=1492;
INSERT INTO `instance_template` (`map`, `parent`, `script`) VALUES
(1492, 0, 'instance_maw_of_souls');
UPDATE `creature_template` SET `AIName`='', `ScriptName`='boss_ymiron_the_fallen_king' WHERE `entry`=96756;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_ymiron_the_fallen_king_risen_warrior' WHERE `entry`=98246;
UPDATE `creature_template_addon` SET `auras`='342788' WHERE `entry`=96756; -- remove kneeling from template
UPDATE `creature` SET `equipment_id`=-1 WHERE `guid`=650507; -- add weapon to ymiron
UPDATE `creature_template` SET `faction`=16, `speed_run`=0.857142865657806396, `BaseAttackTime`=1500, `unit_flags`=32768, `unit_flags2`=2099200, `unit_flags3`=524288 WHERE `entry`=98246; -- Risen Warrior
DELETE FROM `creature_template_addon` WHERE `entry`=98246;
INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES
(98246, '123978');
SET @PATHID := 9675600;
DELETE FROM `waypoint_path` WHERE `PathId` BETWEEN @PATHID+0 AND @PATHID+1;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATHID+0, 0, 0, NULL, 'Ymiron - Intro Path towards Runecarver Slaves'),
(@PATHID+1, 0, 0, NULL, 'Ymiron - Intro Path away from Runecarver Slaves');
DELETE FROM `waypoint_path_node` WHERE `PathId` BETWEEN @PATHID+0 AND @PATHID+1;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATHID+0, 0, 7400.461, 7288.4614, 44.063484, NULL, 0),
(@PATHID+0, 1, 7398.961, 7291.4614, 44.063484, NULL, 0),
(@PATHID+0, 2, 7394.7075, 7295.432, 43.7841, NULL, 0),
(@PATHID+1, 0, 7397.9185, 7286.777, 43.79471, NULL, 0),
(@PATHID+1, 1, 7398.374, 7277.1206, 43.792637, 5.724679946899414062, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceEntry` IN (243029));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(13, 0x1|0x2|0x4, 243029, 0, 0, 51, 0, 5, 114712, 0, '', 0, 'Potential target of the spell is creature, entry is Runecarver Slave (114712)');
DELETE FROM `serverside_spell` WHERE `Id`=193510;
INSERT INTO `serverside_spell` (`Id`, `DifficultyID`, `CategoryId`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `AttributesEx6`, `AttributesEx7`, `AttributesEx8`, `AttributesEx9`, `AttributesEx10`, `AttributesEx11`, `AttributesEx12`, `AttributesEx13`, `AttributesEx14`, `Stances`, `StancesNot`, `Targets`, `TargetCreatureType`, `RequiresSpellFocus`, `FacingCasterFlags`, `CasterAuraState`, `TargetAuraState`, `ExcludeCasterAuraState`, `ExcludeTargetAuraState`, `CasterAuraSpell`, `TargetAuraSpell`, `ExcludeCasterAuraSpell`, `ExcludeTargetAuraSpell`, `CasterAuraType`, `TargetAuraType`, `ExcludeCasterAuraType`, `ExcludeTargetAuraType`, `CastingTimeIndex`, `RecoveryTime`, `CategoryRecoveryTime`, `StartRecoveryCategory`, `StartRecoveryTime`, `InterruptFlags`, `AuraInterruptFlags1`, `AuraInterruptFlags2`, `ChannelInterruptFlags1`, `ChannelInterruptFlags2`, `ProcFlags`, `ProcFlags2`, `ProcChance`, `ProcCharges`, `ProcCooldown`, `ProcBasePPM`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `Speed`, `LaunchDelay`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `ContentTuningId`, `SpellName`, `ConeAngle`, `ConeWidth`, `MaxTargetLevel`, `MaxAffectedTargets`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `SpellFamilyFlags4`, `DmgClass`, `PreventionType`, `AreaGroupId`, `SchoolMask`, `ChargeCategoryId`) VALUES
(193510, 0, 0, 0, 0, 0x100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 1, 0, 0, 0, -1, 0, 0, 0, 'Arise, Fallen', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
DELETE FROM `serverside_spell_effect` WHERE `SpellID`=193510;
INSERT INTO `serverside_spell_effect` (`SpellID`, `EffectIndex`, `DifficultyID`, `Effect`, `EffectAura`, `EffectAmplitude`, `EffectAttributes`, `EffectAuraPeriod`, `EffectBonusCoefficient`, `EffectChainAmplitude`, `EffectChainTargets`, `EffectItemType`, `EffectMechanic`, `EffectPointsPerResource`, `EffectPosFacing`, `EffectRealPointsPerLevel`, `EffectTriggerSpell`, `BonusCoefficientFromAP`, `PvpMultiplier`, `Coefficient`, `Variance`, `ResourceCoefficient`, `GroupSizeBasePointsCoefficient`, `EffectBasePoints`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectSpellClassMask1`, `EffectSpellClassMask2`, `EffectSpellClassMask3`, `EffectSpellClassMask4`, `ImplicitTarget1`, `ImplicitTarget2`) VALUES
(193510, 0, 0, 6, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0);
DELETE FROM `spell_script_names` WHERE `spell_id` IN(167922, 193460, 243029, 193566);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(167922, 'spell_ymiron_the_fallen_king_power_periodic'),
(193460, 'spell_ymiron_the_fallen_king_bane_periodic'),
(243029, 'spell_ymiron_the_fallen_king_soul_siphon'),
(193566, 'spell_ymiron_the_fallen_king_arise_fallen_selector');
DELETE FROM `creature_text` WHERE `CreatureID`=96756;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(96756, 0, 0, 'Your souls will drift for eternity in the tides of the underworld!', 14, 0, 100, 0, 0, 54404, 102193, 0, 'Ymiron, the Fallen King to Player'),
(96756, 1, 0, 'Another drop in the sea of souls!', 14, 0, 100, 66, 0, 54367, 102185, 0, 'Ymiron, the Fallen King to Player'),
(96756, 2, 0, 'Mortals... I fell to your wretched kind once before. It WILL NOT happen again!', 14, 0, 100, 0, 0, 54403, 102191, 0, 'Ymiron, the Fallen King to Player'),
(96756, 3, 0, 'FLEE, COWARDS!', 14, 0, 100, 0, 0, 54360, 102175, 0, 'Ymiron, the Fallen King'),
(96756, 3, 1, 'COWER BEFORE ME!', 14, 0, 100, 0, 0, 54359, 102174, 0, 'Ymiron, the Fallen King'),
(96756, 3, 2, 'CRAVEN MAGGOTS!', 14, 0, 100, 0, 0, 54361, 102176, 0, 'Ymiron, the Fallen King'),
(96756, 4, 0, 'Know the bitter chill of death as I have!', 14, 0, 100, 0, 0, 54362, 102177, 0, 'Ymiron, the Fallen King'),
(96756, 4, 1, 'The winds of the frozen north still howl in these veins!', 14, 0, 100, 0, 0, 54364, 102178, 0, 'Ymiron, the Fallen King'),
(96756, 5, 0, 'The shadows of the underworld bend to me!', 14, 0, 100, 0, 0, 54357, 102171, 0, 'Ymiron, the Fallen King'),
(96756, 6, 0, 'The shadows of Helheim cut deeper than steel!', 14, 0, 100, 0, 0, 54358, 102173, 0, 'Ymiron, the Fallen King'),
(96756, 7, 0, 'Not... again... HARBARON! CAST THEIR SOULS INTO THE TIDES!', 14, 0, 100, 0, 0, 54366, 102182, 0, 'Ymiron, the Fallen King to Player');
UPDATE `creature_template_difficulty` SET `StaticFlags2`=`StaticFlags2`|0x02|0x04 WHERE `Entry`=96756;
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
INSERT INTO `quest_template_addon` (`ID`, `ProvidedItemCount`)
(SELECT qt.`ID`, 1 FROM `quest_template` qt
LEFT JOIN `quest_template_addon` qta ON qta.`ID` = qt.`ID`
WHERE qt.`StartItem`!=0 AND qta.`ProvidedItemCount` IS NULL);
@@ -0,0 +1,329 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32600, 32597); -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry` IN (32596, 32598, 32601); -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29668, 29673); -- Arathi Basin Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29669, 29674); -- Alterac Valley Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29670, 29675); -- Eye of the Storm Portal
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (34952, 34953); -- Isle of Conquest Portal
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32724; -- Warmage Mumplina
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32722; -- Warmage Lukems
UPDATE `creature_template` SET `unit_flags3`=524288 WHERE `entry`=27870; -- Wild Flower
UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry` IN (29672, 29667); -- Warsong Gulch Portal
UPDATE `creature_template` SET `npcflag`=281474976710659 WHERE `entry`=49750; -- Warchief's Herald
UPDATE `creature_template` SET `speed_walk`=1, `speed_run`=1.142857193946838378 WHERE `entry`=37859; -- Ignis the Furnace Master Image
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31236; -- Dappled Stag
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31796; -- Cosmetic Worg Pup
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31742; -- Cosmetic Prairie Dog
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31795; -- Cosmetic Smolderweb Hatchling
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31740; -- Cosmetic Turtle
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31233; -- Sinewy Wolf
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31741; -- Cosmetic Rabbit
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29766; -- Cosmetic Totem Alliance Water
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31735; -- Cosmetic Pig
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29764; -- Cosmetic Totem Alliance Earth
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31732; -- Cosmetic Rat
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29765; -- Cosmetic Totem Alliance Fire
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31733; -- Cosmetic Cockroach
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31730; -- Cosmetic Frog
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29763; -- Cosmetic Totem Alliance Air
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31719; -- Cosmetic Frenzy
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31728; -- Cosmetic Cat Set 1/2
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31729; -- Cosmetic Cat Set 2/2
UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=18927; -- Human Commoner
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31714; -- Cosmetic Ribbon Snake
UPDATE `creature_template` SET `unit_flags`=256 WHERE `entry`=20102; -- Goblin Commoner
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31710; -- Cosmetic Black Kingsnake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31711; -- Cosmetic Brown Snake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29782; -- Cosmetic Mechanical Sheep
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=31709; -- Cosmetic Albino Snake
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29780; -- Cosmetic Mechanical Chicken
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29812; -- [DND] Dalaran Toy Store Plane String Bunny
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29781; -- Cosmetic Mechanical Squirrel
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=28160; -- Archmage Pentarus
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29777; -- Cosmetic Mechanical Gorilla
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29784; -- Cosmetic Clockwork Robot (Blue)
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29785; -- Cosmetic Clockwork Robot (Red)
UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry`=29807; -- [DND] Dalaran Toy Store Plane String Hook
UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=29783; -- Cosmetic Clockwork Robot
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=32441; -- Underbelly Croc
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31229; -- Ancient Watcher
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31400; -- Azure Front Channel Stalker
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30352; -- Skybreaker Marine
UPDATE `creature_template` SET `unit_flags3`=335544320 WHERE `entry`=32435; -- Vern
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=33778; -- Tournament Hippogryph
UPDATE `creature_template` SET `unit_flags2`=2048, `unit_flags3`=8388608 WHERE `entry`=30755; -- Kor'kron Reaver
UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=16128; -- 16128 (Rhonin)
UPDATE `creature_template_addon` SET `visibilityDistanceType`=0 WHERE `entry`=28332; -- 28332 (Generic Trigger LAB (Large AOI))
-- Difficulties
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29778 AND `DifficultyID`=0); -- Scout Nisstina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (32600,32596,32598,32597,32601)); -- Dalaran Visitor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32709 AND `DifficultyID`=0); -- Hunaka Greenhoof
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32697 AND `DifficultyID`=0); -- Dak'hal the Black
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29668,29673)); -- Arathi Basin Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29669,29674)); -- Alterac Valley Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29670,29675)); -- Eye of the Storm Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (34952,34953)); -- Isle of Conquest Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32631 AND `DifficultyID`=0); -- Alfred Copperworth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32737 AND `DifficultyID`=0); -- Archmage John Nicholas
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32741 AND `DifficultyID`=0); -- Conjurer Weinhaus
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32734 AND `DifficultyID`=0); -- Arcanist Ginsberg
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32735 AND `DifficultyID`=0); -- Alchemist Burroughs
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32738 AND `DifficultyID`=0); -- Kat Sunflower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32724 AND `DifficultyID`=0); -- Warmage Mumplina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32722 AND `DifficultyID`=0); -- Warmage Lukems
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32287 AND `DifficultyID`=0); -- Archmage Alvareaux
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32843 AND `DifficultyID`=0); -- Tabea
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32844 AND `DifficultyID`=0); -- Apollo
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=16128 AND `DifficultyID`=0); -- Rhonin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30117 AND `DifficultyID`=0); -- Archmage Modera
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30115 AND `DifficultyID`=0); -- Vereesa Windrunner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306624, `VerifiedBuild`=52649 WHERE (`Entry`=30116 AND `DifficultyID`=0); -- Archmage Aethas Sunreaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32733 AND `DifficultyID`=0); -- Joboba Mezbreaker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32728 AND `DifficultyID`=0); -- Illusionist Karina
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28699 AND `DifficultyID`=0); -- Charles Worth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28726 AND `DifficultyID`=0); -- Dominique Stefano
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29510 AND `DifficultyID`=0); -- Linna Bruder
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29508 AND `DifficultyID`=0); -- Andellion
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29509 AND `DifficultyID`=0); -- Namha Moonwater
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28700 AND `DifficultyID`=0); -- Diane Cannings
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28696 AND `DifficultyID`=0); -- Derik Marks
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29507 AND `DifficultyID`=0); -- Manfred Staller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32651 AND `DifficultyID`=0); -- Wounded Dalaran Shield Guard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29640 AND `DifficultyID`=0); -- Josie Birch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28706 AND `DifficultyID`=0); -- Olisarra the Kind
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32653 AND `DifficultyID`=0); -- Wounded Dalaran Serpent
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32650 AND `DifficultyID`=0); -- Wounded Dalaran Protector
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29511 AND `DifficultyID`=0); -- Lalla Brightweave
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29628 AND `DifficultyID`=0); -- Angelique Butler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29512 AND `DifficultyID`=0); -- Ainderu Summerleaf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28718 AND `DifficultyID`=0); -- Ranid Glowergold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32684 AND `DifficultyID`=0); -- Mona Everspring
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32677 AND `DifficultyID`=0); -- Whirt the All-Knowing
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32515 AND `DifficultyID`=0); -- Braeg Stoutbeard
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28721 AND `DifficultyID`=0); -- Tiffany Cartier
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32172 AND `DifficultyID`=0); -- Harold Winston
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28722 AND `DifficultyID`=0); -- Bryan Landers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29514 AND `DifficultyID`=0); -- Findle Whistlesteam
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28697 AND `DifficultyID`=0); -- Timofey Oshenko
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29929 AND `DifficultyID`=0); -- Mechano-Hog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435712, `VerifiedBuild`=52649 WHERE (`Entry`=40160 AND `DifficultyID`=0); -- Frozo the Renowned
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29513 AND `DifficultyID`=0); -- Didi the Wrench
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28725 AND `DifficultyID`=0); -- Patricia Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28698 AND `DifficultyID`=0); -- Jedidiah Handers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28728 AND `DifficultyID`=0); -- Dorian Fines
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32706 AND `DifficultyID`=0); -- Saedelin Whitedawn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=93432 AND `DifficultyID`=0); -- Nethaera's Light
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28703 AND `DifficultyID`=0); -- Linzy Blackbolt
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=27870 AND `DifficultyID`=0); -- Wild Flower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=26043 AND `DifficultyID`=0); -- Steam Burst
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29506 AND `DifficultyID`=0); -- Orland Schaeffer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28694 AND `DifficultyID`=0); -- Alard Schmied
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32451 AND `DifficultyID`=0); -- Dalaran Citizen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28716 AND `DifficultyID`=0); -- Palja Amboss
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28675 AND `DifficultyID`=0); -- Teller Rames
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29282 AND `DifficultyID`=0); -- Paymaster Alstein
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28676 AND `DifficultyID`=0); -- Teller Althiellis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28677 AND `DifficultyID`=0); -- Teller Hanners
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (29672,29667)); -- Warsong Gulch Portal
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29657 AND `DifficultyID`=0); -- High Arcanist Savor
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50149 AND `DifficultyID`=0); -- Vinsun
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29665 AND `DifficultyID`=0); -- Pazik "The Pick" Prylock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37780 AND `DifficultyID`=0); -- Dark Ranger Vorel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32249 AND `DifficultyID`=0); -- Worg Pup
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268697600, `VerifiedBuild`=52649 WHERE (`Entry`=32664 AND `DifficultyID`=0); -- Segacedi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32170 AND `DifficultyID`=0); -- Magister Surdiel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31886 AND `DifficultyID`=0); -- Nargut
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32252 AND `DifficultyID`=0); -- Wanathan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31557 AND `DifficultyID`=0); -- Uda the Beast
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32251 AND `DifficultyID`=0); -- Shokavis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36670 AND `DifficultyID`=0); -- Magister Hathorel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32420 AND `DifficultyID`=0); -- Mimbihi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32415 AND `DifficultyID`=0); -- Hamaka
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31885 AND `DifficultyID`=0); -- Rhukah
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32253 AND `DifficultyID`=0); -- Kyunghee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32419 AND `DifficultyID`=0); -- Umbiwa
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32412 AND `DifficultyID`=0); -- Mato
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32418 AND `DifficultyID`=0); -- Abohba
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29631 AND `DifficultyID`=0); -- Awilo Lon'gomba
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31031 AND `DifficultyID`=0); -- Misensi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32692 AND `DifficultyID`=0); -- Arcanist Alec
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32687 AND `DifficultyID`=0); -- Linda Ann Kastinglow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31238 AND `DifficultyID`=0); -- Hira Snowdawn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28674 AND `DifficultyID`=0); -- Aludane Whitecloud
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32732 AND `DifficultyID`=0); -- Dorfus Alphamage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32730 AND `DifficultyID`=0); -- Goldlilly Gleamingfell
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31439 AND `DifficultyID`=0); -- Archmage Timear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29325 AND `DifficultyID`=0); -- Torgo the Younger
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29660 AND `DifficultyID`=0); -- Grand Marauder Sai
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32169 AND `DifficultyID`=0); -- Arcanist Braedin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32424 AND `DifficultyID`=0); -- Laire Brewgold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30608 AND `DifficultyID`=0); -- Paymaster Amadi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30606 AND `DifficultyID`=0); -- Paymaster Chang
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30607 AND `DifficultyID`=0); -- Teller Plushner
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30604 AND `DifficultyID`=0); -- Teller Almeida
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30605 AND `DifficultyID`=0); -- Teller Gee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32426 AND `DifficultyID`=0); -- Coira Longrifle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28686 AND `DifficultyID`=0); -- Caliel Brightwillow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=20735 AND `DifficultyID`=0); -- Archmage Lan'dalock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28692 AND `DifficultyID`=0); -- "Red" Jack Findle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=37776 AND `DifficultyID`=0); -- Apprentice Nelphi
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=196, `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=37859 AND `DifficultyID`=0); -- Ignis the Furnace Master Image
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32715 AND `DifficultyID`=0); -- Sorrow
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28691 AND `DifficultyID`=0); -- Susana Averoy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=50155 AND `DifficultyID`=0); -- Naseev
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31517 AND `DifficultyID`=0); -- Dalaran Fountain Invis Stalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28705 AND `DifficultyID`=0); -- Katherine Lee
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31032 AND `DifficultyID`=0); -- Derek Odds
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32416 AND `DifficultyID`=0); -- Stefen Cotter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28682 AND `DifficultyID`=0); -- Inzi Charmlight
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30490 AND `DifficultyID`=0); -- Rin Duoctane
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29530 AND `DifficultyID`=0); -- Binzik Goldbook
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32450 AND `DifficultyID`=0); -- Badluck
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=35790 AND `DifficultyID`=0); -- Usuri Brightcoin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28715 AND `DifficultyID`=0); -- Endora Moorehead
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28742 AND `DifficultyID`=0); -- Marcia Chase
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32514 AND `DifficultyID`=0); -- Vanessa Sellers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29636 AND `DifficultyID`=0); -- Hagatha Moorehead
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32421 AND `DifficultyID`=0); -- Marcella Bloom
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36669 AND `DifficultyID`=0); -- Arcanist Tybalin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32413 AND `DifficultyID`=0); -- Isirami Fairwind
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=15760 AND `DifficultyID`=0); -- Winter Reveler
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29505 AND `DifficultyID`=0); -- Imindril Spearsong
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31236 AND `DifficultyID`=0); -- Dappled Stag
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32702 AND `DifficultyID`=0); -- Drog Skullbreaker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28776 AND `DifficultyID`=0); -- Elizabeth Ross
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31796 AND `DifficultyID`=0); -- Cosmetic Worg Pup
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28774 AND `DifficultyID`=0); -- Andrew Matthews
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29532 AND `DifficultyID`=0); -- Ajay Green
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32693 AND `DifficultyID`=0); -- Sabriana Sorrowgaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31742 AND `DifficultyID`=0); -- Cosmetic Prairie Dog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31795 AND `DifficultyID`=0); -- Cosmetic Smolderweb Hatchling
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33031 AND `DifficultyID`=0); -- Sebastian Bower
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32690 AND `DifficultyID`=0); -- Bitty Frostflinger
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28708 AND `DifficultyID`=0); -- Kizi Copperclip
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32691 AND `DifficultyID`=0); -- Magus Fansy Goodbringer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32679 AND `DifficultyID`=0); -- Darthalia Ebonscorch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31740 AND `DifficultyID`=0); -- Cosmetic Turtle
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31233 AND `DifficultyID`=0); -- Sinewy Wolf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29478 AND `DifficultyID`=0); -- Jepetto Joybuzz
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31741 AND `DifficultyID`=0); -- Cosmetic Rabbit
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32689 AND `DifficultyID`=0); -- Adorean Lew
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29476 AND `DifficultyID`=0); -- Dagna Flintlock
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31852 AND `DifficultyID`=0); -- Wooly Mammoth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33027 AND `DifficultyID`=0); -- Jessica Sellers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32686 AND `DifficultyID`=0); -- Tomas Riogain
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=36851 AND `DifficultyID`=0); -- Aquanos
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28704 AND `DifficultyID`=0); -- Dorothy Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29716 AND `DifficultyID`=0); -- Clockwork Assistant
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28723 AND `DifficultyID`=0); -- Larana Drome
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29766 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Water
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28702 AND `DifficultyID`=0); -- Professor Pallin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28690 AND `DifficultyID`=0); -- Tassia Whisperglen
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32685 AND `DifficultyID`=0); -- Kitz Proudbreeze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32216 AND `DifficultyID`=0); -- Mei Francis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31735 AND `DifficultyID`=0); -- Cosmetic Pig
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29764 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Earth
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32683 AND `DifficultyID`=0); -- Grezla the Hag
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31732 AND `DifficultyID`=0); -- Cosmetic Rat
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29765 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Fire
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=36856 AND `DifficultyID`=0); -- Shandy Glossgleam
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32680 AND `DifficultyID`=0); -- Fabioso the Fabulous
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31733 AND `DifficultyID`=0); -- Cosmetic Cockroach
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32681 AND `DifficultyID`=0); -- The Magnificent Merleaux
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31730 AND `DifficultyID`=0); -- Cosmetic Frog
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29763 AND `DifficultyID`=0); -- Cosmetic Totem Alliance Air
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32678 AND `DifficultyID`=0); -- Emeline Fizzlefry
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31719 AND `DifficultyID`=0); -- Cosmetic Frenzy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28951 AND `DifficultyID`=0); -- Breanni
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31728 AND `DifficultyID`=0); -- Cosmetic Cat Set 1/2
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31769 AND `DifficultyID`=0); -- Stabled Hunter Pet
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32676 AND `DifficultyID`=0); -- Grindle Firespark
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31729 AND `DifficultyID`=0); -- Cosmetic Cat Set 2/2
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32726 AND `DifficultyID`=0); -- The Chooch
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32727 AND `DifficultyID`=0); -- Natalie Tootiblare
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32675 AND `DifficultyID`=0); -- Babagahnoosh the Grumpy
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29261 AND `DifficultyID`=0); -- Windle Sparkshine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32668 AND `DifficultyID`=0); -- Emi
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32669 AND `DifficultyID`=0); -- Colin
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28687 AND `DifficultyID`=0); -- Amisi Azuregaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31136 AND `DifficultyID`=0); -- High Warlord Uro
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32731 AND `DifficultyID`=0); -- Metopious Loreseeker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28685 AND `DifficultyID`=0); -- Narisa Redgold
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32729 AND `DifficultyID`=0); -- Lofwyr Le'Fleur
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31714 AND `DifficultyID`=0); -- Cosmetic Ribbon Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28701 AND `DifficultyID`=0); -- Timothy Jones
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32411 AND `DifficultyID`=0); -- Afsaneh Asrar
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30137 AND `DifficultyID`=0); -- Shifty Vickers
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32207 AND `DifficultyID`=0); -- Armored Brown Bear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29641 AND `DifficultyID`=0); -- Theresa Wolf
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31710 AND `DifficultyID`=0); -- Cosmetic Black Kingsnake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31711 AND `DifficultyID`=0); -- Cosmetic Brown Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34244 AND `DifficultyID`=0); -- Jean Pierre Poulain
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29782 AND `DifficultyID`=0); -- Cosmetic Mechanical Sheep
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=31709 AND `DifficultyID`=0); -- Cosmetic Albino Snake
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29780 AND `DifficultyID`=0); -- Cosmetic Mechanical Chicken
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28727 AND `DifficultyID`=0); -- Edward Egan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=34984 AND `DifficultyID`=0); -- World Trigger (Not Floating)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29812 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29781 AND `DifficultyID`=0); -- Cosmetic Mechanical Squirrel
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28693 AND `DifficultyID`=0); -- Enchanter Nalthanis
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32403 AND `DifficultyID`=0); -- Sandra Bartan
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33422 AND `DifficultyID`=0); -- Unbound Seer
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32334 AND `DifficultyID`=0); -- Nixi Fireclaw
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29777 AND `DifficultyID`=0); -- Cosmetic Mechanical Gorilla
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29493 AND `DifficultyID`=0); -- Jarold Puller
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29784 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Blue)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29785 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot (Red)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29049 AND `DifficultyID`=0); -- Arille Azuregaze
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=29807 AND `DifficultyID`=0); -- [DND] Dalaran Toy Store Plane String Hook
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28714 AND `DifficultyID`=0); -- Ildine Sorrowspear
UPDATE `creature_template_difficulty` SET `StaticFlags1`=256, `VerifiedBuild`=52649 WHERE (`Entry`=29783 AND `DifficultyID`=0); -- Cosmetic Clockwork Robot
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31228 AND `DifficultyID`=0); -- Grove Walker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30104 AND `DifficultyID`=0); -- Adamman the Trader
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33026 AND `DifficultyID`=0); -- Sarah Brady
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268959744, `VerifiedBuild`=52649 WHERE (`Entry`=32441 AND `DifficultyID`=0); -- Underbelly Croc
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31229 AND `DifficultyID`=0); -- Ancient Watcher
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=31400 AND `DifficultyID`=0); -- Azure Front Channel Stalker
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32688 AND `DifficultyID`=0); -- Archmage Tenaj
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30352 AND `DifficultyID`=0); -- Skybreaker Marine
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=27047 AND `DifficultyID`=0); -- Invisible Stalker (Floating Only)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=805306368, `VerifiedBuild`=52649 WHERE (`Entry`=31689 AND `DifficultyID`=0); -- Gnome Diver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30726 AND `DifficultyID`=0); -- Archivist Betha
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536870912, `VerifiedBuild`=52649 WHERE (`Entry`=31643 AND `DifficultyID`=0); -- Dalaran Well Teleport Bunny
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28707 AND `DifficultyID`=0); -- Angelo Pescatore
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32435 AND `DifficultyID`=0); -- Vern
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=33778 AND `DifficultyID`=0); -- Tournament Hippogryph
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=28989 AND `DifficultyID`=0); -- Aemara
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=25171 AND `DifficultyID`=0); -- Invisible Stalker (Scale x0.5)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30755 AND `DifficultyID`=0); -- Kor'kron Reaver
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29254 AND `DifficultyID`=0); -- Silver Covenant Guardian Mage
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29714 AND `DifficultyID`=0); -- Lucian Trias
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=52649 WHERE (`Entry`=28332 AND `DifficultyID`=0); -- Generic Trigger LAB (Large AOI)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29156 AND `DifficultyID`=0); -- Archmage Celindra
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=29255 AND `DifficultyID`=0); -- Sunreaver Guardian Mage
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`!=0 AND `Entry` IN (29778,32600,32596,32598,32597,32601,32709,32697,29668,29673,29669,29674,29670,29675,34952,34953,32631,32737,32741,32734,32735,32738,32724,32722,32287,32843,32844,16128,30117,30115,30116,32733,32728,28699,28726,29510,29508,29509,28700,28696,29507,32651,29640,28706,32653,32650,29511,29628,29512,28718,32684,32677,32515,28721,32172,28722,29514,28697,29929,40160,29513,28725,28698,28728,32706,93432,28703,27870,26043,29506,28694,32451,28716,28675,29282,28676,28677,29672,29667,29657,50149,29665,37780,32249,32664,32170,31886,32252,31557,32251,36670,32420,32415,31885,32253,32419,32412,32418,29631,31031,32692,32687,31238,28674,32732,32730,31439,29325,29660,32169,32424,30608,30606,30607,30604,30605,32426,28686,20735,28692,37776,37859,32715,28691,50155,31517,28705,31032,32416,28682,30490,29530,32450,35790,28715,28742,32514,29636,32421,36669,32413,15760,29505,31236,32702,28776,31796,28774,29532,32693,31742,31795,33031,32690,28708,32691,32679,31740,31233,29478,31741,32689,29476,31852,33027,32686,36851,28704,29716,28723,29766,28702,28690,32685,32216,31735,29764,32683,31732,29765,36856,32680,31733,32681,31730,29763,32678,31719,28951,31728,31769,32676,31729,32726,32727,32675,29261,32668,32669,28687,31136,32731,28685,32729,31714,28701,32411,30137,32207,29641,31710,31711,34244,29782,31709,29780,28727,34984,29812,29781,28693,32403,33422,32334,29777,29493,29784,29785,29049,29807,28714,29783,31228,30104,33026,32441,31229,31400,32688,30352,27047,31689,30726,31643,28707,32435,33778,28989,25171,30755,29254,29714,28332,29156,29255,31402,32748,19481,61081,96773,96772,32652,32606,73516,73517,34252,35498,28990,28997,31581,31582,37941,35495,33963,35607,29535,50152,50153,50150,29538,50144,29537,36776,50142,50148,50147,31756,23033,35826,31085,31081,31080,174271,50171,50163,29523,29494,28994,28992,35500,50174,32265,35497,50158,50156,50157,29497,50160,31580,47581,29496,28991,31579,35494,35594,37942,33964,32747,29528,28958,32749,30094,51512,29703,29491,32744,32745,32322,32743,29548,29527,32425,47579,28995,34330,32466,30885,28956,36774,31768,29715,32337,20102,29499,29529,28993,31758,32516,69973,32428,32339,32746,29702,31757,32336,69971,29495,28160,31755,23472,25058,29802,32328,30095,29547,69321,69318,15732,32342,32470,15730,40212,35496));
DELETE FROM `creature_questitem` WHERE `CreatureEntry`=36776 AND `DifficultyID`=1;
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (25195, 26525, 17476, 28183, 28181, 26495, 26484, 26499, 29743, 28205, 28119, 28174, 28177, 28173, 28172, 19284, 28178, 27944, 27949, 27886, 28317, 52602, 16024, 26771, 28222, 26770, 28171, 28166, 23337, 24916, 25615, 25649, 26377, 26336, 26335, 25616, 25612, 26337, 28124, 26398, 25622, 28125, 5966, 28123, 26378, 26376, 28152, 28145, 28000, 25645, 27799, 25646, 26374, 25613, 25871, 46947, 51414, 31713, 25648, 25614, 25651, 28189, 61133, 25619, 24897, 24898, 24895, 24890, 23501, 26338, 25611, 29145, 29833, 25876, 25637, 25881, 25596, 26103, 25597, 25598, 26503, 26494, 27560, 27557, 30841, 26072, 26413, 29831, 28986, 26445, 26496, 36907, 36906, 36904, 36898, 26444, 26417, 30686, 36900, 26443, 30439, 9563, 12200, 36899, 27801, 26501, 29744, 36905, 36903, 26074, 18793, 18785, 837, 26073, 18805, 18804, 22003, 27853, 27616, 27852, 28680, 27961, 27957, 27019, 27854, 27960, 21270, 27955, 27959, 26394, 27448, 30042, 28162, 28155, 27585, 27524, 27587, 25595, 21272, 28170, 28168, 27215, 27592, 26138, 27217, 26502, 26414, 27800, 27963, 27161, 27159, 27160, 27157, 27158, 27965, 27465, 25604, 27216, 36893, 19744, 36756, 26321, 25609, 26309, 25878, 30764, 29834, 36894, 30807, 17200, 29835, 28191, 25608, 36882, 36879, 36881, 36883, 26312, 25621, 27449, 36880, 27958, 25602, 27556, 27068, 26372, 35705, 29921, 25636, 26311, 25655, 27999, 26397, 25877, 27962, 28755, 27559, 27956, 29832, 30842, 28987, 26339, 28204, 10957, 23167, 28201, 25674, 27719, 25673, 19339, 26373, 28163, 24607, 28160, 28161, 28147, 27883, 24235, 18800, 26396, 28159, 27244, 25807, 28433, 28154, 30415, 25620, 26442, 25647, 28207, 26521, 26759, 25618, 25607, 28153, 27822, 37403, 27680, 26437, 26518, 25879, 28150, 28199, 26519, 30358, 28148, 3233, 28202, 28149, 26517, 28146, 17170, 27918, 28194, 25791, 11709, 26330, 26997, 28144, 5555, 28164, 28165, 28143, 26395, 26078, 28208, 35704, 25594, 27972, 25605, 27398, 27509, 26070, 25806, 30310, 28169, 20833, 18801, 25603, 26441, 28167, 26440, 2954, 26075, 27954, 19342, 26779, 27821, 27782, 1206, 2957, 29132, 26526, 26313, 2955, 802, 27334, 7920, 25650, 28006, 26465, 26532, 25610, 27952, 28618, 28203, 26438, 2710, 27914, 26464, 26310, 25166, 27912, 26524, 26307, 26530, 26531, 25882, 26570, 25635, 26547, 26998, 16925, 26557, 27766, 1988, 26766, 28432, 833, 27211, 47456, 47453, 8811, 17612, 28156, 27331, 27657, 27287, 13349, 20763, 27930, 22471, 25875, 17188, 27329, 29076, 26068, 27915, 25947, 29836, 26071);
UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=52649 WHERE `DisplayID`=27718;
UPDATE `creature_model_info` SET `BoundingRadius`=0.25, `CombatReach`=0.25, `VerifiedBuild`=52649 WHERE `DisplayID`=16259;
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194019, 191665, 191959, 193174, 192197, 193578, 191997, 191684, 192872, 201936, 192843, 193786, 192070, 194939, 278457, 191939, 191915, 191928, 192097, 191733, 192095, 191901, 191903, 200297, 191440, 193785, 192207, 191918, 191912, 193932, 193627, 192083, 191462, 191466, 191889, 191894, 191475, 191029, 193929, 192099, 192109, 192856, 192498, 192697, 193089, 191768, 192113, 194942, 193902, 192219, 192216, 192893, 191676, 191929, 191988, 191895, 191941, 192093, 178435, 180797, 195427, 193787, 193180, 194940, 191940, 193071, 192221, 191951, 192089, 191913, 191934, 193918, 192823, 191677, 194018, 192854, 208317, 192117, 194943, 193898, 192214, 193173, 191916, 192088, 191910, 193924, 193624, 192090, 191946, 191980, 191899, 191468, 191482, 201301, 192839, 191230, 178429, 191009, 193935, 194147, 191935, 191998, 193930, 193928, 193951, 178434, 193949, 191680, 193019, 192069, 192628, 193178, 193177, 191948, 192205, 191909, 193912, 191897, 191904, 191479, 180798, 191943, 201935, 200296, 192211, 192200, 191735, 191919, 191931, 193085, 191983, 191465, 191900, 191896, 191478, 180799, 201300, 192713, 192847, 192004, 191681, 191965, 192210, 192199, 193175, 191953, 180844, 191932, 193931, 191993, 191992, 191473, 191469, 192827, 192845, 178746, 191886, 193179, 193897, 192208, 193936, 208316, 193927, 192851, 193082, 193911, 191892, 192084, 192818, 192651, 192086, 201934, 192887, 192852, 195428, 192112, 192116, 192218, 192059, 192010, 191911, 191994, 191995, 193914, 191472, 191891, 192098, 192828, 192840, 266869, 191955, 192002, 192202, 214500, 193626, 192096, 191687, 193919, 191974, 191463, 191481, 193189, 187567, 194021, 193205, 192848, 193782, 195533, 191958, 194941, 192212, 190960, 193921, 191927, 278574, 191986, 191461, 191683, 191471, 193926, 192853, 192824, 192233, 195532, 193783, 193088, 191949, 194945, 191966, 193899, 191734, 193987, 192091, 191678, 193081, 191991, 191893, 191476, 191229, 191682, 192227, 194020, 184633, 192115, 192209, 192213, 192103, 191674, 193915, 191984, 191981, 193913, 191888, 191467, 192085, 191679, 192068, 187194, 192228, 192846, 192855, 192629, 192003, 193781, 193901, 192223, 191942, 193922, 192844, 192841, 191444, 193202, 192820, 193942, 194938, 192892, 193900, 193086, 192196, 192094, 193083, 191887, 192836, 192850, 191956, 192882, 193904, 194011, 192849, 194944, 193903, 193934, 191675, 191917, 187299, 191732, 191987, 191947, 191999, 191890, 191474, 191688, 201299, 192092, 192838, 191030, 192110, 192234, 188215, 193784, 194937, 193896, 193176, 192204, 191924, 191975, 193422, 192111, 202443, 192230, 191731, 192118, 192119, 192222, 193625, 191990, 193172, 191902, 191464, 191477, 191445, 191954, 192825, 191952, 179976, 192087, 192229, 194012, 191950, 192102, 192224, 192217, 192201, 192203, 193925, 191925, 191933, 193916, 193084, 193910, 191989, 193920, 193423, 191957, 193214, 192232, 191769, 191964, 194946, 193402, 192215, 192206, 193923, 191926, 191686, 193080, 193917, 191898, 191480, 194115, 193909, 180796, 191741, 201855, 202616, 192225, 191960, 192114, 192220, 193087, 191914, 193933, 191930, 193950, 192198, 191470, 193190, 191945, 192067, 191028, 193610, 192231);
UPDATE `gameobject_template` SET `ContentTuningId`=196, `VerifiedBuild`=52649 WHERE `entry`=192869; -- LAVA BLAST - by Pyroco
UPDATE `gameobject_template_addon` SET `WorldEffectID`=2773 WHERE `entry`=266869; -- Fishing Bobber
UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208317; -- Warchief's Command Board
UPDATE `gameobject_template_addon` SET `flags`=262144, `WorldEffectID`=8830 WHERE `entry`=208316; -- Hero's Call Board
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry`=192820; -- Tower
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192234, 192232, 192230, 192227); -- Argent Vanguard Tower
UPDATE `gameobject_template_addon` SET `flags`=1048608 WHERE `entry` IN (192233, 192231, 192228, 192229); -- Argent Vanguard Support
UPDATE `gameobject_template_addon` SET `WorldEffectID`=16227 WHERE `entry` IN (191030, 191028, 191029); -- Barbershop Chair
UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (192827,192818,192828,192825,192824,192823));
@@ -0,0 +1 @@
ALTER TABLE `creature_text` MODIFY COLUMN `Language` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `Type`;
@@ -0,0 +1,46 @@
SET @CGUID := 7000524;
DELETE FROM `phase_name` WHERE `ID`=12612;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge');
DELETE FROM `phase_area` WHERE `PhaseId`=12612;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9579, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Tidecross'),
(9578, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Port Fogtide'),
(9622, 12612, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater, Hurricane and Elementals at Port Fogtide Bridge - Krakens Reach');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12612));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12612, 0, 0, 0, 47, 0, 54721, 74, 0, '', 0, 'Player has I\'m Too Old for This Ship (54721) in state complete, incomplete, rewarded'),
(26, 12612, 0, 0, 0, 47, 0, 54726, 74, 0, '', 1, 'Player doesn\'t have Frame Work (54726) in state complete, incomplete, rewarded');
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 148879, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3372.8203125, -408.057281494140625, 11.97694587707519531, 5.568043231964111328, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+1, 148870, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3370.701416015625, -410.111114501953125, 11.97694587707519531, 5.603581905364990234, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Dorian Atwater (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+2, 148879, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3368.6796875, -412.024322509765625, 11.97694587707519531, 5.571819782257080078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Tidecross - Difficulty: 0) CreateObject1
(@CGUID+3, 150706, 1643, 9042, 9579, '0', 12612, 0, 0, 0, 3366.2978515625, -416.62152099609375, 11.97694587707519531, 5.707256317138671875, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Hurricane (Area: Tidecross - Difficulty: 0) CreateObject1 (Auras: 291989 - Carrying Toolbox)
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 418, 0, 0, 0, 0, '291989'); -- Hurricane - 291989 - Carrying Toolbox
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `VehicleId`=6542 WHERE `entry`=150706; -- Hurricane
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=148879; -- Bound Earth
UPDATE `creature_template` SET `faction`=2992, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=148870; -- Dorian Atwater
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=148870 AND `DifficultyID`=0); -- 148870 (Dorian Atwater) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=148879 AND `DifficultyID`=0); -- 148879 (Bound Earth) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=0x10000000, `VerifiedBuild`=54762 WHERE (`Entry`=150706 AND `DifficultyID`=0); -- 150706 (Hurricane) - CanSwim
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry`=149374;
UPDATE `creature` SET `PhaseId`=12612 WHERE `guid`=7000412;
-- FX Stalker with guid 7000412 smart ai
SET @ENTRY := -7000412;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 149374;
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, '', 25, 0, 100, 0, 0, 0, 0, 0, 11, 291988, 0, 0, 0, 0, 0, 19, 150706, 10, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 291988 on Closest alive creature Hurricane (150706) in 10 yards');
@@ -0,0 +1,75 @@
-- Creature templates
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31393; -- Crystal Wyrm
UPDATE `creature_template` SET `unit_flags3`=67108864 WHERE `entry`=31404; -- Azure Manabeast
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32375; -- Warmage Yurias
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32369; -- Warmage Sarina
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32372; -- Warmage Ilsudria
UPDATE `creature_template` SET `unit_flags3`=8388608 WHERE `entry`=32371; -- Warmage Halister
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=31139; -- Pustulent Horror
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=32602; -- Dalaran Visitor
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=30281; -- Silver Covenant Hippogryph
UPDATE `creature_template` SET `unit_flags`=0 WHERE `entry`=35984; -- Sunreaver Dragonhawk
UPDATE `creature_template` SET `unit_flags2`=2048 WHERE `entry`=30861; -- Unbound Ancient
-- Difficulties
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `VerifiedBuild`=52649 WHERE (`Entry`=33498 AND `DifficultyID`=0); -- 33498 (Maloric) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `LootID`=33499, `VerifiedBuild`=52649 WHERE (`Entry`=33499 AND `DifficultyID`=0); -- 33499 (Skeletal Woodcutter) -
UPDATE `creature_template_difficulty` SET `VerifiedBuild`=52649 WHERE (`DifficultyID`=0 AND `Entry` IN (31393,31401,27306,31139,32325,32324,32321,30281,35984));
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31404 AND `DifficultyID`=0); -- 31404 (Azure Manabeast) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0, `VerifiedBuild`=52649 WHERE (`Entry`=31403 AND `DifficultyID`=0); -- 31403 (Azure Spellweaver)
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=31402 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32375 AND `DifficultyID`=0); -- 32375 (Warmage Yurias) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32373 AND `DifficultyID`=0); -- 32373 (Gatekeeper Melindra) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32369 AND `DifficultyID`=0); -- 32369 (Warmage Sarina) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32374 AND `DifficultyID`=0); -- 32374 (Librarian Belleford) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32372 AND `DifficultyID`=0); -- 32372 (Warmage Ilsudria) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32371 AND `DifficultyID`=0); -- 32371 (Warmage Halister) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32717 AND `DifficultyID`=0); -- 32717 (Drool) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456 WHERE (`Entry`=32441 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=106887 AND `DifficultyID`=0); -- 106887 (Cravitz Lorent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32700 AND `DifficultyID`=0); -- 32700 (Halga Steelbarrow) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE (`Entry`=34244 AND `DifficultyID`=0);
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=32602 AND `DifficultyID`=0); -- 32602 (Dalaran Visitor) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66618 AND `DifficultyID`=0); -- 66618 (Stitch) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66616 AND `DifficultyID`=0); -- 66616 (Mort) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31231 AND `DifficultyID`=0); -- 31231 (Lost Shandaral Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=24, `LevelScalingDeltaMax`=24, `ContentTuningID`=371, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=66619 AND `DifficultyID`=0); -- 66619 (Spooky Strangler) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `VerifiedBuild`=52649 WHERE (`Entry`=66636 AND `DifficultyID`=0); -- 66636 (Nearly Headless Jacob) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30271 AND `DifficultyID`=0); -- 30271 (Galendror Whitewing) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30241 AND `DifficultyID`=0); -- 30241 (Lanudal Silverhart) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30257 AND `DifficultyID`=0); -- 30257 (Scout Yribria) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30261 AND `DifficultyID`=0); -- 30261 (Scout Captain Daelin) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30255 AND `DifficultyID`=0); -- 30255 (Aniduria) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30244 AND `DifficultyID`=0); -- 30244 (Miura Brightweaver) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30263 AND `DifficultyID`=0); -- 30263 (Silver Covenant Horseman) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30238 AND `DifficultyID`=0); -- 30238 (Silver Covenant Scout) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30865 AND `DifficultyID`=0); -- 30865 (Shandaral Warrior Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31123 AND `DifficultyID`=0); -- 31123 (Shandaral Spirit Wolf) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30864 AND `DifficultyID`=0); -- 30864 (Shandaral Hunter Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30868 AND `DifficultyID`=0); -- 30868 (Unbound Corrupter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30254 AND `DifficultyID`=0); -- 30254 (Marisalira) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=881, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30269 AND `DifficultyID`=0); -- 30269 (Skymaster Baeric) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30239 AND `DifficultyID`=0); -- 30239 (Alanura Firecloud) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `DamageModifier`=4.6, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30259 AND `DifficultyID`=0); -- 30259 (Scout Captain Elsia) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30256 AND `DifficultyID`=0); -- 30256 (Scout Ordimbral) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30253 AND `DifficultyID`=0); -- 30253 (Felindel Sunhammer) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30856 AND `DifficultyID`=0); -- 30856 (Unbound Trickster) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30265 AND `DifficultyID`=0); -- 30265 (Sunreaver Hawkrider) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30863 AND `DifficultyID`=0); -- 30863 (Shandaral Druid Spirit) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=163, `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30233 AND `DifficultyID`=0); -- 30233 (Sunreaver Scout) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30862 AND `DifficultyID`=0); -- 30862 (Unbound Ent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30860 AND `DifficultyID`=0); -- 30860 (Unbound Dryad) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=31041 AND `DifficultyID`=0); -- 31041 (Dispirited Ent) - CanSwim
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=52649 WHERE (`Entry`=30861 AND `DifficultyID`=0); -- 30861 (Unbound Ancient) - CanSwim
DELETE FROM `creature_template_difficulty` WHERE (`DifficultyID`=1 AND `Entry` IN (33499,33498,30271,30269,30265,30263,30261,30259,30257,30256,30255,30254,30253,30244,30241,30239,30238,30233,66636,66619,66618,66616,106887,61143,35984,32717,32700,32602,32375,32374,32373,32372,32371,32369,32325,32324,32321,31404,31403,31401,31393,31231,31139,31123,31041,30868,30865,30864,30863,30862,30861,30860,30856,30281,27306,15214));
DELETE FROM `creature_questitem` WHERE `CreatureEntry`=33499 AND `DifficultyID`=1;
-- Models
UPDATE `creature_model_info` SET `VerifiedBuild`=52649 WHERE `DisplayID` IN (28643, 11078, 24176, 24910, 27586, 27519, 25250, 27947, 27948, 27946, 27945, 27807, 28193, 30311, 69759, 23515, 23521, 1037, 193, 27720, 27882, 27923, 23517, 27929, 27919, 2541, 1004, 28200, 45628, 45629, 27518, 45630, 45260, 26911, 22474, 26891, 26900, 26908, 26898, 26896, 26888, 26886, 26887, 26885, 27368, 27366, 27364, 27367, 27482, 27365, 9590, 26879, 26897, 26910, 29695, 26892, 26907, 26899, 26889, 27358, 26878, 26877, 27360, 26880, 10621, 27572, 27451, 27478);
-- Gameobject templates
UPDATE `gameobject_template` SET `VerifiedBuild`=52649 WHERE `entry` IN (194394, 194393, 209869, 192911, 192912, 209868, 207493, 192909, 192908, 192910, 192062, 192891, 189980, 192061, 194540, 192709, 194213, 192894, 192063);
UPDATE `gameobject_questitem` SET `VerifiedBuild`=52649 WHERE (`Idx`=0 AND `GameObjectEntry` IN (194213,192911,192909,192910,192912,192908));
@@ -0,0 +1,27 @@
SET @CGUID := 7000528;
DELETE FROM `phase_name` WHERE `ID`=12615;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12615, 'Cosmetic: Lumberjack Queue in Algerson Lumberyard Office');
DELETE FROM `phase_area` WHERE `PhaseId`=12615;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9334, 12615, 'Cosmetic: Lumberjack Queue in Algerson Lumberyard Office');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12615));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12615, 0, 0, 0, 47, 0, 54726, 74, 0, '', 1, 'Player doesn\'t have Frame Work (54726) in state complete, incomplete, rewarded');
UPDATE `creature_equip_template` SET `VerifiedBuild`=54762 WHERE (`CreatureID`=129627 AND `ID`=1);
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.78125, -120.265632629394531, 10.92565155029296875, 4.596895217895507812, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+1, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.579833984375, -124.720489501953125, 11.46352577209472656, 4.483132839202880859, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+2, 129627, 1643, 8567, 9334, '0', 12615, 0, 80751, 1, 1295.6927490234375, -127.276039123535156, 11.46352577209472656, 2.59120345115661621, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+3, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1299.0504150390625, -127.0625, 11.46352577209472656, 3.303844690322875976, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+4, 129627, 1643, 8567, 9334, '0', 12615, 0, 80752, 1, 1300.2222900390625, -117.357643127441406, 10.85943508148193359, 4.828445911407470703, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=129627 AND `DifficultyID`=0); -- 129627 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=2048, `unit_flags3`=0 WHERE `entry`=129627; -- Algerson Lumberjack
@@ -0,0 +1,68 @@
SET @CGUID := 7000533;
DELETE FROM `phase_name` WHERE `ID`=12624;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12624, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater and Lumberjacks in Algerson Lumberyard Office');
DELETE FROM `phase_area` WHERE `PhaseId`=12624;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9334, 12624, 'Cosmetic: Kul Tiran Unlock Questline - Dorian Atwater and Lumberjacks in Algerson Lumberyard Office');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12624));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12624, 0, 0, 0, 47, 0, 54726, 74, 0, '', 0, 'Player have Frame Work (54726) in state complete, incomplete, rewarded');
DELETE FROM `creature_equip_template` WHERE (`ID`=1 AND `CreatureID` IN (149019,149020,149021,149022));
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES
(149019, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149020, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149021, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- Algerson Lumberjack
(149022, 1, 109579, 0, 0, 0, 0, 0, 0, 0, 0, 54762); -- Algerson Lumberjack
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 149019, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1291.76220703125, -132.538192749023437, 11.58151435852050781, 0.166917353868484497, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+1, 149020, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1303.2274169921875, -125.753471374511718, 11.46352577209472656, 3.386868715286254882, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+2, 149021, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1297.2603759765625, -130.052078247070312, 11.46352577209472656, 0.365938574075698852, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+3, 149022, 1643, 8567, 9334, '0', 12624, 0, 0, 1, 1298.8819580078125, -130.274307250976562, 11.46352577209472656, 2.196896314620971679, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Algerson Lumberjack (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
(@CGUID+4, 148870, 1643, 8567, 9334, '0', 12624, 0, 0, 0, 1294.998291015625, -126.805557250976562, 11.46352577209472656, 2.681195974349975585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Dorian Atwater (Area: Algerson Lumber Yard - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4;
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, 0, 0, 720, 0, 0, 0, 0, ''), -- Algerson Lumberjack
(@CGUID+1, 0, 0, 0, 0, 0, 1, 0, 731, 0, 0, 0, 0, ''); -- Algerson Lumberjack
DELETE FROM `creature_template_addon` WHERE `entry` IN (149019, 149021, 149022);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(149019, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 149019 (Algerson Lumberjack)
(149021, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 149021 (Algerson Lumberjack)
(149022, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- 149022 (Algerson Lumberjack)
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149019 AND `DifficultyID`=0); -- 149019 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149020 AND `DifficultyID`=0); -- 149020 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149021 AND `DifficultyID`=0); -- 149021 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=149022 AND `DifficultyID`=0); -- 149022 (Algerson Lumberjack) - CanSwim
UPDATE `creature_template` SET `faction`=2909, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry` IN (149020, 149019, 149021, 149022); -- Algerson Lumberjack
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (91494, 91495);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(91494, 0.6987152099609375, 1.5, 0, 54762),
(91495, 0.347222000360488891, 1.5, 0, 54762);
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (78480, 80857, 33719, 32646, 707, 79015, 80750, 30256, 88594, 64814, 79804, 47165, 42744, 61206, 47166, 78835, 64329, 80777, 80754, 80753, 80854, 80752, 83295, 61205, 80746, 79871, 80751);
-- Algerson Lumberjack smart ai
SET @ENTRY := 149021;
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, 5000, 6000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
-- Algerson Lumberjack smart ai
SET @ENTRY := 149022;
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, 3000, 4000, 5000, 6000, 10, 274, 273, 1, 6, 603, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 6 seconds (OOC) - Self: Play random emote: 274, 273, 1, 6, 603,');
@@ -0,0 +1 @@
UPDATE `creature` SET `equipment_id`=1 WHERE `id` IN(148911, 148912);
@@ -0,0 +1,68 @@
SET @CGUID := 7000538;
SET @OGUID := 7000195;
SET @NPCTEXTID := 570039;
DELETE FROM `phase_name` WHERE `ID`=12625;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12625, 'Cosmetic: Kul Tiran Unlock Questline - Sal Atwater, Hurricane and Elementals waiting in Evergreen Grove');
DELETE FROM `phase_area` WHERE `PhaseId`=12625;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9358, 12625, 'Cosmetic: Kul Tiran Unlock Questline - Sal Atwater, Hurricane and Elementals waiting in Evergreen Grove');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12625));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12625, 0, 0, 0, 47, 0, 54727, 74, 0, '', 0, 'Player have Team Carry (54727) in state complete, incomplete, rewarded');
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 148873, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1703.421875, 11.39236164093017578, 67.9531402587890625, 3.668842315673828125, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Sal Atwater (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+1, 150582, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1699.8941650390625, 11.83333301544189453, 67.43441009521484375, 3.680095195770263671, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Hurricane (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+2, 148879, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1704.3819580078125, 9.237847328186035156, 68.13062286376953125, 3.399919509887695312, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762), -- Bound Earth (Area: Evergreen Grove - Difficulty: 0) CreateObject1
(@CGUID+3, 148879, 1643, 8567, 9358, '0', 12625, 0, 0, 0, 1700.4600830078125, 15.23090267181396484, 67.465240478515625, 4.043456077575683593, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Bound Earth (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `gameobject` WHERE `guid`=@OGUID+0;
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, 316864, 1643, 8567, 9358, '0', 12625, 0, 1706.0260009765625, 15.69965267181396484, 68.4251251220703125, 3.711865663528442382, 0.083636283874511718, 0.024515151977539062, -0.95597171783447265, 0.280217915773391723, 120, 255, 1, 54762); -- [DNT] Wagon (Area: Evergreen Grove - Difficulty: 0) CreateObject1
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=148873 AND `MenuID`=23726);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(148873, 23726, 54762); -- Sal Atwater
DELETE FROM `npc_text` WHERE `ID`=@NPCTEXTID+0;
INSERT INTO `npc_text` (`ID`, `Probability0`, `Probability1`, `Probability2`, `Probability3`, `Probability4`, `Probability5`, `Probability6`, `Probability7`, `BroadcastTextId0`, `BroadcastTextId1`, `BroadcastTextId2`, `BroadcastTextId3`, `BroadcastTextId4`, `BroadcastTextId5`, `BroadcastTextId6`, `BroadcastTextId7`, `VerifiedBuild`) VALUES
(@NPCTEXTID+0, 1, 0, 0, 0, 0, 0, 0, 0, 167458, 0, 0, 0, 0, 0, 0, 0, 54762); -- 148873 (Sal Atwater)
DELETE FROM `gossip_menu` WHERE (`MenuID`=23726 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(23726, @NPCTEXTID+0, 54762); -- 148873 (Sal Atwater)
UPDATE `creature_model_info` SET `VerifiedBuild`=54762 WHERE `DisplayID` IN (81321, 81372, 79558, 79559, 79557, 86806, 86803, 45092, 79058, 82954, 82955, 80778, 79059, 40713, 47105, 16213, 87370, 86287, 82693, 85230, 80747);
UPDATE `creature_model_info` SET `BoundingRadius`=0.347222000360488891, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=90149;
UPDATE `creature_model_info` SET `BoundingRadius`=0.808565735816955566, `VerifiedBuild`=54762 WHERE `DisplayID`=86805;
UPDATE `creature_model_info` SET `BoundingRadius`=0.433400630950927734, `CombatReach`=1, `VerifiedBuild`=54762 WHERE `DisplayID` IN (70446, 70449);
UPDATE `creature_model_info` SET `BoundingRadius`=1.83896946907043457, `CombatReach`=1.25, `VerifiedBuild`=54762 WHERE `DisplayID`=106962;
UPDATE `creature_model_info` SET `BoundingRadius`=0.425056040287017822, `CombatReach`=0.300000011920928955, `VerifiedBuild`=54762 WHERE `DisplayID`=35424;
UPDATE `creature_model_info` SET `BoundingRadius`=0.6987152099609375, `CombatReach`=1.5, `VerifiedBuild`=54762 WHERE `DisplayID`=85232;
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=148873 AND `DifficultyID`=0); -- 148873 (Sal Atwater) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150582 AND `DifficultyID`=0); -- 150582 (Hurricane) - CanSwim
UPDATE `creature_template` SET `faction`=2992, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=148873; -- Sal Atwater
UPDATE `creature_template` SET `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150582; -- Hurricane
DELETE FROM `gameobject_template` WHERE `entry` IN (317053 /*[DNT] Witch Energy*/, 316866 /*[DNT] Log Pile 01*/, 316865 /*[DNT] Log Pile 02*/, 316864 /*[DNT] Wagon*/, 316821 /*Heavy Lumber*/);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(317053, 5, 49332, '[DNT] Witch Energy', '', '', '', 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- [DNT] Witch Energy
(316866, 5, 46177, '[DNT] Log Pile 01', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- [DNT] Log Pile 01
(316865, 5, 45298, '[DNT] Log Pile 02', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- [DNT] Log Pile 02
(316864, 5, 44710, '[DNT] Wagon', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54762), -- [DNT] Wagon
(316821, 10, 45298, 'Heavy Lumber', 'questinteract', 'Collecting', '', 1, 1922, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 288971, 0, 0, 1, 19676, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 674, 54762); -- Heavy Lumber
UPDATE `gameobject_template` SET `VerifiedBuild`=54762 WHERE `entry` IN (278399, 295815, 295816, 295778, 275074, 294921, 35591, 276621, 288480, 288195, 281420, 287404, 276616, 295467, 295115, 295460, 295114, 295113, 295021, 294244, 294243, 294242, 294241, 294240, 303084, 295720, 295719, 295718, 295717, 295401, 295111, 295110, 294253, 294245, 294239, 295487, 295462, 295402, 295112, 294936, 294924, 294835, 294248, 294247, 294246, 294238, 294237, 295772, 295754, 295753, 295471, 295771, 295755, 294959, 294937, 294926, 297905, 295777, 295764, 295473, 295774, 295766, 295758, 295470, 292547, 294947, 295763, 295098, 295096, 295776, 295768, 295760, 295773, 295765, 295757, 303085, 301133, 295461, 295770, 295762, 294946, 294927, 325418, 252245, 293838, 281464, 276236, 281909, 294556, 302839, 281609, 292873, 303145, 297937, 295775, 295767, 295759, 295756, 301132, 295028, 295097, 295769, 295761);
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54762 WHERE `entry`=280603; -- Ritual Effigy
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54762 WHERE `entry`=281230; -- Formal Invitation
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54762 WHERE `entry`=288641; -- WANTED: Gryphon 'Nappers
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54762 WHERE (`GameObjectEntry`=281909 AND `Idx`=0);
@@ -0,0 +1,22 @@
SET @CGUID := 7000542;
DELETE FROM `phase_name` WHERE `ID`=12864;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened');
DELETE FROM `phase_area` WHERE `PhaseId`=12864;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened - Bleak Hills Mine'),
(9432, 12864, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea frightened - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12864));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12864, 0, 0, 0, 47, 0, 54729, 8, 0, '', 0, 'Player have The Bleak Hills (54729) in state incomplete');
DELETE FROM `creature` WHERE `guid`=@CGUID+0;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150884, 1643, 8721, 9500, '0', 12864, 0, 0, 0, 102.875, 3401.12841796875, 210.9712371826171875, 2.603888750076293945, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Chelsea Wright (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid`=@CGUID+0;
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, 431, 0, 0, 0, 0, ''); -- Chelsea Wright
@@ -0,0 +1,19 @@
SET @CGUID := 7000543;
DELETE FROM `phase_name` WHERE `ID` IN(12865, 12867);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea'),
(12867, 'Cosmetic: Kul Tiran Unlock Questline - Unused');
DELETE FROM `phase_area` WHERE `PhaseId`=12865;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea - Bleak Hills Mine'),
(9432, 12865, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in front of Chelsea - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12865));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12865, 0, 0, 0, 47, 0, 54729, 8, 0, '', 0, 'Player have The Bleak Hills (54729) in state incomplete');
DELETE FROM `creature` WHERE `guid`=@CGUID+0;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12865, 0, 0, 0, 98.34722137451171875, 3404.9609375, 208.9343109130859375, 5.546810626983642578, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
@@ -0,0 +1,22 @@
SET @CGUID := 7000544;
DELETE FROM `phase_name` WHERE `ID`=12866;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm');
DELETE FROM `phase_area` WHERE `PhaseId`=12866;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm - Bleak Hills Mine'),
(9432, 12866, 'Cosmetic: Kul Tiran Unlock Questline - Chelsea calm - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12866));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12866, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded');
DELETE FROM `creature` WHERE `guid`=@CGUID+0;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150884, 1643, 8721, 9500, '0', 12866, 0, 0, 0, 102.875, 3401.12841796875, 210.9712371826171875, 2.603888750076293945, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Chelsea Wright (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150884 AND `DifficultyID`=0); -- 150884 (Chelsea Wright) - CanSwim
UPDATE `creature_template` SET `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150884; -- Chelsea Wright
@@ -0,0 +1,26 @@
SET @CGUID := 7000545;
DELETE FROM `phase_name` WHERE `ID`=12868;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys');
DELETE FROM `phase_area` WHERE `PhaseId`=12868;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys - Bleak Hills Mine'),
(9432, 12868, 'Cosmetic: Kul Tiran Unlock Questline - Fled Wicker Beast with Keys - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12868));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12868, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded'),
(26, 12868, 0, 0, 0, 47, 0, 54732, 74, 0, '', 1, 'Player doesn\'t have Drop It! (54732) in state incomplete, complete, rewarded');
DELETE FROM `creature` WHERE `guid`=@CGUID+0;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12868, 0, 0, 0, 96.92534637451171875, 3346.322021484375, 221.391387939453125, 2.496227741241455078, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54762); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1 (Auras: 292403 - [DNT] Bang Keys)
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+0);
INSERT INTO `creature_addon` (`guid`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '292403'); -- 150885 (Wicker Beast) - [DNT] Bang Keys
UPDATE `creature_template_difficulty` SET `ContentTuningID`=464, `StaticFlags1`=268435456, `VerifiedBuild`=54762 WHERE (`Entry`=150885 AND `DifficultyID`=0); -- 150885 (Wicker Beast) - CanSwim
UPDATE `creature_template` SET `faction`=190, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150885; -- Wicker Beast
@@ -0,0 +1,83 @@
SET @CGUID := 7000546;
SET @OGUID := 7000196;
DELETE FROM `phase_name` WHERE `ID`=12875;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle');
DELETE FROM `phase_area` WHERE `PhaseId`=12875;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle - Bleak Hills Mine'),
(9432, 12875, 'Cosmetic: Kul Tiran Unlock Questline - Princess Ritual Circle - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12875));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12875, 0, 0, 0, 47, 0, 54729, 66, 0, '', 0, 'Player have The Bleak Hills (54729) in state complete, rewarded');
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+3;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 122675, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 158.14410400390625, 3203.5703125, 283.26190185546875, 1.059980154037475585, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Mayor Striggs (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+1, 122674, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 159.8194427490234375, 3206.41748046875, 283.436004638671875, 4.174034595489501953, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Trunksy (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+2, 122676, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 157.78472900390625, 3205.729248046875, 283.305145263671875, 6.135634422302246093, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847), -- Mr. Munchykins (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@CGUID+3, 150931, 1643, 8721, 9500, '0', 12875, 0, 0, 0, 160.609375, 3203.78564453125, 283.396942138671875, 4.181849002838134765, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Princess (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1 (Auras: 35356 - Spawn Feign Death, 167641 - Blood Splatter)
DELETE FROM `creature_template_addon` WHERE `entry` IN (150931);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(150931, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '35356 167641'); -- 150931 (Princess) - Spawn Feign Death, Blood Splatter
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122674 AND `DifficultyID`=0); -- 122674 (Trunksy) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122675 AND `DifficultyID`=0); -- 122675 (Mayor Striggs) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168, `VerifiedBuild`=54847 WHERE (`Entry`=122676 AND `DifficultyID`=0); -- 122676 (Mr. Munchykins) - Sessile, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=674, `StaticFlags1`=268435456, `VerifiedBuild`=54847 WHERE (`Entry`=150931 AND `DifficultyID`=0); -- 150931 (Princess) - CanSwim
UPDATE `creature_template` SET `faction`=2908, `BaseAttackTime`=2000, `unit_flags`=768, `unit_flags2`=2048 WHERE `entry`=150931; -- Princess
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122676; -- Mr. Munchykins
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122674; -- Trunksy
UPDATE `creature_template` SET `unit_flags3`=16777216 WHERE `entry`=122675; -- Mayor Striggs
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+5;
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, 270959, 1643, 8721, 9500, '0', 12875, 0, 158.1961822509765625, 3205.5625, 283.238739013671875, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+1, 270959, 1643, 8721, 9500, '0', 12875, 0, 159.513885498046875, 3205.887939453125, 283.318511962890625, 0.070231571793556213, 0, 0, 0.035108566284179687, 0.999383509159088134, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+2, 270959, 1643, 8721, 9500, '0', 12875, 0, 160.9635467529296875, 3205.267333984375, 283.359893798828125, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+3, 270959, 1643, 8721, 9500, '0', 12875, 0, 158.4461822509765625, 3204.0947265625, 283.2071533203125, 6.05180215835571289, 0, 0, -0.1154336929321289, 0.99331521987915039, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+4, 270959, 1643, 8721, 9500, '0', 12875, 0, 159.69097900390625, 3202.924560546875, 283.237945556640625, 0, 0, 0, 0, 1, 120, 255, 1, 54847), -- Tea Cup (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
(@OGUID+5, 270961, 1643, 8721, 9500, '0', 12875, 0, 158.548614501953125, 3205.1572265625, 283.295440673828125, 2.537331819534301757, -0.01258182525634765, -0.01857185363769531, 0.95450592041015625, 0.297346949577331542, 120, 255, 1, 54847); -- Summoning Circle (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (270961 /*Summoning Circle*/, 270959 /*Tea Cup*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(270961, 0, 16, 0, 0), -- Summoning Circle
(270959, 0, 16, 0, 0); -- Tea Cup
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=270959; -- Tea Cup
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=270961; -- Summoning Circle
--
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (76045, 90959);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(76045, 1, 0, 0, 54847),
(90959, 0.208000004291534423, 1.5, 0, 54847);
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (85031, 80768, 80734, 80767, 85177, 81872, 85178, 83050, 81868, 4602, 58145, 85311, 76674, 11686, 58170, 76677, 84850, 16358, 16356, 62863, 81890, 81079, 84041, 90950, 21342, 34168, 83309, 82393, 27823, 26774, 21072, 82382);
UPDATE `creature_model_info` SET `BoundingRadius`=0.579470038414001464, `VerifiedBuild`=54847 WHERE `DisplayID`=62862;
UPDATE `creature_model_info` SET `BoundingRadius`=0.829031646251678466, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=79807;
UPDATE `creature_model_info` SET `BoundingRadius`=1.847487092018127441, `VerifiedBuild`=54847 WHERE `DisplayID`=80962;
UPDATE `creature_model_info` SET `BoundingRadius`=1.288943290710449218, `CombatReach`=0.60000002384185791, `VerifiedBuild`=54847 WHERE `DisplayID`=35688;
DELETE FROM `gameobject_template` WHERE `entry` IN (322651 /*Storage Crate*/, 322641 /*[DNT] Dog House*/, 322642 /*[DNT] Scattered Hay*/, 322640 /*[DNT] Dog Ball*/, 322654 /*[DNT] Ore*/);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(322651, 2, 47100, 'Storage Crate', '', '', '', 2, 1634, 21951, 0, 0, 0, 0, 0, 0, 0, 0, 68034, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 674, 54847), -- Storage Crate
(322641, 5, 15511, '[DNT] Dog House', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- [DNT] Dog House
(322642, 5, 51280, '[DNT] Scattered Hay', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- [DNT] Scattered Hay
(322640, 5, 32607, '[DNT] Dog Ball', '', '', '', 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54847), -- [DNT] Dog Ball
(322654, 5, 43646, '[DNT] Ore', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 54847); -- [DNT] Ore
UPDATE `gameobject_template` SET `ContentTuningId`=467, `VerifiedBuild`=54847 WHERE `entry`=289331; -- Perfect Telescope Location
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (276617, 276622, 284422, 278399, 276618, 325418, 281079, 288175, 288174, 288170, 288166, 288164, 288162, 288161, 278848, 288490, 288489, 293438, 281137, 277419, 276239, 276236, 288198, 322639, 281356, 281174, 276616, 322643, 278475, 276238, 276619, 294125, 288491, 288488);
UPDATE `gameobject_template` SET `ContentTuningId`=805, `VerifiedBuild`=54847 WHERE `entry`=297947; -- Falconer's Whistle
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=298858; -- Wanted Poster
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=281326; -- Falcon Cage
UPDATE `gameobject_template` SET `Data8`=103828, `Data10`=30091, `VerifiedBuild`=54847 WHERE `entry`=287255; -- Anvil
UPDATE `gameobject_template` SET `Data19`=2, `ContentTuningId`=705, `VerifiedBuild`=54847 WHERE `entry`=297825; -- Web-Covered Chest
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=280802; -- Silver Nugget
UPDATE `gameobject_template` SET `Data8`=103829, `Data10`=30092, `VerifiedBuild`=54847 WHERE `entry`=290464; -- Forge
@@ -0,0 +1,74 @@
SET @CGUID := 7000550;
DELETE FROM `phase_name` WHERE `ID`=12870;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel');
DELETE FROM `phase_area` WHERE `PhaseId`=12870;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(9500, 12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel - Bleak Hills Mine'),
(9432, 12870, 'Cosmetic: Kul Tiran Unlock Questline - Wicker Beast in Wicker Hovel - Watchman''s Rise');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 26) AND (`SourceGroup` IN (12870));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(26, 12870, 0, 0, 0, 47, 0, 55136, 74, 0, '', 1, 'Player doesn\'t have Her Dog Days Are Over (55136) in state incomplete, complete, rewarded'),
(26, 12870, 0, 0, 0, 48, 0, 388746, 0, 1, '', 0, 'Player has quest objective 388746 == 1 (but hasn\'t rewarded quest yet)');
DELETE FROM `creature` WHERE `guid`=@CGUID+0;
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`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 150885, 1643, 8721, 9500, '0', 12870, 0, 0, 0, 161.9340362548828125, 3202.85498046875, 283.35394287109375, 2.528188228607177734, 120, 0, 0, 100, 0, NULL, NULL, NULL, NULL, 54847); -- Wicker Beast (Area: Bleak Hills Mine - Difficulty: 0) CreateObject1
--
UPDATE `creature_model_info` SET `VerifiedBuild`=54847 WHERE `DisplayID` IN (85028, 85029, 106962, 85408, 4259, 85407, 85410, 30244, 84293, 84296, 84295, 85409, 4601, 79540, 80653, 88527, 85965, 80444, 79523, 73274, 77269, 79522, 40025, 40021, 79552, 70445, 64016, 70443, 40020, 70451, 79806, 80955, 79808, 80953, 70442, 2177, 81082, 79366, 70440, 82000, 86952, 81965, 79375, 79195, 81994, 85629, 40093, 51294, 36620, 82001, 87979, 88292, 80054, 45149, 76994, 72014, 64184, 76995, 75365, 78631, 70448, 32187, 82797, 84086, 78046, 81745, 84087, 79313, 82959, 63016, 76875, 90896, 79001, 78999, 78468, 78216, 78214, 84085, 78210, 77046, 78211, 236, 82795, 76855, 78215, 78964, 77048, 79496, 78467, 38857, 78196, 79952, 78195, 82546, 78212, 82579, 88481, 76857, 238, 88616, 82936, 36957, 36956, 85649, 87370, 82947, 79280, 60901, 79246, 9829, 36595, 976, 15468, 38497, 6533, 81928, 81866, 77489, 90148, 80753, 79557, 91494, 91495, 90814, 8550, 90149, 86806, 86805, 86803, 80754, 45092, 80752, 82954, 80854, 82955, 40713, 80778, 79871, 85189, 85188, 88594, 80983, 87918, 64329, 82019, 82239, 81199, 79558, 70449, 62722, 79559, 82950, 79211, 30256, 81753, 42408, 85214, 45491, 82543, 82540, 78472, 78990, 78963, 84804, 82544, 79900, 78965, 78962, 77498, 76548, 79560, 81746, 82796, 83812, 76552, 78992, 78469, 79382, 78471, 17188, 79380, 82539, 82937, 81747, 88482, 75339, 82612, 77053, 81743, 85213, 78475, 82538, 75340, 78994, 80845, 82541, 78993, 80846, 77043, 82545, 39726, 78835, 237, 78967, 45490, 81957, 42744, 70446, 76880, 4626, 229, 76870, 6302, 76889, 79058, 76856, 79059, 81084, 33719, 32646, 88290, 8014, 45494, 86197, 81078, 4260, 30263, 84294);
UPDATE `creature_model_info` SET `BoundingRadius`=0.665383040904998779, `CombatReach`=0.800000011920928955, `VerifiedBuild`=54847 WHERE `DisplayID` IN (70663, 71224);
UPDATE `creature_model_info` SET `BoundingRadius`=0.5, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID` IN (81966, 81964);
UPDATE `creature_model_info` SET `BoundingRadius`=1.847487092018127441, `VerifiedBuild`=54847 WHERE `DisplayID`=32546;
UPDATE `creature_model_info` SET `BoundingRadius`=0.938482880592346191, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=78242;
UPDATE `creature_model_info` SET `BoundingRadius`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=82537;
UPDATE `creature_model_info` SET `BoundingRadius`=1.594119191169738769, `CombatReach`=1.760000109672546386, `VerifiedBuild`=54847 WHERE `DisplayID`=79267;
UPDATE `creature_model_info` SET `BoundingRadius`=0.642672121524810791, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=765;
UPDATE `creature_model_info` SET `BoundingRadius`=1.32942509651184082, `CombatReach`=1.60000002384185791, `VerifiedBuild`=54847 WHERE `DisplayID`=81194;
UPDATE `creature_model_info` SET `BoundingRadius`=0.908434152603149414, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=87960;
UPDATE `creature_model_info` SET `BoundingRadius`=0.6987152099609375, `CombatReach`=1.5, `VerifiedBuild`=54847 WHERE `DisplayID`=87959;
UPDATE `creature_model_info` SET `BoundingRadius`=1.594113588333129882, `CombatReach`=1, `VerifiedBuild`=54847 WHERE `DisplayID`=79800;
DELETE FROM `gameobject_template` WHERE `entry` IN (322638 /*Gnawed Bone*/, 322637 /*Squeaky Toy*/, 322636 /*Worn Collar*/, 322620 /*Storeroom Keys*/);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `VerifiedBuild`) VALUES
(322638, 3, 26528, 'Gnawed Bone', 'questinteract', 'Collecting', '', 2, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95371, 1, 0, 0, 0, 674, 54847), -- Gnawed Bone
(322637, 3, 36950, 'Squeaky Toy', 'questinteract', 'Collecting', '', 1, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95370, 1, 0, 0, 0, 674, 54847), -- Squeaky Toy
(322636, 3, 52309, 'Worn Collar', 'questinteract', 'Collecting', '', 2, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95369, 1, 0, 0, 0, 674, 54847), -- Worn Collar
(322620, 3, 42973, 'Storeroom Keys', 'questinteract', 'Collecting', '', 1.5, 2160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95364, 1, 0, 0, 0, 674, 54847); -- Storeroom Keys
UPDATE `gameobject_template` SET `VerifiedBuild`=54847 WHERE `entry` IN (287329, 277273, 296271, 276258, 276257, 276251, 279586, 279587, 292912, 279594, 292913, 295192, 295190, 295188, 295170, 295169, 295168, 295167, 295166, 295165, 295164, 295163, 281014, 295183, 278778, 295293, 295210, 295220, 295295, 295292, 295209, 295207, 295294, 295208, 295299, 295297, 295296, 295216, 295215, 295214, 295213, 295298, 295212, 295211, 295303, 295302, 295301, 295300, 295225, 295224, 295223, 295222, 277514, 279319, 279318, 273955, 295178, 276256, 297132, 295179, 295316, 295317, 276733, 297139, 295794, 295793, 295792, 295791, 317053, 316866, 316865, 316864, 294921, 35591, 275074, 281464, 281420, 294927, 281909, 288480, 288195, 277717, 278402, 277427, 277386, 281609, 295314, 294556, 295313, 287404, 295277, 295276, 295273, 295272, 294477, 294476, 294475, 292547, 295802, 295274, 295226, 295275, 295227, 295247, 303145, 295801, 295206, 295321, 295271, 295270, 295246, 295221, 289310, 282250, 281718, 272201, 272200, 295269, 295266, 295268, 295258, 295260, 296390, 295902, 295901, 295900, 295899, 295898, 295267, 295261, 295259, 295200, 295265, 295264, 295263, 295262, 295219, 295218, 295217, 278252, 309572, 279703, 280693, 302838, 302839, 292873, 297937, 278571, 278406, 278405, 279289, 278528, 291204, 290146, 276240, 290145, 298913, 298459, 297137, 297136, 277595, 276255, 276254, 302779, 298769, 277596, 276403, 276253, 276234, 278432, 297630, 295778, 297903, 297902, 297892, 276874, 276645, 276872, 276871, 276868, 277331, 277330, 277329, 276873, 276867, 375181);
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273270; -- Harbor Seaweed
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273798; -- Jar of Blubber
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=273799; -- Bundle of Vellum
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276837; -- Recipe Rock
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=287941; -- Bag of Horse Treats
UPDATE `gameobject_template` SET `ContentTuningId`=705, `VerifiedBuild`=54847 WHERE `entry`=275070; -- Small Treasure Chest
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276838; -- Stirring Bone
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=278813; -- Post
UPDATE `gameobject_template` SET `ContentTuningId`=189, `VerifiedBuild`=54847 WHERE `entry`=276270; -- Soup Stone
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=281172; -- Suspicious Pile of Meat
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=277415; -- Drust Rune Trap
UPDATE `gameobject_template` SET `ContentTuningId`=186, `VerifiedBuild`=54847 WHERE `entry`=273956; -- Small Treasure Chest
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276206; -- Bundle of Wicker
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276205; -- Bones
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276204; -- Fruit
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276203; -- Herbs
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276202; -- Grain
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276201; -- Scrolls
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276200; -- Entrails
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276247; -- Child-sized Backpack
UPDATE `gameobject_template` SET `Data1`=0, `Data30`=77845, `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=278516; -- Adventurer's Society Loot Stash
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276869; -- Wrapped Supplies
UPDATE `gameobject_template` SET `ContentTuningId`=187, `VerifiedBuild`=54847 WHERE `entry`=276870; -- Cask of Salted Fish
DELETE FROM `gameobject_questitem` WHERE (`Idx`=0 AND `GameObjectEntry` IN (322638,322637,322636,322620));
INSERT INTO `gameobject_questitem` (`GameObjectEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(322638, 0, 167174, 54847), -- Gnawed Bone
(322637, 0, 167173, 54847), -- Squeaky Toy
(322636, 0, 167172, 54847), -- Worn Collar
(322620, 0, 167168, 54847); -- Storeroom Keys
UPDATE `gameobject_questitem` SET `VerifiedBuild`=54847 WHERE (`Idx`=0 AND `GameObjectEntry` IN (276258,276257,273270,273798,273799,276838,276270,281909,277427,276255,276254,276253,281137,284422,280802));

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