DB Updates

This commit is contained in:
Hondacrx
2025-06-08 19:35:13 -04:00
parent efb7cda40b
commit 4214100d93
231 changed files with 468693 additions and 96638 deletions
+121 -6
View File
@@ -849,7 +849,97 @@ INSERT INTO `build_auth_key` VALUES
(57534,'Mac','x64','WoWC',0xCE9CD9A02B04F0C3B126F3C7E1BF7228),
(57534,'Win','A64','WoW',0xCC612F1485F158C8B2730B7DFD926563),
(57534,'Win','x64','WoW',0x948857BF76A28FD24C5A06D18B4F2FCF),
(57534,'Win','x64','WoWC',0x62B0812A4518C21360685D4422C2A312);
(57534,'Win','x64','WoWC',0x62B0812A4518C21360685D4422C2A312),
(57637,'Mac','A64','WoW',0x25DB682BB3B56D01B3780C446811956E),
(57637,'Mac','A64','WoWC',0x722FCA435AE1E916A4D96EDF8DDCFB3B),
(57637,'Mac','x64','WoW',0xCBB255E59E1031F8CBEB098D26B8E2FA),
(57637,'Mac','x64','WoWC',0x8DA67ECB7268B7FE759CE94F13165B32),
(57637,'Win','A64','WoW',0x4B39C74A7035B6A1C799F0F4FC6735D2),
(57637,'Win','x64','WoW',0x6C4185E973C9CB8382D3721AF1060C66),
(57637,'Win','x64','WoWC',0x71B57F027872393C902BDCBBDDC43A26),
(57689,'Mac','A64','WoW',0x5D064F1364C285F07FF804DCE98A6CC5),
(57689,'Mac','A64','WoWC',0xAB3DF8B79F5BAE839764988EE6530101),
(57689,'Mac','x64','WoW',0x988459790B4B38301350BE4286F979A2),
(57689,'Mac','x64','WoWC',0xCA7AD91741F8E2063CE227D475247212),
(57689,'Win','A64','WoW',0x4910E2142A21616934CD4D714691748C),
(57689,'Win','x64','WoW',0x93B4E50E651A28D8CC4E7CE7447901F6),
(57689,'Win','x64','WoWC',0x6AEDD8258D4E9701F737CBA852728A74),
(58123,'Mac','A64','WoW',0x7C63CE8A068940D4D019C7CF999E3DC7),
(58123,'Mac','A64','WoWC',0xCF2625300DA905CC9B6D10379C58B590),
(58123,'Mac','x64','WoW',0x1B68981860A6EB24BEAA070FD022B3B9),
(58123,'Mac','x64','WoWC',0x3037FB1C6A73F7468DD11180000BB133),
(58123,'Win','A64','WoW',0x84B75C8F0FF380C3B3970EB63AFB4962),
(58123,'Win','x64','WoW',0x29050AA0D62EF99634CCB7B5F9F6AC1E),
(58123,'Win','x64','WoWC',0x2D5EEEAB57AFFE31856D0DEAC73944DA),
(58162,'Mac','A64','WoW',0x086BB93AF9122791E6CDA58A5F20AAC1),
(58162,'Mac','A64','WoWC',0x280BD3A4F223E1D8F3CF893BBFAEFBC5),
(58162,'Mac','x64','WoW',0x47586B32BD556FA08C966D7F4FC9FF24),
(58162,'Mac','x64','WoWC',0xE861315673972C1B986650C1242196FE),
(58162,'Win','A64','WoW',0x5B1F97D43762F0F1BEC75E99CDD18D35),
(58162,'Win','x64','WoW',0xDA3B48B9A60F4486F27BA9D8858D5688),
(58162,'Win','x64','WoWC',0x25146ED771DC629F2B8CF58126BA562C),
(58187,'Mac','A64','WoW',0x88D993926D777DC12059988E009A73D6),
(58187,'Mac','A64','WoWC',0x9E794FD5CD76EFF400837338876BA64F),
(58187,'Mac','x64','WoW',0xDE1377202943C1155607090CF884FF66),
(58187,'Mac','x64','WoWC',0xE7777DCE18DB45B7ED3E7ADF23BCB1CB),
(58187,'Win','A64','WoW',0xFFEAC8B1B547FD10EFCA8BCF30DF9F51),
(58187,'Win','x64','WoW',0xD92C35D6904B0945992B0801E53822E7),
(58187,'Win','x64','WoWC',0x8AC21CC640359F276C2F6153FAA28638),
(58238,'Mac','A64','WoW',0x87705176E4D29CD7DCA47A3DB8B20CE9),
(58238,'Mac','A64','WoWC',0xEC7206B740D162429B4ACCC637132C3D),
(58238,'Mac','x64','WoW',0x1A40852B2F5EEEE2EB80497B691C88AF),
(58238,'Mac','x64','WoWC',0x48E25221E6F84CA49685B91B96E1345A),
(58238,'Win','A64','WoW',0x6AA610F0820BE535EA7017E4C5BD857B),
(58238,'Win','x64','WoW',0x9D91F6D23C62F0CB538D8D4E4BAA4FC1),
(58238,'Win','x64','WoWC',0x7B4A168DADC9A598A40794D6165EA95C),
(58533,'Mac','A64','WoW',0xE637AA32D5DE914B119AF68CC9C9BAAB),
(58533,'Mac','A64','WoWC',0xE693DD275CEEE2D682EC973D79251977),
(58533,'Mac','x64','WoW',0xDE3723EF7EB991A1B27684E6513934D6),
(58533,'Mac','x64','WoWC',0xA93EF4385174001B69F43FF0DF345701),
(58533,'Win','A64','WoW',0x3823D2E16D6E314884CD586949524F2C),
(58533,'Win','x64','WoW',0x18490A077F4FBA0973E0B62A489EE664),
(58533,'Win','x64','WoWC',0x3DC9E22F553D631A5CA067F7809A3D2D),
(58608,'Mac','A64','WoW',0x3A3B639B7FC344EDB4314860638110F1),
(58608,'Mac','A64','WoWC',0x8F46148144EDF86BD45D23B0F23CE38B),
(58608,'Mac','x64','WoW',0x29EC11F81992F19AD9707B272419ADDA),
(58608,'Mac','x64','WoWC',0x2BF5613D82AD3A242B5DD0B140CE4416),
(58608,'Win','A64','WoW',0x6FD8AD7CCB3B7DAD45115CA93D3A68F3),
(58608,'Win','x64','WoW',0x21B3EDEB1A65388DD5988056D2BE72B2),
(58608,'Win','x64','WoWC',0xAC65E4DC868EFE4362E72BBCDD746853),
(58630,'Mac','A64','WoW',0x045A964F3B8D153E273A3AD862C5C38A),
(58630,'Mac','A64','WoWC',0x3CDC1868FD7BB4E50629421328ED8269),
(58630,'Mac','x64','WoW',0x0D58880FA5FA7A7FD5C2466CEB398601),
(58630,'Mac','x64','WoWC',0x9745E7626C0D7D0A7F57DF1BB1EA4F16),
(58630,'Win','A64','WoW',0xF74A9CB9D6918780C813E2EEE0F24DE0),
(58630,'Win','x64','WoW',0x8C9CDCC711892EAAEA793DBBF3B0C850),
(58630,'Win','x64','WoWC',0xC6A3638E0BAB3A98F40B8371E1BDAECA),
(58680,'Mac','A64','WoW',0x5EE6ABE5386E08867F642B3DFD15A9D4),
(58680,'Mac','A64','WoWC',0x22C636BB4ABBC4AD9AE8F30B6D947774),
(58680,'Mac','x64','WoWC',0xA5FF81211CDCDD60B53C14F932732969),
(58680,'Win','A64','WoW',0x9D6DC8BED265C898836593A9E654A1E1),
(58680,'Win','x64','WoW',0xC1CEFF499F2C2ABF1913E55F65CF278C),
(58680,'Win','x64','WoWC',0x0D6FC77C1D3830AAA871A9E29DCBE380),
(58773,'Mac','A64','WoW',0x52D40564B2DF8D1DC02AC698F3FCF9C1),
(58773,'Mac','A64','WoWC',0xF0EBD5EF23A71883AF137174E4B1B01A),
(58773,'Mac','x64','WoW',0xAC2A56DCB12639F43F15F43BA9A9F996),
(58773,'Mac','x64','WoWC',0x8431C2D85A026E13E3E114C7AE83F0DE),
(58773,'Win','A64','WoW',0x9ADF3B9E70DF0176CEC196480BA407A3),
(58773,'Win','x64','WoW',0x648474DEE9F16AF1C02BD63F7F3E9B01),
(58773,'Win','x64','WoWC',0x362C80C4498FFA1DE3CC0AF243E1337A),
(58867,'Mac','A64','WoW',0x0BA2958770DFBFDB933851A4AADB4950),
(58867,'Mac','A64','WoWC',0x0D747A5931DF5B155B5CC4892D63E1D8),
(58867,'Mac','x64','WoW',0xA3696DF215AAB11F4F340C5C4393FB89),
(58867,'Mac','x64','WoWC',0xB7C65FC1DA519ED5304019262FEFEFA6),
(58867,'Win','A64','WoW',0xEF8C2258197FDBC6DA5C39699BDEB7A1),
(58867,'Win','x64','WoW',0x7C1627A7325C57FAD21A29D57BBF80A6),
(58867,'Win','x64','WoWC',0x3F8E07E581847B644D6F76489477540D),
(58911,'Mac','A64','WoW',0xDEE67D3A0C9D8EDD5A94C7BD8FA1E657),
(58911,'Mac','A64','WoWC',0x6D3C242B3C76686FEEE9B18444C113C7),
(58911,'Mac','x64','WoW',0x78D3576614AED3DE8FB8C90AFF838F3B),
(58911,'Mac','x64','WoWC',0xA4C80CDBC805A19FAB8EF1BAA483DB9A),
(58911,'Win','A64','WoW',0xF02130BA7BFF2C0292F25F3C6240B2E8),
(58911,'Win','x64','WoW',0x5EF341D9F5A27F796D5BD786A5BD5A16),
(58911,'Win','x64','WoWC',0xA9C0BEA1B7351665091E6754A0A90A16);
/*!40000 ALTER TABLE `build_auth_key` ENABLE KEYS */;
UNLOCK TABLES;
@@ -1204,7 +1294,20 @@ INSERT INTO `build_info` VALUES
(57212,11,0,5,NULL),
(57292,11,0,5,NULL),
(57388,11,0,5,NULL),
(57534,11,0,5,NULL);
(57534,11,0,5,NULL),
(57637,11,0,5,NULL),
(57689,11,0,5,NULL),
(58123,11,0,7,NULL),
(58162,11,0,7,NULL),
(58187,11,0,7,NULL),
(58238,11,0,7,NULL),
(58533,11,0,7,NULL),
(58608,11,0,7,NULL),
(58630,11,0,7,NULL),
(58680,11,0,7,NULL),
(58773,11,0,7,NULL),
(58867,11,0,7,NULL),
(58911,11,0,7,NULL);
/*!40000 ALTER TABLE `build_info` ENABLE KEYS */;
UNLOCK TABLES;
@@ -2816,7 +2919,7 @@ CREATE TABLE `realmlist` (
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
`population` float NOT NULL DEFAULT '0',
`gamebuild` int unsigned NOT NULL DEFAULT '57534',
`gamebuild` int unsigned NOT NULL DEFAULT '58911',
`Region` tinyint unsigned NOT NULL DEFAULT '1',
`Battlegroup` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
@@ -2831,7 +2934,7 @@ CREATE TABLE `realmlist` (
LOCK TABLES `realmlist` WRITE;
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
INSERT INTO `realmlist` VALUES
(1,'Trinity','127.0.0.1','127.0.0.1',NULL,NULL,'255.255.255.0',8085,0,0,1,0,0,57534,1,1);
(1,'Trinity','127.0.0.1','127.0.0.1',NULL,NULL,'255.255.255.0',8085,0,0,1,0,0,58911,1,1);
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3301,7 +3404,19 @@ INSERT INTO `updates` VALUES
('2024_11_11_00_auth.sql','F47CDFB857DB4105306739AF4FBBB3C92CA43363','ARCHIVED','2024-11-11 13:34:09',0),
('2024_11_12_00_auth.sql','5A236A557291758C0F2C46FDEC02692E7C53F751','ARCHIVED','2024-11-12 11:42:13',0),
('2024_11_14_00_auth.sql','646A438FAD5A83D80DCDDEDC71BB6CF21A1FE490','ARCHIVED','2024-11-14 10:29:52',0),
('2024_11_16_00_auth.sql','94794542B3320D76E4A3615DB2418EEF38BDFEA1','ARCHIVED','2024-11-16 21:57:39',0);
('2024_11_16_00_auth.sql','94794542B3320D76E4A3615DB2418EEF38BDFEA1','ARCHIVED','2024-11-16 21:57:39',0),
('2024_11_20_00_auth.sql','444C765DD16E9B70C1D1163155238E8EE481B17D','ARCHIVED','2024-11-20 20:39:53',0),
('2024_12_18_00_auth.sql','1F3145F30A79FEE13F5CD9817F54FAFA9A85DEE6','ARCHIVED','2024-12-18 22:04:44',0),
('2024_12_19_00_auth.sql','B01D54F8420CF680F0DDA903210028F0174E310D','ARCHIVED','2024-12-19 11:32:53',0),
('2024_12_21_00_auth.sql','9DA5E7911D231D46FE9630D20BDD4AEA0B3CF650','ARCHIVED','2024-12-21 01:03:37',0),
('2024_12_22_00_auth.sql','6FDF0ABE9952CC96BE04A6BAA0F1161900B4AB88','ARCHIVED','2024-12-22 02:56:17',0),
('2025_01_11_00_auth.sql','B32F963095657E8877F3C1EEBB09C8AED55EEECC','RELEASED','2025-01-11 10:51:47',0),
('2025_01_15_00_auth.sql','8EA1C0A88F6F1EC3DA67DA01CDCF056A530DBB5F','RELEASED','2025-01-15 00:44:53',0),
('2025_01_15_01_auth.sql','885A553B190CCD7A22791AF4EC3BC15C43DDC2D2','RELEASED','2025-01-15 10:27:39',0),
('2025_01_22_00_auth.sql','E08C40B02DB391DC1A478B6C714FDDDDB144F24F','RELEASED','2025-01-22 20:58:45',0),
('2025_01_29_00_auth.sql','7334CFE779D5F79AFAC8EA269950FC07E625810F','RELEASED','2025-01-29 12:57:32',0),
('2025_01_31_00_auth.sql','DF2640D25C15E41358C1ED46B4F86043583FC8FB','RELEASED','2025-01-31 11:51:23',0),
('2025_02_03_00_auth.sql','87033116EF72051499AF23FE14545D828F5A9B59','RELEASED','2025-02-03 22:51:31',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3445,4 +3560,4 @@ SET character_set_client = @saved_cs_client;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-11-16 21:57:41
-- Dump completed on 2024-12-22 2:56:19
+30 -2
View File
@@ -1401,6 +1401,31 @@ LOCK TABLES `character_queststatus_objectives_criteria_progress` WRITE;
/*!40000 ALTER TABLE `character_queststatus_objectives_criteria_progress` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `character_queststatus_objectives_spawn_tracking`
--
DROP TABLE IF EXISTS `character_queststatus_objectives_spawn_tracking`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_objectives_spawn_tracking` (
`guid` bigint unsigned NOT NULL,
`quest` int unsigned NOT NULL,
`objective` tinyint unsigned NOT NULL DEFAULT '0',
`spawnTrackingId` int unsigned NOT NULL,
PRIMARY KEY (`guid`,`quest`,`objective`,`spawnTrackingId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `character_queststatus_objectives_spawn_tracking`
--
LOCK TABLES `character_queststatus_objectives_spawn_tracking` WRITE;
/*!40000 ALTER TABLE `character_queststatus_objectives_spawn_tracking` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_queststatus_objectives_spawn_tracking` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `character_queststatus_rewarded`
--
@@ -3751,7 +3776,10 @@ INSERT INTO `updates` VALUES
('2024_09_23_00_characters.sql','D8491BCEE728F40D55D47E3A4BC5A5F083EBD02E','ARCHIVED','2024-09-23 22:48:10',0),
('2024_10_03_00_characters.sql','408249A6992999A36EB94089D184972E8E0767A3','ARCHIVED','2024-10-03 11:10:18',0),
('2024_11_04_00_characters.sql','F7980E0CEE728FF866703693690F76F932E7C764','ARCHIVED','2024-11-04 17:14:03',0),
('2024_11_16_00_characters.sql','9D9D87FB8DEB99F074EB499A5BD230FD9C993669','ARCHIVED','2024-11-16 21:57:39',0);
('2024_11_16_00_characters.sql','9D9D87FB8DEB99F074EB499A5BD230FD9C993669','ARCHIVED','2024-11-16 21:57:39',0),
('2024_12_13_00_characters.sql','4A00C51BA33639F5555AAE40EC672AE47126F7B6','ARCHIVED','2024-12-13 00:17:03',0),
('2024_12_22_00_characters.sql','A2F24564430C5BCC96C279E843FA3548B1F831EE','ARCHIVED','2024-12-22 02:56:17',0),
('2025_01_04_00_characters.sql','403E8B642A67765A04A0A4D5BC0752288208079C','RELEASED','2025-01-04 16:31:39',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3879,4 +3907,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-11-16 21:57:41
-- Dump completed on 2024-12-22 2:56:19
+60 -3
View File
@@ -1367,7 +1367,7 @@ CREATE TABLE `broadcast_text` (
`LanguageID` int NOT NULL DEFAULT '0',
`ConditionID` int NOT NULL DEFAULT '0',
`EmotesID` smallint unsigned NOT NULL DEFAULT '0',
`Flags` tinyint unsigned NOT NULL DEFAULT '0',
`Flags` smallint unsigned NOT NULL DEFAULT '0',
`ChatBubbleDurationMs` int unsigned NOT NULL DEFAULT '0',
`VoiceOverPriorityID` int NOT NULL DEFAULT '0',
`SoundKitID1` int unsigned NOT NULL DEFAULT '0',
@@ -2574,6 +2574,22 @@ CREATE TABLE `creature_family_locale` (
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB) */;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `creature_label`
--
DROP TABLE IF EXISTS `creature_label`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `creature_label` (
`ID` int unsigned NOT NULL DEFAULT '0',
`LabelID` int NOT NULL DEFAULT '0',
`CreatureDifficultyID` 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;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `creature_model_data`
--
@@ -3486,6 +3502,22 @@ CREATE TABLE `gameobject_display_info` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `gameobject_label`
--
DROP TABLE IF EXISTS `gameobject_label`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gameobject_label` (
`ID` int unsigned NOT NULL DEFAULT '0',
`LabelID` int NOT NULL DEFAULT '0',
`GameObjectID` 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;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `gameobjects`
--
@@ -5966,6 +5998,9 @@ CREATE TABLE `lfg_dungeons` (
`MinCountTank` tinyint unsigned NOT NULL DEFAULT '0',
`MinCountHealer` tinyint unsigned NOT NULL DEFAULT '0',
`MinCountDamage` tinyint unsigned NOT NULL DEFAULT '0',
`MaxPremadeCountTank` tinyint unsigned NOT NULL DEFAULT '0',
`MaxPremadeCountHealer` tinyint unsigned NOT NULL DEFAULT '0',
`MaxPremadeCountDamage` tinyint unsigned NOT NULL DEFAULT '0',
`BonusReputationAmount` smallint unsigned NOT NULL DEFAULT '0',
`MentorItemLevel` smallint unsigned NOT NULL DEFAULT '0',
`MentorCharLevel` tinyint unsigned NOT NULL DEFAULT '0',
@@ -6311,8 +6346,8 @@ DROP TABLE IF EXISTS `map_difficulty`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `map_difficulty` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`ID` int unsigned NOT NULL DEFAULT '0',
`DifficultyID` int NOT NULL DEFAULT '0',
`LockID` int NOT NULL DEFAULT '0',
`ResetInterval` tinyint unsigned NOT NULL DEFAULT '0',
@@ -6517,6 +6552,24 @@ CREATE TABLE `mount_capability` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `mount_equipment`
--
DROP TABLE IF EXISTS `mount_equipment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `mount_equipment` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Item` int NOT NULL DEFAULT '0',
`BuffSpell` int NOT NULL DEFAULT '0',
`Unknown820` int NOT NULL DEFAULT '0',
`LearnedBySpell` 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;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `mount_locale`
--
@@ -6839,6 +6892,8 @@ CREATE TABLE `player_condition` (
`ID` int unsigned NOT NULL DEFAULT '0',
`RaceMask` bigint NOT NULL DEFAULT '0',
`FailureDescription` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`MinLevel` smallint unsigned NOT NULL DEFAULT '0',
`MaxLevel` smallint unsigned NOT NULL DEFAULT '0',
`ClassMask` int NOT NULL DEFAULT '0',
`SkillLogic` int unsigned NOT NULL DEFAULT '0',
`LanguageID` int NOT NULL DEFAULT '0',
@@ -10740,6 +10795,8 @@ CREATE TABLE `vignette` (
`VignetteType` tinyint NOT NULL DEFAULT '0',
`RewardQuestID` int NOT NULL DEFAULT '0',
`UiWidgetSetID` int NOT NULL DEFAULT '0',
`UiMapPinInfoID` int NOT NULL DEFAULT '0',
`ObjectiveType` tinyint NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -10904,4 +10961,4 @@ CREATE TABLE `world_state_expression` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-11-16 21:57:45
-- Dump completed on 2024-12-22 2:56:24
+2 -2
View File
@@ -1630,7 +1630,7 @@ CREATE TABLE `game_tele` (
`map` smallint unsigned NOT NULL DEFAULT '0',
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2183 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Tele Command';
) ENGINE=InnoDB AUTO_INCREMENT=2189 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Tele Command';
/*!40101 SET character_set_client = @saved_cs_client */;
--
@@ -4983,4 +4983,4 @@ CREATE TABLE `world_state` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-11-16 21:57:43
-- Dump completed on 2024-12-22 2:56:21
@@ -0,0 +1,38 @@
DELETE FROM `build_info` WHERE `build` IN (57637,57689);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(57637,11,0,5,NULL),
(57689,11,0,5,NULL);
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57637 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=57689 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(57637,'Mac','A64','WoW',0x25DB682BB3B56D01B3780C446811956E),
(57637,'Mac','A64','WoWC',0x722FCA435AE1E916A4D96EDF8DDCFB3B),
(57637,'Mac','x64','WoW',0xCBB255E59E1031F8CBEB098D26B8E2FA),
(57637,'Mac','x64','WoWC',0x8DA67ECB7268B7FE759CE94F13165B32),
(57637,'Win','A64','WoW',0x4B39C74A7035B6A1C799F0F4FC6735D2),
(57637,'Win','x64','WoW',0x6C4185E973C9CB8382D3721AF1060C66),
(57637,'Win','x64','WoWC',0x71B57F027872393C902BDCBBDDC43A26),
(57689,'Mac','A64','WoW',0x5D064F1364C285F07FF804DCE98A6CC5),
(57689,'Mac','A64','WoWC',0xAB3DF8B79F5BAE839764988EE6530101),
(57689,'Mac','x64','WoW',0x988459790B4B38301350BE4286F979A2),
(57689,'Mac','x64','WoWC',0xCA7AD91741F8E2063CE227D475247212),
(57689,'Win','A64','WoW',0x4910E2142A21616934CD4D714691748C),
(57689,'Win','x64','WoW',0x93B4E50E651A28D8CC4E7CE7447901F6),
(57689,'Win','x64','WoWC',0x6AEDD8258D4E9701F737CBA852728A74);
UPDATE `realmlist` SET `gamebuild`=57689 WHERE `gamebuild` IN (57534,57637);
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '57689';
@@ -0,0 +1,38 @@
DELETE FROM `build_info` WHERE `build` IN (58123,58162);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58123,11,0,7,NULL),
(58162,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58123 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58162 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58123,'Mac','A64','WoW',0x7C63CE8A068940D4D019C7CF999E3DC7),
(58123,'Mac','A64','WoWC',0xCF2625300DA905CC9B6D10379C58B590),
(58123,'Mac','x64','WoW',0x1B68981860A6EB24BEAA070FD022B3B9),
(58123,'Mac','x64','WoWC',0x3037FB1C6A73F7468DD11180000BB133),
(58123,'Win','A64','WoW',0x84B75C8F0FF380C3B3970EB63AFB4962),
(58123,'Win','x64','WoW',0x29050AA0D62EF99634CCB7B5F9F6AC1E),
(58123,'Win','x64','WoWC',0x2D5EEEAB57AFFE31856D0DEAC73944DA),
(58162,'Mac','A64','WoW',0x086BB93AF9122791E6CDA58A5F20AAC1),
(58162,'Mac','A64','WoWC',0x280BD3A4F223E1D8F3CF893BBFAEFBC5),
(58162,'Mac','x64','WoW',0x47586B32BD556FA08C966D7F4FC9FF24),
(58162,'Mac','x64','WoWC',0xE861315673972C1B986650C1242196FE),
(58162,'Win','A64','WoW',0x5B1F97D43762F0F1BEC75E99CDD18D35),
(58162,'Win','x64','WoW',0xDA3B48B9A60F4486F27BA9D8858D5688),
(58162,'Win','x64','WoWC',0x25146ED771DC629F2B8CF58126BA562C);
UPDATE `realmlist` SET `gamebuild`=58162 WHERE `gamebuild` IN (57689,58123);
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58162';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58187);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58187,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58187 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58187,'Mac','A64','WoW',0x88D993926D777DC12059988E009A73D6),
(58187,'Mac','A64','WoWC',0x9E794FD5CD76EFF400837338876BA64F),
(58187,'Mac','x64','WoW',0xDE1377202943C1155607090CF884FF66),
(58187,'Mac','x64','WoWC',0xE7777DCE18DB45B7ED3E7ADF23BCB1CB),
(58187,'Win','A64','WoW',0xFFEAC8B1B547FD10EFCA8BCF30DF9F51),
(58187,'Win','x64','WoW',0xD92C35D6904B0945992B0801E53822E7),
(58187,'Win','x64','WoWC',0x8AC21CC640359F276C2F6153FAA28638);
UPDATE `realmlist` SET `gamebuild`=58187 WHERE `gamebuild`=58162;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58187';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58238);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58238,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58238 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58238,'Mac','A64','WoW',0x87705176E4D29CD7DCA47A3DB8B20CE9),
(58238,'Mac','A64','WoWC',0xEC7206B740D162429B4ACCC637132C3D),
(58238,'Mac','x64','WoW',0x1A40852B2F5EEEE2EB80497B691C88AF),
(58238,'Mac','x64','WoWC',0x48E25221E6F84CA49685B91B96E1345A),
(58238,'Win','A64','WoW',0x6AA610F0820BE535EA7017E4C5BD857B),
(58238,'Win','x64','WoW',0x9D91F6D23C62F0CB538D8D4E4BAA4FC1),
(58238,'Win','x64','WoWC',0x7B4A168DADC9A598A40794D6165EA95C);
UPDATE `realmlist` SET `gamebuild`=58238 WHERE `gamebuild`=58187;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58238';
@@ -0,0 +1 @@
DELETE FROM `character_achievement_progress` WHERE `criteria` IN (55223,55224,55225,57642,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,66145,66146);
@@ -0,0 +1,13 @@
--
-- Table structure for table `mount_equipment`
--
DROP TABLE IF EXISTS `mount_equipment`;
CREATE TABLE `mount_equipment` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Item` int NOT NULL DEFAULT '0',
`BuffSpell` int NOT NULL DEFAULT '0',
`Unknown820` int NOT NULL DEFAULT '0',
`LearnedBySpell` 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;
@@ -0,0 +1,23 @@
--
-- Table structure for table `creature_label`
--
DROP TABLE IF EXISTS `creature_label`;
CREATE TABLE `creature_label` (
`ID` int unsigned NOT NULL DEFAULT '0',
`LabelID` int NOT NULL DEFAULT '0',
`CreatureDifficultyID` 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;
--
-- Table structure for table `gameobject_label`
--
DROP TABLE IF EXISTS `gameobject_label`;
CREATE TABLE `gameobject_label` (
`ID` int unsigned NOT NULL DEFAULT '0',
`LabelID` int NOT NULL DEFAULT '0',
`GameObjectID` 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;
@@ -0,0 +1,16 @@
ALTER TABLE `broadcast_text` MODIFY `Flags` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `EmotesID`;
ALTER TABLE `lfg_dungeons`
ADD `MaxPremadeCountTank` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `MinCountDamage`,
ADD `MaxPremadeCountHealer` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `MaxPremadeCountTank`,
ADD `MaxPremadeCountDamage` tinyint UNSIGNED NOT NULL DEFAULT 0 AFTER `MaxPremadeCountHealer`;
ALTER TABLE `map_difficulty` MODIFY `ID` int UNSIGNED NOT NULL DEFAULT 0 AFTER `Message`;
ALTER TABLE `player_condition`
ADD `MinLevel` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `FailureDescription`,
ADD `MaxLevel` smallint UNSIGNED NOT NULL DEFAULT 0 AFTER `MinLevel`;
ALTER TABLE `vignette`
ADD `UiMapPinInfoID` int NOT NULL DEFAULT 0 AFTER `UiWidgetSetID`,
ADD `ObjectiveType` tinyint NOT NULL DEFAULT 0 AFTER `UiMapPinInfoID`;
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
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (469172);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(469172,0x00,15,0x00000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x0,0x1,0x0,0x8,0x0,0,0,0,0); -- Reaper of Souls
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dk_soul_reaper';
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dk_soul_reaper_reaper_of_souls';
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dk_reaper_of_souls';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(343294, 'spell_dk_soul_reaper'),
(469180, 'spell_dk_soul_reaper_reaper_of_souls'),
(343294, 'spell_dk_reaper_of_souls');
@@ -0,0 +1,5 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_comfortable_riders_barding';
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_saddlechute';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(296837, 'spell_gen_comfortable_riders_barding'),
(297091, 'spell_gen_saddlechute');
@@ -0,0 +1,90 @@
SET @CGUID := 4000252;
SET @CONDREFID := 40003;
-- Creature templates
DELETE FROM `creature_template_addon` WHERE `entry` IN (55789);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(55789, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 55789 (Rell Nightwind)
-- Difficulties
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0x10080000, `VerifiedBuild`=57534 WHERE (`Entry`=55789 AND `DifficultyID`=0); -- 55789 (Rell Nightwind) - Amphibious, CanSwim
DELETE FROM `creature_template_difficulty` WHERE `Entry` IN (55789) AND `DifficultyID`=1;
-- Creature spawns
DELETE FROM `creature` WHERE `guid`=395264 AND `id`=55789;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 55789, 0, 1519, 1519, '0', 1687, 0, 0, 0, -8458.5244140625, 352.993072509765625, 135.6565399169921875, 5.409669876098632812, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534); -- Rell Nightwind (Area: Stormwind City - Difficulty: 0) CreateObject1
-- Quests
DELETE FROM `ui_map_quest_line` WHERE (`QuestLineId`=1379 AND `UIMapId` IN (36,37));
INSERT INTO `ui_map_quest_line` (`UIMapId`, `QuestLineId`, `VerifiedBuild`) VALUES
(36, 1379, 57534),
(37, 1379, 57534);
UPDATE `ui_map_quest_line` SET `VerifiedBuild`=57534 WHERE (`UIMapId`=36 AND `QuestLineId` IN (947,433,402,396,386)) OR (`UIMapId`=37 AND `QuestLineId` IN (5593,5570,5519,5513,5511,5482,5458,5382,5377,5372,1323,1289,1276,1217,1128,1030,1000,972,957,929,926,916,858,797,781,737,637,635,576,575,566,547,546,539,533,532,526,425,402,347,346,300,289,262,259,240,198,131,1226,589,421));
UPDATE `ui_map_quest_line` SET `VerifiedBuild`=57534 WHERE (`UIMapId`=49 AND `QuestLineId` IN (1090,433,426,289)) OR (`UIMapId`=84 AND `QuestLineId` IN (5593,5519,5513,5511,5497,5482,5458,5382,5377,5372,1379,1289,1276,1128,1030,1000,972,957,929,926,916,858,797,781,737,637,635,576,575,547,546,539,533,532,526,347,346,300,289,262,259,240,198,131,589,421));
DELETE FROM `quest_details` WHERE `ID` IN (60965 /*Mists of Pandaria: Onward to Adventure in Pandaria*/, 49556 /*Hero's Call: Jade Forest!*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(60965, 0, 0, 0, 0, 0, 0, 0, 0, 57534), -- Mists of Pandaria: Onward to Adventure in Pandaria
(49556, 0, 0, 0, 0, 0, 0, 0, 0, 57534); -- Hero's Call: Jade Forest!
UPDATE `quest_details` SET `VerifiedBuild`=57534 WHERE `ID` IN (29547, 26365, 60125);
DELETE FROM `quest_offer_reward` WHERE `ID`=60965;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(60965, 0, 0, 0, 0, 0, 0, 0, 0, '<Quilen, tigers, and virmen... oh my! Time to see what Pandaria has to offer.>', 57534); -- Mists of Pandaria: Onward to Adventure in Pandaria
UPDATE `quest_offer_reward` SET `VerifiedBuild`=57534 WHERE `ID` IN (29547, 28716, 60125, 49556);
UPDATE `creature_queststarter` SET `VerifiedBuild`=57534 WHERE (`id`=1750 AND `quest`=29547);
DELETE FROM `creature_questender` WHERE (`id`=54870 AND `quest` IN (29854,29857));
DELETE FROM `creature_questender` WHERE (`id`=55789 AND `quest` IN (49556,49866));
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(55789, 49556, 57534),
(55789, 49866, 57534);
UPDATE `creature_questender` SET `VerifiedBuild`=57534 WHERE (`id`=55789 AND `quest` IN (29547,60125));
DELETE FROM `quest_template_addon` WHERE `ID` IN (29548, 29547, 49556, 49866, 60125);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(29547, 0, 0, 175344, 0, 29548, 29547, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(49556, 0, 0, 175344, 0, 29548, 29547, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(49866, 0, 0, 175344, 0, 29548, 29547, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
(60125, 0, 0, 175344, 0, 29548, 29547, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '');
DELETE FROM `disables` WHERE `sourceType`=1 AND `entry`=49866;
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(1,49866,0,'','','Deprecated quest: Mists of Pandaria: To Pandaria!');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND`SourceEntry`=29547;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19,0,29547,0,0,56,0,85466,0,0,'',0,0,0,'','Show quest 29547 if PlayerCondition 85466 is satisfied');
DELETE FROM `quest_greeting` WHERE (`ID`=1750 AND `Type`=0);
INSERT INTO `quest_greeting` (`ID`, `Type`, `GreetEmoteType`, `GreetEmoteDelay`, `Greeting`, `VerifiedBuild`) VALUES
(1750, 0, 0, 0, '', 57534); -- 1750
-- Phases
DELETE FROM `phase_area` WHERE `PhaseId`=1687;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(1519, 1687, 'Stormwind City: See Rell Nightwind');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=26 AND `SourceGroup`=1687;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (-3,-@CONDREFID);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(26,1687,0,0,0,-@CONDREFID,0,0,0,0,'',1,0,0,'','Apply phase 1687 if condition reference 40003 is not fulfilled'),
(-@CONDREFID,0,0,0,0,47,0,29547,66,0,'',1,0,0,'','Apply condition reference if quest 29547 is not complete | rewarded'),
(-@CONDREFID,0,0,0,0,47,0,49556,66,0,'',1,0,0,'','Apply condition reference if quest 49556 is not complete | rewarded'),
(-@CONDREFID,0,0,0,0,47,0,49866,66,0,'',1,0,0,'','Apply condition reference if quest 49866 is not complete | rewarded'),
(-@CONDREFID,0,0,0,0,47,0,60125,66,0,'',1,0,0,'','Apply condition reference if quest 60125 is not complete | rewarded'),
(-@CONDREFID,0,0,0,1,47,0,29548,64,0,'',0,0,0,'','Apply condition reference if quest 29548 is rewarded');
-- Smart scripts
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=55789;
DELETE FROM `smart_scripts` WHERE `entryorguid`=55789 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
(55789,0,0,0,'',11,0,100,0,0,0,0,0,0,'',11,132606,0,0,0,0,0,0,NULL,1,0,0,0,0,NULL,0,0,0,0,'Rell Nightwind - On respawn - Cast ''Summon Collision Object''');
@@ -0,0 +1,375 @@
SET @CGUID := 10004462;
SET @OGUID := 10001058;
SET @NPCTEXTID := 600038;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+39;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5812.705078125, -3027.619873046875, 210.525146484375, 4.444715023040771484, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 392617 - Dragonspawn Channel Omni 50%, Blue [DNT])
(@CGUID+1, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5801.19091796875, -3038.998291015625, 210.579681396484375, 1.730684518814086914, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT])
(@CGUID+2, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5815.765625, -3068.510498046875, 211.6707763671875, 3.692539453506469726, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+3, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5779.41650390625, -3038.338623046875, 210.517425537109375, 2.54568791389465332, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+4, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5769.02197265625, -3066.76171875, 211.7526397705078125, 3.657093763351440429, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+5, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5811.5703125, -3091.592041015625, 211.7563934326171875, 5.914660930633544921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+6, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5788.3818359375, -2991.91845703125, 210.517425537109375, 0.471630364656448364, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel)
(@CGUID+7, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5785.6259765625, -3042.078125, 210.517425537109375, 1.560038208961486816, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+8, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5772.4296875, -3087.0400390625, 211.69256591796875, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+9, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5720.4599609375, -2996.00341796875, 211.63836669921875, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+10, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5829.27978515625, -3040.20654296875, 211.5830841064453125, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+11, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5777.384765625, -3012.901123046875, 210.623443603515625, 2.855153560638427734, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+12, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5811.8818359375, -3084.1494140625, 211.54327392578125, 3.634238481521606445, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel)
(@CGUID+13, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5751.52001953125, -3040.314208984375, 210.750335693359375, 3.703835725784301757, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+14, 231436, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5847.1943359375, -3022.866455078125, 251.130401611328125, 3.132126808166503906, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Stasis-Locked Obsidian Warder (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465756 - Stasis Dracthyr - Spawn Aura, 362331 - Stasis)
(@CGUID+15, 231436, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5724.29248046875, -3046.75341796875, 211.5432586669921875, 0.467626571655273437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Stasis-Locked Obsidian Warder (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465756 - Stasis Dracthyr - Spawn Aura, 362331 - Stasis)
(@CGUID+16, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5762.76220703125, -3004.56591796875, 210.517425537109375, 2.273596525192260742, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel)
(@CGUID+17, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5768.22412109375, -2982.927001953125, 211.777374267578125, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+18, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5820.85693359375, -3006.520751953125, 210.743621826171875, 3.882602214813232421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT])
(@CGUID+19, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5820.70068359375, -3009.423583984375, 210.731292724609375, 1.935643672943115234, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT])
(@CGUID+20, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5802.1962890625, -3045.739501953125, 210.517425537109375, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+21, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5812.09912109375, -2999.84716796875, 210.7043914794921875, 1.859863758087158203, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel)
(@CGUID+22, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5823.62841796875, -3019.432373046875, 210.9457244873046875, 3.118480682373046875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 374153 - Channel: Read Floating Book (Dragon) [DNT])
(@CGUID+23, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5807.37060546875, -3086.27783203125, 211.543243408203125, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+24, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5806.2568359375, -3043.723876953125, 210.517425537109375, 2.141343355178833007, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+25, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5803.2490234375, -3038.720458984375, 210.517425537109375, 2.316331863403320312, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT])
(@CGUID+26, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5807.81005859375, -2994.116455078125, 210.8588409423828125, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+27, 229075, 2785, 15509, 15510, '0', 24727, 0, 0, 0, 5751.6162109375, -3023.958251953125, 250.304931640625, 3.106686115264892578, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Scalecommander Emberthal (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+28, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5810.99560546875, -3013.853759765625, 210.4547882080078125, 1.935326814651489257, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 386797 - Channel: Carry Explorers League Supplies (Crate,Barrel,Jug,Scrolls) [DNT])
(@CGUID+29, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5765.26904296875, -3088.19091796875, 211.543243408203125, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+30, 231436, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5827.681640625, -2981.892333984375, 251.1304168701171875, 3.873660087585449218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Stasis-Locked Obsidian Warder (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465756 - Stasis Dracthyr - Spawn Aura, 362331 - Stasis)
(@CGUID+31, 231436, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5842.18994140625, -3041.23779296875, 211.543304443359375, 3.077945232391357421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Stasis-Locked Obsidian Warder (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465756 - Stasis Dracthyr - Spawn Aura, 362331 - Stasis)
(@CGUID+32, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5759.38623046875, -3073.125, 211.5432586669921875, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+33, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5817.931640625, -3007.40625, 210.714141845703125, 0.014193050563335418, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT])
(@CGUID+34, 230635, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5731.1474609375, -3010.123291015625, 211.543243408203125, 3.703835964202880859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Enchanted Broom (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+35, 230648, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5740.552734375, -3005.154052734375, 211.653839111328125, 2.714114189147949218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Obsidian Warder Custodian (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura)
(@CGUID+36, 231544, 2785, 15509, 15510, '0', 24739, 0, 0, 0, 5810.86474609375, -3036.953125, 210.517425537109375, 2.34015965461730957, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Scalecommander Cindrethresh (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+37, 231436, 2785, 15509, 15510, '0', 0, 0, 0, 0, 5828.64501953125, -3065.22216796875, 251.130340576171875, 2.295064687728881835, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Stasis-Locked Obsidian Warder (Area: The War Creche - Difficulty: 0) CreateObject1 (Auras: 465756 - Stasis Dracthyr - Spawn Aura, 362331 - Stasis)
(@CGUID+38, 231540, 2785, 15509, 15510, '0', 24740, 0, 0, 0, 5810.6103515625, -3036.677001953125, 210.517425537109375, 2.320264101028442382, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534), -- Scalecommander Azurathel (Area: The War Creche - Difficulty: 0) CreateObject1
(@CGUID+39, 229075, 2785, 15509, 15510, '0', 24726, 0, 0, 0, 5777.5380859375, -3024.177001953125, 210.498260498046875, 0.084208622574806213, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57534); -- Scalecommander Emberthal (Area: The War Creche - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+39;
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, 0, 0, 0, 0, 0, '465709 465695 392617'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 392617 - Dragonspawn Channel Omni 50%, Blue [DNT]
(@CGUID+1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 364146'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT]
(@CGUID+3, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
(@CGUID+4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
(@CGUID+6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
(@CGUID+11, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
(@CGUID+12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel
(@CGUID+16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 364146'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT]
(@CGUID+19, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 364146'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT]
(@CGUID+21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 267221 - Kneel/Use Standing Channel
(@CGUID+22, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 374153'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 374153 - Channel: Read Floating Book (Dragon) [DNT]
(@CGUID+24, 0, 0, 0, 0, 0, 1, 0, 569, 0, 0, 0, 0, '465709 465695'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
(@CGUID+25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 364146'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT]
(@CGUID+33, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695 364146'), -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura, 364146 - Channel: Drink Bottle (SitGround) [DNT]
(@CGUID+35, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '465709 465695'); -- Obsidian Warder Custodian - 465709 - Dracthyr Custodian - Spawn Aura - Alliance, 465695 - Dracthyr Custodian - Spawn Aura
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+22;
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, 377591, 2785, 15509, 15510, '0', 0, 0, 5797.75927734375, -2897.719482421875, 207.07818603515625, 6.03359079360961914, 0, 0, -0.12447357177734375, 0.992222905158996582, 120, 255, 1, 57534), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+1, 377596, 2785, 15509, 15510, '0', 0, 0, 5794.10498046875, -3093.44287109375, 263.763824462890625, 2.167680978775024414, 0, 0, 0.883761405944824218, 0.467937797307968139, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+2, 377601, 2785, 15509, 15510, '0', 0, 0, 5712.94287109375, -3023.697509765625, 263.107757568359375, 6.225575447082519531, 0, 0, -0.02880096435546875, 0.999585151672363281, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+3, 377599, 2785, 15509, 15510, '0', 0, 0, 5734.8740234375, -3075.489990234375, 263.107757568359375, 0.736512541770935058, 0, 0, 0.359989166259765625, 0.932956516742706298, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+4, 377592, 2785, 15509, 15510, '0', 0, 0, 5814.96630859375, -3086.807373046875, 211.436279296875, 6.03359079360961914, 0, 0, -0.12447357177734375, 0.992222905158996582, 120, 255, 1, 57534), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+5, 377594, 2785, 15509, 15510, '0', 0, 0, 5779.7666015625, -3093.101318359375, 263.763824462890625, 0.902321338653564453, 0, 0, 0.436010360717773437, 0.899941682815551757, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+6, 378891, 2785, 15509, 15510, '0', 0, 0, 5808.0087890625, -2990.225830078125, 210.8043365478515625, 5.112595081329345703, 0, 0, -0.5524454116821289, 0.833549082279205322, 120, 255, 1, 57534), -- Explorer's Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+7, 375503, 2785, 15509, 15510, '0', 0, 0, 5736.240234375, -3035.570068359375, 252.6009979248046875, 2.157087326049804687, 0, 0, 0.881270408630371093, 0.472612351179122924, 120, 255, 1, 57534), -- Edict: Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+8, 462378, 2785, 15509, 15510, '0', 0, 0, 5802.96337890625, -2981.385498046875, 209.9539337158203125, 1.257520079612731933, 0, 0, 0.58814239501953125, 0.808757364749908447, 120, 255, 1, 57534), -- Door (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+9, 376748, 2785, 15509, 15510, '0', 0, 0, 5803.82666015625, -2991.28125, 210.6916961669921875, 5.112595081329345703, 0, 0, -0.5524454116821289, 0.833549082279205322, 120, 255, 1, 57534), -- Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+10, 381460, 2785, 15509, 15510, '0', 0, 0, 5758.86474609375, -3067.986083984375, 211.6034698486328125, 5.269672393798828125, 0, 0, -0.48534393310546875, 0.87432330846786499, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+11, 381460, 2785, 15509, 15510, '0', 0, 0, 5742.40185546875, -2995.270751953125, 211.6260528564453125, 3.541172981262207031, 0, 0, -0.98010826110839843, 0.198463648557662963, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+12, 376744, 2785, 15509, 15510, '0', 0, 0, 5803.4599609375, -2989.03466796875, 210.719879150390625, 0, 0, 0, 0, 1, 120, 255, 1, 57534), -- Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+13, 381460, 2785, 15509, 15510, '0', 0, 0, 5734.640625, -3016.100830078125, 251.1759490966796875, 3.33856058120727539, 0, 0, -0.99515438079833984, 0.098324738442897796, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+14, 376744, 2785, 15509, 15510, '0', 0, 0, 5806.13037109375, -2991.045166015625, 210.7659454345703125, 5.400973320007324218, 0, 0, -0.42693996429443359, 0.904279947280883789, 120, 255, 1, 57534), -- Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+15, 378891, 2785, 15509, 15510, '0', 0, 0, 5801.62744140625, -2990.32470703125, 210.6977691650390625, 5.112595081329345703, 0, 0, -0.5524454116821289, 0.833549082279205322, 120, 255, 1, 57534), -- Explorer's Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+16, 381460, 2785, 15509, 15510, '0', 0, 0, 5798.0068359375, -3074.310791015625, 211.6244659423828125, 6.005605697631835937, 0, 0, -0.13834476470947265, 0.990384101867675781, 120, 255, 1, 57534), -- Obsidian Warders (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+17, 378891, 2785, 15509, 15510, '0', 0, 0, 5804.8818359375, -2990.145751953125, 210.71173095703125, 5.112595081329345703, 0, 0, -0.5524454116821289, 0.833549082279205322, 120, 255, 1, 57534), -- Explorer's Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+18, 378891, 2785, 15509, 15510, '0', 0, 0, 5802.5166015625, -2986.454833984375, 210.7381134033203125, 5.726742744445800781, 0, 0, -0.27464580535888671, 0.961545467376708984, 120, 255, 1, 57534), -- Explorer's Crate (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+19, 467064, 2785, 15509, 15510, '0', 0, 0, 5806.5234375, -3039.369873046875, 212.0197296142578125, 5.435505867004394531, 0, 0, -0.41126346588134765, 0.911516487598419189, 120, 255, 1, 57534), -- Quest Journal (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+20, 377897, 2785, 15509, 15510, '0', 0, 0, 5901.9482421875, -2910.326171875, 207.1034393310546875, 5.143473625183105468, 0, 0, -0.53951072692871093, 0.841978728771209716, 120, 255, 1, 57534), -- Lingering Everflame (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+21, 462394, 2785, 15509, 15510, '0', 24592, 0, 5811.88037109375, -3032.545166015625, 210.4381866455078125, 5.9085235595703125, 0, 0, -0.18623733520507812, 0.982504785060882568, 120, 255, 1, 57534), -- Portal to Stormwind (Area: The War Creche - Difficulty: 0) CreateObject1
(@OGUID+22, 467029, 2785, 15509, 15510, '0', 24593, 0, 5811.88037109375, -3032.545166015625, 210.4381866455078125, 5.9085235595703125, 0, 0, -0.18623733520507812, 0.982504785060882568, 120, 255, 1, 57534); -- Portal to Orgrimmar (Area: The War Creche - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+22;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+1, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Obsidian Warders
(@OGUID+2, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Obsidian Warders
(@OGUID+3, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Obsidian Warders
(@OGUID+4, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+5, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Obsidian Warders
(@OGUID+20, 0, 0, -0.12447428703308105, 0.992222845554351806, 0, 0), -- Lingering Everflame
(@OGUID+21, 0, 0, 0, 1, 0, 16743), -- Portal to Stormwind
(@OGUID+22, 0, 0, 0, 1, 0, 16743); -- Portal to Orgrimmar
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (231436 /*231436 (Stasis-Locked Obsidian Warder) - Stasis Dracthyr - Spawn Aura, Stasis*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(231436, 0, 0, 0, 0, 0, 1, 0, 0, 23987, 0, 0, 0, '465756 362331'); -- 231436 (Stasis-Locked Obsidian Warder) - Stasis Dracthyr - Spawn Aura, Stasis
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (467029 /*Portal to Orgrimmar*/, 462394 /*Portal to Stormwind*/, 467064 /*Quest Journal*/, 376748 /*Crate*/, 376744 /*Crate*/, 378891 /*Explorer's Crate*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(467029, 0, 0x0, 0, 16743), -- Portal to Orgrimmar
(462394, 0, 0x0, 0, 16743), -- Portal to Stormwind
(467064, 0, 0x204000, 0, 0), -- Quest Journal
(376748, 1375, 0x20, 0, 0), -- Crate
(376744, 1375, 0x20, 0, 0), -- Crate
(378891, 0, 0x20, 0, 0); -- Explorer's Crate
-- Template
UPDATE `creature_template` SET `faction`=3340, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=231540; -- Scalecommander Azurathel
UPDATE `creature_template` SET `faction`=188, `npcflag`=2, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=209681; -- Squally
UPDATE `creature_template` SET `faction`=35, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x100, `unit_flags2`=0x800 WHERE `entry`=229075; -- Scalecommander Emberthal
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `unit_flags3`=0x80200 WHERE `entry`=231436; -- Stasis-Locked Obsidian Warder
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=231544; -- Scalecommander Cindrethresh
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x4000800, `unit_flags3`=0x1000000 WHERE `entry`=230635; -- Enchanted Broom
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=230648; -- Obsidian Warder Custodian
DELETE FROM `gameobject_template` WHERE `entry` IN (467064 /*Quest Journal*/, 467029 /*Portal to Orgrimmar*/, 462394 /*Portal to Stormwind*/, 470000 /*Edict: Dark Talons*/, 462378 /*Door*/);
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
(467064, 3, 74795, 'Quest Journal', 'questinteract', '', '', 1, 2124, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128210, 0, 0, 0, 0, 2991, 57534), -- Quest Journal
(467029, 22, 66649, 'Portal to Orgrimmar', 'questinteract', '', '', 1, 464441, -1, 0, 0, 0, 0, 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, 2991, 57534), -- Portal to Orgrimmar
(462394, 22, 66650, 'Portal to Stormwind', 'questinteract', '', '', 1, 461393, -1, 0, 0, 0, 0, 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, 2991, 57534), -- Portal to Stormwind
(470000, 9, 73022, 'Edict: Dark Talons', '', '', '', 2, 8606, 11, 2, 0, 0, 0, 1000, 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, 57534), -- Edict: Dark Talons
(462378, 5, 74399, 'Door', 'questinteract', '', '', 2, 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, 2799, 57534); -- Door
-- AreaTrigger
DELETE FROM `areatrigger_template` WHERE (`Id`=28332 AND `IsCustom`=0);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(28332, 0, 0, 57534);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`=24255 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `SpellForVisuals`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `VerifiedBuild`) VALUES
(24255, 0, 28332, 0, 4, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 57534); -- Spell: 362331 (Stasis)
-- Scene
DELETE FROM `scene_template` WHERE `SceneId`=3502;
INSERT INTO `scene_template` (`SceneId`, `Flags`, `ScriptPackageID`, `Encrypted`) VALUES
(3502, 0, 4373, 0);
-- Gameobject Loot
DELETE FROM `gameobject_loot_template` WHERE `Entry` = 128210;
INSERT INTO `gameobject_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(128210, 0, 229165, 100, 1, 1, 0, 1, 1, 'Quest Journal');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=231540 AND `MenuID`=36614) OR (`CreatureID`=231544 AND `MenuID`=36617) OR (`CreatureID`=229075 AND `MenuID`=36466);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(231540, 36614, 57534), -- Scalecommander Azurathel
(231544, 36617, 57534), -- Scalecommander Cindrethresh
(229075, 36466, 57534); -- Scalecommander Emberthal
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+2;
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, 272766, 0, 0, 0, 0, 0, 0, 0, 57534), -- 231540 (Scalecommander Azurathel)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 271447, 0, 0, 0, 0, 0, 0, 0, 57534), -- 229075 (Scalecommander Emberthal)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 272775, 0, 0, 0, 0, 0, 0, 0, 57534); -- 231544 (Scalecommander Cindrethresh)
DELETE FROM `gossip_menu` WHERE (`MenuID`=36614 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=36466 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=36617 AND `TextID`=@NPCTEXTID+2);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(36614, @NPCTEXTID+0, 57534), -- 231540 (Scalecommander Azurathel)
(36466, @NPCTEXTID+1, 57534), -- 229075 (Scalecommander Emberthal)
(36617, @NPCTEXTID+2, 57534); -- 231544 (Scalecommander Cindrethresh)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=36466 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(36466, 124402, 0, 0, 'What\'s happened since I slept?', 0, 0, 1, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57534);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` IN (36466));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(15, 36466, 0, 0, 0, 9, 0, 84424, 0, 0, '', 0, 'Player for which gossip text is shown has quest Forward, To Adventure! (84424) active'),
(15, 36466, 0, 0, 0, 48, 0, 453265, 0, 1, '', 1, 'Player for which gossip text is shown has quest objective 453265 == 1 (but hasn\'t rewarded quest yet)');
-- Phases
DELETE FROM `phase_name` WHERE `ID` IN (24592,24593,24740,24739,24727,24726);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(24592, 'Cosmetic - See Portal to Stormwind'),
(24593, 'Cosmetic - See Portal to Orgrimmar'),
(24740, 'Cosmetic - See Scalecommander Azurathel'),
(24739, 'Cosmetic - See Scalecommander Cindrethresh'),
(24727, 'Cosmetic - See Scalecommander Emberthal (up)'),
(24726, 'Cosmetic - See Scalecommander Emberthal (down)');
DELETE FROM `phase_area` WHERE `PhaseId` IN (24592,24593,24740,24739,24727,24726);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(15509, 24592, 'Cosmetic - See Portal to Stormwind'),
(15509, 24593, 'Cosmetic - See Portal to Orgrimmar'),
(15509, 24740, 'Cosmetic - See Scalecommander Azurathel'),
(15509, 24739, 'Cosmetic - See Scalecommander Cindrethresh)'),
(15509, 24727, 'Cosmetic - See Scalecommander Emberthal (up)'),
(15509, 24726, 'Cosmetic - See Scalecommander Emberthal (down)');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` IN (24592,24593,24740,24739,24727,24726) AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 24727, 0, 0, 0, 47, 0, 84424, 2|8|64, 0, 1, 'Apply Phase 24727 if Quest 84424 is not taken | complete | rewarded'),
(26, 24726, 0, 0, 0, 47, 0, 84424, 2|8|64, 0, 0, 'Apply Phase 24726 if Quest 84424 is taken | complete | rewarded'),
(26, 24592, 0, 0, 0, 47, 0, 84424, 2|8|64, 0, 0, 'Apply Phase 24592 if Quest 84424 is taken | complete | rewarded'),
(26, 24593, 0, 0, 0, 47, 0, 84424, 2|8|64, 0, 0, 'Apply Phase 24593 if Quest 84424 is taken | complete | rewarded'),
(26, 24740, 0, 0, 0, 6, 0, 469, 0, 0, 0, 'Apply Phase 24740 if player is Alliance'),
(26, 24739, 0, 0, 0, 6, 0, 67, 0, 0, 0, 'Apply Phase 24739 if player is Horde');
-- Quest
DELETE FROM `quest_offer_reward` WHERE `ID`=84423;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(84423, 1, 0, 0, 0, 0, 0, 0, 0, 'Welcome back to the land of the living, $c. \n\nThere is much for you to catch up on.', 57534); -- Shaking the Dust Off
DELETE FROM `quest_details` WHERE `ID` IN (82672 /*Another Timely Invitation*/, 84424 /*Forward, To Adventure!*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(82672, 0, 0, 0, 0, 0, 0, 0, 0, 57534), -- Another Timely Invitation
(84424, 1, 0, 0, 0, 0, 0, 0, 0, 57534); -- Forward, To Adventure!
DELETE FROM `creature_queststarter` WHERE (`id`=229075 AND `quest`=84424);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(229075, 84424, 57534); -- Forward, To Adventure! offered by Scalecommander Emberthal
DELETE FROM `creature_questender` WHERE (`id`=229075 AND `quest`=84423);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(229075, 84423, 57534); -- Shaking the Dust Off ended by Scalecommander Emberthal
DELETE FROM `ui_map_quest_line` WHERE (`UIMapId`=2373 AND `QuestLineId`=5676);
INSERT INTO `ui_map_quest_line` (`UIMapId`, `QuestLineId`, `VerifiedBuild`) VALUES
(2373, 5676, 57534);
DELETE FROM `ui_map_quest` WHERE (`UIMapId`=2373 AND `QuestId`=84423);
INSERT INTO `ui_map_quest` (`UIMapId`, `QuestId`, `VerifiedBuild`) VALUES
(2373, 84423, 57534); -- Shaking the Dust Off
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (107471, 111078, 107469);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(107471, 0.722000002861022949, 2, 0, 57534),
(111078, 0.866400063037872314, 2.40000009536743164, 0, 57534),
(107469, 0.722000002861022949, 2, 0, 57534);
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2991, `StaticFlags1`=0x10000000, `VerifiedBuild`=57534 WHERE (`Entry`=231540 AND `DifficultyID`=0); -- 231540 (Scalecommander Azurathel) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x30000000, `VerifiedBuild`=57534 WHERE (`Entry`=209681 AND `DifficultyID`=0); -- 209681 (Squally) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2829, `StaticFlags1`=0x10000000, `VerifiedBuild`=57534 WHERE (`Entry`=229075 AND `DifficultyID`=0); -- 229075 (Scalecommander Emberthal) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2991, `StaticFlags1`=0x10000100, `StaticFlags3`=0x40000, `VerifiedBuild`=57534 WHERE (`Entry`=231436 AND `DifficultyID`=0); -- 231436 (Stasis-Locked Obsidian Warder) - Sessile, CanSwim - AllowInteractionWhileInCombat
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2991, `StaticFlags1`=0x10000000, `VerifiedBuild`=57534 WHERE (`Entry`=231544 AND `DifficultyID`=0); -- 231544 (Scalecommander Cindrethresh) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=633, `StaticFlags3`=0x2000000, `VerifiedBuild`=57534 WHERE (`Entry`=230635 AND `DifficultyID`=0); -- 230635 (Enchanted Broom) - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2991, `StaticFlags1`=0x10000000, `VerifiedBuild`=57534 WHERE (`Entry`=230648 AND `DifficultyID`=0); -- 230648 (Obsidian Warder Custodian) - CanSwim
-- Obsidian Warder Custodian smart ai
SET @ENTRY := 230648;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` IN (-(@CGUID+6), -(@CGUID+12), -(@CGUID+16), -(@CGUID+21), -(@CGUID+22), -(@CGUID+28), -(@CGUID+35), -(@CGUID+4));
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(-(@CGUID+6), 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 267221, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 267221 on Self', ''),
(-(@CGUID+12), 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 267221, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 267221 on Self', ''),
(-(@CGUID+16), 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 267221, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 267221 on Self', ''),
(-(@CGUID+21), 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 267221, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 267221 on Self', ''),
(-(@CGUID+22), 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 374153, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On reset - Self: Cast spell 374153 on Self', ''),
(-(@CGUID+28), 0, 0, 0, 34, 0, 100, 0, 2, 0, 0, 0, 0, 80, 23064801, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 0 - Self: Start timed action list id #Obsidian Warder Custodian #1 (23064801) (update out of combat)', ''),
(-(@CGUID+28), 0, 1, 0, 34, 0, 100, 0, 2, 3, 0, 0, 0, 80, 23064800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 3 - Self: Start timed action list id #Obsidian Warder Custodian #0 (23064800) (update out of combat)', ''),
(-(@CGUID+35), 0, 0, 0, 34, 0, 100, 0, 2, 5, 0, 0, 0, 80, 23064801, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 5 - Self: Start timed action list id #Obsidian Warder Custodian #1 (23064801) (update out of combat)', ''),
(-(@CGUID+35), 0, 1, 0, 34, 0, 100, 0, 2, 1, 0, 0, 0, 80, 23064800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 1 - Self: Start timed action list id #Obsidian Warder Custodian #0 (23064800) (update out of combat)', ''),
(-(@CGUID+4), 0, 0, 0, 34, 0, 100, 0, 2, 20, 0, 0, 0, 80, 23064801, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 20 - Self: Start timed action list id #Obsidian Warder Custodian #1 (23064801) (update out of combat)', ''),
(-(@CGUID+4), 0, 1, 0, 34, 0, 100, 0, 2, 6, 0, 0, 0, 80, 23064800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On movement of type WAYPOINT_MOTION_TYPE inform, point 6 - Self: Start timed action list id #Obsidian Warder Custodian #0 (23064800) (update out of combat)', '');
-- Timed list 23064800 smart ai
SET @ENTRY := 23064800;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Set stand state to KNEEL', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 11, 386797, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Cast spell 386797 on Self', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove stand state STAND', '');
-- Timed list 23064801 smart ai
SET @ENTRY := 23064801;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Set stand state to KNEEL', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 28, 386797, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove aura due to spell 386797', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 4 seconds - Self: Remove stand state STAND', '');
-- Path for Obsidian Warder Custodian
SET @MOVERGUID := @CGUID+28;
SET @ENTRY := 230648;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Obsidian Warder Custodian - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 5804.416, -2993.1008, 210.94255, NULL, 5081),
(@PATH, 1, 5812.6553, -3011.1807, 210.8172, NULL, 0),
(@PATH, 2, 5817.8604, -3026.8352, 210.87814, NULL, 0),
(@PATH, 3, 5814.5527, -3044.444, 211.00539, NULL, 4686),
(@PATH, 4, 5816.35, -3027.8855, 210.57262, NULL, 0),
(@PATH, 5, 5808.8457, -3008.2205, 210.55844, NULL, 0);
UPDATE `creature` SET `position_x`=5804.416, `position_y`=-2993.1008, `position_z`=210.94255, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Obsidian Warder Custodian
SET @MOVERGUID := @CGUID+35;
SET @ENTRY := 230648;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Obsidian Warder Custodian - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 5736.4575, -3003.2883, 211.54863, NULL, 0),
(@PATH, 1, 5719.309, -2999.139, 211.8094, NULL, 4792),
(@PATH, 2, 5752.269, -3008.3958, 210.82245, NULL, 0),
(@PATH, 3, 5767.7065, -3007.3906, 210.51595, NULL, 0),
(@PATH, 4, 5785.462, -3000.2136, 210.54874, NULL, 0),
(@PATH, 5, 5800.182, -2990.8906, 210.84962, NULL, 5014),
(@PATH, 6, 5789.5337, -2997.0452, 210.4561, NULL, 0),
(@PATH, 7, 5776.8115, -3002.014, 210.52242, NULL, 0),
(@PATH, 8, 5769.308, -3004.8977, 210.53537, NULL, 0),
(@PATH, 9, 5758.649, -3010.7393, 211.02902, NULL, 0),
(@PATH, 10, 5745.9766, -3007.625, 211.67764, NULL, 0);
UPDATE `creature` SET `position_x`=5736.4575, `position_y`=-3003.2883, `position_z`=211.54863, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Obsidian Warder Custodian
SET @MOVERGUID := @CGUID+4;
SET @ENTRY := 230648;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, NULL, 'Obsidian Warder Custodian - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 5785.9966, -3023.2188, 210.5412, NULL, 0),
(@PATH, 1, 5782.518, -3027.6145, 210.5227, NULL, 0),
(@PATH, 2, 5781.9966, -3036.9531, 210.60121, NULL, 0),
(@PATH, 3, 5780.126, -3045.842, 210.52669, NULL, 0),
(@PATH, 4, 5769.298, -3065.9236, 211.82315, NULL, 0),
(@PATH, 5, 5763.241, -3070.0364, 211.70564, NULL, 0),
(@PATH, 6, 5758.965, -3070.6396, 211.47305, NULL, 4468),
(@PATH, 7, 5768.0522, -3070.3352, 211.62875, NULL, 0),
(@PATH, 8, 5770.0386, -3065.0388, 211.85017, NULL, 0),
(@PATH, 9, 5771.854, -3059.236, 210.76627, NULL, 0),
(@PATH, 10, 5771.7173, -3047.3074, 210.47159, NULL, 0),
(@PATH, 11, 5767.424, -3033.0486, 210.61974, NULL, 0),
(@PATH, 12, 5770.566, -3022.606, 210.51762, NULL, 0),
(@PATH, 13, 5778.3374, -3017.2854, 210.7196, NULL, 0),
(@PATH, 14, 5788.954, -3009.1165, 210.5777, NULL, 0),
(@PATH, 15, 5799.039, -2998.1477, 210.48505, NULL, 0),
(@PATH, 16, 5799.99, -2996.8982, 210.48602, NULL, 0),
(@PATH, 17, 5801.2134, -2995.292, 210.41139, NULL, 0),
(@PATH, 18, 5801.4526, -2994.9778, 210.55629, NULL, 0),
(@PATH, 19, 5801.6133, -2994.7668, 210.53221, NULL, 0),
(@PATH, 20, 5803.1475, -2992.7517, 210.95895, NULL, 5501);
UPDATE `creature` SET `position_x`=5785.9966, `position_y`=-3023.2188, `position_z`=210.5412, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,24 @@
SET @CGUID := 8000020;
SET @OGUID := 8000020;
-- Creature templates
DELETE FROM `creature_template_addon` WHERE `entry` IN (165505);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(165505, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 165505 (Loretta Banks)
-- Difficulties
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=165505 AND `DifficultyID`=0); -- 165505 (Loretta Banks) - CanSwim
DELETE FROM `creature_template_difficulty` WHERE `Entry` IN (165505) AND `DifficultyID`=1;
-- Gossips
UPDATE `creature_template_gossip` SET `VerifiedBuild`=57689 WHERE (`CreatureID`=165505 AND `MenuID`=25369) OR (`CreatureID`=167032 AND `MenuID`=25426) OR (`CreatureID`=89174 AND `MenuID`=14146);
-- Creature spawns
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 165505, 0, 1519, 1519, '0', 0, 0, 0, 0, -8450.576171875, 372.789947509765625, 135.7928619384765625, 5.341039180755615234, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Loretta Banks (Area: Stormwind City - Difficulty: 0) CreateObject1
-- Gameobject spawns
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, 281118, 0, 1519, 1519, '0', 0, 0, -8450.7568359375, 376.12847900390625, 135.70953369140625, 6.11305093765258789, 0, 0, -0.08496475219726562, 0.996383965015411376, 120, 255, 1, 57689); -- Gryphon Roost (Area: Stormwind City - Difficulty: 0) CreateObject1
@@ -0,0 +1,56 @@
-- Creature Text
DELETE FROM `creature_text` WHERE (`CreatureID` = 93127 AND `GroupID` = 1) OR (`CreatureID` IN (96420, 96655) AND `GroupID` = 0);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(93127, 1, 0, 'We will not last much longer if those devastators are not destroyed!', 12, 0, 100, 5, 0, 55260, 98956, 5, 'Kayn Sunfury to Player'),
(96420, 0, 0, 'They outnumber us by an order of magnitude. Can we defeat them?', 12, 0, 100, 6, 0, 55092, 99002, 5, 'Cyana Nightglaive to Player'),
(96655, 0, 0, 'Last I saw, Kor\'vas cut a swath of destruction on her way across the bridge.', 12, 0, 100, 1, 0, 55010, 98848, 5, 'Allari the Souleater to Player');
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=96655 AND `quest`=38725) OR (`id`=96420 AND `quest`=38819) OR (`id`=93127 AND `quest`=38727);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(96655, 38725, 57689), -- Into the Foul Creche offered by Allari the Souleater
(96420, 38819, 57689), -- Their Numbers Are Legion offered by Cyana Nightglaive
(93127, 38727, 57689); -- Stop the Bombardment offered by Kayn Sunfury
DELETE FROM `quest_details` WHERE `ID` IN (38725 /*Into the Foul Creche*/, 38819 /*Their Numbers Are Legion*/, 38727 /*Stop the Bombardment*/);
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(38725, 1, 0, 0, 0, 0, 0, 0, 0, 57689), -- Into the Foul Creche
(38819, 1, 25, 0, 0, 0, 0, 0, 0, 57689), -- Their Numbers Are Legion
(38727, 274, 0, 0, 0, 0, 0, 0, 0, 57689); -- Stop the Bombardment
DELETE FROM `quest_offer_reward` WHERE `ID`=39495;
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
(39495, 25, 0, 0, 0, 0, 0, 0, 0, 'Excellent. You\'ve absorbed that fel lord\'s power and become more powerful in-turn.\n\nNow, we can fully concentrate on destroying the Legion and their Brood Queen.', 57689); -- Hidden No More
DELETE FROM `quest_template_addon` WHERE `ID` IN (38725, 38819, 38727);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(38725, 0, 0, 0, 39495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Into the Foul Creche
(38819, 0, 0, 0, 39495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Their Numbers Are Legion
(38727, 0, 0, 0, 39495, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- Stop the Bombardment
-- Kayn Sunfury smart ai
SET @ENTRY := 93127;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 60, 0, 100, 0, 1000, 4000, 4000, 7000, 0, 10, 396, 273, 6, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 4 - 7 seconds (1 - 4s initially) - Self: Play random emote: 396, 273, 6,', ''),
(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 38813, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Orders for Your Captains (38813) - Player who accepted quest: Talk 0 to invoker', ''),
(@ENTRY, 0, 2, 0, 19, 0, 100, 0, 39262, 0, 0, 0, 0, 143, 486, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Give Me Sight Beyond Sight (39262) - Player who accepted quest: Start conversation (486) Actors<> (first line 1298)', ''),
(@ENTRY, 0, 3, 0, 19, 0, 100, 0, 39262, 0, 0, 0, 0, 85, 191203, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Give Me Sight Beyond Sight (39262) - Player who accepted quest: Cast spell 191203 on self', ''),
(@ENTRY, 0, 4, 0, 19, 0, 100, 0, 38727, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Stop the Bombardment (38727) - Player who accepted quest: Talk 1 to invoker', '');
-- Cyana Nightglaive smart ai
SET @ENTRY := 96420;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 60, 0, 100, 0, 1000, 5000, 5000, 8000, 0, 10, 5, 25, 273, 1, 274, 15, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 8 seconds (1 - 5s initially) - Self: Play random emote: 5, 25, 273, 1, 274, 15', ''),
(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 38819, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Their Numbers Are Legion (38819) - Player who accepted quest: Talk 0 to invoker', '');
-- Allari the Souleater smart ai
SET @ENTRY := 96655;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 60, 0, 100, 0, 1000, 6000, 5000, 7000, 0, 10, 6, 274, 273, 396, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 5 - 7 seconds (1 - 6s initially) - Self: Play random emote: 6, 274, 273, 396,', ''),
(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 38725, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Into the Foul Creche (38725) - Player who accepted quest: Talk 0 to invoker', '');
@@ -0,0 +1,10 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (343173);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(343173,0x00,8,0x2000040C,0x00000000,0x00000808,0x80002100,0x0,0x0,0x1,0x2,0x0,0x0,0x0,0,0,0,0); -- Premeditation
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_rog_premeditation', 'spell_rog_shadow_focus', 'spell_rog_premeditation_proc');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(1784, 'spell_rog_premeditation'),
(343173, 'spell_rog_premeditation_proc'),
(1784, 'spell_rog_shadow_focus'),
(185313, 'spell_rog_shadow_focus');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dk_death_and_decay_increase_targets';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(188290, 'spell_dk_death_and_decay_increase_targets');
@@ -0,0 +1,336 @@
SET @CGUID := 10004502;
SET @OGUID := 10001081;
SET @NPCTEXTID := 600041;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+48;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2657.177001953125, -2555.861083984375, 245.5923614501953125, 1.10812687873840332, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+1, 214772, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2656.03466796875, -2525.291748046875, 242.75018310546875, 2.979132413864135742, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Dornogal - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+2, 215070, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2654.953125, -2525.079833984375, 242.74993896484375, 2.778198957443237304, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ashwhite Kestrel (Area: Dornogal - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+3, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2651.345458984375, -2545.02783203125, 240.7329559326171875, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+4, 215070, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2697.16845703125, -2501.611083984375, 252.2240142822265625, 4.261437892913818359, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ashwhite Kestrel (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+5, 215070, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2686.6025390625, -2559.5556640625, 243.3141021728515625, 4.663642406463623046, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ashwhite Kestrel (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+6, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2656.0166015625, -2540.553955078125, 244.3766021728515625, 2.652324199676513671, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+7, 215070, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2654.983642578125, -2527.032958984375, 242.749481201171875, 2.778198957443237304, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ashwhite Kestrel (Area: Dornogal - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+8, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2685.606689453125, -2514.760498046875, 244.3982696533203125, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+9, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2665.584228515625, -2559.510498046875, 245.87615966796875, 3.79269576072692871, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+10, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2656.178955078125, -2495.87841796875, 236.816680908203125, 3.9060516357421875, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject
(@CGUID+11, 214772, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2668.552001953125, -2546.704833984375, 274.354949951171875, 1.522764801979064941, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Dornogal - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+12, 214772, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2680.577392578125, -2618.84716796875, 288.353515625, 1.522764801979064941, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Dornogal - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+13, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2753.276123046875, -2590.678955078125, 223.764129638671875, 0.682878196239471435, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+14, 214772, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2783.21533203125, -2574.93408203125, 263.84320068359375, 5.657689094543457031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+15, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2782.545166015625, -2566.630126953125, 224.3134613037109375, 5.812337875366210937, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+16, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2802.919189453125, -2604.302001953125, 223.247100830078125, 3.943658828735351562, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+17, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2735.060791015625, -2618.34716796875, 221.659942626953125, 4.832509040832519531, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+18, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2808.93310546875, -2618.001708984375, 221.29156494140625, 1.662252068519592285, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+19, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2769.434814453125, -2618.529541015625, 224.9119720458984375, 4.916635513305664062, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+20, 215070, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2693.7744140625, -2675.507080078125, 314.39892578125, 1.131720900535583496, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ashwhite Kestrel (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+21, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2878.380126953125, -2763.267333984375, 241.9640045166015625, 5.003903388977050781, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+22, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2854.52783203125, -2727.5556640625, 243.40496826171875, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+23, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2889.8291015625, -2654.25341796875, 244.0969696044921875, 1.729729294776916503, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+24, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2874.81591796875, -2700.491455078125, 244.3238067626953125, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+25, 214772, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2875.611083984375, -2733.140625, 297.451080322265625, 1.522764801979064941, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+26, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2895.87158203125, -2771.0625, 243.104217529296875, 1.051313757896423339, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+27, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2842.123291015625, -2773.017333984375, 248.36517333984375, 0.180822834372520446, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+28, 214772, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2875.642333984375, -2692.223876953125, 262.323822021484375, 5.271379947662353515, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+29, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2837.5859375, -2758.203125, 254.119659423828125, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+30, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2824.059814453125, -2697.828125, 241.2568359375, 6.173586368560791015, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+31, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2885.38720703125, -2678.970458984375, 244.73480224609375, 2.761513710021972656, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+32, 214772, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2825.118896484375, -2746.40966796875, 277.59246826171875, 5.811558723449707031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+33, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2872.124267578125, -2760.40283203125, 242.953765869140625, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+34, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2867.279541015625, -2739.991455078125, 242.518463134765625, 2.783788204193115234, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+35, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2940.704833984375, -2768.17529296875, 243.465301513671875, 5.60600137710571289, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+36, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2921.94091796875, -2770.029541015625, 243.65771484375, 1.986292481422424316, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+37, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2954.39501953125, -2781.3681640625, 247.79779052734375, 0, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+38, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2933.583251953125, -2696.463623046875, 243.6787872314453125, 2.019199848175048828, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+39, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2972.84716796875, -2773.064208984375, 246.454986572265625, 5.263034820556640625, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+40, 214947, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2924.13623046875, -2659.420166015625, 243.183624267578125, 4.686742305755615234, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject2
(@CGUID+41, 226592, 2552, 14771, 15184, '0', 0, 0, 0, 1, 2847.21484375, -2801.283203125, 244.29193115234375, 0.900342285633087158, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Jaxi Sparkshine (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@CGUID+42, 226591, 2552, 14771, 15184, '0', 0, 0, 0, 1, 2849.25830078125, -2801.3193359375, 244.313232421875, 2.389741182327270507, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Windle Sparkshine (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@CGUID+43, 197711, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2753.786376953125, -2665.819580078125, 225.6900482177734375, 1.419044017791748046, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Lindormi (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+44, 222561, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2765.115478515625, -2667.76904296875, 225.6900482177734375, 1.642943978309631347, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Agmera (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+45, 233492, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2765.837646484375, -2640.401123046875, 224.0833282470703125, 1.540279626846313476, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Temporal Guardian (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+46, 214113, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2753.323974609375, -2658.20361328125, 225.764617919921875, 6.0282745361328125, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Time Fragment (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+47, 233492, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2750.868896484375, -2640.401123046875, 224.0833282470703125, 1.525917291641235351, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Temporal Guardian (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+48, 214113, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2770.06103515625, -2657.022705078125, 225.7646026611328125, 5.912850379943847656, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689); -- Time Fragment (Area: Dornogal - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+48;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Limestone Falcon
(@CGUID+2, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Ashwhite Kestrel
(@CGUID+4, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Ashwhite Kestrel
(@CGUID+5, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Ashwhite Kestrel
(@CGUID+7, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Ashwhite Kestrel
(@CGUID+20, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 4, ''), -- Ashwhite Kestrel
(@CGUID+28, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+32, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Limestone Falcon
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+32;
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, 446178, 2552, 14771, 15184, '0', 0, 0, 2968.096435546875, -2685.447509765625, 243.9940185546875, 0.767941832542419433, 0, 0, 0.374605178833007812, 0.927184462547302246, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+1, 452662, 2552, 14771, 15184, '0', 0, 0, 2844.52197265625, -2658.227783203125, 221.031341552734375, 1.230455756187438964, 0, 0, 0.577144622802734375, 0.816641986370086669, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+2, 428884, 2552, 14771, 15184, '0', 0, 0, 2944.248291015625, -2839.1181640625, 257.253387451171875, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+3, 446179, 2552, 14771, 15184, '0', 0, 0, 2968.3359375, -2682.6015625, 243.9940185546875, 5.485874176025390625, 0, 0, -0.38817977905273437, 0.92158365249633789, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+4, 452663, 2552, 14771, 15184, '0', 0, 0, 2843.744384765625, -2655.530517578125, 221.031341552734375, 5.820673465728759765, 0, 0, -0.22920036315917968, 0.973379254341125488, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+5, 428885, 2552, 14771, 15184, '0', 0, 0, 2952.905517578125, -2847.296875, 257.22735595703125, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+6, 441774, 2552, 14771, 15184, '0', 0, 0, 2865.0634765625, -2930.045166015625, 256.266387939453125, 5.576329231262207031, 0, 0, -0.3461160659790039, 0.938191711902618408, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+7, 433327, 2552, 14771, 15184, '0', 0, 0, 2982.59033203125, -2712.5087890625, 257.25836181640625, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+8, 428886, 2552, 14771, 15184, '0', 0, 0, 2935.856689453125, -2846.91845703125, 257.253326416015625, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+9, 441775, 2552, 14771, 15184, '0', 0, 0, 2948.0390625, -2913.661376953125, 322.424530029296875, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, 57689), -- Stool (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+10, 428956, 2552, 14771, 15184, '0', 0, 0, 2976.62939453125, -2725.645751953125, 243.6996612548828125, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+11, 428957, 2552, 14771, 15184, '0', 0, 0, 2871.01123046875, -2770.772705078125, 243.5388946533203125, 3.935721635818481445, 0, 0, -0.92220020294189453, 0.386712819337844848, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+12, 452668, 2552, 14771, 15184, '0', 0, 0, 2848.235107421875, -2662.385498046875, 221.04364013671875, 0.663225173950195312, 0, 0, 0.325568199157714843, 0.945518553256988525, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+13, 428882, 2552, 14771, 15184, '0', 0, 0, 2944.428955078125, -2855.666748046875, 257.2384033203125, 1.570795774459838867, 0, 0, 0.707106590270996093, 0.707106947898864746, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+14, 429063, 2552, 14771, 15184, '0', 0, 0, 2983.4541015625, -2763.2119140625, 257.37469482421875, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+15, 452669, 2552, 14771, 15184, '0', 0, 0, 2858.3271484375, -2644.560546875, 221.011962890625, 5.480334281921386718, 0, 0, -0.39073085784912109, 0.920504987239837646, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+16, 428989, 2552, 14771, 15184, '0', 0, 0, 2845.372314453125, -2754.467041015625, 243.5467987060546875, 1.588248729705810546, 0, 0, 0.713250160217285156, 0.700909554958343505, 120, 255, 1, 57689), -- Mailbox (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+17, 428959, 2552, 14771, 15184, '0', 0, 0, 2925.615478515625, -2798.1025390625, 243.55841064453125, 1.579522013664245605, 0, 0, 0.710185050964355468, 0.704015016555786132, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+18, 433328, 2552, 14771, 15184, '0', 0, 0, 2983.487060546875, -2772.84375, 257.3936767578125, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+19, 441776, 2552, 14771, 15184, '0', 0, 0, 2864.69970703125, -2979.598876953125, 256.266387939453125, 0.689404308795928955, 0, 0, 0.337916374206542968, 0.941176116466522216, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+20, 452664, 2552, 14771, 15184, '0', 0, 0, 2862.185791015625, -2648.5078125, 220.9737396240234375, 2.391098499298095703, 0, 0, 0.930417060852050781, 0.366502493619918823, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+21, 452665, 2552, 14771, 15184, '0', 0, 0, 2861.735595703125, -2645.344970703125, 221.124603271484375, 3.988081216812133789, 0, 0, -0.91176128387451171, 0.410720497369766235, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+22, 452666, 2552, 14771, 15184, '0', 0, 0, 2859.13916015625, -2647.913818359375, 221.152801513671875, 0.759216904640197753, 0, 0, 0.370556831359863281, 0.928809821605682373, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+23, 452667, 2552, 14771, 15184, '0', 0, 0, 2851.784423828125, -2662.457275390625, 221.0487060546875, 2.356194972991943359, 0, 0, 0.923879623413085937, 0.382683247327804565, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+24, 428964, 2552, 14771, 15184, '0', 0, 0, 2936.88720703125, -2798.10595703125, 243.55841064453125, 1.579522013664245605, 0, 0, 0.710185050964355468, 0.704015016555786132, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+25, 446180, 2552, 14771, 15184, '0', 0, 0, 2838.9619140625, -2797.358154296875, 243.7215423583984375, 2.36173105239868164, 0, 0, 0.924935340881347656, 0.380124449729919433, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+26, 429064, 2552, 14771, 15184, '0', 0, 0, 2982.756103515625, -2722.520751953125, 257.234283447265625, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+27, 446181, 2552, 14771, 15184, '0', 0, 0, 2835.946044921875, -2797.25390625, 243.7336578369140625, 0.802728593349456787, 0, 0, 0.390674591064453125, 0.920528829097747802, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+28, 428966, 2552, 14771, 15184, '0', 0, 0, 2944.41748046875, -2772.286376953125, 243.7103118896484375, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+29, 446182, 2552, 14771, 15184, '0', 0, 0, 2849.25830078125, -2801.3193359375, 244.313232421875, 2.389741182327270507, 0, 0, 0.93016815185546875, 0.367133766412734985, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+30, 446183, 2552, 14771, 15184, '0', 0, 0, 2847.21484375, -2801.283203125, 244.29193115234375, 0.900342285633087158, 0, 0, 0.43511962890625, 0.900372624397277832, 120, 255, 1, 57689), -- Chair (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+31, 428960, 2552, 14771, 15184, '0', 0, 0, 2864.454833984375, -2754.609375, 243.5377044677734375, 3.150327444076538085, 0, 0, -0.99999046325683593, 0.004367320332676172, 120, 255, 1, 57689), -- Bench (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@OGUID+32, 414149, 2552, 14771, 14771, '0', 0, 0, 2757.8994140625, -2666.7900390625, 225.606719970703125, 5.811313152313232421, 0, 0, -0.23375320434570312, 0.972295999526977539, 120, 255, 1, 57689); -- Portal to The Timeways (Area: Dornogal - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+32;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0.374605774879455566, 0.927184164524078369, 0, 0), -- Chair
(@OGUID+1, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+3, 0, 0, 0.374605774879455566, 0.927184164524078369, 0, 0), -- Chair
(@OGUID+4, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+12, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+15, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+20, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+21, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+22, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+23, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+25, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+27, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+29, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+30, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+32, 0, 0, 0, 1, 0, 21240); -- Portal to The Timeways
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (226591 /*226591 (Windle Sparkshine)*/, 226592 /*226592 (Jaxi Sparkshine)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(226591, 0, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 226591 (Windle Sparkshine)
(226592, 0, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 226592 (Jaxi Sparkshine)
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (447139 /*Chair*/, 447142 /*Chair*/, 447141 /*Chair*/, 447140 /*Chair*/, 446182 /*Chair*/, 414149 /*Portal to The Timeways*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(447139, 114, 0x0, 0, 0), -- Chair
(447142, 114, 0x0, 0, 0), -- Chair
(447141, 114, 0x0, 0, 0), -- Chair
(447140, 114, 0x0, 0, 0), -- Chair
(446182, 114, 0x0, 0, 0), -- Chair
(414149, 0, 0x0, 0, 21240); -- Portal to The Timeways
-- Template
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=226592; -- Jaxi Sparkshine
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=226591; -- Windle Sparkshine
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=233492; -- Temporal Guardian
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=0x100, `unit_flags2`=0x800 WHERE `entry`=214113; -- Time Fragment
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x100, `unit_flags2`=0x800 WHERE `entry`=197711; -- Lindormi
UPDATE `creature_template` SET `faction`=3407, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222561; -- Agmera
DELETE FROM `gameobject_template` WHERE `entry` IN (449737 /*Crate*/, 449726 /*Mailbox*/, 449513 /*Post*/, 449510 /*Balloons*/, 449821 /*Water Trough*/, 449453 /*Crate*/, 446547 /*Mailbox*/, 414149 /*Portal to The Timeways*/);
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
(449737, 5, 1988, 'Crate', '', '', '', 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, 57689), -- Crate
(449726, 19, 2128, 'Mailbox', '', '', '', 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, 57689), -- Mailbox
(449513, 5, 92031, 'Post', '', '', '', 0.25, 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, 57689), -- Post
(449510, 5, 96625, 'Balloons', '', '', '', 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, 57689), -- Balloons
(449821, 5, 10167, 'Water Trough', '', '', '', 0.75, 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, 57689), -- Water Trough
(449453, 5, 31, 'Crate', '', '', '', 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, 57689), -- Crate
(446547, 19, 1907, 'Mailbox', '', '', '', 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, 57689), -- Mailbox
(414149, 22, 76125, 'Portal to The Timeways', '', '', '', 1, 429322, 0, 0, 1, 0, 0, 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, 2145, 57689); -- Portal to The Timeways
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=197711 AND `MenuID`=29898);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(197711, 29898, 57689); -- Lindormi
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+3;
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, 231632, 0, 0, 0, 0, 0, 0, 0, 57689), -- 197711 (Lindormi)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 275555, 0, 0, 0, 0, 0, 0, 0, 57689), -- 197711 (Lindormi)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 275556, 0, 0, 0, 0, 0, 0, 0, 57689), -- 197711 (Lindormi)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 275557, 0, 0, 0, 0, 0, 0, 0, 57689); -- 197711 (Lindormi)
DELETE FROM `gossip_menu` WHERE (`MenuID`=29898 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=36956 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=36957 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=36958 AND `TextID`=@NPCTEXTID+3);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(29898, @NPCTEXTID+0, 57689), -- 197711 (Lindormi)
(36956, @NPCTEXTID+1, 57689), -- 197711 (Lindormi)
(36957, @NPCTEXTID+2, 57689), -- 197711 (Lindormi)
(36958, @NPCTEXTID+3, 57689); -- 197711 (Lindormi)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=29898 AND `OptionID` IN (19,21,20,1,22));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(29898, 125052, 19, 0, 'Where can I find Mists of Tirna Scithe?', 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(29898, 125050, 21, 0, 'Where can I find Siege of Boralus?', 0, 0, 0, 36957, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(29898, 125051, 20, 0, 'Where can I find The Necrotic Wake?', 0, 0, 0, 36956, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(29898, 125048, 1, 0, 'I seem to have misplaced my Keystone.', 0, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(29898, 125049, 22, 0, 'Where can I find Grim Batol?', 0, 0, 0, 36958, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
-- Difficulty
UPDATE `creature_template_difficulty` SET `StaticFlags1`=0x30000000, `VerifiedBuild`=57689 WHERE (`Entry`=214772 AND `DifficultyID`=0); -- 214772 (Limestone Falcon) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=356, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=226591 AND `DifficultyID`=0); -- 226591 (Windle Sparkshine) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=226592 AND `DifficultyID`=0); -- 226592 (Jaxi Sparkshine) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2145, `VerifiedBuild`=57689 WHERE (`Entry`=214113 AND `DifficultyID`=0); -- 214113 (Time Fragment) -
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=1279, `VerifiedBuild`=57689 WHERE (`Entry`=233492 AND `DifficultyID`=0); -- 233492 (Temporal Guardian) -
UPDATE `creature_template_difficulty` SET `ContentTuningID`=1279, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=197711 AND `DifficultyID`=0); -- 197711 (Lindormi) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2892, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222561 AND `DifficultyID`=0); -- 222561 (Agmera) - CanSwim
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (121319, 113259, 123225, 112143, 121139, 121140);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(121319, 0.5, 0, 0, 57689),
(113259, 0.297494709491729736, 0, 0, 57689),
(123225, 0.347000002861022949, 1.5, 0, 57689),
(112143, 0.368032127618789672, 0.660000026226043701, 0, 57689),
(121139, 0.366928756237030029, 0, 0, 57689),
(121140, 0.403084099292755126, 0, 0, 57689);
-- Path for Limestone Falcon
SET @MOVERGUID := @CGUID+14;
SET @ENTRY := 214772;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.5455, 'Limestone Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2792.7046, -2581.7876, 266.8432, NULL, 0),
(@PATH, 1, 2798.8486, -2591.751, 266.8432, NULL, 0),
(@PATH, 2, 2800.7122, -2603.3071, 266.8432, NULL, 0),
(@PATH, 3, 2798.0117, -2614.6968, 266.8432, NULL, 0),
(@PATH, 4, 2791.158, -2624.186, 266.8432, NULL, 0),
(@PATH, 5, 2781.1948, -2630.33, 266.8432, NULL, 0),
(@PATH, 6, 2769.6387, -2632.1936, 266.8432, NULL, 0),
(@PATH, 7, 2758.249, -2629.4932, 266.8432, NULL, 0),
(@PATH, 8, 2748.7598, -2622.6394, 266.8432, NULL, 0),
(@PATH, 9, 2742.6157, -2612.6763, 266.8432, NULL, 0),
(@PATH, 10, 2740.7522, -2601.12, 266.8432, NULL, 0),
(@PATH, 11, 2743.4526, -2589.7305, 266.8432, NULL, 0),
(@PATH, 12, 2750.3064, -2580.2412, 266.8432, NULL, 0),
(@PATH, 13, 2760.2695, -2574.0972, 266.8432, NULL, 0),
(@PATH, 14, 2771.8257, -2572.2334, 266.8432, NULL, 0),
(@PATH, 15, 2783.2153, -2574.934, 266.8432, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Limestone Falcon
SET @MOVERGUID := @CGUID+12;
SET @ENTRY := 214772;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.5454, 'Limestone Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2681.1394, -2607.1553, 291.35352, NULL, 0),
(@PATH, 1, 2677.1843, -2596.1382, 291.35352, NULL, 0),
(@PATH, 2, 2669.3142, -2587.4734, 291.35352, NULL, 0),
(@PATH, 3, 2658.7273, -2582.48, 291.35352, NULL, 0),
(@PATH, 4, 2647.0354, -2581.918, 291.35352, NULL, 0),
(@PATH, 5, 2636.0186, -2585.873, 291.35352, NULL, 0),
(@PATH, 6, 2627.3538, -2593.743, 291.35352, NULL, 0),
(@PATH, 7, 2622.36, -2604.3298, 291.35352, NULL, 0),
(@PATH, 8, 2621.798, -2616.0217, 291.35352, NULL, 0),
(@PATH, 9, 2625.7532, -2627.0388, 291.35352, NULL, 0),
(@PATH, 10, 2633.6233, -2635.7036, 291.35352, NULL, 0),
(@PATH, 11, 2644.2102, -2640.6973, 291.35352, NULL, 0),
(@PATH, 12, 2655.902, -2641.259, 291.35352, NULL, 0),
(@PATH, 13, 2666.919, -2637.304, 291.35352, NULL, 0),
(@PATH, 14, 2675.584, -2629.434, 291.35352, NULL, 0),
(@PATH, 15, 2680.5774, -2618.8472, 291.35352, NULL, 0),
(@PATH, 16, 2681.1394, -2607.1553, 291.35352, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Limestone Falcon
SET @MOVERGUID := @CGUID+11;
SET @ENTRY := 214772;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.5454, 'Limestone Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2669.114, -2535.013, 277.35495, NULL, 0),
(@PATH, 1, 2665.159, -2523.9958, 277.35495, NULL, 0),
(@PATH, 2, 2657.2888, -2515.331, 277.35495, NULL, 0),
(@PATH, 3, 2646.702, -2510.3376, 277.35495, NULL, 0),
(@PATH, 4, 2635.01, -2509.7756, 277.35495, NULL, 0),
(@PATH, 5, 2623.9932, -2513.7307, 277.35495, NULL, 0),
(@PATH, 6, 2615.3284, -2521.6006, 277.35495, NULL, 0),
(@PATH, 7, 2610.3347, -2532.1875, 277.35495, NULL, 0),
(@PATH, 8, 2609.7727, -2543.8794, 277.35495, NULL, 0),
(@PATH, 9, 2613.7278, -2554.8965, 277.35495, NULL, 0),
(@PATH, 10, 2621.598, -2563.5613, 277.35495, NULL, 0),
(@PATH, 11, 2632.1848, -2568.555, 277.35495, NULL, 0),
(@PATH, 12, 2643.8767, -2569.1167, 277.35495, NULL, 0),
(@PATH, 13, 2654.8936, -2565.1616, 277.35495, NULL, 0),
(@PATH, 14, 2663.5586, -2557.2917, 277.35495, NULL, 0),
(@PATH, 15, 2668.552, -2546.7048, 277.35495, NULL, 0),
(@PATH, 16, 2669.114, -2535.013, 277.35495, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Limestone Falcon
SET @MOVERGUID := @CGUID+25;
SET @ENTRY := 214772;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.5454, 'Limestone Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2876.173, -2721.4487, 300.45108, NULL, 0),
(@PATH, 1, 2872.218, -2710.4316, 300.45108, NULL, 0),
(@PATH, 2, 2864.348, -2701.7668, 300.45108, NULL, 0),
(@PATH, 3, 2853.761, -2696.7734, 300.45108, NULL, 0),
(@PATH, 4, 2842.069, -2696.2114, 300.45108, NULL, 0),
(@PATH, 5, 2831.0522, -2700.1665, 300.45108, NULL, 0),
(@PATH, 6, 2822.3875, -2708.0364, 300.45108, NULL, 0),
(@PATH, 7, 2817.3938, -2718.6233, 300.45108, NULL, 0),
(@PATH, 8, 2816.8318, -2730.3152, 300.45108, NULL, 0),
(@PATH, 9, 2820.7869, -2741.3323, 300.45108, NULL, 0),
(@PATH, 10, 2828.657, -2749.997, 300.45108, NULL, 0),
(@PATH, 11, 2839.244, -2754.9907, 300.45108, NULL, 0),
(@PATH, 12, 2850.9358, -2755.5525, 300.45108, NULL, 0),
(@PATH, 13, 2861.9526, -2751.5974, 300.45108, NULL, 0),
(@PATH, 14, 2870.6177, -2743.7275, 300.45108, NULL, 0),
(@PATH, 15, 2875.611, -2733.1406, 300.45108, NULL, 0),
(@PATH, 16, 2876.173, -2721.4487, 300.45108, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,407 @@
SET @CGUID := 10004551;
SET @OGUID := 10001114;
SET @NPCTEXTID := 600045;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+30;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 225323, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1079.1510009765625, -1882.1353759765625, 77.11034393310546875, 4.120485782623291015, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Ginger (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+1, 217439, 2552, 14717, 14772, '0', 0, 0, 0, 0, 985.9913330078125, -1844.8697509765625, 92.38242340087890625, 4.408520698547363281, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Iridi (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+2, 223652, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1048.8125, -1835.4791259765625, 77.57830810546875, 2.985262870788574218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Kurron (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+3, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 3, 1030.2135009765625, -1920.2447509765625, 78.7917022705078125, 3.879571437835693359, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+4, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 1, 1016.23089599609375, -1880.5052490234375, 78.2829742431640625, 2.442274332046508789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+5, 223648, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1051.298583984375, -1898.7222900390625, 74.32220458984375, 0.873009741306304931, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Betta (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+6, 218535, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1033.84375, -1845.111083984375, 78.13128662109375, 3.968085050582885742, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Germira (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+7, 212708, 2552, 14717, 14772, '0', 0, 0, 0, 1, 1076.732666015625, -1895.0086669921875, 76.95966339111328125, 4.962317943572998046, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Freysworn Cruton (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+8, 218729, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1073.7396240234375, -1880.57470703125, 77.11034393310546875, 4.859591960906982421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Yeonin (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+9, 225405, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1066.8367919921875, -1940.38720703125, 85.0833587646484375, 4.739321708679199218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Bisdina (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+10, 227790, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1040.0347900390625, -1825.3853759765625, 80.697418212890625, 4.928842067718505859, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Kothilde (Area: Freywold Village - Difficulty: 0) CreateObject1 (Auras: 458803 - [DNT] 11.0 Z1 - Earthen Shoveling (RPS))
(@CGUID+11, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 1, 1061.4478759765625, -1977.7708740234375, 83.5718994140625, 6.121231555938720703, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+12, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 4, 1080.85595703125, -1939.35595703125, 85.153594970703125, 4.786212921142578125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+13, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 4, 977.58331298828125, -1845.779541015625, 92.62384033203125, 5.041874885559082031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+14, 216094, 2552, 14717, 14772, '0', 0, 0, 0, 1, 962.6944580078125, -1949.03125, 79.864776611328125, 5.678026676177978515, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Kodun (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+15, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 1, 955.10418701171875, -1910.470458984375, 82.20006561279296875, 4.896975994110107421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+16, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 4, 955.3038330078125, -1920.470458984375, 82.201507568359375, 1.876337170600891113, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+17, 230543, 2552, 14717, 14772, '0', 0, 0, 0, 0, 935.69268798828125, -1921.4427490234375, 81.94881439208984375, 0.775799036026000976, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Archivist Rohlnar (Area: Freywold Village - Difficulty: 0) CreateObject1 (Auras: 452224 - Cosmetic - Reading Book - All Races [DNT])
(@CGUID+18, 225406, 2552, 14717, 14772, '0', 0, 0, 0, 0, 915.51214599609375, -1921.7742919921875, 75.5316162109375, 1.643771171569824218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Marisda (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+19, 217440, 2552, 14717, 14772, '0', 0, 0, 0, 0, 913.11114501953125, -1921.7396240234375, 75.529052734375, 1.319953203201293945, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Albetha (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+20, 217450, 2552, 14717, 14772, '0', 0, 0, 0, 1, 907.01910400390625, -1927.642333984375, 78.58917236328125, 1.531588673591613769, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Protector (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+21, 224424, 2552, 14717, 14772, '0', 0, 0, 0, 1, 892.22052001953125, -1891.3038330078125, 90.406494140625, 0.861715853214263916, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Velkura (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+22, 223649, 2552, 14717, 14772, '0', 0, 0, 0, 0, 870.58160400390625, -1895.3333740234375, 84.9724273681640625, 0.047206658869981765, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Maluc (Area: Freywold Village - Difficulty: 0) CreateObject1
(@CGUID+23, 222499, 2552, 14717, 14772, '0', 0, 0, 0, 0, 939.62847900390625, -1943.6805419921875, 96.0151214599609375, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mossy Snail (Area: Freywold Village - Difficulty: 0) CreateObject2
(@CGUID+24, 215038, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1014.7100830078125, -1934.123291015625, 80.24932861328125, 4.320961475372314453, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Thistlestar (Area: Freywold Village - Difficulty: 0) CreateObject2
(@CGUID+25, 215035, 2552, 14717, 14772, '0', 0, 0, 0, 0, 984.154541015625, -1936.13720703125, 79.86316680908203125, 2.894485950469970703, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Freefoot Mouse (Area: Freywold Village - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+26, 215035, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1040, -1944.03125, 81.31775665283203125, 4.268261909484863281, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Freefoot Mouse (Area: Freywold Village - Difficulty: 0) CreateObject2
(@CGUID+27, 215035, 2552, 14717, 14772, '0', 0, 0, 0, 0, 991.4444580078125, -1887.8697509765625, 80.127685546875, 3.550877809524536132, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Freefoot Mouse (Area: Freywold Village - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+28, 215034, 2552, 14717, 14772, '0', 0, 0, 0, 0, 962.40625, -1910.3055419921875, 81.817230224609375, 3.501403093338012695, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Salt-Ear Ferret (Area: Freywold Village - Difficulty: 0) CreateObject2
(@CGUID+29, 215038, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1091.7725830078125, -1943.4896240234375, 88.516632080078125, 4.754819393157958984, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Thistlestar (Area: Freywold Village - Difficulty: 0) CreateObject2
(@CGUID+30, 215038, 2552, 14717, 14772, '0', 0, 0, 0, 0, 1104.1180419921875, -1952.8350830078125, 86.3384246826171875, 3.757572650909423828, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689); -- Thistlestar (Area: Freywold Village - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+30;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 1029, 0, 0, 0, 0, ''), -- Freysworn Cruton
(@CGUID+9, 0, 0, 0, 0, 0, 1, 0, 461, 0, 0, 0, 0, ''), -- Bisdina
(@CGUID+16, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, ''); -- Unbound Protector
-- Delete duplicate spawn
DELETE FROM `creature` WHERE `guid` = 10000717;
DELETE FROM `creature_addon` WHERE `guid` = 10000717;
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+76;
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, 433035, 2552, 14717, 14772, '0', 0, 0, 926.171875, -1875.6961669921875, 89.86664581298828125, 4.817109584808349609, 0, 0, -0.66913032531738281, 0.74314504861831665, 120, 255, 1, 57689), -- Anvil (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+1, 446256, 2552, 14717, 14772, '0', 0, 0, 910.444580078125, -1907.7132568359375, 75.4457244873046875, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+2, 446257, 2552, 14717, 14772, '0', 0, 0, 910.085205078125, -1933.5672607421875, 78.5132598876953125, 3.18142867088317871, 0, 0, -0.9998016357421875, 0.019916549324989318, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+3, 446259, 2552, 14717, 14772, '0', 0, 0, 918.26409912109375, -1931.2679443359375, 78.50266265869140625, 4.721115589141845703, 0, 0, -0.70401477813720703, 0.71018528938293457, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+4, 446188, 2552, 14717, 14772, '0', 0, 0, 944.4034423828125, -1835.730712890625, 93.95055389404296875, 0.611037492752075195, 0, 0, 0.300787925720214843, 0.953691065311431884, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+5, 446189, 2552, 14717, 14772, '0', 0, 0, 946.58148193359375, -1836.1864013671875, 93.95055389404296875, 2.155655384063720703, 0, 0, 0.880931854248046875, 0.473243147134780883, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+6, 446236, 2552, 14717, 14772, '0', 0, 0, 900.3719482421875, -1916.1572265625, 76.20111846923828125, 1.589601755142211914, 0, 0, 0.713724136352539062, 0.700426876544952392, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+7, 446156, 2552, 14717, 14772, '0', 0, 0, 946.88555908203125, -1851.5687255859375, 70.016815185546875, 2.16420149803161621, 0, 0, 0.882946014404296875, 0.469474554061889648, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+8, 446190, 2552, 14717, 14772, '0', 0, 0, 945.8955078125, -1831.8553466796875, 93.95055389404296875, 3.752633571624755859, 0, 0, -0.9536905288696289, 0.300789564847946166, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+9, 466212, 2552, 14717, 14772, '0', 0, 0, 953.29937744140625, -1974.3875732421875, 74.4226837158203125, 4.084058284759521484, 0, 0, -0.89100933074951171, 0.453984975814819335, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+10, 446237, 2552, 14717, 14772, '0', 0, 0, 914.31781005859375, -1927.498291015625, 78.50252532958984375, 4.729841232299804687, 0, 0, -0.70090961456298828, 0.71325010061264038, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+11, 446157, 2552, 14717, 14772, '0', 0, 0, 944.88677978515625, -1851.4217529296875, 70.016815185546875, 0.654495000839233398, 0, 0, 0.321437835693359375, 0.94693070650100708, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+12, 446191, 2552, 14717, 14772, '0', 0, 0, 947.2008056640625, -1833.69580078125, 93.95055389404296875, 3.831170558929443359, 0, 0, -0.9411468505859375, 0.33799794316291809, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+13, 466213, 2552, 14717, 14772, '0', 0, 0, 958.39788818359375, -1980.7552490234375, 74.42254638671875, 0.977370083332061767, 0, 0, 0.469465255737304687, 0.882950961589813232, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+14, 446238, 2552, 14717, 14772, '0', 0, 0, 903.55999755859375, -1933.63427734375, 78.5023193359375, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+15, 446158, 2552, 14717, 14772, '0', 0, 0, 949.21514892578125, -1847.9974365234375, 70.016815185546875, 3.752456188201904296, 0, 0, -0.95371723175048828, 0.3007049560546875, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+16, 466214, 2552, 14717, 14772, '0', 0, 0, 961.19903564453125, -1979.414794921875, 74.42255401611328125, 4.136416435241699218, 0, 0, -0.87882041931152343, 0.47715267539024353, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+17, 446239, 2552, 14717, 14772, '0', 0, 0, 902.412841796875, -1913.0196533203125, 76.16986846923828125, 3.170431375503540039, 0, 0, -0.99989604949951171, 0.014418772421777248, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+18, 446159, 2552, 14717, 14772, '0', 0, 0, 948.81756591796875, -1850.186279296875, 70.016815185546875, 2.207836151123046875, 0, 0, 0.892977714538574218, 0.450100898742675781, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+19, 466215, 2552, 14717, 14772, '0', 0, 0, 958.68511962890625, -1977.702392578125, 74.4194793701171875, 4.136416435241699218, 0, 0, -0.87882041931152343, 0.47715267539024353, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+20, 446244, 2552, 14717, 14772, '0', 0, 0, 910.5673828125, -1913.854736328125, 75.4457244873046875, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+21, 446233, 2552, 14717, 14772, '0', 0, 0, 914.82843017578125, -1913.7783203125, 75.448333740234375, 3.160928010940551757, 0, 0, -0.99995326995849609, 0.009667475707828998, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+22, 446245, 2552, 14717, 14772, '0', 0, 0, 929.529541015625, -1926.7406005859375, 78.4716033935546875, 3.946853876113891601, 0, 0, -0.92003345489501953, 0.391839832067489624, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+23, 446187, 2552, 14717, 14772, '0', 0, 0, 919.78961181640625, -1825.0037841796875, 89.098236083984375, 5.92556619644165039, 0, 0, -0.17785835266113281, 0.98405611515045166, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+24, 429687, 2552, 14717, 14772, '0', 0, 0, 1066.8367919921875, -1940.329833984375, 84.92975616455078125, 4.764751911163330078, 0, 0, -0.68835353851318359, 0.725375354290008544, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+25, 466209, 2552, 14717, 14772, '0', 0, 0, 950.10015869140625, -1975.853271484375, 74.412200927734375, 0.977370083332061767, 0, 0, 0.469465255737304687, 0.882950961589813232, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+26, 446246, 2552, 14717, 14772, '0', 0, 0, 914.7037353515625, -1907.642822265625, 75.44942474365234375, 3.155403614044189453, 0, 0, -0.99997615814208984, 0.006905339658260345, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+27, 446154, 2552, 14717, 14772, '0', 0, 0, 944.903076171875, -1848.795166015625, 70.016815185546875, 5.349431037902832031, 0, 0, -0.45009994506835937, 0.892978191375732421, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+28, 466676, 2552, 14717, 14772, '0', 0, 0, 912.47021484375, -1918.9241943359375, 75.4457244873046875, 4.733694076538085937, 0, 0, -0.69953441619873046, 0.714598894119262695, 120, 255, 1, 57689), -- Stool (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+29, 466210, 2552, 14717, 14772, '0', 0, 0, 960.6409912109375, -1982.29296875, 74.4225311279296875, 1.003550648689270019, 0, 0, 0.480982780456542968, 0.876730024814605712, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+30, 446235, 2552, 14717, 14772, '0', 0, 0, 910.49755859375, -1910.75, 75.4457244873046875, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+31, 446247, 2552, 14717, 14772, '0', 0, 0, 925.67633056640625, -1927.6868896484375, 78.4818572998046875, 5.523966789245605468, 0, 0, -0.37055778503417968, 0.928809404373168945, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+32, 446155, 2552, 14717, 14772, '0', 0, 0, 946.71038818359375, -1847.4417724609375, 70.016815185546875, 5.427972793579101562, 0, 0, -0.41469383239746093, 0.90996098518371582, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+33, 466677, 2552, 14717, 14772, '0', 0, 0, 913.70416259765625, -1918.921142578125, 75.4457244873046875, 4.724883079528808593, 0, 0, -0.70267581939697265, 0.711510121822357177, 120, 255, 1, 57689), -- Stool (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+34, 466211, 2552, 14717, 14772, '0', 0, 0, 952.96771240234375, -1977.4854736328125, 74.422637939453125, 0.977370083332061767, 0, 0, 0.469465255737304687, 0.882950961589813232, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+35, 446240, 2552, 14717, 14772, '0', 0, 0, 906.89141845703125, -1931.6676025390625, 78.502471923828125, 4.721115589141845703, 0, 0, -0.70401477813720703, 0.71018528938293457, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+36, 466678, 2552, 14717, 14772, '0', 0, 0, 916.482177734375, -1918.88037109375, 75.4457244873046875, 4.74849700927734375, 0, 0, -0.69422626495361328, 0.719756841659545898, 120, 255, 1, 57689), -- Stool (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+37, 446241, 2552, 14717, 14772, '0', 0, 0, 909.3677978515625, -1895.712646484375, 76.160400390625, 0.069811686873435974, 0, 0, 0.034898757934570312, 0.999390840530395507, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+38, 446242, 2552, 14717, 14772, '0', 0, 0, 898.43768310546875, -1912.9061279296875, 76.16042327880859375, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+39, 446192, 2552, 14717, 14772, '0', 0, 0, 922.50189208984375, -1824.2705078125, 89.098236083984375, 4.232596874237060546, 0, 0, -0.85486698150634765, 0.518847227096557617, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+40, 429692, 2552, 14717, 14772, '0', 0, 0, 1104.170166015625, -1900.3507080078125, 92.7378082275390625, 6.021387100219726562, 0, 0, -0.13052558898925781, 0.991444945335388183, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+41, 446243, 2552, 14717, 14772, '0', 0, 0, 914.93603515625, -1933.4844970703125, 78.50250244140625, 0.017452461645007133, 0, 0, 0.008726119995117187, 0.999961912631988525, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+42, 446193, 2552, 14717, 14772, '0', 0, 0, 943.27093505859375, -1831.769775390625, 93.95055389404296875, 5.340882301330566406, 0, 0, -0.45391273498535156, 0.891046106815338134, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+43, 446252, 2552, 14717, 14772, '0', 0, 0, 912.529541015625, -1897.694580078125, 76.16912078857421875, 1.584510564804077148, 0, 0, 0.711938858032226562, 0.702241480350494384, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+44, 446194, 2552, 14717, 14772, '0', 0, 0, 943.072509765625, -1833.7652587890625, 93.95055389404296875, 0.567404925823211669, 0, 0, 0.279911994934082031, 0.960025668144226074, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+45, 466216, 2552, 14717, 14772, '0', 0, 0, 951.171142578125, -1972.96875, 74.4132232666015625, 4.11023712158203125, 0, 0, -0.88499069213867187, 0.465608686208724975, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+46, 446253, 2552, 14717, 14772, '0', 0, 0, 923.282470703125, -1923.38232421875, 78.500885009765625, 5.515239715576171875, 0, 0, -0.37460708618164062, 0.927183687686920166, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+47, 465705, 2552, 14717, 14772, '0', 0, 0, 922.28369140625, -1914.01025390625, 75.74831390380859375, 5.692810535430908203, 0, 0, -0.29091930389404296, 0.956747591495513916, 120, 255, 1, 57689), -- Cooking Fire (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+48, 429688, 2552, 14717, 14772, '0', 0, 0, 1104.923583984375, -1906.060791015625, 92.78137969970703125, 0.837757468223571777, 0, 0, 0.406736373901367187, 0.913545548915863037, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+49, 446255, 2552, 14717, 14772, '0', 0, 0, 909.3353271484375, -1927.5364990234375, 78.5025177001953125, 4.729841232299804687, 0, 0, -0.70090961456298828, 0.71325010061264038, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+50, 429689, 2552, 14717, 14772, '0', 0, 0, 1102.4444580078125, -1891.9583740234375, 92.78778839111328125, 5.628688335418701171, 0, 0, -0.32143878936767578, 0.946930348873138427, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+51, 446248, 2552, 14717, 14772, '0', 0, 0, 921.4599609375, -1933.3414306640625, 78.502655029296875, 3.169897317886352539, 0, 0, -0.99989986419677734, 0.014151735231280326, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+52, 446195, 2552, 14717, 14772, '0', 0, 0, 976.30804443359375, -1951.1927490234375, 80.2471466064453125, 4.825821876525878906, 0, 0, -0.66588687896728515, 0.746052742004394531, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+53, 433036, 2552, 14717, 14772, '0', 0, 0, 1026.8038330078125, -1919.0989990234375, 78.46379852294921875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+54, 429690, 2552, 14717, 14772, '0', 0, 0, 1108.513916015625, -1902.420166015625, 92.78137969970703125, 3.94444584846496582, 0, 0, -0.92050457000732421, 0.3907318115234375, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+55, 446249, 2552, 14717, 14772, '0', 0, 0, 900.31884765625, -1909.9139404296875, 76.19964599609375, 4.766410350799560546, 0, 0, -0.68775177001953125, 0.725945949554443359, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+56, 446204, 2552, 14717, 14772, '0', 0, 0, 1034.8037109375, -1895.65234375, 78.04912567138671875, 5.427974700927734375, 0, 0, -0.41469287872314453, 0.909961462020874023, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+57, 433037, 2552, 14717, 14772, '0', 0, 0, 921.19097900390625, -1875.0572509765625, 89.81894683837890625, 2.103119850158691406, 0, 0, 0.868198394775390625, 0.496217250823974609, 120, 255, 1, 57689), -- Forge (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+58, 429691, 2552, 14717, 14772, '0', 0, 0, 1106.564208984375, -1895.032958984375, 92.73703765869140625, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+59, 465869, 2552, 14717, 14772, '0', 0, 0, 917.69573974609375, -1918.8514404296875, 75.4457244873046875, 4.677939414978027343, 0, 0, -0.71918106079101562, 0.694822728633880615, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+60, 446250, 2552, 14717, 14772, '0', 0, 0, 925.069091796875, -1931.506591796875, 78.48171234130859375, 0.820303261280059814, 0, 0, 0.398748397827148437, 0.917060375213623046, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+61, 446205, 2552, 14717, 14772, '0', 0, 0, 1033.0576171875, -1897.2578125, 78.04912567138671875, 5.471609115600585937, 0, 0, -0.39474296569824218, 0.918791592121124267, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+62, 433038, 2552, 14717, 14772, '0', 0, 0, 963.34027099609375, -1919.5972900390625, 81.56813812255859375, 2.207840442657470703, 0, 0, 0.892978668212890625, 0.450098991394042968, 120, 255, 1, 57689), -- Mailbox (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+63, 433039, 2552, 14717, 14772, '0', 0, 0, 976.22393798828125, -1929.52783203125, 79.83160400390625, 5.715955257415771484, 0, 0, -0.27982807159423828, 0.960050106048583984, 120, 255, 1, 57689), -- Chair (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+64, 446260, 2552, 14717, 14772, '0', 0, 0, 915.63348388671875, -1895.548583984375, 76.16037750244140625, 3.145498991012573242, 0, 0, -0.99999809265136718, 0.001953125, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+65, 446261, 2552, 14717, 14772, '0', 0, 0, 914.7724609375, -1910.68310546875, 75.45215606689453125, 3.132858037948608398, 0, 0, 0.999990463256835937, 0.004367320332676172, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+66, 414379, 2552, 14717, 14772, '0', 0, 0, 927.54864501953125, -1630.439208984375, 83.53414154052734375, 5.619617462158203125, 0, 0, -0.3257303237915039, 0.945462703704833984, 120, 255, 1, 57689), -- Door (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+67, 422668, 2552, 14717, 14772, '0', 0, 0, 988.05731201171875, -1903.779541015625, 78.23577880859375, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bucket of Clay (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+68, 464019, 2552, 14717, 14772, '0', 0, 0, 937.8975830078125, -1866.3629150390625, 94.08280181884765625, 5.398197650909423828, 0.897220134735107421, -0.42794704437255859, 0.085825920104980468, 0.06701737642288208, 120, 255, 1, 57689), -- Stones of the Wolds Part 1 (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+69, 422668, 2552, 14717, 14772, '0', 0, 0, 1008.7396240234375, -1913.7725830078125, 78.19242095947265625, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bucket of Clay (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+70, 414335, 2552, 14717, 14772, '0', 0, 0, 1153.7552490234375, -1779.74658203125, 77.69769287109375, 4.139378547668457031, 0, 0, -0.87811279296875, 0.478453665971755981, 120, 255, 1, 57689), -- Irradiated Mycobloom (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+71, 459427, 2552, 14717, 14772, '0', 0, 0, 1000.62847900390625, -1913.9896240234375, 77.6757049560546875, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Healing Bubbles (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+72, 466229, 2552, 14717, 14772, '0', 0, 0, 933.25177001953125, -1803.1927490234375, 89.40048980712890625, 4.574147224426269531, 0, 0, -0.75425529479980468, 0.656581223011016845, 120, 255, 1, 57689), -- Adelgonn's Journal (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+73, 446234, 2552, 14717, 14772, '0', 0, 0, 862.34625244140625, -1946.48046875, 63.75259017944335937, 4.729841232299804687, 0, 0, -0.70090961456298828, 0.71325010061264038, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+74, 463992, 2552, 14717, 14772, '0', 0, 0, 862.420166015625, -1947.642333984375, 64.84537506103515625, 1.553039193153381347, 0, 0, 0.700800895690917968, 0.71335691213607788, 120, 255, 1, 57689), -- Observational Notes: Stormrooks (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+75, 446258, 2552, 14717, 14772, '0', 0, 0, 861.169677734375, -1884.7869873046875, 66.69161224365234375, 1.582070350646972656, 0, 0, 0.711081504821777343, 0.703109562397003173, 120, 255, 1, 57689), -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
(@OGUID+76, 446254, 2552, 14717, 14772, '0', 0, 0, 861.12359619140625, -1880.7418212890625, 66.689361572265625, 4.729841232299804687, 0, 0, -0.70090961456298828, 0.71325010061264038, 120, 255, 1, 57689); -- Bench (Area: Freywold Village - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+76;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+1, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+2, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+3, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+4, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+5, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+6, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+7, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+8, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+9, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+10, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+11, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+12, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+13, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+14, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+15, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+16, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+17, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+18, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+19, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+20, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+21, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+22, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+23, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+25, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+26, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+27, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+28, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Stool
(@OGUID+29, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+30, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+31, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+32, 0, 0, 0.894933879375457763, 0.446198910474777221, 0, 0), -- Chair
(@OGUID+33, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Stool
(@OGUID+34, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+35, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+36, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Stool
(@OGUID+37, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+39, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+41, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+42, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+43, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+44, 0, 0, 0.893017828464508056, 0.450021326541900634, 0, 0), -- Chair
(@OGUID+45, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Chair
(@OGUID+46, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+47, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Cooking Fire
(@OGUID+49, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+51, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+52, 0, 0, 0.878820538520812988, -0.47715246677398681, 0, 0), -- Bench
(@OGUID+55, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+56, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+59, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Chair
(@OGUID+60, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+61, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+64, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+65, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+68, 0, 0, 0, 1, 2100, 0), -- Stones of the Wolds Part 1
(@OGUID+72, 0, 0, 0, 1, 2100, 0), -- Adelgonn's Journal
(@OGUID+93, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+73, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+74, 0, 0, 0, 1, 2100, 0), -- Observational Notes: Stormrooks
(@OGUID+75, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0), -- Bench
(@OGUID+76, 0, 0, 0.999961912631988525, -0.00872652977705001, 0, 0); -- Bench
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (230543 /*230543 (Archivist Rohlnar) - Cosmetic - Reading Book - All Races [DNT]*/, 227790 /*227790 (Kothilde) - [DNT] 11.0 Z1 - Earthen Shoveling (RPS)*/, 217450 /*217450 (Unbound Protector)*/);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(230543, 0, 0, 0, 0, 0, 0, 0, 0, 27930, 0, 0, 0, '452224'), -- 230543 (Archivist Rohlnar) - Cosmetic - Reading Book - All Races [DNT]
(227790, 0, 0, 0, 0, 0, 1, 0, 0, 30555, 0, 0, 0, '458803'), -- 227790 (Kothilde) - [DNT] 11.0 Z1 - Earthen Shoveling (RPS)
(217450, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, ''); -- 217450 (Unbound Protector)
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (463992 /*Observational Notes: Stormrooks*/, 466229 /*Adelgonn's Journal*/, 464019 /*Stones of the Wolds Part 1*/, 429692 /*Chair*/, 429687 /*Chair*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(463992, 0, 0x40000, 2100, 0), -- Observational Notes: Stormrooks
(466229, 0, 0x40000, 2100, 0), -- Adelgonn's Journal
(464019, 0, 0x40000, 2100, 0), -- Stones of the Wolds Part 1
(429692, 114, 0x0, 0, 0), -- Chair
(429687, 114, 0x0, 0, 0); -- Chair
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=65536, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=217440; -- Albetha
UPDATE `creature_template` SET `faction`=3407, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=225406; -- Marisda
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=230543; -- Archivist Rohlnar
UPDATE `creature_template` SET `faction`=3407, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x100, `unit_flags2`=0x800 WHERE `entry`=216094; -- Kodun
UPDATE `creature_template` SET `faction`=35, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=223637; -- Natalia Pearce
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x2000300, `unit_flags2`=0x800, `unit_flags3`=0x1000000 WHERE `entry`=217193; -- Invis bunny for spell targeting [DNT]
UPDATE `creature_template` SET `faction`=3407, `npcflag`=128, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=225405; -- Bisdina
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x2000000, `unit_flags2`=0x4000800, `unit_flags3`=0x40000000 WHERE `entry`=228709; -- Invis Bunny - POI blob [DNT]
DELETE FROM `gameobject_template` WHERE `entry` IN (444085 /*Crimson Charmer*/, 444083 /*Amber Bloom*/);
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
(444085, 10, 90015, 'Crimson Charmer', 'questinteract', '', '', 1, 3598, 0, 0, 3000, 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, 57689), -- Crimson Charmer
(444083, 10, 90866, 'Amber Bloom', 'questinteract', '', '', 1, 3598, 0, 0, 3000, 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, 57689); -- Amber Bloom
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=216094 AND `MenuID`=34008) OR (`CreatureID`=223649 AND `MenuID`=34964) OR (`CreatureID`=217439 AND `MenuID`=6944) OR (`CreatureID`=223652 AND `MenuID`=34971) OR (`CreatureID`=223648 AND `MenuID`=34969);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(216094, 34008, 57689), -- Kodun
(223649, 34964, 57689), -- Maluc
(217439, 6944, 57689), -- Iridi
(223652, 34971, 57689), -- Kurron
(223648, 34969, 57689); -- Betta
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+3;
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, 264315, 0, 0, 0, 0, 0, 0, 0, 57689), -- 223648 (Betta)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 257442, 0, 0, 0, 0, 0, 0, 0, 57689), -- 216094 (Kodun)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 264320, 0, 0, 0, 0, 0, 0, 0, 57689), -- 223652 (Kurron)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 264299, 0, 0, 0, 0, 0, 0, 0, 57689); -- 223649 (Maluc)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34969 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=34008 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=34971 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=34964 AND `TextID`=@NPCTEXTID+3);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34969, @NPCTEXTID+0, 57689), -- 223648 (Betta)
(34008, @NPCTEXTID+1, 57689), -- 216094 (Kodun)
(34971, @NPCTEXTID+2, 57689), -- 223652 (Kurron)
(34964, @NPCTEXTID+3, 57689); -- 223649 (Maluc)
UPDATE `gossip_menu` SET `VerifiedBuild`=57689 WHERE (`MenuID`=6944 AND `TextID`=7778);
UPDATE `gossip_menu_option` SET `VerifiedBuild`=57689 WHERE (`MenuID`=6944 AND `OptionID`=0);
-- Quest
DELETE FROM `ui_map_quest_line` WHERE (`UIMapId`=2248 AND `QuestLineId` IN (5716,5652,5596));
INSERT INTO `ui_map_quest_line` (`UIMapId`, `QuestLineId`, `VerifiedBuild`) VALUES
(2248, 5716, 57689),
(2248, 5652, 57689),
(2248, 5596, 57689);
UPDATE `ui_map_quest_line` SET `VerifiedBuild`=57689 WHERE (`UIMapId`=2248 AND `QuestLineId` IN (5711,5672,5671,5670,5637,5627,5609,5602,5598,5593,5572,5561,5558,5551,5550,5544,5540,5539,5535,5534,5533,5531,5530,5529,5526,5525,5523,5521,5520,5513,5506,1416,5710,5709,5655,5654,5653,5651,5647,5644,5634,5628,5626,5625,5624,5623,5622,5621,5620,5619,5611,5610,5608,5607,5606,5605,5603,5601,5597,5590,5574,5565,5563,5562,5559,5552,5532,5527,5524,5522,5509,5591));
DELETE FROM `ui_map_quest` WHERE (`UIMapId`=2248 AND `QuestId` IN (83538,81767,81656,83930,82288));
INSERT INTO `ui_map_quest` (`UIMapId`, `QuestId`, `VerifiedBuild`) VALUES
(2248, 83538, 57689), -- Excavation Liberation
(2248, 81767, 57689), -- Scrounge that Scrap!
(2248, 81656, 57689), -- Nothing to Waste
(2248, 83930, 57689), -- Deworming Solution
(2248, 82288, 57689); -- Work Hard, Play Hard
DELETE FROM `creature_queststarter` WHERE (`id`=218535 AND `quest`=82792) OR (`id`=212708 AND `quest`=78570);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(218535, 82792, 57689), -- All Ore Nothing offered by Germira
(212708, 78570, 57689); -- Frayed Legacy offered by Freysworn Cruton
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=217440 AND `DifficultyID`=0); -- 217440 (Albetha) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=225406 AND `DifficultyID`=0); -- 225406 (Marisda) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=230543 AND `DifficultyID`=0); -- 230543 (Archivist Rohlnar) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=216094 AND `DifficultyID`=0); -- 216094 (Kodun) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=223637 AND `DifficultyID`=0); -- 223637 (Natalia Pearce) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000000, `VerifiedBuild`=57689 WHERE (`Entry`=217193 AND `DifficultyID`=0); -- 217193 (Invis bunny for spell targeting [DNT]) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=225405 AND `DifficultyID`=0); -- 225405 (Bisdina) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000100, `VerifiedBuild`=57689 WHERE (`Entry`=228709 AND `DifficultyID`=0); -- 228709 (Invis Bunny - POI blob [DNT]) - Sessile, Floating
-- Path for Redwing Falcon
SET @MOVERGUID := 10000565;
SET @ENTRY := 215036;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.1667, 'Redwing Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1085.9054, -1865.3073, 111.40017, NULL, 0),
(@PATH, 1, 1083.9955, -1855.5425, 111.40017, NULL, 0),
(@PATH, 2, 1089.5496, -1847.2872, 111.40017, NULL, 0),
(@PATH, 3, 1099.3143, -1845.3773, 111.40017, NULL, 0),
(@PATH, 4, 1107.5696, -1850.9314, 111.40017, NULL, 0),
(@PATH, 5, 1109.4796, -1860.6962, 111.40017, NULL, 0),
(@PATH, 6, 1103.9254, -1868.9514, 111.40017, NULL, 0),
(@PATH, 7, 1094.1606, -1870.8615, 111.40017, NULL, 0);
UPDATE `creature` SET `position_x`=1085.9054, `position_y`=-1865.3073, `position_z`=111.40017, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Redwing Falcon
SET @MOVERGUID := 10000596;
SET @ENTRY := 215036;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.2250, 'Redwing Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 997.17883, -1919.0712, 102.7588, NULL, 0),
(@PATH, 1, 993.8993, -1901.7604, 100.33352, NULL, 0),
(@PATH, 2, 982.7153, -1891.1962, 100.33352, NULL, 0),
(@PATH, 3, 963.6493, -1891.2084, 105.89417, NULL, 0),
(@PATH, 4, 951.5764, -1905.0278, 112.88206, NULL, 0),
(@PATH, 5, 959.80206, -1941.9462, 112.88206, NULL, 0),
(@PATH, 6, 975.9028, -1946.132, 112.88206, NULL, 0),
(@PATH, 7, 981.02606, -1941.5747, 112.83701, NULL, 0);
UPDATE `creature` SET `position_x`=997.17883, `position_y`=-1919.0712, `position_z`=102.7588, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Redwing Falcon
SET @MOVERGUID := 10000593;
SET @ENTRY := 215036;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.1667, 'Redwing Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1002.78625, -1838.4913, 113.78512, NULL, 0),
(@PATH, 1, 1012.4332, -1836.0554, 113.78512, NULL, 0),
(@PATH, 2, 1020.9772, -1841.1543, 113.78512, NULL, 0),
(@PATH, 3, 1023.41315, -1850.8013, 113.78512, NULL, 0),
(@PATH, 4, 1018.3142, -1859.3452, 113.78512, NULL, 0),
(@PATH, 5, 1008.66724, -1861.7812, 113.78512, NULL, 0),
(@PATH, 6, 1000.1233, -1856.6823, 113.78512, NULL, 0),
(@PATH, 7, 997.6873, -1847.0353, 113.78512, NULL, 0);
UPDATE `creature` SET `position_x`=1002.78625, `position_y`=-1838.4913, `position_z`=113.78512, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Redwing Falcon
SET @MOVERGUID := 10000651;
SET @ENTRY := 215036;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.1667, 'Redwing Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 891.30554, -1933.8611, 146.89929, NULL, 0),
(@PATH, 1, 900.4979, -1937.6687, 146.89929, NULL, 0),
(@PATH, 2, 904.30554, -1946.8611, 146.89929, NULL, 0),
(@PATH, 3, 900.4979, -1956.0535, 146.89929, NULL, 0),
(@PATH, 4, 891.30554, -1959.8611, 146.89929, NULL, 0),
(@PATH, 5, 882.11316, -1956.0535, 146.89929, NULL, 0),
(@PATH, 6, 878.30554, -1946.8611, 146.89929, NULL, 0),
(@PATH, 7, 882.11316, -1937.6687, 146.89929, NULL, 0);
UPDATE `creature` SET `position_x`=891.30554, `position_y`=-1933.8611, `position_z`=146.89929, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Redwing Falcon
SET @MOVERGUID := 10000592;
SET @ENTRY := 215036;
SET @PATHOFFSET := 4;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 8.1669, 'Redwing Falcon - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 981.3976, -1791.4036, 115.99746, NULL, 0),
(@PATH, 1, 973.4488, -1797.3881, 115.99746, NULL, 0),
(@PATH, 2, 963.59644, -1795.9991, 115.99746, NULL, 0),
(@PATH, 3, 957.61194, -1788.0503, 115.99746, NULL, 0),
(@PATH, 4, 959.0009, -1778.198, 115.99746, NULL, 0),
(@PATH, 5, 966.9497, -1772.2134, 115.99746, NULL, 0),
(@PATH, 6, 976.80206, -1773.6024, 115.99746, NULL, 0),
(@PATH, 7, 982.78656, -1781.5513, 115.99746, NULL, 0);
UPDATE `creature` SET `position_x`=981.3976, `position_y`=-1791.4036, `position_z`=115.99746, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,66 @@
-- Gossips
UPDATE `gossip_menu` SET `VerifiedBuild`=57388 WHERE (`MenuID`=14988 AND `TextID`=21186) OR (`MenuID`=4342 AND `TextID`=5516);
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=14988 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(14988, 41023, 0, 0, 'I''m ready to go, General.', 67518, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57388);
UPDATE `gossip_menu_option` SET `VerifiedBuild`=57388 WHERE (`MenuID`=4342 AND `OptionID`=0);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=14988 AND `SourceEntry`=0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15,14988,0,0,0,47,0,29690,8,0,'',0,0,0,'','Show gossip option if quest 29690 is taken');
-- Quests
UPDATE `quest_poi` SET `VerifiedBuild`=57388 WHERE (`QuestID`=29690 AND `BlobIndex`=0 AND `Idx1`=1) OR (`QuestID`=29690 AND `BlobIndex`=0 AND `Idx1`=0);
UPDATE `quest_poi_points` SET `VerifiedBuild`=57388 WHERE (`QuestID`=29690 AND `Idx1`=1 AND `Idx2`=0) OR (`QuestID`=29690 AND `Idx1`=0 AND `Idx2`=0);
UPDATE `quest_details` SET `VerifiedBuild`=57388 WHERE `ID`=29690;
DELETE FROM `quest_request_items` WHERE `ID`=29690;
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `EmoteOnCompleteDelay`, `EmoteOnIncompleteDelay`, `CompletionText`, `VerifiedBuild`) VALUES
(29690, 0, 0, 0, 0, '', 57388); -- Into the Mists
UPDATE `creature_queststarter` SET `VerifiedBuild`=57388 WHERE (`id`=55054 AND `quest`=29690);
UPDATE `creature_questender` SET `VerifiedBuild`=57388 WHERE (`id`=55135 AND `quest`=29690) OR (`id`=55054 AND `quest`=31853);
-- Spells
DELETE FROM `spell_target_position` WHERE (`EffectIndex`=0 AND `ID`=102930);
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES
(102930, 0, 870, 3138.8701171875, -721.25, 325, 57388); -- Spell: 102930 (Teleport Player to Crash Site) Effect: 252 (SPELL_EFFECT_TELEPORT_UNITS)
UPDATE `spell_target_position` SET `PositionX`=1445.2099609375, `PositionY`=-4499.56005859375, `PositionZ`=18.30999946594238281, `VerifiedBuild`=57388 WHERE (`ID`=123073 AND `EffectIndex`=0); -- Spell: 123073 (Portal: Orgrimmar) Efffect: 252 (SPELL_EFFECT_TELEPORT_UNITS)
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_teleport_prep', 'spell_teleport_timer', 'spell_into_the_mists_scene_jf', 'spell_cancel_blackout', 'spell_into_the_mists_scene_end');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(130810, 'spell_teleport_prep'),
(132034, 'spell_teleport_timer'),
(121545, 'spell_into_the_mists_scene_jf'),
(130812, 'spell_cancel_blackout'),
(130723, 'spell_into_the_mists_scene_end');
-- Smart scripts
DELETE FROM `scene_template` WHERE `SceneId`=87;
INSERT INTO `scene_template` (`SceneId`, `Flags`, `ScriptPackageID`, `Encrypted`, `ScriptName`) VALUES
(87, 11, 228, 0, 'SmartScene');
DELETE FROM `areatrigger_scripts` WHERE `entry`=8045;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(8045, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid`=55054 AND `source_type`=0 AND `id` IN (3, 4);
DELETE FROM `smart_scripts` WHERE `entryorguid`=8045 AND `source_type`=2;
DELETE FROM `smart_scripts` WHERE `entryorguid`=87 AND `source_type`=10;
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
(55054,0,3,4,'',62,0,100,0,14988,0,0,0,0,'',134,130810,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'General Nazgrim - On gossip option 0 selected - Invoker casts ''Teleport Prep'''),
(55054,0,4,0,'',61,0,100,0,0,0,0,0,0,'',72,0,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'General Nazgrim - Event linked - Close gossip'),
(8045,2,0,0,'',46,0,100,0,0,0,0,0,0,'',134,121545,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Areatrigger 8045 - On trigger - Invoker casts ''Into the Mists Scene - JF'''),
(87,10,0,0,'',81,0,100,0,0,0,0,0,0,'',134,130723,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Scene 87 - On scene complete - Invoker casts ''Into the Mists Scene End'''),
(87,10,1,0,'',80,0,100,0,0,0,0,0,0,'',134,130723,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Scene 87 - On scene cancel - Invoker casts ''Into the Mists Scene End''');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=30 AND `SourceEntry`=8045;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(30,0,8045,0,0,47,0,29690,8,0,'',0,0,0,'','Areatrigger 8045 triggers if quest 29690 is taken');
@@ -0,0 +1,43 @@
SET @CONDREFID := 40004;
-- Spells
DELETE FROM `spell_target_position` WHERE (`EffectIndex`=2 AND `ID`=130805);
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `VerifiedBuild`) VALUES
(130805, 2, 0, -8450.73046875, 343.7130126953125, 135.9799957275390625, 57534); -- Spell: 130805 (MoP: Alliance Intro Movie PLAY) Efffect: 252 (SPELL_EFFECT_TELEPORT_UNITS)
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_the_kings_command_movie_aura');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(130804, 'spell_the_kings_command_movie_aura');
-- Smart scripts
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1750;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1750 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
(1750,0,0,0,'',19,0,100,0,29547,0,0,0,0,'',134,130804,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Grand Admiral Jes-Tereth - On quest ''The King''s Command'' taken - Invoker casts ''The King''s Command Movie Aura''');
DELETE FROM `areatrigger_scripts` WHERE `entry` IN (7045, 7046);
INSERT INTO `areatrigger_scripts` VALUES
(7045, 'SmartTrigger'),
(7046, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (7045, 7046) AND `source_type`=2;
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
(7045,2,0,0,'',46,0,100,0,0,0,0,0,0,'',134,130804,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Areatrigger 7045 - On trigger - Invoker casts ''The King''s Command Movie Aura'''),
(7046,2,0,0,'',46,0,100,0,0,0,0,0,0,'',134,130804,0x2,(0x20 | 0x40000),0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Areatrigger 7046 - On trigger - Invoker casts ''The King''s Command Movie Aura''');
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=30 AND `SourceEntry` IN (7045, 7046);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=-@CONDREFID;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(30,0,7045,0,0,6,0,469,0,0,'',0,0,0,'','Areatrigger 7045 triggers if player is Alliance'),
(30,0,7045,0,0,-@CONDREFID,0,0,0,0,'',0,0,0,'','Areatrigger 7045 triggers if condition reference 40004 is fulfilled'),
(30,0,7046,0,0,6,0,469,0,0,'',0,0,0,'','Areatrigger 7046 triggers if player is Alliance'),
(30,0,7046,0,0,-@CONDREFID,0,0,0,0,'',0,0,0,'','Areatrigger 7046 triggers if condition reference 40004 is fulfilled'),
(-@CONDREFID,0,0,0,0,47,0,29547,8,0,'',0,0,0,'','Apply condition reference if quest 29547 is taken'),
(-@CONDREFID,0,0,0,1,47,0,49556,8,0,'',0,0,0,'','Apply condition reference if quest 49556 is taken'),
(-@CONDREFID,0,0,0,2,47,0,49866,8,0,'',0,0,0,'','Apply condition reference if quest 49866 is taken'),
(-@CONDREFID,0,0,0,3,47,0,60125,8,0,'',0,0,0,'','Apply condition reference if quest 60125 is taken');
UPDATE `conditions` SET `Comment`='Areatrigger 8463 triggers if player is Horde' WHERE `SourceTypeOrReferenceId`=30 AND `SourceEntry`=8463 AND `ConditionTypeOrReference`=6;
UPDATE `conditions` SET `Comment`='Areatrigger 8463 triggers if condition reference 40001 is fulfilled' WHERE `SourceTypeOrReferenceId`=30 AND `SourceEntry`=8463 AND `ConditionTypeOrReference`=-40001;
@@ -0,0 +1,132 @@
SET @CGUID := 10004582;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 224707, 2552, 14717, 14788, '0', 23935, 0, 0, 0, 1561.5242919921875, -2257.34033203125, 25.00594329833984375, 2.806776762008666992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Alvegar (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+1, 224707, 2552, 14717, 14788, '0', 23929, 0, 0, 0, 1630.859375, -2381.404541015625, 80.43780517578125, 4.474325180053710937, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Alvegar (Area: The Opalcreg - 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, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Alvegar
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=224707; -- Alvegar
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (23935, 23929);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23935, 'Cosmetic - See Alvegar hiding near The Opalcreg'),
(23929, 'Cosmetic - See Alvegar at the top of The Opalcreg');
DELETE FROM `phase_area` WHERE `PhaseId` IN (23935, 23929);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14788, 23935, 'See Alvegar hiding near The Opalcreg'),
(14788, 23929, 'See Alvegar at the top of The Opalcreg');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23935 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23929 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23935, 0, 0, 0, 47, 0, 82792, 2|8|64, 0, 0, 'Apply Phase 23935 if Quest 82792 is taken | complete | rewarded'),
(26, 23935, 0, 0, 0, 47, 0, 82796, 2|8|64, 0, 1, 'Apply Phase 23935 if Quest 82796 is not taken | complete | rewarded'),
(26, 23929, 0, 0, 0, 47, 0, 82796, 2|8|64, 0, 0, 'Apply Phase 23929 if Quest 82796 is taken | complete | rewarded'),
(26, 23929, 0, 0, 0, 47, 0, 82797, 2|8|64, 0, 1, 'Apply Phase 23929 if Quest 82797 is not taken | complete | rewarded');
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 224707;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(224707, 0, 0, 'Over here!', 12, 0, 100, 0, 0, 0, 0, 0, 'Alvegar to Player'),
(224707, 1, 0, 'See you up top.', 12, 0, 100, 0, 0, 0, 0, 0, 'Alvegar to Player'),
(224707, 2, 0, 'Cogs bless you. I must inform the Foreman on what\'s happening.', 12, 0, 100, 0, 0, 0, 0, 0, 'Alvegar to Player');
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=224707 AND `quest`=82796) OR (`id`=224707 AND `quest`=82797);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(224707, 82796, 57689), -- Third Mine Blind offered by Alvegar
(224707, 82797, 57689); -- Hit Rock Bottom offered by Alvegar
DELETE FROM `creature_questender` WHERE (`id`=224707 AND `quest`=82792) OR (`id`=224707 AND `quest`=82796);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(224707, 82792, 57689), -- All Ore Nothing ended by Alvegar
(224707, 82796, 57689); -- Third Mine Blind ended by Alvegar
DELETE FROM `quest_template_addon` WHERE `ID` IN (82796, 82797);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(82796, 0, 0, 0, 82792, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Third Mine Blind
(82797, 0, 0, 0, 82796, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- Hit Rock Bottom
-- Alvegar smart ai
SET @ENTRY := 224707;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 19, 0, 100, 0, 82796, 0, 0, 0, 0, 80, 22470700, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Third Mine Blind (82796) - Self: Start timed action list id #Alvegar #0 (22470700) (update out of combat)', ''),
(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 82797, 0, 0, 0, 0, 80, 22470701, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Hit Rock Bottom (82797) - Self: Start timed action list id #Alvegar #1 (22470701) (update out of combat)', '');
-- Timed list 22470700 smart ai
SET @ENTRY := 22470700;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Become personal clone for Last action invoker for 0 seconds (manual despawn)', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set npc flags NONE', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Talk 1 to invoker', ''),
(@ENTRY, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 22470700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #22470700, walk, do not repeat, Passive', ''),
(@ENTRY, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 3 seconds - Self: Despawn instantly', '');
-- Timed list 22470701 smart ai
SET @ENTRY := 22470701;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Become personal clone for Last action invoker for 0 seconds (manual despawn)', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set npc flags NONE', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Talk 2 to invoker', ''),
(@ENTRY, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 22470701, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Start path #22470701, walk, do not repeat, Passive', ''),
(@ENTRY, 9, 4, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 8 seconds - Self: Despawn instantly', '');
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=224707 AND `DifficultyID`=0); -- 224707 (Alvegar) - CanSwim
-- Path for Alvegar
SET @ENTRY := 224707;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 1, 0x0, NULL, 'Alvegar - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1561.4739, -2257.916, 25.369654, NULL, 0),
(@PATH, 1, 1558.4739, -2258.416, 25.119654, NULL, 0),
(@PATH, 2, 1558.2239, -2258.416, 24.869654, NULL, 0),
(@PATH, 3, 1556.7239, -2259.916, 25.369654, NULL, 0),
(@PATH, 4, 1554.9739, -2260.666, 25.119654, NULL, 0),
(@PATH, 5, 1552.9739, -2261.416, 25.369654, NULL, 0),
(@PATH, 6, 1551.2239, -2262.166, 25.369654, NULL, 0),
(@PATH, 7, 1550.2239, -2262.666, 25.619654, NULL, 0),
(@PATH, 8, 1548.4236, -2263.4915, 25.65003, NULL, 0),
(@PATH, 9, 1547.05, -2262.6719, 25.785364, NULL, 0),
(@PATH, 10, 1546.05, -2262.6719, 25.785364, NULL, 0),
(@PATH, 11, 1545.05, -2262.6719, 25.785364, NULL, 0),
(@PATH, 12, 1544.05, -2262.1719, 25.785364, NULL, 0),
(@PATH, 13, 1541.9236, -2261.698, 25.338785, NULL, 0);
-- Path for Alvegar
SET @ENTRY := 224707;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Alvegar - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1633.5148, -2382.2048, 81.480225, NULL, 0),
(@PATH, 1, 1635.0148, -2382.7048, 81.730225, NULL, 0),
(@PATH, 2, 1636.7648, -2383.2048, 81.980225, NULL, 0),
(@PATH, 3, 1638.7648, -2383.9548, 81.730225, NULL, 0),
(@PATH, 4, 1641.1702, -2385.0051, 80.939316, NULL, 0),
(@PATH, 5, 1643.1719, -2384.9482, 80.91426, NULL, 0),
(@PATH, 6, 1644.1719, -2385.1982, 80.16426, NULL, 0),
(@PATH, 7, 1645.1719, -2385.1982, 79.91426, NULL, 0),
(@PATH, 8, 1647.9219, -2385.4482, 80.91426, NULL, 0),
(@PATH, 9, 1648.5295, -2385.889, 80.748, NULL, 0);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,32 @@
SET @OGUID := 10001191;
SET @ATID := 33862;
SET @ATCP := 90;
SET @ATIDSPAWN := 103;
-- GameObject
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, 453062, 2552, 14717, 14788, '0', 0, 0, 1628.1944580078125, -2381.8369140625, 80.79339599609375, 4.770765304565429687, 0.388990402221679687, 0.376737594604492187, -0.58820533752441406, 0.600641131401062011, 120, 255, 0, 57689); -- Parachute (Area: The Opalcreg - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` = @OGUID+0;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0, 1, 569, 0); -- Parachute
-- Template Addon
DELETE FROM `gameobject_template_addon` WHERE `entry` = 453062;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(453062, 0, 0x40001, 569, 0); -- Parachute
-- Serverside AT
DELETE FROM `areatrigger_template` WHERE (`Id` = @ATID+0 AND `IsCustom` = 0);
INSERT INTO `areatrigger_template` (`Id`, `IsCustom`, `Flags`, `VerifiedBuild`) VALUES
(@ATID+0, 0, 1, 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, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 4, 60, 60, 7, 7, 0, 0, 0, 0, '', 0);
DELETE FROM `areatrigger` WHERE `SpawnId` = @ATIDSPAWN+0;
INSERT INTO `areatrigger` (`SpawnId`, `AreaTriggerCreatePropertiesId`, `IsCustom`, `MapId`, `SpawnDifficulties`, `PosX`, `PosY`, `PosZ`, `Orientation`, `PhaseUseFlags`, `PhaseId`, `PhaseGroup`, `ScriptName`, `Comment`, `VerifiedBuild`) VALUES
(@ATIDSPAWN+0, @ATCP+0, 1, 2552, '0', 1622.472, -2412.862, -42.118, 5.41855, 0, 0, 0, '', 'Isle of Dorn - The Opalcreg - Killcredit for Quest: "Hit Rock Bottom"', 0);
@@ -0,0 +1,121 @@
SET @CGUID := 10004584;
SET @NPCTEXTID := 600049;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 224708, 2552, 14717, 14788, '0', 23936, 0, 0, 0, 1680.701416015625, -2489.767333984375, -58.984619140625, 3.507415056228637695, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Cenderragg (Area: The Opalcreg - 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, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Cenderragg
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=224708; -- Cenderragg
-- Phase
DELETE FROM `phase_name` WHERE `ID` = 23936;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23936, 'Cosmetic - See Cenderragg in the cave of The Opalcreg');
DELETE FROM `phase_area` WHERE `PhaseId` = 23936;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14788, 23936, 'See Cenderragg in the cave of The Opalcreg');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23936 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23936, 0, 0, 0, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 0, 47, 0, 82799, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82799 is not taken | complete | rewarded'),
(26, 23936, 0, 0, 0, 47, 0, 82798, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82798 is not taken | complete | rewarded'),
--
(26, 23936, 0, 0, 1, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 1, 47, 0, 82799, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82799 is taken | complete | rewarded'),
(26, 23936, 0, 0, 1, 47, 0, 82798, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82798 is not taken | complete | rewarded'),
--
(26, 23936, 0, 0, 2, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 2, 47, 0, 82799, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82799 is not taken | complete | rewarded'),
(26, 23936, 0, 0, 2, 47, 0, 82798, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82798 is taken | complete | rewarded');
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 224708;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(224708, 0, 0, 'Clear the path for me! I\'ll see you closer to the entrance to discuss how to shut this operation down.', 12, 0, 100, 0, 0, 0, 0, 0, 'Cenderragg to Player');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=224708 AND `MenuID`=35425);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(224708, 35425, 57689); -- Cenderragg
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @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, 268155, 0, 0, 0, 0, 0, 0, 0, 57689); -- 224708 (Cenderragg)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35425 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35425, @NPCTEXTID+0, 57689); -- 224708 (Cenderragg)
-- Quest
DELETE FROM `ui_map_quest` WHERE (`UIMapId`=2248 AND `QuestId`=84429);
INSERT INTO `ui_map_quest` (`UIMapId`, `QuestId`, `VerifiedBuild`) VALUES
(2248, 84429, 57689); -- Construct Containment
DELETE FROM `creature_queststarter` WHERE (`id`=224708 AND `quest` IN (82799,82798));
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82799, 57689), -- Web Beats Rock offered by Cenderragg
(224708, 82798, 57689); -- An Opal of Mine offered by Cenderragg
DELETE FROM `creature_questender` WHERE (`id`=224708 AND `quest`=82797);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82797, 57689); -- Hit Rock Bottom ended by Cenderragg
DELETE FROM `quest_template_addon` WHERE `ID` IN (82799, 82798);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(82799, 0, 0, 0, 82797, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Web Beats Rock
(82798, 0, 0, 0, 82797, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- An Opal of Mine
-- Cenderragg smart ai
SET @ENTRY := 224708;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 19, 0, 100, 0, 82799, 0, 0, 0, 0, 80, 22470800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest Web Beats Rock (82799) - Self: Start timed action list id #Cenderragg #0 (22470800) (update out of combat)', ''),
(@ENTRY, 0, 1, 0, 19, 0, 100, 0, 82798, 0, 0, 0, 0, 80, 22470800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest An Opal of Mine (82798) - Self: Start timed action list id #Cenderragg #0 (22470800) (update out of combat)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 224708 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, 224708, 0, 0, 9, 0, 82798, 0, 0, '', 0, 'Action invoker has quest An Opal of Mine (82798) active'),
(22, 2, 224708, 0, 0, 9, 0, 82799, 0, 0, '', 0, 'Action invoker has quest Web Beats Rock (82799) active');
-- Timed list 22470800 smart ai
SET @ENTRY := 22470800;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Become personal clone for Last action invoker for 0 seconds (manual despawn)', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set npc flags NONE', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Talk 0 to invoker', ''),
(@ENTRY, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 53, 0, 22470800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Start path #22470800, walk, do not repeat, Passive', ''),
(@ENTRY, 9, 4, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 9 seconds - Self: Despawn instantly', '');
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=224708 AND `DifficultyID`=0); -- 224708 (Cenderragg) - CanSwim
-- Path for Cenderragg
SET @ENTRY := 224708;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Cenderragg - Scripted Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1679.7717, -2489.8135, -58.794106, NULL, 0),
(@PATH, 1, 1674.5217, -2490.0635, -58.794106, NULL, 0),
(@PATH, 2, 1674.0217, -2490.3135, -58.794106, NULL, 0),
(@PATH, 3, 1668.2717, -2490.3135, -58.044106, NULL, 0),
(@PATH, 4, 1667.7717, -2490.3135, -58.294106, NULL, 0),
(@PATH, 5, 1667.0217, -2490.3135, -58.294106, NULL, 0),
(@PATH, 6, 1663.342, -2490.8594, -58.686928, NULL, 0),
(@PATH, 7, 1662.8455, -2490.6362, -58.544083, NULL, 0),
(@PATH, 8, 1659.507, -2490.6233, -58.644463, NULL, 0);
@@ -0,0 +1,4 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_evo_verdant_embrace', 'spell_evo_verdant_embrace_trigger_heal');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(360995, 'spell_evo_verdant_embrace'),
(396557, 'spell_evo_verdant_embrace_trigger_heal');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_tactical_retreat';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(198793, 'spell_dh_tactical_retreat');
@@ -0,0 +1,3 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (389763);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(389763,0x00,107,0x00000020,0x00000000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x0,0x0,0x0,0,0,0,0); -- Master of the Glaive
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_eye_beam';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(198013, 'spell_dh_eye_beam');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_chaotic_transformation';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(191427, 'spell_dh_chaotic_transformation');
@@ -0,0 +1,9 @@
UPDATE `areatrigger_template` SET `VerifiedBuild`=57689 WHERE (`Id`=11203 AND `IsCustom`=0);
DELETE FROM `areatrigger_create_properties` WHERE (`Id`=6615 AND `IsCustom`=0);
INSERT INTO `areatrigger_create_properties` (`Id`, `IsCustom`, `AreaTriggerId`, `IsAreatriggerCustom`, `Flags`, `MoveCurveId`, `ScaleCurveId`, `MorphCurveId`, `FacingCurveId`, `AnimId`, `AnimKitId`, `DecalPropertiesId`, `SpellForVisuals`, `TimeToTarget`, `TimeToTargetScale`, `Shape`, `ShapeData0`, `ShapeData1`, `ShapeData2`, `ShapeData3`, `ShapeData4`, `ShapeData5`, `ShapeData6`, `ShapeData7`, `ScriptName`, `VerifiedBuild`) VALUES
(6615, 0, 11203, 0, 0, 0, 0, 0, 0, -1, 0, 0, NULL, 0, 8000, 0, 8, 8, 0, 0, 0, 0, 0, 0, 'areatrigger_dh_darkness', 57689); -- Spell: 196718 (Darkness)
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_darkness';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(209426, 'spell_dh_darkness');
@@ -0,0 +1,169 @@
SET @CGUID := 10004585;
SET @OGUID := 10001192;
SET @NPCTEXTID := 600050;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+29;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1659.2100830078125, -2438.388916015625, -6.77278709411621093, 3.070060014724731445, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+1, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1595.9791259765625, -2499.14404296875, -12.2589845657348632, 3.950060129165649414, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+2, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1655.217041015625, -2470.725830078125, -8.35030269622802734, 3.950060129165649414, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+3, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1609.467041015625, -2498.901123046875, -11.6396751403808593, 0.930378496646881103, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+4, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1678.98095703125, -2428.829833984375, -2.39393210411071777, 5.200343608856201171, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+5, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1656.251708984375, -2511.807373046875, -4.49869108200073242, 1.772120475769042968, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+6, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1710.7135009765625, -2405.895751953125, -47.1095161437988281, 3.64921879768371582, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+7, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1638.4896240234375, -2464.085205078125, -10.2341842651367187, 1.569582462310791015, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+8, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1681.2535400390625, -2424.00341796875, -45.4178237915039062, 2.772542476654052734, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+9, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1660.0347900390625, -2433.204833984375, -5.77955007553100585, 4.406142234802246093, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+10, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1692.2552490234375, -2421.0400390625, -1.04082369804382324, 2.620611190795898437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+11, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1643.6649169921875, -2443.244873046875, -43.1610298156738281, 1.00031900405883789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+12, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1590.876708984375, -2480.092041015625, -13.4635906219482421, 0.871347963809967041, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+13, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1611.51220703125, -2447.947998046875, -14.9657478332519531, 5.356293678283691406, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+14, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1672.920166015625, -2454.632080078125, -7.06928348541259765, 3.138380765914916992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+15, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1617.23095703125, -2502.40283203125, -10.0145339965820312, 3.504555940628051757, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+16, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1575.1632080078125, -2479.80029296875, -52.07293701171875, 0.661658108234405517, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+17, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1676.1961669921875, -2479.178955078125, -6.64516735076904296, 2.721494913101196289, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+18, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1622.3853759765625, -2465.00341796875, -12.6451845169067382, 1.344075560569763183, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+19, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1571.126708984375, -2452.538330078125, -55.886260986328125, 5.882104873657226562, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+20, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1550.8350830078125, -2421.76904296875, -25.7293472290039062, 5.882104873657226562, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+21, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1576.9149169921875, -2384.3837890625, -32.9735527038574218, 4.851584434509277343, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+22, 226292, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1647.3038330078125, -2360.95654296875, -42.9849166870117187, 4.160091876983642578, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1 (Auras: 449618 - [DNT] Cosmetic - Woven Cocoon State)
(@CGUID+23, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1623.13720703125, -2360.953125, 11.84552574157714843, 3.357110023498535156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+24, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1652.27783203125, -2353.350830078125, 10.15030860900878906, 3.223987579345703125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+25, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1679.8629150390625, -2352.986083984375, 11.86206626892089843, 5.955498218536376953, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+26, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1656.3697509765625, -2343.154541015625, -2.51760363578796386, 3.950060129165649414, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+27, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1639.3785400390625, -2356.420166015625, 11.13512706756591796, 1.874772548675537109, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+28, 226838, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1680.923583984375, -2305.21533203125, 11.12991046905517578, 1.987367987632751464, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Opalcreg Worker (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@CGUID+29, 224708, 2552, 14717, 14788, '0', 24032, 0, 0, 0, 1671.4478759765625, -2383.770751953125, 5.426219940185546875, 4.040614128112792968, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Cenderragg (Area: The Opalcreg - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+36;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+13, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+17, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+19, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'), -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
(@CGUID+22, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '449618'); -- 226292 (Opalcreg Worker) - [DNT] Cosmetic - Woven Cocoon State
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+4;
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, 454189, 2552, 14717, 14788, '0', 0, 0, 1564.5850830078125, -2436.076416015625, -22.9202518463134765, 1.628190994262695312, -0.11918592453002929, -0.02024555206298828, 0.726612091064453125, 0.676328122615814208, 120, 255, 1, 57689), -- Opal Ore (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@OGUID+1, 454189, 2552, 14717, 14788, '0', 0, 0, 1642.9478759765625, -2459.163330078125, -43.3351402282714843, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Opal Ore (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@OGUID+2, 454189, 2552, 14717, 14788, '0', 0, 0, 1699.9322509765625, -2403.1806640625, -47.2254905700683593, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Opal Ore (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@OGUID+3, 454189, 2552, 14717, 14788, '0', 0, 0, 1655.8072509765625, -2479.600830078125, -58.6452980041503906, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Opal Ore (Area: The Opalcreg - Difficulty: 0) CreateObject1
(@OGUID+4, 454189, 2552, 14717, 14788, '0', 0, 0, 1583.78125, -2405.921875, -27.4102687835693359, 0, 0, 0, 0, 1, 120, 255, 1, 57689); -- Opal Ore (Area: The Opalcreg - Difficulty: 0) CreateObject1
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` = 226838;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(226838, 0, 0, 0, 0, 0, 1, 0, 648, 0, 0, 0, 0, ''); -- Opalcreg Worker
DELETE FROM `gameobject_template_addon` WHERE `entry`=454189;
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(454189, 0, 0x204004, 0, 0); -- Opal Ore
-- Template
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `unit_flags3`=0xC0000000 WHERE `entry`=226422; -- Opalcreg Worker
UPDATE `creature_template` SET `faction`=14, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=225702; -- Nerubian Swarmite
UPDATE `creature_template` SET `faction`=14, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800 WHERE `entry`=224710; -- Kix'arak
UPDATE `creature_template` SET `faction`=3407, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags3`=0x40000000 WHERE `entry`=226292; -- Opalcreg Worker
UPDATE `creature_template` SET `faction`=14, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=219397; -- Shalescale Striker
UPDATE `creature_template` SET `faction`=3407, `npcflag`=3, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=224708; -- Cenderragg
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800, `unit_flags3`=0x14000000 WHERE `entry`=219265; -- Emperor Pitfang
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x100, `unit_flags2`=0x800 WHERE `entry`=226838; -- Opalcreg Worker
-- Gossip
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+1;
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, 269518, 0, 0, 0, 0, 0, 0, 0, 57689), -- 224708 (Cenderragg)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 269612, 0, 0, 0, 0, 0, 0, 0, 57689); -- 224708 (Cenderragg)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35982 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=36028 AND `TextID`=@NPCTEXTID+1);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35982, @NPCTEXTID+0, 57689), -- 224708 (Cenderragg)
(36028, @NPCTEXTID+1, 57689); -- 224708 (Cenderragg)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=35425 AND `OptionID` IN (1,0));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(35425, 123762, 1, 0, 'What do the nerubians want from you?', 0, 0, 0, 36028, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35425, 123732, 0, 0, 'Why are these opals worth risking your life?', 0, 0, 0, 35982, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` IN (35425));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(15, 35425, 0, 0, 0, 47, 0, 82798, 74, 0, '', 0, 'Player for which gossip text is shown has An Opal of Mine (82798) in state complete, incomplete, rewarded'),
(15, 35425, 0, 0, 0, 47, 0, 82799, 74, 0, '', 0, 'Player for which gossip text is shown has Web Beats Rock (82799) in state complete, incomplete, rewarded'),
(15, 35425, 1, 0, 0, 47, 0, 82798, 74, 0, '', 0, 'Player for which gossip text is shown has An Opal of Mine (82798) in state complete, incomplete, rewarded'),
(15, 35425, 1, 0, 0, 47, 0, 82799, 74, 0, '', 0, 'Player for which gossip text is shown has Web Beats Rock (82799) in state complete, incomplete, rewarded');
-- Phase
DELETE FROM `phase_name` WHERE `ID` = 24032;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(24032, 'Cosmetic - See Cenderragg in the cave of The Opalcreg');
DELETE FROM `phase_area` WHERE `PhaseId` = 24032;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14788, 24032, 'See Cenderragg in the cave of The Opalcreg');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23936 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23936, 0, 0, 0, 47, 0, 82799, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82799 is taken | complete | rewarded'),
(26, 23936, 0, 0, 0, 47, 0, 82798, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82798 is taken | complete | rewarded');
-- Loot
DELETE FROM `creature_loot_template` WHERE `Entry` = 224149;
INSERT INTO `creature_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(224149, 0, 224808, 25, 1, 1, 0, 1, 1, 'Opal Ore');
UPDATE `creature_template_difficulty` SET `LootID` = 224149 WHERE `Entry` IN (224149, 224150);
DELETE FROM `gameobject_loot_template` WHERE `Entry` = 126024;
INSERT INTO `gameobject_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(126024, 0, 224808, 100, 1, 1, 0, 1, 1, 'Opal Ore');
-- Quest
DELETE FROM `ui_map_quest` WHERE (`UIMapId`=2248 AND `QuestId` IN (84429,82257));
INSERT INTO `ui_map_quest` (`UIMapId`, `QuestId`, `VerifiedBuild`) VALUES
(2248, 84429, 57689), -- Construct Containment
(2248, 82257, 57689); -- Burrow Burial
DELETE FROM `creature_queststarter` WHERE (`id`=224708 AND `quest`=82800);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82800, 57689); -- A Sedimental Moment offered by Cenderragg
DELETE FROM `creature_questender` WHERE (`id`=224708 AND `quest` IN (82799,82798));
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82799, 57689), -- Web Beats Rock ended by Cenderragg
(224708, 82798, 57689); -- An Opal of Mine ended by Cenderragg
DELETE FROM `quest_template_addon` WHERE `ID` IN (82799, 82798);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(82799, 0, 0, 0, 82797, 82800, -82799, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Web Beats Rock
(82798, 0, 0, 0, 82797, 82800, -82799, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- An Opal of Mine
DELETE FROM `gameobject_questitem` WHERE (`GameObjectEntry`=454189 AND `Idx`=0);
INSERT INTO `gameobject_questitem` (`GameObjectEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(454189, 0, 224808, 57689); -- Opal Ore
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x30000100, `StaticFlags3`=0x2000000, `VerifiedBuild`=57689 WHERE (`Entry`=226422 AND `DifficultyID`=0); -- 226422 (Opalcreg Worker) - Sessile, CanSwim, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=225702 AND `DifficultyID`=0); -- 225702 (Nerubian Swarmite) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=224710 AND `DifficultyID`=0); -- 224710 (Kix'arak) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x20000100, `VerifiedBuild`=57689 WHERE (`Entry`=226292 AND `DifficultyID`=0); -- 226292 (Opalcreg Worker) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=219397 AND `DifficultyID`=0); -- 219397 (Shalescale Striker) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=224708 AND `DifficultyID`=0); -- 224708 (Cenderragg) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2804, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=219265 AND `DifficultyID`=0); -- 219265 (Emperor Pitfang) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=226838 AND `DifficultyID`=0); -- 226838 (Opalcreg Worker) - CanSwim
@@ -0,0 +1,87 @@
SET @CGUID := 10004615;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+36;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1633.6197509765625, -2367.53125, 11.22044658660888671, 3.833467006683349609, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+1, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1690.90625, -2327.94970703125, 10.35885047912597656, 5.104869365692138671, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+2, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1599.3160400390625, -2343.760498046875, 15.36542224884033203, 3.8426666259765625, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+3, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1663.892333984375, -2342.913330078125, 12.17217254638671875, 4.191411018371582031, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+4, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1600.4722900390625, -2335.796875, 15.95692729949951171, 6.154852867126464843, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+5, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1608.2725830078125, -2340.59716796875, 15.87487125396728515, 1.872506380081176757, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+6, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1687.34033203125, -2299.7275390625, 11.94620895385742187, 6.260561466217041015, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+7, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1704.30908203125, -2344.307373046875, 10.50328254699707031, 5.681008338928222656, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+8, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1651.7413330078125, -2373.3369140625, 8.641309738159179687, 0.516100823879241943, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+9, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1627.2083740234375, -2294.826416015625, 19.78551864624023437, 1.305797934532165527, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+10, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1625.4930419921875, -2344.385498046875, 16.53010940551757812, 3.589919567108154296, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+11, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1694.5555419921875, -2340.532958984375, 14.01274394989013671, 1.269250154495239257, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+12, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1674.5086669921875, -2409.263916015625, 3.392244577407836914, 6.080512046813964843, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+13, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1697.6805419921875, -2404.873291015625, 0.407025307416915893, 3.072361946105957031, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+14, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1695.248291015625, -2424.654541015625, -0.1652492880821228, 5.322813034057617187, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+15, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1671.185791015625, -2463.154541015625, -8.01746368408203125, 5.688301563262939453, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+16, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1644.5242919921875, -2464.942626953125, -8.08136367797851562, 2.273038864135742187, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+17, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1582.173583984375, -2443.717041015625, -21.2715187072753906, 5.365936279296875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+18, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1592.623291015625, -2482.864501953125, -13.1115322113037109, 2.068622589111328125, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+19, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1629.734375, -2511.845458984375, -5.38252735137939453, 1.470829129219055175, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+20, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1613.157958984375, -2469.3994140625, -12.8920907974243164, 1.96464705467224121, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+21, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1570.59033203125, -2403.625, -26.3231849670410156, 1.018332719802856445, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+22, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1556.8629150390625, -2427.748291015625, -23.2648487091064453, 5.135574817657470703, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+23, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1589.295166015625, -2397.614501953125, -30.3449230194091796, 3.103336572647094726, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+24, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1668.2742919921875, -2437.157958984375, -43.8441047668457031, 2.273038864135742187, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+25, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1722.4913330078125, -2422.642333984375, -46.412628173828125, 2.273038864135742187, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+26, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1713.857666015625, -2441.26904296875, -45.9769630432128906, 2.273038864135742187, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+27, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1613.2413330078125, -2358.553955078125, -41.7684402465820312, 1.042003870010375976, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+28, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1653.7725830078125, -2374.15966796875, -42.61199951171875, 0.607931971549987792, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+29, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1686.515625, -2430.407958984375, -46.137939453125, 1.315374374389648437, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+30, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1672.720458984375, -2429.767333984375, -43.477935791015625, 1.385368943214416503, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+31, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1701.90625, -2392.145751953125, -47.1682014465332031, 5.934742927551269531, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+32, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1555.07470703125, -2415.942626953125, -25.36297607421875, 1.689284563064575195, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+33, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1607.98095703125, -2466.380126953125, -51.32073974609375, 5.951233386993408203, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+34, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1636.9739990234375, -2524.435791015625, -57.2230796813964843, 1.305542945861816406, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+35, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1571.845458984375, -2472.307373046875, -52.340087890625, 3.286326885223388671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+36, 219397, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1574.390625, -2448.600830078125, -55.5827522277832031, 5.316397666931152343, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689); -- Shalescale Striker (Area: The Opalcreg - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+36;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Nerubian Webspinner
(@CGUID+7, 0, 0, 0, 0, 0, 1, 0, 567, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+15, 0, 0, 0, 0, 0, 0, 0, 537, 0, 0, 0, 0, ''), -- Nerubian Webspinner
(@CGUID+27, 0, 0, 0, 0, 0, 1, 0, 537, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+32, 0, 0, 0, 0, 0, 1, 0, 537, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+35, 0, 0, 0, 0, 0, 0, 0, 537, 0, 0, 0, 0, ''); -- Nerubian Webspinner
-- Path for Nerubian Skirmisher
SET @MOVERGUID := @CGUID+17;
SET @ENTRY := 224150;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Nerubian Skirmisher - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1596.3013, -2460.9844, -15.605801, NULL, 0),
(@PATH, 1, 1598.8698, -2467.7588, -14.58057, NULL, 0),
(@PATH, 2, 1599.2812, -2479.158, -13.5259695, NULL, 0),
(@PATH, 3, 1598.6024, -2491.5938, -12.35553, NULL, 0),
(@PATH, 4, 1607.8524, -2507.4392, -11.187968, NULL, 0),
(@PATH, 5, 1617.2344, -2508.3213, -8.895281, NULL, 0),
(@PATH, 6, 1629.2084, -2509.7136, -5.6208534, NULL, 0),
(@PATH, 7, 1632.691, -2513.2466, -4.4681997, NULL, 0),
(@PATH, 8, 1641.401, -2515.4011, -4.4606285, NULL, 0),
(@PATH, 9, 1634.1788, -2511.1128, -4.3511605, NULL, 0),
(@PATH, 10, 1629.4305, -2509.6372, -5.5505295, NULL, 0),
(@PATH, 11, 1617.4341, -2508.007, -8.927226, NULL, 0),
(@PATH, 12, 1609.9305, -2506.5715, -10.849711, NULL, 0),
(@PATH, 13, 1599.0834, -2491.5295, -12.383754, NULL, 0),
(@PATH, 14, 1598.967, -2479.0781, -13.538734, NULL, 0),
(@PATH, 15, 1599.2656, -2467.6597, -14.602921, NULL, 0),
(@PATH, 16, 1596.566, -2461.434, -15.50868, NULL, 0),
(@PATH, 17, 1590.1823, -2454.236, -17.709822, NULL, 0),
(@PATH, 18, 1586.1216, -2448.8264, -19.618963, NULL, 0),
(@PATH, 19, 1591.0399, -2455.2952, -17.311071, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,70 @@
SET @NPCTEXTID := 600052;
-- Quest
DELETE FROM `creature_questender` WHERE (`id`=224708 AND `quest` IN (82800,0));
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82800, 57689); -- A Sedimental Moment ended by Cenderragg
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 226838;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(226838, 0, 0, 'Thank you, $c. I will not forget this.', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226838, 0, 1, 'Thank you for working to restore the mine.', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226838, 0, 2, 'Cogs bless you.', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=226838 AND `MenuID`=35321);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(226838, 35321, 57689); -- Opalcreg Worker
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @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, 267009, 0, 0, 0, 0, 0, 0, 0, 57689); -- 226838 (Opalcreg Worker)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35321 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35321, @NPCTEXTID+0, 57689); -- 226838 (Opalcreg Worker)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=35321 AND `OptionID` IN (1,0,2,3));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(35321, 123365, 1, 0, 'We grabbed so much more. Don\'t worry.', 0, 0, 1, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35321, 122997, 0, 0, 'There\'s still a whole lot of nerubians out there. Good luck.', 0, 0, 1, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35321, 123364, 2, 0, 'The Stormriders will be here at any moment!', 0, 0, 1, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35321, 123363, 3, 0, 'Then all my sacrifice... was for nothing?', 0, 0, 1, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` IN (35321));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(14, 35321, @NPCTEXTID+0, 0, 0, 9, 0, 82800, 0, 0, '', 0, 'Player for which gossip text is shown has quest A Sedimental Moment (82800) active');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` IN (35321));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(15, 35321, 0, 0, 0, 9, 0, 82800, 0, 0, '', 0, 'Player for which gossip text is shown has quest A Sedimental Moment (82800) active'),
(15, 35321, 1, 0, 0, 9, 0, 82800, 0, 0, '', 0, 'Player for which gossip text is shown has quest A Sedimental Moment (82800) active'),
(15, 35321, 2, 0, 0, 9, 0, 82800, 0, 0, '', 0, 'Player for which gossip text is shown has quest A Sedimental Moment (82800) active'),
(15, 35321, 3, 0, 0, 9, 0, 82800, 0, 0, '', 0, 'Player for which gossip text is shown has quest A Sedimental Moment (82800) active');
-- Opalcreg Worker smart ai
SET @ENTRY := 226838;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 1, 62, 0, 100, 0, 35321, 0, 0, 0, 0, 80, 22683800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 35321 selected - Self: Start timed action list id #Opalcreg Worker #0 (22683800) (update out of combat)', ''),
(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 35321 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 2, 3, 62, 0, 100, 0, 35321, 1, 0, 0, 0, 80, 22683800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 1 from menu 35321 selected - Self: Start timed action list id #Opalcreg Worker #0 (22683800) (update out of combat)', ''),
(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 1 from menu 35321 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 4, 5, 62, 0, 100, 0, 35321, 2, 0, 0, 0, 80, 22683800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 2 from menu 35321 selected - Self: Start timed action list id #Opalcreg Worker #0 (22683800) (update out of combat)', ''),
(@ENTRY, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 2 from menu 35321 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 6, 7, 62, 0, 100, 0, 35321, 3, 0, 0, 0, 80, 22683800, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 3 from menu 35321 selected - Self: Start timed action list id #Opalcreg Worker #0 (22683800) (update out of combat)', ''),
(@ENTRY, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 3 from menu 35321 selected - Gossip player: Close gossip', '');
-- Timed list 22683800 smart ai
SET @ENTRY := 22683800;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Become personal clone for Last action invoker for 0 seconds (manual despawn)', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set npc flags NONE', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set emote state to 0', ''),
(@ENTRY, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Owner/Summoner: Talk 0 to invoker', ''),
(@ENTRY, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 33, 226838, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Owner/Summoner: Give kill credit Opalcreg Worker (226838)', ''),
(@ENTRY, 9, 5, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 8, 0, 0, 'After 2 seconds - Self: Move forward by 0, left by 8, up by 0 yards', ''),
(@ENTRY, 9, 6, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Despawn instantly', '');
@@ -0,0 +1,20 @@
-- Phase 23936
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23936 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23936, 0, 0, 0, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 0, 47, 0, 82799, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82799 is not taken | complete | rewarded'),
(26, 23936, 0, 0, 0, 47, 0, 82798, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82798 is not taken | complete | rewarded'),
--
(26, 23936, 0, 0, 1, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 1, 47, 0, 82799, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82799 is taken | complete | rewarded'),
(26, 23936, 0, 0, 1, 47, 0, 82798, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82798 is not taken | complete | rewarded'),
--
(26, 23936, 0, 0, 2, 47, 0, 82797, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82797 is taken | complete | rewarded'),
(26, 23936, 0, 0, 2, 47, 0, 82799, 2|8|64, 0, 1, 'Apply Phase 23936 if Quest 82799 is not taken | complete | rewarded'),
(26, 23936, 0, 0, 2, 47, 0, 82798, 2|8|64, 0, 0, 'Apply Phase 23936 if Quest 82798 is taken | complete | rewarded');
-- Phase 24032
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 24032 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 24032, 0, 0, 0, 47, 0, 82799, 2|8|64, 0, 0, 'Apply Phase 24032 if Quest 82799 is taken | complete | rewarded'),
(26, 24032, 0, 0, 0, 47, 0, 82798, 2|8|64, 0, 0, 'Apply Phase 24032 if Quest 82798 is taken | complete | rewarded');
@@ -0,0 +1,74 @@
SET @CGUID := 10004652;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 224710, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1600.611083984375, -2244.0400390625, 26.4508819580078125, 1.743003726005554199, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Kix'arak (Area: The Opalcreg - Difficulty: 0) CreateObject2
UPDATE `creature_template_difficulty` SET `GoldMin` = 22000, `GoldMax` = 30000 WHERE `Entry` = 224710;
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 224710;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(224710, 0, 0, 'For The Queen!', 12, 0, 100, 0, 0, 0, 0, 0, 'Kix\'arak to Player'),
(224710, 1, 0, 'All... Our... Plans...', 12, 0, 100, 0, 0, 0, 0, 0, 'Kix\'arak to Player');
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=224708 AND `quest`=82801);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(224708, 82801, 57689); -- Beetlejeweled offered by Cenderragg
DELETE FROM `creature_questender` WHERE (`id`=218535 AND `quest` = 82801);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(218535, 82801, 57689); -- Beetlejeweled ended by Germira
DELETE FROM `quest_template_addon` WHERE `ID` = 82801;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(82801, 0, 0, 0, 82800, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- Beetlejeweled
-- Kix'arak smart ai
SET @ENTRY := 224710;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On aggro - Self: Talk 0 to invoker', ''),
(@ENTRY, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Talk 1 to invoker', ''),
(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 4000, 6000, 8000, 12000, 0, 11, 448549, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Every 8 - 12 seconds (4 - 6s initially) (IC) - Self: Cast spell 448549 on Victim', ''),
(@ENTRY, 0, 3, 0, 0, 0, 100, 0, 14000, 18000, 22000, 26000, 0, 11, 432127, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Every 22 - 26 seconds (14 - 18s initially) (IC) - Self: Cast spell 432127 on Self', '');
-- Path for Kixarak
SET @MOVERGUID := @CGUID+0;
SET @ENTRY := 224710;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Kix\'arak - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1629.967, -2215.054, 18.494781, NULL, 0),
(@PATH, 1, 1637.566, -2208.9307, 16.840057, NULL, 0),
(@PATH, 2, 1647.2726, -2202.2812, 14.86443, NULL, 0),
(@PATH, 3, 1660.7379, -2202.8508, 13.917351, NULL, 0),
(@PATH, 4, 1673.3073, -2204.2605, 13.463098, NULL, 0),
(@PATH, 5, 1686.2587, -2207.2864, 13.45392, NULL, 0),
(@PATH, 6, 1697.8351, -2207.467, 12.939968, NULL, 0),
(@PATH, 7, 1702.7726, -2209.1545, 12.505653, NULL, 0),
(@PATH, 8, 1697.7396, -2207.236, 12.963745, NULL, 0),
(@PATH, 9, 1686.0885, -2206.7344, 13.45141, NULL, 0),
(@PATH, 10, 1673.6892, -2204.0227, 13.463442, NULL, 0),
(@PATH, 11, 1660.9098, -2202.592, 13.9051, NULL, 0),
(@PATH, 12, 1647.4601, -2202.2744, 14.836533, NULL, 0),
(@PATH, 13, 1638.6423, -2206.6824, 16.531567, NULL, 0),
(@PATH, 14, 1637.4202, -2209.1633, 16.889801, NULL, 0),
(@PATH, 15, 1629.4774, -2214.3994, 18.596039, NULL, 0),
(@PATH, 16, 1615.9688, -2224.375, 22.299618, NULL, 0),
(@PATH, 17, 1604.2048, -2235.2327, 25.067307, NULL, 0),
(@PATH, 18, 1598.5608, -2245.934, 25.06629, NULL, 0),
(@PATH, 19, 1617.6702, -2225.6528, 22.119532, NULL, 0);
UPDATE `creature` SET `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1 @@
UPDATE `smart_scripts` SET `target_type`=1 WHERE `action_type`=60;
@@ -0,0 +1,39 @@
-- Spellclick
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` = 226292;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(226292, 449497, 1, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 18) AND (`SourceGroup` IN (226292));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(18, 226292, 449497, 0, 0, 9, 0, 82799, 0, 0, '', 0, 'Clicker has quest Web Beats Rock (82799) active');
-- Creature Text
DELETE FROM `creature_text` WHERE `CreatureID` = 226292;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(226292, 0, 0, 'What could the nerubians have wanted?', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226292, 0, 1, 'They stole my opals!', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226292, 0, 2, 'Nerubians thought they could stop me!', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226292, 0, 3, 'My precious opal!', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player'),
(226292, 0, 4, 'I\'d better get back to it...', 12, 0, 100, 0, 0, 0, 0, 0, 'Opalcreg Worker to Player');
-- Opalcreg Worker smart ai
SET @ENTRY := 226292;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 449497, 0, 0, 0, 0, 80, 22629200, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On spell 449497 hit - Self: Start timed action list id #Opalcreg Worker #0 (22629200) (update out of combat)', '');
-- Timed list 22629200 smart ai
SET @ENTRY := 22629200;
DELETE FROM `smart_scripts` WHERE `source_type` = 9 AND `entryOrGuid` = @ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 149, 8, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Become personal clone for Last action invoker for 0 seconds (manual despawn)', ''),
(@ENTRY, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Look at Owner/Summoner', ''),
(@ENTRY, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Set npc flags NONE', ''),
(@ENTRY, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Remove rooted', ''),
(@ENTRY, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Self: Enable gravity', ''),
(@ENTRY, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 33, 226292, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Owner/Summoner: Give kill credit Opalcreg Worker (226292)', ''),
(@ENTRY, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 1 seconds - Self: Talk 0 to invoker', ''),
(@ENTRY, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 114, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 14, 0, 0, 'After 1 seconds - Self: Move forward by 14, left by 0, up by 0 yards', ''),
(@ENTRY, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'After 2 seconds - Self: Despawn instantly', ''),
(@ENTRY, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 'After 0 seconds - Owner/Summoner: Reset faction', '');
@@ -0,0 +1,245 @@
SET @CGUID := 10004653;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+51;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1711.138916015625, -2173.8369140625, 14.35614013671875, 3.724487781524658203, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+1, 222757, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1714.7083740234375, -2172.013916015625, 22.04101181030273437, 2.975986480712890625, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Shalewing Devourer (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+2, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1804.98095703125, -2187.536376953125, 13.35955142974853515, 1.996882319450378417, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+3, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1767.736083984375, -2241.890625, 13.70032119750976562, 4.762797355651855468, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+4, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1820.8489990234375, -2207.454833984375, 13.41629695892333984, 3.849431991577148437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+5, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1784.0625, -2242.536376953125, 12.62041187286376953, 5.570622920989990234, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+6, 222057, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1799.21875, -2129.632080078125, 33.86891555786132812, 4.908735275268554687, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Isle Gull (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+7, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1736.8472900390625, -2177.928955078125, 14.47124385833740234, 1.280963420867919921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+8, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1749.6666259765625, -2198.005126953125, 12.66548633575439453, 2.087843656539916992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+9, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1804.7569580078125, -2184.928955078125, 15.04805183410644531, 2.462465763092041015, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+10, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1777.4149169921875, -2208.390625, 13.52799129486083984, 3.111586332321166992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+11, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1758.6441650390625, -2190.057373046875, 14.68305397033691406, 3.81226348876953125, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+12, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1759.3680419921875, -2195.366455078125, 14.18864631652832031, 4.245685577392578125, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+13, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1762.66845703125, -2192.07470703125, 14.77129459381103515, 0.20508924126625061, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+14, 222035, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1786.35595703125, -2117.390625, -2.35906600952148437, 5.754299640655517578, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Softshell Pincher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+15, 222057, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1666.79345703125, -2130.755126953125, 46.84708023071289062, 1.374449968338012695, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Isle Gull (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+16, 222037, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1658.0660400390625, -2096.61279296875, 1.4975510835647583, 1.744527339935302734, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Opalshell Scuttler (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+17, 222057, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1626.3350830078125, -2147.80029296875, 41.19805526733398437, 1.178097367286682128, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Isle Gull (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+18, 222037, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1706.40625, -2141.703125, 7.975809097290039062, 1.191920995712280273, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Opalshell Scuttler (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+19, 222020, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1744.7882080078125, -2117.052001953125, -0.49463799595832824, 3.459854364395141601, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Condensed Droplet (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+20, 222037, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1725.4791259765625, -2091.91845703125, -6.15951776504516601, 1.673431158065795898, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Opalshell Scuttler (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+21, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1653.517333984375, -2220.279541015625, 18.52383613586425781, 0.965128183364868164, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+22, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1663.4271240234375, -2234.647705078125, 18.38194465637207031, 1.325521588325500488, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+23, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1666.7274169921875, -2231.357666015625, 17.47916793823242187, 1.451243758201599121, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+24, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1662.703125, -2229.338623046875, 18.13715362548828125, 1.206099152565002441, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+25, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1680.4271240234375, -2212.79345703125, 14.35614013671875, 3.849431991577148437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+26, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1672.6771240234375, -2238.55908203125, 16.51857376098632812, 1.280963420867919921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+27, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1605.3541259765625, -2205.27783203125, 24.61671638488769531, 0.851092994213104248, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+28, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1600.13720703125, -2220.203125, 25.75853919982910156, 1.099920988082885742, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+29, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1514.1927490234375, -2229.973876953125, 23.81095123291015625, 2.605558395385742187, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+30, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1585.52783203125, -2198.005126953125, 26.0393218994140625, 0.851092994213104248, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+31, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1531.404541015625, -2218.56591796875, 21.310272216796875, 3.85068511962890625, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+32, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1532.1285400390625, -2223.875, 21.17665672302246093, 1.10791325569152832, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+33, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1535.4288330078125, -2220.585205078125, 21.76707839965820312, 3.334431886672973632, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+34, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1523.7569580078125, -2201.40625, 22.34103965759277343, 5.903026580810546875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+35, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1528.8367919921875, -2204.451416015625, 22.68164634704589843, 1.792635321617126464, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+36, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1530.1875, -2197.4619140625, 22.87115478515625, 0.872664630413055419, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+37, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1584.6614990234375, -2249.486083984375, 25.64519691467285156, 0.740212440490722656, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+38, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1522.7447509765625, -2154.666748046875, 26.6631927490234375, 5.753058433532714843, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+39, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1523.467041015625, -2162.763916015625, 27.75173187255859375, 0.688203632831573486, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+40, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1526.7691650390625, -2156.68408203125, 26.8194427490234375, 0.624653518199920654, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+41, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1555.142333984375, -2170.210205078125, 18.87413978576660156, 1.755015134811401367, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+42, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1568.7535400390625, -2206.8525390625, 25.42358207702636718, 0.909680008888244628, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+43, 221681, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1525.2916259765625, -2196.520751953125, 22.41799163818359375, 3.021297693252563476, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Slithering Shalescale (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+44, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1485.43408203125, -2166.569580078125, 21.016143798828125, 3.374113798141479492, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+45, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1555.7603759765625, -2177.307373046875, 20.26731109619140625, 4.054271697998046875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+46, 224149, 2552, 14717, 14788, '0', 0, 0, 0, 1, 1494.157958984375, -2174.34375, 21.42830085754394531, 4.544912338256835937, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Webspinner (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+47, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1476.60595703125, -2175.1962890625, 20.59891319274902343, 1.54922795295715332, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+48, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1462.8038330078125, -2227.8837890625, 23.67787742614746093, 0.985251367092132568, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+49, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1463.52783203125, -2235.98095703125, 24.2897796630859375, 3.60272979736328125, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+50, 225702, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1466.828125, -2229.90283203125, 23.67787742614746093, 4.901484012603759765, 120, 2, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Nerubian Swarmite (Area: The Opalcreg - Difficulty: 0) CreateObject2
(@CGUID+51, 224150, 2552, 14717, 14788, '0', 0, 0, 0, 0, 1469.111083984375, -2196.236083984375, 22.56288909912109375, 3.93996596336364746, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Nerubian Skirmisher (Area: The Opalcreg - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+51;
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, 0, 0, 567, 0, 0, 0, 0, ''), -- Nerubian Webspinner
(@CGUID+8, 0, 0, 0, 0, 0, 1, 0, 567, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+25, 0, 0, 0, 0, 0, 1, 0, 567, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Nerubian Webspinner
(@CGUID+27, 0, 0, 0, 0, 0, 1, 0, 596, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+29, 0, 0, 0, 0, 0, 0, 0, 537, 0, 0, 0, 0, ''), -- Nerubian Webspinner
(@CGUID+30, 0, 0, 0, 0, 0, 1, 0, 537, 0, 0, 0, 0, ''), -- Nerubian Skirmisher
(@CGUID+51, 0, 0, 0, 0, 0, 1, 0, 567, 0, 0, 0, 0, ''); -- Nerubian Skirmisher
-- Path for Nerubian Skirmisher
SET @MOVERGUID := @CGUID+10;
SET @ENTRY := 224150;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Nerubian Skirmisher - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1758.4375, -2206.2795, 12.498931, NULL, 0),
(@PATH, 1, 1750.5173, -2206.0435, 12.498681, NULL, 0),
(@PATH, 2, 1744.1754, -2206.0105, 12.498681, NULL, 0),
(@PATH, 3, 1740.967, -2206.0452, 12.426781, NULL, 0),
(@PATH, 4, 1739.5851, -2203.4739, 12.207017, NULL, 0),
(@PATH, 5, 1769.9236, -2204.1667, 12.505574, NULL, 0),
(@PATH, 6, 1776.0139, -2205.125, 12.926725, NULL, 0),
(@PATH, 7, 1784.5382, -2207.6807, 12.884159, NULL, 0),
(@PATH, 8, 1791.1267, -2201.9895, 13.058727, NULL, 0),
(@PATH, 9, 1770.25, -2206.8508, 12.436472, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Nerubian Skirmisher
SET @MOVERGUID := @CGUID+45;
SET @ENTRY := 224150;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Nerubian Skirmisher - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1546.4062, -2188.1025, 22.726852, NULL, 0),
(@PATH, 1, 1541.1354, -2191.9722, 22.923365, NULL, 0),
(@PATH, 2, 1537.6077, -2193.2656, 22.968088, NULL, 0),
(@PATH, 3, 1531.2882, -2193.6423, 22.608765, NULL, 0),
(@PATH, 4, 1529.158, -2189.3176, 22.425041, NULL, 0),
(@PATH, 5, 1531.2327, -2193.6614, 22.609026, NULL, 0),
(@PATH, 6, 1537.9115, -2193.0903, 22.963964, NULL, 0),
(@PATH, 7, 1541.3021, -2192.073, 22.931204, NULL, 0),
(@PATH, 8, 1546.1007, -2188.1406, 22.729809, NULL, 0),
(@PATH, 9, 1550.6979, -2183.4028, 22.116074, NULL, 0),
(@PATH, 10, 1554.092, -2177.7327, 20.508095, NULL, 0),
(@PATH, 11, 1550.9948, -2183.4688, 22.124826, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Nerubian Skirmisher
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+36;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+36, @CGUID+36, 0, 0, 515, 0, 0),
(@CGUID+36, @CGUID+34, 5, 270, 515, 1, 4),
(@CGUID+36, @CGUID+35, 5, 90, 515, 1, 4);
SET @MOVERGUID := @CGUID+36;
SET @ENTRY := 224150;
SET @PATHOFFSET := 3;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Nerubian Skirmisher - Formation Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1487.5226, -2206.9514, 21.750145, NULL, 0),
(@PATH, 1, 1476.1945, -2220.0486, 21.385803, NULL, 0),
(@PATH, 2, 1487.5226, -2206.9514, 21.750145, NULL, 0),
(@PATH, 3, 1497.2535, -2200.7622, 21.366089, NULL, 0),
(@PATH, 4, 1514.875, -2200.5347, 21.900452, NULL, 0),
(@PATH, 5, 1497.2535, -2200.7622, 21.366089, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Isle Gull
SET @MOVERGUID := @CGUID+6;
SET @ENTRY := 222057;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.6714, 'Isle Gull - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1801.5023, -2141.1125, 33.868916, NULL, 0),
(@PATH, 1, 1808.0055, -2150.8452, 33.868916, NULL, 0),
(@PATH, 2, 1817.7383, -2157.3484, 33.868916, NULL, 0),
(@PATH, 3, 1829.2188, -2159.632, 33.868916, NULL, 0),
(@PATH, 4, 1840.6992, -2157.3484, 33.868916, NULL, 0),
(@PATH, 5, 1850.432, -2150.8452, 33.868916, NULL, 0),
(@PATH, 6, 1856.9352, -2141.1125, 33.868916, NULL, 0),
(@PATH, 7, 1859.2188, -2129.632, 33.868916, NULL, 0),
(@PATH, 8, 1856.9352, -2118.1516, 33.868916, NULL, 0),
(@PATH, 9, 1850.4319, -2108.419, 33.868916, NULL, 0),
(@PATH, 10, 1840.6992, -2101.9158, 33.868916, NULL, 0),
(@PATH, 11, 1829.2188, -2099.632, 33.868916, NULL, 0),
(@PATH, 12, 1817.7383, -2101.9158, 33.868916, NULL, 0),
(@PATH, 13, 1808.0055, -2108.419, 33.868916, NULL, 0),
(@PATH, 14, 1801.5023, -2118.1516, 33.868916, NULL, 0),
(@PATH, 15, 1799.2188, -2129.632, 33.868916, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Isle Gull
SET @MOVERGUID := @CGUID+15;
SET @ENTRY := 222057;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.6714, 'Isle Gull - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1669.077, -2119.2747, 46.84708, NULL, 0),
(@PATH, 1, 1675.5802, -2109.542, 46.84708, NULL, 0),
(@PATH, 2, 1685.313, -2103.0388, 46.84708, NULL, 0),
(@PATH, 3, 1696.7935, -2100.7551, 46.84708, NULL, 0),
(@PATH, 4, 1708.2739, -2103.0388, 46.84708, NULL, 0),
(@PATH, 5, 1718.0067, -2109.542, 46.84708, NULL, 0),
(@PATH, 6, 1724.5099, -2119.2747, 46.84708, NULL, 0),
(@PATH, 7, 1726.7935, -2130.7551, 46.84708, NULL, 0),
(@PATH, 8, 1724.5099, -2142.2356, 46.84708, NULL, 0),
(@PATH, 9, 1718.0067, -2151.9683, 46.84708, NULL, 0),
(@PATH, 10, 1708.2739, -2158.4714, 46.84708, NULL, 0),
(@PATH, 11, 1696.7935, -2160.7551, 46.84708, NULL, 0),
(@PATH, 12, 1685.313, -2158.4714, 46.84708, NULL, 0),
(@PATH, 13, 1675.5802, -2151.9683, 46.84708, NULL, 0),
(@PATH, 14, 1669.077, -2142.2356, 46.84708, NULL, 0),
(@PATH, 15, 1666.7935, -2130.7551, 46.84708, NULL, 0),
(@PATH, 16, 1669.077, -2119.2747, 46.84708, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Isle Gull
SET @MOVERGUID := @CGUID+17;
SET @ENTRY := 222057;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.8683, 'Isle Gull - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1630.7285, -2137.1936, 41.198055, NULL, 0),
(@PATH, 1, 1641.3351, -2132.8003, 41.198055, NULL, 0),
(@PATH, 2, 1651.9417, -2137.1936, 41.198055, NULL, 0),
(@PATH, 3, 1656.3351, -2147.8003, 41.198055, NULL, 0),
(@PATH, 4, 1651.9417, -2158.407, 41.198055, NULL, 0),
(@PATH, 5, 1641.3351, -2162.8003, 41.198055, NULL, 0),
(@PATH, 6, 1630.7285, -2158.407, 41.198055, NULL, 0),
(@PATH, 7, 1626.3351, -2147.8003, 41.198055, NULL, 0),
(@PATH, 8, 1630.7285, -2137.1936, 41.198055, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,87 @@
SET @CGUID := 10004705;
SET @NPCTEXTID := 600053;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 223637, 2552, 14717, 14717, '0', 23672, 0, 0, 0, 1150.9322509765625, -2015.875, 81.0217437744140625, 0.565037012100219726, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Natalia Pearce (Area: Isle of Dorn - Difficulty: 0) CreateObject1
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (23672, 23673);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23672, 'Cosmetic - See Natalia Pearces outside of Freywold Village'),
(23673, 'Cosmetic - See Natalia Pearces outside the Basalteous cave');
DELETE FROM `phase_area` WHERE `PhaseId` IN (23672, 23673);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14717, 23672, 'See Natalia Pearces outside of Freywold Village'),
(14717, 23673, 'See Natalia Pearces outside the Basalteous cave');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23672 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23673 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23672, 0, 0, 0, 47, 0, 82465, 2|8|64, 0, 1, 'Apply Phase 23672 if Quest 82465 is not taken | complete | rewarded'),
(26, 23673, 0, 0, 0, 47, 0, 82465, 2|8|64, 0, 0, 'Apply Phase 23673 if Quest 82465 is taken | complete | rewarded');
-- Gossip
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+2;
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, 264304, 0, 0, 0, 0, 0, 0, 0, 57689), -- 223649 (Maluc)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 264317, 0, 0, 0, 0, 0, 0, 0, 57689), -- 223648 (Betta)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 264323, 0, 0, 0, 0, 0, 0, 0, 57689); -- 223652 (Kurron)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34965 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=34968 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=34970 AND `TextID`=@NPCTEXTID+2);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34965, @NPCTEXTID+0, 57689), -- 223649 (Maluc)
(34968, @NPCTEXTID+1, 57689), -- 223648 (Betta)
(34970, @NPCTEXTID+2, 57689); -- 223652 (Kurron)
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (34964,34971,34969));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(34964, 122463, 0, 0, 'What do you know about Basalteous?', 0, 0, 1, 34965, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(34971, 122467, 0, 0, 'Where can I find the Basalteous?', 0, 0, 1, 34970, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(34969, 122466, 0, 0, 'What do you know about Basalteous?', 0, 0, 1, 34968, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` IN (34969,34971,34964));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(15, 34969, 0, 0, 0, 9, 0, 82441, 0, 0, '', 0, 'Player for which gossip text is shown has quest For The Love of Gems (82441) active'),
(15, 34969, 0, 0, 0, 48, 0, 449935, 0, 1, '', 1, 'Player for which gossip text is shown hasn\'t quest objective 449935 < 1 or has rewarded the quest'),
(15, 34971, 0, 0, 0, 9, 0, 82441, 0, 0, '', 0, 'Player for which gossip text is shown has quest For The Love of Gems (82441) active'),
(15, 34971, 0, 0, 0, 48, 0, 449934, 0, 1, '', 1, 'Player for which gossip text is shown hasn\'t quest objective 449934 < 1 or has rewarded the quest'),
(15, 34964, 0, 0, 0, 9, 0, 82441, 0, 0, '', 0, 'Player for which gossip text is shown has quest For The Love of Gems (82441) active'),
(15, 34964, 0, 0, 0, 48, 0, 449933, 0, 1, '', 1, 'Player for which gossip text is shown hasn\'t quest objective 449933 < 1 or has rewarded the quest');
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=223637 AND `quest` IN (82465,82441));
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(223637, 82465, 57689), -- Precious Gems offered by Natalia Pearce
(223637, 82441, 57689); -- For The Love of Gems offered by Natalia Pearce
DELETE FROM `creature_questender` WHERE (`id`=223637 AND `quest` = 82441);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(223637, 82441, 57689); -- For The Love of Gems ended by Natalia Pearce
DELETE FROM `quest_template_addon` WHERE `ID` = 82465;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(82465, 0, 0, 0, 82441, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- Precious Gems
-- Betta smart ai
SET @ENTRY := 223648;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 34969, 0, 0, 0, 0, 33, 223648, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34969 selected - Gossip player: Give kill credit Betta (223648)', '');
-- Kurron smart ai
SET @ENTRY := 223652;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 34971, 0, 0, 0, 0, 33, 223652, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34971 selected - Gossip player: Give kill credit Kurron (223652)', '');
-- Maluc smart ai
SET @ENTRY := 223649;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 34964, 0, 0, 0, 0, 33, 223649, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34964 selected - Gossip player: Give kill credit Maluc (223649)', '');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_darkglare_boon';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(212084, 'spell_dh_darkglare_boon');
@@ -0,0 +1,124 @@
SET @CGUID := 10004706;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+31;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 223657, 2552, 14717, 14717, '0', 0, 0, 0, 0, 516.14239501953125, -1191.5538330078125, 3.036458253860473632, 5.637444019317626953, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Igneous Elemental (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+1, 223657, 2552, 14717, 14717, '0', 0, 0, 0, 0, 539.0555419921875, -1205.84033203125, 3.69051527976989746, 0.731023848056793212, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Igneous Elemental (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+2, 223657, 2552, 14717, 14717, '0', 0, 0, 0, 0, 579.779541015625, -1162.0833740234375, 1.973518252372741699, 3.870385169982910156, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Igneous Elemental (Area: Isle of Dorn - Difficulty: 0) CreateObject
(@CGUID+3, 223657, 2552, 14717, 14717, '0', 0, 0, 0, 0, 597.1492919921875, -1152.4288330078125, 2.725077152252197265, 0.746696650981903076, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Igneous Elemental (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+4, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 557.7430419921875, -1277.8228759765625, 84.33486175537109375, 5.328208446502685546, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+5, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 502.6475830078125, -1305.5521240234375, 66.0788726806640625, 6.167536735534667968, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+6, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 498.87847900390625, -1305.1614990234375, 65.6339263916015625, 2.597638607025146484, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+7, 227733, 2552, 14717, 14717, '0', 0, 0, 0, 0, 435.354156494140625, -1383.107666015625, 59.3994598388671875, 4.610696792602539062, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Salt-Ear Ferret (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+8, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 450.59375, -1364.6024169921875, 53.02747344970703125, 0, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+9, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 456.873260498046875, -1301.78125, 38.88599395751953125, 0.463679462671279907, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+10, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 442.454864501953125, -1385.8316650390625, 60.90817642211914062, 3.812271595001220703, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+11, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 479.21527099609375, -1418.3992919921875, 95.029052734375, 0.568114817142486572, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+12, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 457.2725830078125, -1445.373291015625, 88.80190277099609375, 0.171635612845420837, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+13, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 442.53472900390625, -1468.9305419921875, 104.7057342529296875, 1.178098559379577636, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+14, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 438.635406494140625, -1404.111083984375, 88.50864410400390625, 1.178098559379577636, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+15, 227733, 2552, 14717, 14717, '0', 0, 0, 0, 0, 384.729156494140625, -1505.8524169921875, 58.93576431274414062, 5.959266185760498046, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Salt-Ear Ferret (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+16, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 426.935760498046875, -1565.548583984375, 120.7727432250976562, 6.040287017822265625, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+17, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 427.8125, -1620.3785400390625, 145.583831787109375, 1.133505821228027343, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+18, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 591.22393798828125, -1436.99658203125, 176.356842041015625, 2.102684497833251953, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+19, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 557.77606201171875, -1491.954833984375, 201.1458892822265625, 2.842222213745117187, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+20, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 603.388916015625, -1435.329833984375, 174.74652099609375, 0.576585173606872558, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+21, 221524, 2552, 14717, 14717, '0', 0, 0, 0, 0, 545.43402099609375, -1573.0416259765625, 241.912384033203125, 4.568681716918945312, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Gemwing (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+22, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 527.90972900390625, -1497.1163330078125, 208.8530731201171875, 1.178098559379577636, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+23, 227638, 2552, 14717, 14717, '0', 0, 0, 0, 0, 557.0382080078125, -1511.40283203125, 213.7317352294921875, 5.828877925872802734, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Sharptalon Kestral (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+24, 222347, 2552, 14717, 14717, '0', 0, 0, 0, 0, 665.13018798828125, -1411.7274169921875, 190.0673065185546875, 1.465811133384704589, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Gnashing Rockwing (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+25, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 680.40972900390625, -1457.3072509765625, 174.386138916015625, 1.946326971054077148, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+26, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 648.68402099609375, -1309.6805419921875, 164.9678497314453125, 2.791551113128662109, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+27, 221526, 2552, 14717, 14717, '0', 0, 0, 0, 0, 636.467041015625, -1400.876708984375, 183.41650390625, 4.371973514556884765, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Ramolith (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+28, 222419, 2552, 14717, 14717, '0', 0, 0, 0, 0, 672.92364501953125, -1427.37158203125, 175.9813690185546875, 4.100412368774414062, 120, 4, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Mosspelt Sheep (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+29, 222347, 2552, 14717, 14717, '0', 0, 0, 0, 0, 684.029541015625, -1330.5382080078125, 154.8737030029296875, 5.338091373443603515, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Gnashing Rockwing (Area: Isle of Dorn - Difficulty: 0) CreateObject2
(@CGUID+30, 222347, 2552, 14717, 0, '0', 0, 0, 0, 0, 740.20831298828125, -1175.9410400390625, 67.09136962890625, 2.988850593566894531, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Gnashing Rockwing (Area: 0 - Difficulty: 0) CreateObject2
(@CGUID+31, 222347, 2552, 14717, 0, '0', 0, 0, 0, 0, 825.2257080078125, -1258.87158203125, 83.503173828125, 0.45583614706993103, 120, 6, 0, 1, NULL, NULL, NULL, NULL, 57689); -- Gnashing Rockwing (Area: 0 - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
-- Loot
DELETE FROM `creature_loot_template` WHERE `Entry` = 223657;
INSERT INTO `creature_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(223657, 0, 223891, 60, 1, 1, 0, 1, 1, 'Igneous Core');
UPDATE `creature_template_difficulty` SET `LootID` = 223657 WHERE `Entry` = 223657;
-- Quest
DELETE FROM `creature_questender` WHERE (`id`=223924 AND `quest` = 82466);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(223924, 82466, 57689); -- What We Do For Gems ended by Natalia Pearce
-- Path for Sharptalon Kestral
SET @MOVERGUID := @CGUID+13;
SET @ENTRY := 227638;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.8684, 'Sharptalon Kestral - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 447.221, -1457.6168, 104.705734, NULL, 0),
(@PATH, 1, 458.53473, -1452.9305, 104.705734, NULL, 0),
(@PATH, 2, 469.84845, -1457.6168, 104.705734, NULL, 0),
(@PATH, 3, 474.53473, -1468.9305, 104.705734, NULL, 0),
(@PATH, 4, 469.84845, -1480.2443, 104.705734, NULL, 0),
(@PATH, 5, 458.53473, -1484.9305, 104.705734, NULL, 0),
(@PATH, 6, 447.221, -1480.2443, 104.705734, NULL, 0),
(@PATH, 7, 442.53473, -1468.9305, 104.705734, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Sharptalon Kestral
SET @MOVERGUID := @CGUID+14;
SET @ENTRY := 227638;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.8684, 'Sharptalon Kestral - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 443.3217, -1392.7974, 88.508644, NULL, 0),
(@PATH, 1, 454.6354, -1388.1111, 88.508644, NULL, 0),
(@PATH, 2, 465.94913, -1392.7974, 88.508644, NULL, 0),
(@PATH, 3, 470.6354, -1404.1111, 88.508644, NULL, 0),
(@PATH, 4, 465.9491, -1415.4248, 88.508644, NULL, 0),
(@PATH, 5, 454.6354, -1420.1111, 88.508644, NULL, 0),
(@PATH, 6, 443.3217, -1415.4248, 88.508644, NULL, 0),
(@PATH, 7, 438.6354, -1404.1111, 88.508644, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Sharptalon Kestral
SET @MOVERGUID := @CGUID+22;
SET @ENTRY := 227638;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x2, 2.8684, 'Sharptalon Kestral - Cyclic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 532.596, -1485.8026, 208.85307, NULL, 0),
(@PATH, 1, 543.9097, -1481.1163, 208.85307, NULL, 0),
(@PATH, 2, 555.22345, -1485.8026, 208.85307, NULL, 0),
(@PATH, 3, 559.9097, -1497.1163, 208.85307, NULL, 0),
(@PATH, 4, 555.22345, -1508.43, 208.85307, NULL, 0),
(@PATH, 5, 543.9097, -1513.1163, 208.85307, NULL, 0),
(@PATH, 6, 532.596, -1508.43, 208.85307, NULL, 0),
(@PATH, 7, 527.9097, -1497.1163, 208.85307, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_fel_devastation';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(212084, 'spell_dh_fel_devastation');
@@ -0,0 +1,97 @@
SET @CGUID := 10004738;
SET @NPCTEXTID := 600056;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 222224, 2552, 14771, 15184, '0', 23641, 0, 0, 1, 3030.19970703125, -2674.56591796875, 262.306304931640625, 0.045685995370149612, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Peacekeeper Leif (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@CGUID+1, 222218, 2552, 14771, 15184, '0', 0, 0, 0, 0, 3034.755126953125, -2674.489501953125, 262.945220947265625, 3.204979419708251953, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Peacekeeper Lieutenant (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
(@CGUID+2, 226761, 2552, 14771, 15184, '0', 0, 0, 0, 0, 3022.407958984375, -2667.435791015625, 261.653717041015625, 3.212312221527099609, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Peacekeeper Alef (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1
UPDATE `creature` SET `PhaseId` = 23640 WHERE `guid` IN (10004224, 10004234);
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (222224, 222218, 226761);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(222224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 222224 (Peacekeeper Leif)
(222218, 0, 0, 0, 0, 0, 0, 0, 718, 0, 0, 0, 0, ''), -- 222218 (Peacekeeper Lieutenant)
(226761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- 226761 (Peacekeeper Alef)
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222218; -- Peacekeeper Lieutenant
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222224; -- Peacekeeper Leif
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=226761; -- Peacekeeper Alef
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=226761 AND `DifficultyID`=0); -- 226761 (Peacekeeper Alef) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222224 AND `DifficultyID`=0); -- 222224 (Peacekeeper Leif) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222218 AND `DifficultyID`=0); -- 222218 (Peacekeeper Lieutenant) - CanSwim
-- Conversation
DELETE FROM `conversation_template` WHERE `Id` = 26218;
INSERT INTO `conversation_template` (`Id`, `FirstLineID`, `TextureKitId`, `VerifiedBuild`) VALUES
(26218, 71473, 0, 57689);
DELETE FROM `conversation_actors` WHERE (`ConversationId`=26218 AND `Idx` IN (2,1,0));
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(26218, 100284, 2, 0, 0, 0, 0, 57689), -- Full: 0x2042313F00D64B400064D40000D1C06C Creature/0 R4236/S25812 Map: 2552 (Khaz Algar (Surface)) Entry: 219437 (Dornogal Citizen) Low: 13746284
(26218, 100285, 1, 0, 0, 0, 0, 57689), -- Full: 0x2042313F00D64B400064D4000051C06C Creature/0 R4236/S25812 Map: 2552 (Khaz Algar (Surface)) Entry: 219437 (Dornogal Citizen) Low: 5357676
(26218, 0, 0, 0, 0, 0, 1, 57689); -- Full: 0x0800040000000000FFFFFFFFFFFFFFFF Player/0 R1/S16777215 Map: 0 (Eastern Kingdoms) Low: 1099511627775
UPDATE `conversation_actors` SET `ConversationActorGuid` = 10004234 WHERE `ConversationId` = 26218 AND `ConversationActorId` = 100285 AND `Idx` = 1;
UPDATE `conversation_actors` SET `ConversationActorGuid` = 10004224 WHERE `ConversationId` = 26218 AND `ConversationActorId` = 100284 AND `Idx` = 2;
DELETE FROM `conversation_line_template` WHERE `Id` IN (71475, 71474, 71473);
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `ChatType`, `VerifiedBuild`) VALUES
(71475, 0, 2, 0, 0, 57689),
(71474, 0, 1, 0, 0, 57689),
(71473, 0, 0, 0, 0, 57689);
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (23640, 23641);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23640, 'Cosmetic - See Dornogal Citizen at Crossroad Plaza'),
(23641, 'Cosmetic - See Peacekeeper Leif in Dornogal');
DELETE FROM `phase_area` WHERE `PhaseId` IN (23640, 23641);
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14717, 23640, 'See Dornogal Citizen at Crossroad Plaza'),
(14717, 23641, 'See Peacekeeper Leif in Dornogal');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23640 AND `SourceEntry` = 0) OR (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23641 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23640, 0, 0, 0, 47, 0, 80456, 64, 0, 1, 'Apply Phase 23640 if Quest 80456 is not rewarded'),
(26, 23640, 0, 0, 0, 47, 0, 80209, 2|8|64, 0, 1, 'Apply Phase 23640 if Quest 80209 is not taken | complete | rewarded'),
(26, 23641, 0, 0, 0, 47, 0, 80209, 2|8|64, 0, 1, 'Apply Phase 23641 if Quest 80209 is not taken | complete | rewarded');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=222218 AND `MenuID`=35576);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(222218, 35576, 57689); -- Peacekeeper Lieutenant
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @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, 268204, 0, 0, 0, 0, 0, 0, 0, 57689); -- 222218 (Peacekeeper Lieutenant)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35576 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35576, @NPCTEXTID+0, 57689); -- 222218 (Peacekeeper Lieutenant)
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=222224 AND `quest`=80209);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(222224, 80209, 57689); -- An Oddball in Dornogal offered by Peacekeeper Leif
UPDATE `creature_queststarter` SET `VerifiedBuild`=57689 WHERE (`id`=219437 AND `quest`=80456);
DELETE FROM `creature_questender` WHERE (`id`=222224 AND `quest`=80456);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(222224, 80456, 57689); -- A Sassy Arathi ended by Peacekeeper Leif
-- Dornogal Citizen smart ai
SET @ENTRY := 219437;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 19, 0, 100, 0, 80456, 0, 0, 0, 0, 143, 26218, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player accepted quest A Sassy Arathi (80456) - Player who accepted quest: Start conversation 26218', '');
@@ -0,0 +1,144 @@
SET @CGUID := 10004741;
SET @NPCTEXTID := 600057;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 222259, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2960.036376953125, -2676.60107421875, 244.5857086181640625, 5.513881683349609375, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Concerned Dornogal Citizen (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1 (Auras: 458815 - Interviewee Name Change [DNT])
(@CGUID+1, 222260, 2552, 14771, 15184, '0', 0, 0, 0, 0, 2907.3828125, -2725.9775390625, 238.853729248046875, 0.748263061046600341, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Concerned Dornogal Citizen (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1 (Auras: 458815 - Interviewee Name Change [DNT])
(@CGUID+2, 222263, 2552, 14771, 15184, '0', 0, 0, 0, 0, 3138.82861328125, -2619.779541015625, 296.464111328125, 2.347834348678588867, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Concerned Dornogal Citizen (Area: Stoneshaper's Atrium - Difficulty: 0) CreateObject1 (Auras: 458815 - Interviewee Name Change [DNT], 449464 - Cosmetic - Reading Book [DNT])
(@CGUID+3, 222268, 2552, 14771, 15182, '0', 23642, 0, 0, 1, 3037.936767578125, -2944.079833984375, 359.7869873046875, 5.595143318176269531, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Peacekeeper Leif (Area: Stoneward's Rise - Difficulty: 0) CreateObject1
(@CGUID+4, 222266, 2552, 14771, 15182, '0', 23642, 0, 0, 0, 3039.440185546875, -2948.0625, 359.786895751953125, 1.832460999488830566, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Lamplighter Kaerter (Area: Stoneward's Rise - Difficulty: 0) CreateObject1
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (222263 /*222263 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT], Cosmetic - Reading Book [DNT]*/, 222260 /*222260 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT]*/, 222259 /*222259 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT]*/, 222266, 222268);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(222263, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '458815 449464'), -- 222263 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT], Cosmetic - Reading Book [DNT]
(222260, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, '458815'), -- 222260 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT]
(222259, 0, 0, 4, 0, 0, 1, 0, 0, 0, 0, 0, 0, '458815'), -- 222259 (Concerned Dornogal Citizen) - Interviewee Name Change [DNT]
(222266, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 222266 (Lamplighter Kaerter)
(222268, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- 222268 (Peacekeeper Leif)
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `unit_flags3`=0x40000000 WHERE `entry`=222259; -- Concerned Dornogal Citizen
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry` IN (222263, 222260); -- Concerned Dornogal Citizen
UPDATE `creature_template` SET `faction`=3364, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222266; -- Lamplighter Kaerter
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222268; -- Peacekeeper Leif
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222263 AND `DifficultyID`=0); -- 222263 (Concerned Dornogal Citizen) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222260 AND `DifficultyID`=0); -- 222260 (Concerned Dornogal Citizen) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x30000100, `VerifiedBuild`=57689 WHERE (`Entry`=222259 AND `DifficultyID`=0); -- 222259 (Concerned Dornogal Citizen) - Sessile, CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222266 AND `DifficultyID`=0); -- 222266 (Lamplighter Kaerter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222268 AND `DifficultyID`=0); -- 222268 (Peacekeeper Leif) - CanSwim
-- Phase
DELETE FROM `phase_name` WHERE `ID` = 23642;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23642, 'Cosmetic - See Peacekeeper Leif and Lamplighter Kaerter in Dornogal');
DELETE FROM `phase_area` WHERE `PhaseId` = 23642;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14717, 23642, 'See Peacekeeper Leif and Lamplighter Kaerter');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23642 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23642, 0, 0, 0, 47, 0, 80209, 2|64, 0, 0, 'Apply Phase 23642 if Quest 80456 is complete | rewarded'),
(26, 23642, 0, 0, 0, 47, 0, 80210, 2|8|64, 0, 1, 'Apply Phase 23642 if Quest 80456 is not taken | complete | rewarded');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=222263 AND `MenuID`=34999) OR (`CreatureID`=222260 AND `MenuID`=34997) OR (`CreatureID`=222259 AND `MenuID`=35621);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(222263, 34999, 57689), -- Concerned Dornogal Citizen
(222260, 34997, 57689), -- Concerned Dornogal Citizen
(222259, 35621, 57689); -- Concerned Dornogal Citizen
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+5;
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, 264369, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222259 (Concerned Dornogal Citizen)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 264367, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222259 (Concerned Dornogal Citizen)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 264371, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222260 (Concerned Dornogal Citizen)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 264370, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222260 (Concerned Dornogal Citizen)
(@NPCTEXTID+4, 1, 0, 0, 0, 0, 0, 0, 0, 264373, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222263 (Concerned Dornogal Citizen)
(@NPCTEXTID+5, 1, 0, 0, 0, 0, 0, 0, 0, 264372, 0, 0, 0, 0, 0, 0, 0, 57689); -- 222263 (Concerned Dornogal Citizen)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35620 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=35621 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=34996 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=34997 AND `TextID`=@NPCTEXTID+3) OR (`MenuID`=34998 AND `TextID`=@NPCTEXTID+4) OR (`MenuID`=34999 AND `TextID`=@NPCTEXTID+5);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35620, @NPCTEXTID+0, 57689), -- 222259 (Concerned Dornogal Citizen)
(35621, @NPCTEXTID+1, 57689), -- 222259 (Concerned Dornogal Citizen)
(34996, @NPCTEXTID+2, 57689), -- 222260 (Concerned Dornogal Citizen)
(34997, @NPCTEXTID+3, 57689), -- 222260 (Concerned Dornogal Citizen)
(34998, @NPCTEXTID+4, 57689), -- 222263 (Concerned Dornogal Citizen)
(34999, @NPCTEXTID+5, 57689); -- 222263 (Concerned Dornogal Citizen)
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (34997,34999,35621));
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(34997, 122511, 0, 0, 'What can you tell me about the Arathi Lamplighter?', 0, 0, 1, 34996, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(34999, 122512, 0, 0, 'What can you tell me about the Arathi Lamplighter?', 0, 0, 1, 34998, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35621, 123322, 0, 0, 'What can you tell me about the Arathi Lamplighter?', 0, 0, 1, 35620, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` IN (34999,34997,35621));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(15, 35621, 0, 0, 0, 47, 0, 80209, 8, 0, '', 0, 'Player for which gossip text is shown has quest An Oddball in Dornogal (80209) active'),
(15, 35621, 0, 0, 0, 48, 0, 450047, 0, 1, '', 1, 'Player for which gossip text is shown has quest objective 450047 == 1 (but hasn\'t rewarded quest yet)'),
(15, 34997, 0, 0, 0, 47, 0, 80209, 8, 0, '', 0, 'Player for which gossip text is shown has quest An Oddball in Dornogal (80209) active'),
(15, 34997, 0, 0, 0, 48, 0, 450048, 0, 1, '', 1, 'Player for which gossip text is shown has quest objective 450048 == 1 (but hasn\'t rewarded quest yet)'),
(15, 34999, 0, 0, 0, 47, 0, 80209, 8, 0, '', 0, 'Player for which gossip text is shown has quest An Oddball in Dornogal (80209) active'),
(15, 34999, 0, 0, 0, 48, 0, 450049, 0, 1, '', 1, 'Player for which gossip text is shown has quest objective 450049 == 1 (but hasn\'t rewarded quest yet)');
-- Quest
DELETE FROM `creature_questender` WHERE (`id`=222268 AND `quest`=80209);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(222268, 80209, 57689); -- An Oddball in Dornogal ended by Peacekeeper Leif
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (117038, 121228);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(117038, 0.347000002861022949, 1.5, 0, 57689),
(121228, 0.347000002861022949, 1.5, 0, 57689);
-- Concerned Dornogal Citizen smart ai
SET @ENTRY := 222259;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 1, 62, 0, 100, 0, 35621, 0, 0, 0, 0, 85, 450695, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 35621 selected - Gossip player: Cast spell 450695 on self', ''),
(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 33, 224117, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 35621 selected - Gossip player: Give kill credit KC: Citizen 1 Interviewed (224117)', '');
-- Concerned Dornogal Citizen smart ai
SET @ENTRY := 222260;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 1, 62, 0, 100, 0, 34997, 0, 0, 0, 0, 85, 450695, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34997 selected - Gossip player: Cast spell 450695 on self', ''),
(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 33, 224118, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34997 selected - Gossip player: Give kill credit KC: Citizen 2 Interviewed (224118)', '');
-- Concerned Dornogal Citizen smart ai
SET @ENTRY := 222263;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 1, 62, 0, 100, 0, 34999, 0, 0, 0, 0, 85, 450695, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34999 selected - Gossip player: Cast spell 450695 on self', ''),
(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 33, 224119, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 34999 selected - Gossip player: Give kill credit KC: Citizen 3 Interviewed (224119)', '');
-- Path for Concerned Dornogal Citizen
SET @MOVERGUID := @CGUID+2;
SET @ENTRY := 222263;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Concerned Dornogal Citizen - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 3140.5547, -2608.4705, 296.52078, NULL, 0),
(@PATH, 1, 3147.3376, -2615.6199, 296.34583, NULL, 0),
(@PATH, 2, 3140.9749, -2621.962, 296.40466, NULL, 0),
(@PATH, 3, 3134.3213, -2615.1963, 296.4018, NULL, 0);
UPDATE `creature` SET `position_x`=3140.5547, `position_y`=-2608.4705, `position_z`=296.52078, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '458815 449464');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_fel_flame_fortification';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(258920, 'spell_dh_fel_flame_fortification');
@@ -0,0 +1,95 @@
SET @CGUID := 10004746;
SET @NPCTEXTID := 600063;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 222314, 2552, 14717, 0, '0', 23649, 0, 0, 1, 1098.4600830078125, -1983.3819580078125, 82.3054046630859375, 2.410741329193115234, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Peacekeeper Leif (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+1, 222315, 2552, 14717, 0, '0', 23649, 0, 0, 0, 1099.8975830078125, -1980.8785400390625, 82.17254638671875, 2.790581703186035156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Lamplighter Kaerter (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+2, 222334, 2552, 14717, 0, '0', 23649, 0, 0, 1, 1094.435791015625, -1979.4461669921875, 82.23516845703125, 5.751266002655029296, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Freywold Constable (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+3, 222330, 2552, 14717, 0, '0', 23649, 0, 0, 1, 1096.3541259765625, -1977.2882080078125, 82.11641693115234375, 5.223948955535888671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Freywold Protector (Area: 0 - Difficulty: 0) CreateObject1
(@CGUID+4, 222330, 2552, 14717, 0, '0', 23649, 0, 0, 1, 1093.545166015625, -1982.142333984375, 82.3966217041015625, 6.269052505493164062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Freywold Protector (Area: 0 - Difficulty: 0) CreateObject1
-- Template
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222334; -- Freywold Constable
UPDATE `creature_template` SET `faction`=3364, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222315; -- Lamplighter Kaerter
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222314; -- Peacekeeper Leif
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=222330; -- Freywold Protector
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222334 AND `DifficultyID`=0); -- 222334 (Freywold Constable) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222315 AND `DifficultyID`=0); -- 222315 (Lamplighter Kaerter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222314 AND `DifficultyID`=0); -- 222314 (Peacekeeper Leif) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222330 AND `DifficultyID`=0); -- 222330 (Freywold Protector) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222266 AND `DifficultyID`=0); -- 222266 (Lamplighter Kaerter) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2838, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222268 AND `DifficultyID`=0); -- 222268 (Peacekeeper Leif) - CanSwim
-- Phase
DELETE FROM `phase_name` WHERE `ID` = 23649;
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(23649, 'Cosmetic - See Peacekeeper Leif and Lamplighter Kaerter in Freywold Village');
DELETE FROM `phase_area` WHERE `PhaseId` = 23649;
INSERT INTO `phase_area` (`AreaId`, `PhaseId`, `Comment`) VALUES
(14717, 23649, 'See Peacekeeper Leif and Lamplighter Kaerter in Freywold Village');
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=26 AND `SourceGroup` = 23649 AND `SourceEntry` = 0);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `Comment`) VALUE
(26, 23649, 0, 0, 0, 47, 0, 80210, 2|8|64, 0, 0, 'Apply Phase 23642 if Quest 80456 is taken | complete | rewarded');
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=222334 AND `MenuID`=35409) OR (`CreatureID`=222315 AND `MenuID`=35386);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(222334, 35409, 57689), -- Freywold Constable
(222315, 35386, 57689); -- Lamplighter Kaerter
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @NPCTEXTID+4;
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, 267569, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222334 (Freywold Constable)
(@NPCTEXTID+1, 1, 0, 0, 0, 0, 0, 0, 0, 267375, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222315 (Lamplighter Kaerter)
(@NPCTEXTID+2, 1, 0, 0, 0, 0, 0, 0, 0, 267437, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222315 (Lamplighter Kaerter)
(@NPCTEXTID+3, 1, 0, 0, 0, 0, 0, 0, 0, 267436, 0, 0, 0, 0, 0, 0, 0, 57689), -- 222315 (Lamplighter Kaerter)
(@NPCTEXTID+4, 1, 0, 0, 0, 0, 0, 0, 0, 267435, 0, 0, 0, 0, 0, 0, 0, 57689); -- 222315 (Lamplighter Kaerter)
DELETE FROM `gossip_menu` WHERE (`MenuID`=35409 AND `TextID`=@NPCTEXTID+0) OR (`MenuID`=35386 AND `TextID`=@NPCTEXTID+1) OR (`MenuID`=35387 AND `TextID`=@NPCTEXTID+2) OR (`MenuID`=35388 AND `TextID`=@NPCTEXTID+3) OR (`MenuID`=34994 AND `TextID`=@NPCTEXTID+4);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(35409, @NPCTEXTID+0, 57689), -- 222334 (Freywold Constable)
(35386, @NPCTEXTID+1, 57689), -- 222315 (Lamplighter Kaerter)
(35387, @NPCTEXTID+2, 57689), -- 222315 (Lamplighter Kaerter)
(35388, @NPCTEXTID+3, 57689), -- 222315 (Lamplighter Kaerter)
(34994, @NPCTEXTID+4, 57689); -- 222315 (Lamplighter Kaerter)
DELETE FROM `gossip_menu_option` WHERE (`OptionID`=0 AND `MenuID` IN (35386,34994,35387,35388)) OR (`OptionID`=1 AND `MenuID`=35386) OR (`OptionID`=2 AND `MenuID`=35386);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(35386, 123118, 0, 0, 'What is your mission?', 0, 0, 0, 34994, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35386, 123123, 1, 0, 'What is a Lamplighter?', 0, 0, 0, 35388, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(34994, 123121, 0, 0, 'I have another question.', 12241, 0, 0, 35386, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689), -- OptionBroadcastTextID: 12241 - 12478 - 23442 - 62310 - 98552
(35387, 123119, 0, 0, 'I have another question.', 12241, 0, 0, 35386, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689), -- OptionBroadcastTextID: 12241 - 12478 - 23442 - 62310 - 98552
(35386, 123122, 2, 0, 'Who are the Order of Night?', 0, 0, 0, 35387, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689),
(35388, 123120, 0, 0, 'I have another question.', 12241, 0, 0, 35386, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689); -- OptionBroadcastTextID: 12241 - 12478 - 23442 - 62310 - 98552
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=222314 AND `quest`=80211) OR (`id`=222268 AND `quest`=80210);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(222314, 80211, 57689), -- The Pillage of Freywold Village offered by Peacekeeper Leif
(222268, 80210, 57689); -- Found Around the Unbound offered by Peacekeeper Leif
DELETE FROM `creature_questender` WHERE (`id`=222314 AND `quest`=80210);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(222314, 80210, 57689); -- Found Around the Unbound ended by Peacekeeper Leif
DELETE FROM `quest_template_addon` WHERE `ID` IN (80210, 80211);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `BreadcrumbForQuestId`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`, `ScriptName`) VALUES
(80210, 0, 0, 0, 80209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- Found Around the Unbound
(80211, 0, 0, 0, 80210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''); -- The Pillage of Freywold Village
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID`=81114;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(81114, 1.821576118469238281, 1, 0, 57689);
UPDATE `creature_model_info` SET `VerifiedBuild`=57689 WHERE `DisplayID` IN (120438, 83699, 120437, 121445, 118446, 118609, 114302, 118534, 117338, 119162, 117344, 118450, 111028, 120662, 120472, 117612, 118448, 119067, 119161, 117339, 119074, 117483, 114927, 104043, 119066, 70178, 114932, 117485, 106699, 106698, 107716, 117496, 119497, 114840, 81086, 120395, 120661, 121379, 121381, 117357, 4959, 120658, 120659, 120956, 120616, 121155, 118319, 119016, 77405, 120609, 16925, 121053, 121157, 118919, 120922, 116218, 121156, 120615, 121153, 121154, 42722, 42720, 114796, 23767, 117650, 103813, 120641, 117430, 120642, 118718, 118734, 117649, 117424, 120637, 121384, 120833, 117652, 120607, 120624, 120623, 117415, 104041, 117410, 120911, 120834, 120544, 106697, 117651, 114500, 117988, 104040);
UPDATE `creature_model_info` SET `BoundingRadius`=1.111697077751159667, `VerifiedBuild`=57689 WHERE `DisplayID`=67039;
UPDATE `creature_model_info` SET `BoundingRadius`=1.929097771644592285, `CombatReach`=1.50000011920928955, `VerifiedBuild`=57689 WHERE `DisplayID`=64333;
UPDATE `creature_model_info` SET `BoundingRadius`=2.062058925628662109, `VerifiedBuild`=57689 WHERE `DisplayID`=70052;
@@ -0,0 +1,63 @@
SET @CGUID := 10004751;
SET @OGUID := 10001197;
-- Creature
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 217815, 2552, 14717, 14837, '0', 0, 0, 0, 0, 2646.009521484375, -4063.28125, 80.3326416015625, 1.475708723068237304, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Shalehoof (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@CGUID+1, 214640, 2552, 14717, 14837, '0', 0, 0, 0, 1, 2639.991455078125, -4062.546875, 80.3326416015625, 0.319552153348922729, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Harvester Farnee (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@CGUID+2, 213691, 2552, 14717, 14837, '0', 0, 0, 0, 1, 2644.09375, -4062.920166015625, 80.3326416015625, 6.276271343231201171, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Harmot (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@CGUID+3, 230117, 2552, 14717, 14837, '0', 0, 0, 0, 0, 2645.989501953125, -3998.053955078125, 72.770538330078125, 3.195847511291503906, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Aschbie (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@CGUID+4, 217542, 2552, 14717, 14837, '0', 0, 0, 0, 0, 2673.7109375, -4103.9619140625, 86.51788330078125, 1.601612806320190429, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Drelda (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+14;
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, 446160, 2552, 14717, 14837, '0', 0, 0, 2630.926513671875, -3997.242431640625, 72.16313934326171875, 1.483530640602111816, 0, 0, 0.67559051513671875, 0.737277030944824218, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+1, 446161, 2552, 14717, 14837, '0', 0, 0, 2629.4658203125, -3995.871337890625, 72.16313934326171875, 6.257008075714111328, 0, 0, -0.01308822631835937, 0.999914348125457763, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+2, 433148, 2552, 14717, 14837, '0', 0, 0, 2532.682373046875, -4036.413330078125, 51.16840362548828125, 3.935721635818481445, 0, 0, -0.92220020294189453, 0.386712819337844848, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+3, 446162, 2552, 14717, 14837, '0', 0, 0, 2631.13134765625, -3993.83740234375, 72.16313934326171875, 4.668757438659667968, 0, 0, -0.72236347198486328, 0.691513597965240478, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+4, 446163, 2552, 14717, 14837, '0', 0, 0, 2633.296142578125, -3997.3837890625, 72.16313934326171875, 1.527163028717041015, 0, 0, 0.6915130615234375, 0.722363948822021484, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+5, 433144, 2552, 14717, 14837, '0', 0, 0, 2648.1494140625, -4065.81591796875, 80.2679901123046875, 4.136432647705078125, 0, 0, -0.87881660461425781, 0.477159708738327026, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+6, 433145, 2552, 14717, 14837, '0', 0, 0, 2652.257080078125, -4067.132080078125, 80.25000762939453125, 3.52557229995727539, 0, 0, -0.98162651062011718, 0.190812408924102783, 120, 255, 1, 57689), -- Forge (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+7, 433146, 2552, 14717, 14837, '0', 0, 0, 2530.9072265625, -4035.479248046875, 51.171875, 4.747295856475830078, 0, 0, -0.69465827941894531, 0.719339847564697265, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+8, 433147, 2552, 14717, 14837, '0', 0, 0, 2531.471435546875, -4039.953125, 51.17595291137695312, 2.76633763313293457, 0, 0, 0.982449531555175781, 0.186528548598289489, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+9, 446164, 2552, 14717, 14837, '0', 0, 0, 2634.982421875, -3995.933837890625, 72.16313934326171875, 3.071766138076782226, 0, 0, 0.999390602111816406, 0.034906134009361267, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+10, 433143, 2552, 14717, 14837, '0', 0, 0, 2646.572021484375, -4073.060791015625, 80.25, 3.045581579208374023, 0, 0, 0.99884796142578125, 0.047987140715122222, 120, 255, 1, 57689), -- Anvil (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+11, 446165, 2552, 14717, 14837, '0', 0, 0, 2633.385498046875, -3993.92578125, 72.16313934326171875, 4.747298717498779296, 0, 0, -0.6946573257446289, 0.719340801239013671, 120, 255, 1, 57689), -- Chair (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+12, 463994, 2552, 14717, 14837, '0', 0, 0, 2639.1796875, -3984.0869140625, 73.1550140380859375, 5.476319313049316406, 0, 0, -0.392578125, 0.919718682765960693, 120, 255, 1, 57689), -- Observational Notes: Cinderbees (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+13, 423415, 2552, 14717, 14837, '0', 0, 0, 2631.483642578125, -4047.3994140625, 81.5147552490234375, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Pot of Fire Honey (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
(@OGUID+14, 423370, 2552, 14717, 14837, '0', 0, 0, 2646.21533203125, -4072.9619140625, 81.19947052001953125, 0, 0, 0, 0, 1, 120, 255, 1, 57689); -- Earthen Mortar (Area: Durgaz Cabin - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+14;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+0, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+1, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+3, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+4, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+9, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+11, 0, 0, 0.694658875465393066, 0.719339311122894287, 0, 0), -- Chair
(@OGUID+12, 0, 0, 0, 1, 2100, 0); -- Observational Notes: Cinderbees
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` = 230117;
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(230117, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- 230117 (Aschbie)
-- Template
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=230117; -- Aschbie
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=213691; -- Harmot
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=214640; -- Harvester Farnee
UPDATE `creature_template` SET `faction`=35, `npcflag`=16777216, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=217815; -- Shalehoof
UPDATE `creature_template` SET `faction`=35, `npcflag`=8193, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=217542; -- Drelda
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=213691 AND `DifficultyID`=0); -- 213691 (Harmot) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=214640 AND `DifficultyID`=0); -- 214640 (Harvester Farnee) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x30000000, `VerifiedBuild`=57689 WHERE (`Entry`=230117 AND `DifficultyID`=0); -- 230117 (Aschbie) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=217815 AND `DifficultyID`=0); -- 217815 (Shalehoof) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=217542 AND `DifficultyID`=0); -- 217542 (Drelda) - CanSwim
-- Quest
DELETE FROM `creature_questender` WHERE (`id`=214640 AND `quest`=78754);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(214640, 78754, 57689); -- Lost Delivery ended by Harvester Farnee
@@ -0,0 +1,12 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dh_felblade', 'spell_dh_felblade_charge','spell_dh_felblade_cooldown_reset_proc');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(232893, 'spell_dh_felblade'),
(213241, 'spell_dh_felblade_charge'),
(203557, 'spell_dh_felblade_cooldown_reset_proc'),
(236167, 'spell_dh_felblade_cooldown_reset_proc');
DELETE FROM `spell_proc` WHERE `SpellId` IN (203557,236167,204497);
INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES
(203557,0x00,107,0x00400000,0x00000000,0x00000020,0x00000000,0x0,0x0,0x1,0x2,0x0,0x0,0x0,0,0,0,0), -- Felblade
(236167,0x00,107,0x00000001,0x00001000,0x00000000,0x00000000,0x0,0x0,0x1,0x2,0x0,0x2,0x0,0,0,0,0), -- Felblade
(204497,0x00,107,0x40000000,0x00000000,0x00000000,0x00000000,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0,0,0,1); -- Felblade
@@ -0,0 +1,504 @@
SET @CGUID := 10004756;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+143;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1239.8228759765625, -2841.494873046875, 57.04843521118164062, 4.257831096649169921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+1, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1167.87158203125, -2719.072998046875, 51.10944747924804687, 1.706510066986083984, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+2, 212702, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1186.7117919921875, -2697.694580078125, 51.795166015625, 4.524261951446533203, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+3, 222736, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1146.921875, -2730.33154296875, 52.37296676635742187, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Subterranean Dartswog (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+4, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1166.6163330078125, -2793.217041015625, 55.9013824462890625, 0.703969895839691162, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+5, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1171.295166015625, -2719.647705078125, 52.18393707275390625, 2.45048689842224121, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+6, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1176.1285400390625, -2711.795166015625, 52.45928573608398437, 4.171092510223388671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+7, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1169.9722900390625, -2716.427001953125, 51.10944747924804687, 5.220950603485107421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+8, 212702, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1148.0242919921875, -2700.376708984375, 51.49885177612304687, 5.729362964630126953, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+9, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1420.095458984375, -2919.208251953125, 54.80518722534179687, 2.659436941146850585, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+10, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1190.935791015625, -2983.73779296875, 64.68753814697265625, 1.983599781990051269, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+11, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1214.07470703125, -3009.09375, 63.5645751953125, 0.143497511744499206, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+12, 217719, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1284.3316650390625, -3003.911376953125, 67.72381591796875, 2.958301067352294921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Murmuring Trapcap (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+13, 222182, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1199.8211669921875, -3060.59375, 53.8375396728515625, 2.662606239318847656, 120, 8, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Basin Ferret (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+14, 212702, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1139.736083984375, -2705.984375, 51.666534423828125, 5.729362964630126953, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+15, 212704, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1173.5086669921875, -2745.944580078125, 51.581817626953125, 2.994345426559448242, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+16, 222875, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1256.5035400390625, -2820.25341796875, 58.8545379638671875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Meek Bloodlasher (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+17, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1244.38720703125, -2729.46533203125, 57.078125, 3.773160219192504882, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+18, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1239.1163330078125, -2732.796875, 56.70436477661132812, 0.733746707439422607, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+19, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1239.65625, -2728.786376953125, 56.89342880249023437, 5.27411508560180664, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+20, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1243.3629150390625, -2734.24658203125, 56.934844970703125, 2.595615863800048828, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+21, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1294.71533203125, -2770.53466796875, 63.37302398681640625, 2.90033578872680664, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+22, 217719, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1230.8629150390625, -2733.4306640625, 63.84696197509765625, 4.087262630462646484, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Murmuring Trapcap (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+23, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1256.2447509765625, -2814.7119140625, 59.40597152709960937, 4.480247020721435546, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+24, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1280.9566650390625, -2750.302001953125, 60.34749984741210937, 5.347936153411865234, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+25, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1227.953125, -2773.94970703125, 57.103759765625, 2.253621339797973632, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+26, 217786, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1237.38720703125, -2741.536376953125, 56.67256546020507812, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Frightfilled Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+27, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1202.4149169921875, -2775.694580078125, 56.23784637451171875, 0.733746707439422607, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+28, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1207.685791015625, -2772.361083984375, 54.78513336181640625, 3.773160219192504882, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+29, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1202.953125, -2771.68408203125, 55.20507049560546875, 5.27411508560180664, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+30, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1206.6614990234375, -2777.142333984375, 56.32291412353515625, 2.595615863800048828, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+31, 212704, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1309.84375, -2801.407958984375, 62.97132110595703125, 3.102633953094482421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+32, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1284.2864990234375, -2814.69970703125, 59.30193328857421875, 5.818171977996826171, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+33, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1260.204833984375, -2783.5, 59.62102508544921875, 1.67141270637512207, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+34, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1301.875, -2729.70654296875, 73.6922760009765625, 5.149139881134033203, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+35, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1291.8021240234375, -2818.682373046875, 61.18476486206054687, 2.627605199813842773, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+36, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1232.8316650390625, -2807.59716796875, 57.4600677490234375, 1.49635779857635498, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+37, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1230.5711669921875, -2804.236083984375, 57.1788177490234375, 0.477525025606155395, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+38, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1236.0504150390625, -2803.885498046875, 55.88898468017578125, 2.805752992630004882, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+39, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1234.560791015625, -2801.607666015625, 56.65972137451171875, 3.889036417007446289, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+40, 217786, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1282.01220703125, -2760.782958984375, 59.377685546875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Frightfilled Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+41, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1283.9461669921875, -2721.210205078125, 67.0956268310546875, 3.76311492919921875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+42, 222754, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1423.9288330078125, -2910.84033203125, 61.88177490234375, 4.006092071533203125, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Fallowspark Glowfly (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+43, 212704, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1343.435791015625, -2908.58154296875, 51.58687210083007812, 2.994345426559448242, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+44, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1387.501708984375, -2872.413330078125, 54.93228912353515625, 5.656238079071044921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+45, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1386.3385009765625, -2875.083251953125, 53.9017791748046875, 0.339780181646347045, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+46, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1336.49658203125, -2856.6875, 56.42724609375, 0.249870553612709045, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+47, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1434.5660400390625, -2896.239501953125, 61.88034439086914062, 2.975973844528198242, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+48, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1430.375, -2894.791748046875, 60.87384796142578125, 6.219745635986328125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+49, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1433.2222900390625, -2893.46533203125, 61.69904327392578125, 4.47692728042602539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+50, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1431.9617919921875, -2897.767333984375, 61.20425796508789062, 1.798431038856506347, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+51, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1306.717041015625, -2833.15625, 62.78596115112304687, 4.667924404144287109, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+52, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1375.986083984375, -2900.5, 51.64350128173828125, 4.222446441650390625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+53, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1341.1492919921875, -2778.897705078125, 79.88239288330078125, 3.788589000701904296, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+54, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1325.2691650390625, -2772.2900390625, 71.0123291015625, 2.858417749404907226, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+55, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1325.4010009765625, -2768.5, 71.4464874267578125, 3.75092172622680664, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+56, 212701, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1418.6597900390625, -2837.0712890625, 67.93359375, 2.298696756362915039, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Elder Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+57, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1254.435791015625, -2871.276123046875, 59.32584381103515625, 5.99341583251953125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+58, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1292.91845703125, -2854.4462890625, 59.30435562133789062, 1.271166682243347167, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+59, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1247.782958984375, -2846.6025390625, 57.08385467529296875, 4.257831096649169921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+60, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1276.9444580078125, -2841.338623046875, 60.04265594482421875, 5.177037239074707031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+61, 222182, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1216.8004150390625, -3047.65625, 56.31250762939453125, 1.802324175834655761, 120, 8, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Basin Ferret (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+62, 217755, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1150.267333984375, -2859.779541015625, 61.24078369140625, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Explosive Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+63, 222613, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1289.5538330078125, -2849.94970703125, 64.91119384765625, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Fallowspark Glowfly (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+64, 217755, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1193.0399169921875, -2938.171875, 64.0301971435546875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Explosive Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+65, 217762, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1236.060791015625, -2841.439208984375, 57.68088150024414062, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Toxic Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+66, 212704, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1143.15625, -2814.322998046875, 58.6951141357421875, 1.341232061386108398, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+67, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1205.3819580078125, -2801.5, 55.14727783203125, 5.519799232482910156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+68, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1125.0399169921875, -2824.451416015625, 62.96900558471679687, 5.791490554809570312, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+69, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1203.37158203125, -2869.001708984375, 63.7287445068359375, 3.84857344627380371, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+70, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1134.8802490234375, -2863.092041015625, 60.79780197143554687, 1.798927903175354003, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+71, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1131.3663330078125, -2848.75, 62.469482421875, 4.965372085571289062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%) (possible waypoints or random movement)
(@CGUID+72, 217755, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1169.345458984375, -2806.532958984375, 56.32537841796875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Explosive Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+73, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1209.7135009765625, -2847.78466796875, 61.45867156982421875, 2.581925153732299804, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+74, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1162.21533203125, -2878.8212890625, 62.02247238159179687, 4.999767303466796875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+75, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1203.0052490234375, -2806.491455078125, 55.1430206298828125, 1.231681585311889648, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+76, 217762, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1165.767333984375, -2811.71875, 57.90987014770507812, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Toxic Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+77, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1164.154541015625, -2810.7587890625, 58.29166412353515625, 5.887297630310058593, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+78, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1166.82470703125, -2809.87158203125, 57.2162322998046875, 4.397244930267333984, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+79, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1165.6163330078125, -2813.803955078125, 58.15798568725585937, 1.499893903732299804, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+80, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1167.8975830078125, -2812.770751953125, 57.44612503051757812, 2.967411279678344726, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+81, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1179.2413330078125, -2883.08154296875, 66.26263427734375, 4.954971790313720703, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+82, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1157.796875, -2853.15625, 59.86511993408203125, 0.807469367980957031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+83, 217755, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1176.0850830078125, -2863.46533203125, 61.23463821411132812, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Explosive Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+84, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1220.1336669921875, -2878.022705078125, 63.30936050415039062, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+85, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1164.15625, -2789.282958984375, 55.42000961303710937, 4.033303260803222656, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+86, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1103.09375, -2849.194580078125, 64.73477935791015625, 4.388986587524414062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+87, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1166.6163330078125, -2793.217041015625, 55.9013824462890625, 0.703969895839691162, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+88, 212702, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1113.7396240234375, -2856.882080078125, 66.07952880859375, 4.560435771942138671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+89, 217670, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1174.66845703125, -2848.536376953125, 57.4674530029296875, 5.974049568176269531, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Rotbark the Unfelled (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 435239 - Rot Frenzy)
(@CGUID+90, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1294.0728759765625, -2899.116455078125, 55.95810699462890625, 2.023295164108276367, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+91, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1294.3524169921875, -2894.435791015625, 56.2376861572265625, 5.179575443267822265, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+92, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1232.1353759765625, -2922.59033203125, 61.56177902221679687, 0.875000715255737304, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+93, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1258.9478759765625, -2940.7275390625, 56.9693756103515625, 0.374469727277755737, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+94, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1265.4896240234375, -2937.37841796875, 57.35542678833007812, 4.67316293716430664, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+95, 217786, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1256.8333740234375, -2970.45654296875, 57.74687957763671875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Frightfilled Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+96, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1238.545166015625, -2966.473876953125, 58.0879974365234375, 3.581763029098510742, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+97, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1242.8524169921875, -2962.119873046875, 57.58303451538085937, 4.257831096649169921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+98, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1309.5538330078125, -2947.40283203125, 55.85774612426757812, 5.46673440933227539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+99, 217648, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1311.4478759765625, -2951.03466796875, 56.79969024658203125, 1.891943216323852539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 258096 - Submerged)
(@CGUID+100, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1118.592041015625, -2786.045166015625, 61.2765960693359375, 0.661073803901672363, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+101, 218208, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1273.8125, -2768.4775390625, 60.70111846923828125, 0.218211978673934936, 120, 0, 0, 0, NULL, 33536, 2049, 2214600704, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject1
(@CGUID+102, 218208, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1176.373291015625, -2865.50341796875, 61.77138900756835937, 1.330514192581176757, 120, 0, 0, 0, NULL, 33536, 2049, 2214600704, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject1
(@CGUID+103, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1158.0260009765625, -2793.9462890625, 60.06580352783203125, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+104, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1258.44970703125, -2777.178955078125, 63.46347427368164062, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+105, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1233.670166015625, -2849.479248046875, 58.71561050415039062, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+106, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1243.359375, -2852.140625, 59.14216232299804687, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+107, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1295.0504150390625, -2847.67529296875, 59.14777755737304687, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+108, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1344.001708984375, -2857.46533203125, 57.0793914794921875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+109, 218208, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1264.2725830078125, -2945.720458984375, 57.04334259033203125, 1.431133747100830078, 120, 0, 0, 0, NULL, 33536, 2049, 2214600704, 57689), -- Boskroot Lashbane (Area: Boskroot Basin - Difficulty: 0) CreateObject1
(@CGUID+110, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1365.7603759765625, -2905.84716796875, 55.17882919311523437, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1
(@CGUID+111, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1371.6754150390625, -2909.001708984375, 58.10681915283203125, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+112, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1369.329833984375, -2915.654541015625, 59.86534881591796875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+113, 220617, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1264.3021240234375, -2945.7587890625, 55.77312088012695312, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- [DNT] Spell Target Bunny (Area: Boskroot Basin - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+114, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1365.3333740234375, -2931.288330078125, 51.51715850830078125, 4.851099014282226562, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+115, 212702, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1374.6441650390625, -2997.875, 59.36910629272460937, 1.638732433319091796, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+116, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1350.6597900390625, -3006.380126953125, 58.42831802368164062, 3.321513652801513671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+117, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1370.2396240234375, -2928.1650390625, 52.03076171875, 1.60898447036743164, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+118, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1352.4930419921875, -3012.366455078125, 59.06040191650390625, 1.231681585311889648, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+119, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1351.092041015625, -2988.772705078125, 57.5641326904296875, 0.919037699699401855, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+120, 213099, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1331.15625, -2943.388916015625, 52.62958526611328125, 5.506109237670898437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+121, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1320.4288330078125, -2979.282958984375, 57.644287109375, 0.41055077314376831, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+122, 212698, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1322.8211669921875, -2977.63720703125, 57.6475677490234375, 3.926585912704467773, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Mycomancer (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+123, 217755, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1203.9305419921875, -2958.87841796875, 61.32225799560546875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Explosive Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+124, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1282.9375, -2954.39404296875, 58.03693771362304687, 0.821037650108337402, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+125, 212701, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1336.4271240234375, -3032.342041015625, 64.860809326171875, 0.001635180902667343, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Elder Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+126, 217762, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1330.7413330078125, -2980.328125, 56.186279296875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Toxic Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+127, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1312.001708984375, -3006.666748046875, 58.4932708740234375, 6.221838951110839843, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+128, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1323.4444580078125, -3005.23095703125, 59.3403778076171875, 3.443812131881713867, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+129, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1311.3697509765625, -3012.744873046875, 59.58391571044921875, 0.73434537649154663, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+130, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1324.1910400390625, -3008.729248046875, 59.49477005004882812, 2.88323831558227539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+131, 217762, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1255.2899169921875, -3006.130126953125, 59.4122161865234375, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Toxic Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+132, 212697, 2552, 14717, 14777, '0', 0, 0, 0, 1, 1230.185791015625, -3019.875, 61.26647186279296875, 2.500542640686035156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Guardener (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+133, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1252.3038330078125, -3006.6806640625, 59.70659637451171875, 0.333793163299560546, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+134, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1256.7135009765625, -3008.335205078125, 58.89893722534179687, 2.022196769714355468, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+135, 212766, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1255.5972900390625, -3003.927001953125, 59.640625, 4.210222244262695312, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Boskroot Button (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 123169 - Mod Scale 105-110%)
(@CGUID+136, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1272.2447509765625, -3028.861083984375, 54.31548309326171875, 0.663182497024536132, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+137, 222182, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1255.359375, -3036.03125, 54.73421859741210937, 0.801971256732940673, 120, 8, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Basin Ferret (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+138, 217719, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1272.1510009765625, -2969.06591796875, 67.87097930908203125, 2.617185831069946289, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Murmuring Trapcap (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+139, 222182, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1210.9166259765625, -2994.861083984375, 61.60638427734375, 0.611436069011688232, 120, 8, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Basin Ferret (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+140, 217786, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1334.1771240234375, -3013.78466796875, 59.79359817504882812, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Frightfilled Mineshroom (Area: Boskroot Basin - Difficulty: 0) CreateObject2
(@CGUID+141, 212704, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1207.3646240234375, -2967.489501953125, 60.21010208129882812, 2.145387649536132812, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Mycotic Shalehorn (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+142, 212710, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1314.6163330078125, -3017.8837890625, 59.96353912353515625, 4.082981586456298828, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Infected Peafowl (Area: Boskroot Basin - Difficulty: 0) CreateObject2 (Auras: 427172 - Fungal Infected)
(@CGUID+143, 222877, 2552, 14717, 14777, '0', 0, 0, 0, 0, 1229.0572509765625, -2947.791748046875, 60.59115982055664062, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689); -- Ghostcap Menace (Area: Boskroot Basin - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+143;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(@CGUID+2, 0, 0, 0, 0, 0, 1, 0, 423, 0, 0, 0, 0, '427172'), -- Mycotic Shalehorn - 427172 - Fungal Infected
(@CGUID+8, 0, 0, 0, 0, 0, 1, 0, 423, 0, 0, 0, 0, '427172'), -- Mycotic Shalehorn - 427172 - Fungal Infected
(@CGUID+10, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+14, 0, 0, 0, 0, 0, 1, 0, 423, 0, 0, 0, 0, '427172'), -- Mycotic Shalehorn - 427172 - Fungal Infected
(@CGUID+15, 0, 0, 0, 0, 0, 1, 0, 423, 0, 0, 0, 0, '427172'), -- Mycotic Shalehorn - 427172 - Fungal Infected
(@CGUID+32, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '123169'), -- Boskroot Guardener - 123169 - Mod Scale 105-110%
(@CGUID+35, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '123169'), -- Boskroot Guardener - 123169 - Mod Scale 105-110%
(@CGUID+41, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+54, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+55, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+68, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+71, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '123169'), -- Boskroot Guardener - 123169 - Mod Scale 105-110%
(@CGUID+92, 0, 0, 0, 0, 0, 1, 0, 375, 0, 0, 0, 0, '123169'), -- Boskroot Guardener - 123169 - Mod Scale 105-110%
(@CGUID+96, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+113, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123169'), -- Boskroot Mycomancer - 123169 - Mod Scale 105-110%
(@CGUID+114, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'), -- Mycotic Shalehorn - 427172 - Fungal Infected
(@CGUID+125, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'), -- Elder Shalehorn - 427172 - Fungal Infected
(@CGUID+136, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'), -- Infected Peafowl - 427172 - Fungal Infected
(@CGUID+142, 0, 0, 0, 0, 0, 1, 0, 69, 0, 0, 0, 0, '427172'); -- Infected Peafowl - 427172 - Fungal Infected
-- Template Addon
DELETE FROM `creature_template_addon` WHERE `entry` IN (213099,222754,222613,212701,217670,212697,225270,218219,220617,217719,217648,218208,212704,212698,212766,212736,212702,212710);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(213099, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123169'), -- 213099 (Boskroot Mycomancer) - Mod Scale 105-110%
(222754, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 222754 (Fallowspark Glowfly)
(222613, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 222613 (Fallowspark Glowfly)
(212701, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'), -- 212701 (Elder Shalehorn) - Fungal Infected
(217670, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '435239 442266'), -- 217670 (Rotbark the Unfelled) - Rot Frenzy, Mineshroom Eruption
(212697, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123169'), -- 212697 (Boskroot Guardener) - Mod Scale 105-110%
(225270, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 225270 (Crested Shalehorn)
(218219, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, ''), -- 218219 (Long-Forgotten Earthen)
(220617, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 220617 ([DNT] Spell Target Bunny)
(217719, 0, 0, 0, 3, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 217719 (Murmuring Trapcap)
(217648, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '258096 135252'), -- 217648 (Boskroot Lashbane) - Submerged, Spawn Feign Death
(218208, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, 0, ''), -- 218208 (Boskroot Lashbane)
(212704, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'), -- 212704 (Mycotic Shalehorn) - Fungal Infected
(212698, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123169'), -- 212698 (Boskroot Mycomancer) - Mod Scale 105-110%
(212766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '123169'), -- 212766 (Boskroot Button) - Mod Scale 105-110%
(212736, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- 212736 (Boskroot Brute)
(212702, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'), -- 212702 (Mycotic Shalehorn) - Fungal Infected
(212710, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '427172'); -- 212710 (Infected Peafowl) - Fungal Infected
-- Template
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry` IN (213099, 212698); -- Boskroot Mycomancer
UPDATE `creature_template` SET `faction`=188, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x200, `unit_flags2`=0x800 WHERE `entry`=222754; -- Fallowspark Glowfly
UPDATE `creature_template` SET `faction`=188, `npcflag`=1073741824, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x200, `unit_flags2`=0x800 WHERE `entry`=222613; -- Fallowspark Glowfly
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=212701; -- Elder Shalehorn
UPDATE `creature_template` SET `faction`=190, `npcflag`=1073741824, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x200, `unit_flags2`=0x800 WHERE `entry`=222736; -- Subterranean Dartswog
UPDATE `creature_template` SET `BaseAttackTime`=2000 WHERE `entry`=217670; -- Rotbark the Unfelled
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=212697; -- Boskroot Guardener
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=225268; -- Plainswalker Shalehorn
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800, `unit_flags3`=0x80000000 WHERE `entry`=218219; -- Long-Forgotten Earthen
UPDATE `creature_template` SET `faction`=35, `BaseAttackTime`=2000, `unit_flags`=0x2000300, `unit_flags2`=0x800, `unit_flags3`=0x1000001, `flags_extra` = 128 WHERE `entry`=220617; -- [DNT] Spell Target Bunny
UPDATE `creature_template` SET `faction`=14, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x40000000 WHERE `entry`=217719; -- Murmuring Trapcap
UPDATE `creature_template` SET `faction`=14, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x4000800, `unit_flags3`=0x41000000 WHERE `entry`=217786; -- Frightfilled Mineshroom
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800, `unit_flags3`=0x14000000 WHERE `entry`=219267; -- Plaguehart
UPDATE `creature_template` SET `faction`=16, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800 WHERE `entry`=217648; -- Boskroot Lashbane
UPDATE `creature_template` SET `faction`=188, `npcflag`=1073741824, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x200, `unit_flags2`=0x800 WHERE `entry`=222877; -- Ghostcap Menace
UPDATE `creature_template` SET `faction`=16, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=0x340, `unit_flags2`=0x800, `unit_flags3`=0x80000000 WHERE `entry`=218208; -- Boskroot Lashbane
UPDATE `creature_template` SET `faction`=14, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x4000800, `unit_flags3`=0x41000000 WHERE `entry`=217762; -- Toxic Mineshroom
UPDATE `creature_template` SET `faction`=16, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=212766; -- Boskroot Button
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=212702; -- Mycotic Shalehorn
UPDATE `creature_template` SET `faction`=14, `speed_run`=1, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x4000800, `unit_flags3`=0x41080000 WHERE `entry`=217755; -- Explosive Mineshroom
UPDATE `creature_template` SET `faction`=190, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x4000000 WHERE `entry`=212710; -- Infected Peafowl
UPDATE `creature_template` SET `faction`=188, `npcflag`=1073741824, `speed_run`=0.857142865657806396, `BaseAttackTime`=2000, `unit_flags`=0x200, `unit_flags2`=0x800 WHERE `entry`=222875; -- Meek Bloodlasher
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=213099 AND `DifficultyID`=0); -- 213099 (Boskroot Mycomancer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x30000000, `VerifiedBuild`=57689 WHERE (`Entry`=222754 AND `DifficultyID`=0); -- 222754 (Fallowspark Glowfly) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x30000000, `VerifiedBuild`=57689 WHERE (`Entry`=222613 AND `DifficultyID`=0); -- 222613 (Fallowspark Glowfly) - CanSwim, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212701 AND `DifficultyID`=0); -- 212701 (Elder Shalehorn) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222736 AND `DifficultyID`=0); -- 222736 (Subterranean Dartswog) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=2, `LevelScalingDeltaMax`=2, `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=217670 AND `DifficultyID`=0); -- 217670 (Rotbark the Unfelled) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212697 AND `DifficultyID`=0); -- 212697 (Boskroot Guardener) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=225268 AND `DifficultyID`=0); -- 225268 (Plainswalker Shalehorn) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=218219 AND `DifficultyID`=0); -- 218219 (Long-Forgotten Earthen) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000000, `VerifiedBuild`=57689 WHERE (`Entry`=220617 AND `DifficultyID`=0); -- 220617 ([DNT] Spell Target Bunny) - Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x30000100, `StaticFlags3`=0x2000000, `VerifiedBuild`=57689 WHERE (`Entry`=217719 AND `DifficultyID`=0); -- 217719 (Murmuring Trapcap) - Sessile, CanSwim, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000100, `VerifiedBuild`=57689 WHERE (`Entry`=217786 AND `DifficultyID`=0); -- 217786 (Frightfilled Mineshroom) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2860, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=219267 AND `DifficultyID`=0); -- 219267 (Plaguehart) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000100, `VerifiedBuild`=57689 WHERE (`Entry`=217648 AND `DifficultyID`=0); -- 217648 (Boskroot Lashbane) - Sessile, CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222877 AND `DifficultyID`=0); -- 222877 (Ghostcap Menace) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=218208 AND `DifficultyID`=0); -- 218208 (Boskroot Lashbane) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000100, `VerifiedBuild`=57689 WHERE (`Entry`=217762 AND `DifficultyID`=0); -- 217762 (Toxic Mineshroom) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212698 AND `DifficultyID`=0); -- 212698 (Boskroot Mycomancer) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212766 AND `DifficultyID`=0); -- 212766 (Boskroot Button) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212702 AND `DifficultyID`=0); -- 212702 (Mycotic Shalehorn) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x20000100, `VerifiedBuild`=57689 WHERE (`Entry`=217755 AND `DifficultyID`=0); -- 217755 (Explosive Mineshroom) - Sessile, Floating
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212710 AND `DifficultyID`=0); -- 212710 (Infected Peafowl) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=225311 AND `DifficultyID`=0); -- 225311 (Plainswalker Shalehorn) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=212700 AND `DifficultyID`=0); -- 212700 (Woldtender Igris) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x30000100, `StaticFlags3`=0x2000000, `VerifiedBuild`=57689 WHERE (`Entry`=213199 AND `DifficultyID`=0); -- 213199 (Woldkeeper Freydrin) - Sessile, CanSwim, Floating - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=371, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222875 AND `DifficultyID`=0); -- 222875 (Meek Bloodlasher) - CanSwim
-- Spellclick
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` = 212704;
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
(212704, 46598, 1, 0);
-- Vehicle
DELETE FROM `vehicle_template_accessory` WHERE (`entry`=212704 AND `seat_id`=0);
INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `seat_id`, `minion`, `description`, `summontype`, `summontimer`) VALUES
(212704, 212736, 0, 0, 'Mycotic Shalehorn - Boskroot Brute', 8, 0); -- Mycotic Shalehorn - Boskroot Brute
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID`=117607;
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(117607, 0.347000002861022949, 1.5, 0, 57689);
-- Boskroot Mycomancer smart ai
SET @ENTRY := 212698;
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`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 1, 0, 100, 0, 1000, 5000, 8000, 14000, 0, 11, 442146, 0, 0, 0, 0, 0, 0, 19, 220617, 20, 0, 0, 0, 0, 0, 'Every 8 - 14 seconds (1 - 5s initially) (OOC) - Self: Cast spell 442146 on Closest alive creature Spell Target Bunny (220617) in 10 yards', ''),
(@ENTRY, 0, 1, 0, 1, 0, 100, 0, 1000, 5000, 8000, 14000, 0, 11, 442146, 0, 0, 0, 0, 0, 0, 19, 212710, 20, 0, 0, 0, 0, 0, 'Every 8 - 14 seconds (1 - 5s initially) (OOC) - Self: Cast spell 442146 on Closest alive creature Infested Peafowl (212710) in 10 yards', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` IN (1,2) AND `SourceEntry` = @ENTRY;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, @ENTRY, 0, 0, 58, 1, 0, 0, 0, 'ChannelSpellTargetBunny', 0, 'Scripted creature has StringId ''ChannelSpellTargetBunny'''),
(22, 2, @ENTRY, 0, 0, 58, 1, 0, 0, 0, 'ChannelInfectedPeafowl', 0, 'Scripted creature has StringId ''ChannelInfectedPeafowl''');
UPDATE `creature` SET `StringId`='ChannelSpellTargetBunny' WHERE `guid` IN (@CGUID+117, @CGUID+52, @CGUID+46, @CGUID+58, @CGUID+59, @CGUID+33, @CGUID+85, @CGUID+0);
UPDATE `creature` SET `StringId`='ChannelInfectedPeafowl' WHERE `guid` IN (@CGUID+75, @CGUID+97, @CGUID+118);
-- Path for Rotbark the Unfelled
SET @MOVERGUID := @CGUID+89;
SET @ENTRY := 217670;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Rotbark the Unfelled - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1193.0365, -2868.9949, 61.795208, NULL, 0),
(@PATH, 1, 1202.2361, -2892.2656, 63.90406, NULL, 0),
(@PATH, 2, 1213.0555, -2904.191, 61.381676, NULL, 0),
(@PATH, 3, 1248.1598, -2906.9827, 57.80954, NULL, 0),
(@PATH, 4, 1268.7639, -2922.809, 58.317223, NULL, 0),
(@PATH, 5, 1277.6841, -2935.2222, 57.83355, NULL, 0),
(@PATH, 6, 1292.2673, -2962.9878, 56.524967, NULL, 0),
(@PATH, 7, 1297.5348, -2976.8994, 54.89545, NULL, 0),
(@PATH, 8, 1311.7379, -2984.7065, 56.278366, NULL, 0),
(@PATH, 9, 1341.6598, -2976.106, 54.663918, NULL, 0),
(@PATH, 10, 1355.1598, -2979.007, 55.497063, NULL, 0),
(@PATH, 11, 1364.9254, -2994.823, 56.612473, NULL, 0),
(@PATH, 12, 1366.6702, -3003.9827, 59.621742, NULL, 0),
(@PATH, 13, 1353.632, -3016.9844, 58.93936, NULL, 0),
(@PATH, 14, 1325.6771, -3017.3247, 59.90291, NULL, 0),
(@PATH, 15, 1315.7882, -3028.967, 58.33902, NULL, 0),
(@PATH, 16, 1304.6805, -3046.9653, 53.388462, NULL, 0),
(@PATH, 17, 1287.2535, -3052.217, 51.589058, NULL, 0),
(@PATH, 18, 1273.1685, -3045.4775, 53.878426, NULL, 0),
(@PATH, 19, 1261.7709, -3031.7588, 54.59417, NULL, 0),
(@PATH, 20, 1257.5049, -3011.211, 58.220943, NULL, 0),
(@PATH, 21, 1236.3663, -3002.087, 58.472683, NULL, 0),
(@PATH, 22, 1224.1493, -2992.1406, 59.746685, NULL, 0),
(@PATH, 23, 1215.3872, -2980.1145, 59.266647, NULL, 0),
(@PATH, 24, 1229.0642, -2963.7065, 58.67093, NULL, 0),
(@PATH, 25, 1243.0781, -2947.448, 57.182655, NULL, 0),
(@PATH, 26, 1248.7969, -2924.1504, 58.600277, NULL, 0),
(@PATH, 27, 1229.7969, -2899.8281, 59.979713, NULL, 0),
(@PATH, 28, 1205.5764, -2882.0713, 63.154667, NULL, 0),
(@PATH, 29, 1196.1233, -2861.269, 62.24581, NULL, 0),
(@PATH, 30, 1184.7778, -2838.7952, 57.829243, NULL, 0),
(@PATH, 31, 1179.1562, -2794.2883, 54.51288, NULL, 0),
(@PATH, 32, 1177.882, -2768.6301, 51.74694, NULL, 0),
(@PATH, 33, 1203.3021, -2760.7952, 53.22638, NULL, 0),
(@PATH, 34, 1234.1198, -2767.7449, 56.69653, NULL, 0),
(@PATH, 35, 1241.6041, -2791.9514, 56.561676, NULL, 0),
(@PATH, 36, 1249.1719, -2795.5747, 57.36889, NULL, 0),
(@PATH, 37, 1285.0087, -2790.5747, 61.186577, NULL, 0),
(@PATH, 38, 1286.481, -2769.059, 61.319267, NULL, 0),
(@PATH, 39, 1267.1598, -2755.4045, 58.941566, NULL, 0),
(@PATH, 40, 1250.7692, -2749.9775, 59.041653, NULL, 0),
(@PATH, 41, 1235.3942, -2760.9583, 57.47912, NULL, 0),
(@PATH, 42, 1240.1875, -2807.9202, 55.62447, NULL, 0),
(@PATH, 43, 1235.1111, -2815.6736, 58.10808, NULL, 0),
(@PATH, 44, 1221.2379, -2820.861, 58.8575, NULL, 0),
(@PATH, 45, 1200.0452, -2823.5713, 56.426582, NULL, 0),
(@PATH, 46, 1186.9757, -2833.4185, 57.35785, NULL, 0),
(@PATH, 47, 1172.8105, -2838.3691, 58.71023, NULL, 0),
(@PATH, 48, 1157.9584, -2843.9133, 58.548782, NULL, 0),
(@PATH, 49, 1152.1111, -2849.6685, 59.61781, NULL, 0),
(@PATH, 50, 1157.1129, -2855.889, 60.22108, NULL, 0),
(@PATH, 51, 1167.3959, -2861.5173, 60.280262, NULL, 0),
(@PATH, 52, 1175.2899, -2858.0017, 59.842644, NULL, 0),
(@PATH, 53, 1179.8733, -2850.9932, 58.11549, NULL, 0),
(@PATH, 54, 1175.5518, -2848.4746, 57.31778, NULL, 3667),
(@PATH, 55, 1179.8733, -2850.9932, 58.11549, NULL, 0),
(@PATH, 56, 1175.2899, -2858.0017, 59.842644, NULL, 0),
(@PATH, 57, 1167.3959, -2861.5173, 60.280262, NULL, 0),
(@PATH, 58, 1157.1129, -2855.889, 60.22108, NULL, 0),
(@PATH, 59, 1152.1111, -2849.6685, 59.61781, NULL, 0),
(@PATH, 60, 1157.9584, -2843.9133, 58.548782, NULL, 0),
(@PATH, 61, 1172.7084, -2838.3994, 58.635662, NULL, 0),
(@PATH, 62, 1186.873, -2833.4492, 57.39261, NULL, 0),
(@PATH, 63, 1200.0452, -2823.5713, 56.426582, NULL, 0),
(@PATH, 64, 1221.2379, -2820.861, 58.8575, NULL, 0),
(@PATH, 65, 1235.1111, -2815.6736, 58.10808, NULL, 0),
(@PATH, 66, 1240.1875, -2807.9202, 55.62447, NULL, 0),
(@PATH, 67, 1235.3942, -2760.9583, 57.47912, NULL, 0),
(@PATH, 68, 1250.7692, -2749.9775, 59.041653, NULL, 0),
(@PATH, 69, 1267.1598, -2755.4045, 58.941566, NULL, 0),
(@PATH, 70, 1286.481, -2769.059, 61.319267, NULL, 0),
(@PATH, 71, 1285.0087, -2790.5747, 61.186577, NULL, 0),
(@PATH, 72, 1249.1719, -2795.5747, 57.36889, NULL, 0),
(@PATH, 73, 1241.6041, -2791.9514, 56.561676, NULL, 0),
(@PATH, 74, 1234.1198, -2767.7449, 56.69653, NULL, 0),
(@PATH, 75, 1203.3021, -2760.7952, 53.22638, NULL, 0),
(@PATH, 76, 1177.882, -2768.6301, 51.74694, NULL, 0),
(@PATH, 77, 1179.1562, -2794.2883, 54.51288, NULL, 0),
(@PATH, 78, 1184.7778, -2838.7952, 57.829243, NULL, 0),
(@PATH, 79, 1196.1233, -2861.269, 62.24581, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '435239 442266');
-- Path for Mycotic Shalehorn
SET @MOVERGUID := @CGUID+66;
SET @ENTRY := 212704;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 1, 0x0, NULL, 'Mycotic Shalehorn - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1138.8184, -2790.3281, 55.69154, NULL, 0),
(@PATH, 1, 1145.356, -2784.2656, 54.671036, NULL, 0),
(@PATH, 2, 1151.0017, -2777.2275, 53.88556, NULL, 5770),
(@PATH, 3, 1138.8906, -2790.2449, 55.743187, NULL, 0),
(@PATH, 4, 1132.6768, -2796.748, 58.094482, NULL, 0),
(@PATH, 5, 1132.6875, -2804.7415, 58.88276, NULL, 0),
(@PATH, 6, 1143.2865, -2813.7656, 58.541843, NULL, 0),
(@PATH, 7, 1146.4305, -2815.4514, 58.64122, NULL, 7821),
(@PATH, 8, 1132.6875, -2804.7415, 58.88276, NULL, 0),
(@PATH, 9, 1132.6041, -2796.8315, 58.203, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '427172');
-- Path for Mycotic Shalehorn
SET @MOVERGUID := @CGUID+31;
SET @ENTRY := 212704;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Mycotic Shalehorn - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1290.7084, -2803.394, 59.59399, NULL, 0),
(@PATH, 1, 1288.9757, -2811.7744, 59.10456, NULL, 5331),
(@PATH, 2, 1290.7084, -2803.394, 59.59399, NULL, 0),
(@PATH, 3, 1298.5817, -2800.9739, 61.998363, NULL, 0),
(@PATH, 4, 1311.7118, -2801.3403, 63.065372, NULL, 6019),
(@PATH, 5, 1298.7119, -2800.9844, 61.990986, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '427172');
-- Path for Mycotic Shalehorn
SET @MOVERGUID := @CGUID+141;
SET @ENTRY := 212704;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Mycotic Shalehorn - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1222.9427, -2989.967, 59.57086, NULL, 0),
(@PATH, 1, 1228.7153, -2998.1736, 59.57307, NULL, 0),
(@PATH, 2, 1230.2743, -3000.5364, 59.375015, NULL, 6860),
(@PATH, 3, 1222.9427, -2989.967, 59.57086, NULL, 0),
(@PATH, 4, 1215.6337, -2977.7258, 59.187843, NULL, 0),
(@PATH, 5, 1206.4427, -2966.4792, 60.42137, NULL, 9427),
(@PATH, 6, 1215.6337, -2977.7258, 59.187843, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '427172');
-- Path for Boskroot Mycomancer
SET @MOVERGUID := @CGUID+120;
SET @ENTRY := 213099;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Boskroot Mycomancer - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1375.0642, -2954.6753, 53.26848, NULL, 0),
(@PATH, 1, 1381.6632, -2954.658, 53.664833, NULL, 0),
(@PATH, 2, 1384.7291, -2955.2153, 53.839375, NULL, 4665),
(@PATH, 3, 1375.0642, -2954.6753, 53.26848, NULL, 0),
(@PATH, 4, 1356.3802, -2956.342, 52.449448, NULL, 0),
(@PATH, 5, 1343.4879, -2955.519, 52.239513, NULL, 0),
(@PATH, 6, 1330.0695, -2943.6511, 52.577374, NULL, 5447),
(@PATH, 7, 1343.4879, -2955.519, 52.239513, NULL, 0),
(@PATH, 8, 1356.3802, -2956.342, 52.449448, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '123169');
-- Path for Boskroot Guardener
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+44;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+44, @CGUID+44, 0, 0, 515, 0, 0),
(@CGUID+44, @CGUID+45, 3, 90, 515, 3, 8);
SET @MOVERGUID := @CGUID+44;
SET @ENTRY := 212697;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Boskroot Guardener - Formation Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 1406.1285, -2890.1926, 53.309895, NULL, 0),
(@PATH, 1, 1409.6719, -2899.356, 52.510178, NULL, 0),
(@PATH, 2, 1410.5938, -2910.1702, 52.47042, NULL, 0),
(@PATH, 3, 1409.8281, -2918.462, 52.77205, NULL, 5594),
(@PATH, 4, 1410.5938, -2910.1702, 52.47042, NULL, 0),
(@PATH, 5, 1409.6719, -2899.356, 52.510178, NULL, 0),
(@PATH, 6, 1406.1285, -2890.1926, 53.309895, NULL, 0),
(@PATH, 7, 1398.5729, -2880.434, 53.1118, NULL, 0),
(@PATH, 8, 1387.3663, -2873.4045, 54.395424, NULL, 4457),
(@PATH, 9, 1398.5729, -2880.434, 53.1118, NULL, 0);
UPDATE `creature` SET `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 1, '123169');
@@ -0,0 +1,495 @@
SET @CGUID := 10004900;
SET @OGUID := 10001212;
SET @NPCTEXTID := 600068;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+75;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 3, 2973.7197265625, -2387.0400390625, 276.406982421875, 0.09345245361328125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+1, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2936.701904296875, -2457.659423828125, 295.078094482421875, 3.177837848663330078, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+2, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2959.3916015625, -2378.6025390625, 266.328216552734375, 3.960079193115234375, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+3, 230542, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2887.12841796875, -2388.9462890625, 266.6357421875, 5.433397769927978515, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Archivist Mokrand (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 458385 - [DNT] Female Earthen/Dwarf Taking Notes)
(@CGUID+4, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2882.044189453125, -2414.513916015625, 266.6357421875, 0.798904657363891601, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+5, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 5, 2937.36279296875, -2356.6181640625, 266.3717041015625, 3.87408757209777832, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+6, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2866.239501953125, -2458.596923828125, 259.390625, 3.914029598236083984, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+7, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2949.907958984375, -2416.255126953125, 266.328216552734375, 5.430101394653320312, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+8, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2887.34033203125, -2440.83154296875, 266.844818115234375, 2.343483209609985351, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+9, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2821.760498046875, -2463.236083984375, 239.2051239013671875, 1.535251617431640625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+10, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2859.325439453125, -2472.697998046875, 250.199859619140625, 3.883814334869384765, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+11, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2928.35498046875, -2419.994873046875, 266.3282470703125, 4.795296669006347656, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+12, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2956.203125, -2414.741455078125, 287.1416015625, 2.844187736511230468, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+13, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2862.924560546875, -2405.814208984375, 294.888427734375, 3.34917616844177246, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+14, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2918.9775390625, -2340.0556640625, 276.40484619140625, 6.066197395324707031, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+15, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 5, 2867.6416015625, -2307.397705078125, 258.393798828125, 3.931911706924438476, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+16, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2821.572021484375, -2466.3525390625, 239.2081451416015625, 2.461111307144165039, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+17, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2907.42529296875, -2367.20654296875, 265.54248046875, 5.430101394653320312, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+18, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2863.625, -2436.748291015625, 266.844482421875, 3.998203992843627929, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+19, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2860.966064453125, -2405.8837890625, 294.888427734375, 0.039449937641620635, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+20, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 2, 2965.9775390625, -2411.66845703125, 265.54248046875, 2.33508157730102539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+21, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2823.517333984375, -2429.390625, 240.848876953125, 3.670683622360229492, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+22, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2861.952392578125, -2404.392333984375, 294.888427734375, 4.660629749298095703, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+23, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 6, 2901.588623046875, -2434.276123046875, 266.6357421875, 0.941063106060028076, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+24, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2954.72216796875, -2415.994873046875, 287.1416015625, 2.333097457885742187, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+25, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2901.272705078125, -2355.94970703125, 287.1416015625, 4.843334674835205078, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+26, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2890.643310546875, -2402.845458984375, 266.03546142578125, 4.498662948608398437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+27, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2821.822021484375, -2461.86279296875, 239.205078125, 4.637385845184326171, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+28, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2928.4384765625, -2421.694580078125, 266.3282470703125, 1.635419487953186035, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+29, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 2, 2929.55908203125, -2341.869873046875, 276.406982421875, 1.633610129356384277, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+30, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2890.209228515625, -2404.845458984375, 266.056610107421875, 1.357070207595825195, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+31, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2951.1806640625, -2417.98095703125, 266.220703125, 0.933941841125488281, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 396209 - Conversation Aura: Talk Only - upper body [DNT])
(@CGUID+32, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2923.874267578125, -2432.69970703125, 266.6357421875, 2.33508157730102539, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+33, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2908.439208984375, -2368.880126953125, 265.54248046875, 2.120377302169799804, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+34, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 7, 2904.020751953125, -2350.43408203125, 265.54248046875, 5.97323465347290039, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+35, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 2, 2843.125, -2456.5, 250.199462890625, 4.004134654998779296, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+36, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2901.193603515625, -2357.90283203125, 287.1416015625, 1.533610105514526367, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+37, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2874.74658203125, -2428.96875, 266.84478759765625, 5.64228057861328125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+38, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2879.21533203125, -2452.3681640625, 266.844482421875, 3.940617084503173828, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+39, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2864.95068359375, -2457.059814453125, 259.48016357421875, 3.914558172225952148, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+40, 222631, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2894.9150390625, -2385.994873046875, 266.3282470703125, 4.706026554107666015, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Archmage Celindra (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+41, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 7, 2883.236083984375, -2391.616455078125, 266.6357421875, 5.466122627258300781, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+42, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2920.9775390625, -2340.49658203125, 276.4052734375, 2.924604654312133789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+43, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2897.4462890625, -2321.366455078125, 260.625335693359375, 2.15447235107421875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+44, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2962.950439453125, -2264.51220703125, 252.5333404541015625, 0.898440539836883544, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 436791 - Holding Mead Mug [DNT], 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+45, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2964.224853515625, -2262.911376953125, 252.517486572265625, 4.040033340454101562, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 436791 - Holding Mead Mug [DNT])
(@CGUID+46, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 4, 2860.3515625, -2299.8056640625, 258.393402099609375, 3.931911706924438476, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+47, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2847.921875, -2299.335205078125, 259.50634765625, 0.549555003643035888, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+48, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2822.85595703125, -2472.23779296875, 239.2081146240234375, 3.785763263702392578, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+49, 219014, 2552, 14771, 15044, '0', 0, 0, 0, 1, 2843.677001953125, -2493.04345703125, 239.2081146240234375, 3.785763263702392578, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Peacekeeper (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+50, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2860.085205078125, -2523.90625, 238.86346435546875, 4.1927642822265625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+51, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2860.97216796875, -2525.630126953125, 239.208038330078125, 3.681674718856811523, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+52, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2789.72314453125, -2466.060791015625, 239.2081146240234375, 4.030816078186035156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1 (Auras: 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT])
(@CGUID+53, 229379, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2788.30810546875, -2464.73779296875, 239.2081146240234375, 4.541906356811523437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Unbound Villager (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+54, 224544, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2838.764892578125, -2515.3681640625, 239.2339630126953125, 2.353287935256958007, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Rannida (Area: Keepers Terrace - Difficulty: 0) CreateObject1
(@CGUID+55, 219346, 2552, 14771, 15044, '0', 0, 0, 0, 0, 2773.631591796875, -2439.664306640625, 234.8574371337890625, 5.505495071411132812, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Oathsworn Dignitary (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@CGUID+56, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2899.83251953125, -2494.444580078125, 292.535888671875, 4.231603622436523437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+57, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2820.958251953125, -2416.342041015625, 292.535888671875, 3.219585895538330078, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+58, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2877.049560546875, -2470.303955078125, 292.535888671875, 3.368112564086914062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+59, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2877.06689453125, -2467.486083984375, 292.535888671875, 3.380945920944213867, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+60, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2883.68408203125, -2498.182373046875, 241.5872039794921875, 5.060177803039550781, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+61, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2882.0087890625, -2492.53125, 240.2430267333984375, 3.511220216751098632, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+62, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2821.294189453125, -2410.572998046875, 292.535888671875, 3.722562551498413085, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+63, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2861.979248046875, -2472.359375, 257.138458251953125, 2.522553682327270507, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+64, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2830.927978515625, -2503.067626953125, 239.2081146240234375, 3.842822074890136718, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+65, 214772, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2871.82373046875, -2491.263916015625, 245.479766845703125, 3.34850311279296875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 57689), -- Limestone Falcon (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+66, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2838.459228515625, -2534.010498046875, 242.03338623046875, 4.218731880187988281, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+67, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2827.208251953125, -2458.407958984375, 242.76904296875, 4.897751808166503906, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+68, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2857.223876953125, -2515.46533203125, 241.880615234375, 2.923590660095214843, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+69, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2839.259521484375, -2535.904541015625, 242.399200439453125, 1.246740221977233886, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+70, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2835.609375, -2563.338623046875, 239.6295013427734375, 5.230384349822998046, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+71, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2896.920166015625, -2569.7587890625, 239.208282470703125, 3.69503331184387207, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+72, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2818.907958984375, -2431.447998046875, 239.8837890625, 5.814088344573974609, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+73, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2825.885498046875, -2457.744873046875, 240.943328857421875, 5.482824325561523437, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+74, 214950, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2779.368896484375, -2463.763916015625, 239.9935150146484375, 0.412877112627029418, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689), -- Azure Peachick (Area: Keepers Terrace - Difficulty: 0) CreateObject2
(@CGUID+75, 214947, 2552, 14771, 15042, '0', 0, 0, 0, 0, 2778.6259765625, -2464.772705078125, 241.9304962158203125, 4.872925758361816406, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 57689); -- Eye of Topaz (Area: Keepers Terrace - Difficulty: 0) CreateObject2
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+75;
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, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+2, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+4, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+5, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+8, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+10, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '435518'), -- Unbound Villager - 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+15, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+16, 0, 0, 0, 0, 0, 1, 0, 1023, 0, 0, 0, 0, ''), -- Oathsworn Dignitary
(@CGUID+18, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+20, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+21, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Unbound Villager
(@CGUID+23, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+24, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '435518'), -- Unbound Villager - 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+29, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '435518'), -- Unbound Villager - 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+31, 0, 0, 0, 0, 0, 1, 0, 0, 14533, 0, 0, 0, '396209'), -- Oathsworn Dignitary - 396209 - Conversation Aura: Talk Only - upper body [DNT]
(@CGUID+32, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+34, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+35, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+37, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+38, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+41, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+43, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Unbound Villager
(@CGUID+44, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '436791 435518'), -- Unbound Villager - 436791 - Holding Mead Mug [DNT], 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+45, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '436791'), -- Unbound Villager - 436791 - Holding Mead Mug [DNT]
(@CGUID+46, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+47, 0, 0, 0, 0, 0, 1, 0, 0, 29098, 0, 0, 0, ''), -- Unbound Villager
(@CGUID+48, 0, 0, 0, 0, 0, 1, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+49, 0, 0, 0, 0, 0, 0, 1, 717, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+50, 0, 0, 0, 0, 0, 1, 0, 0, 2085, 0, 0, 0, ''), -- Unbound Villager
(@CGUID+51, 0, 0, 0, 0, 0, 1, 0, 0, 2085, 0, 0, 0, '435518'), -- Unbound Villager - 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+52, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, '435518'), -- Unbound Villager - 435518 - Conversation Aura: Talk/Laugh/Exclaim [DNT]
(@CGUID+56, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+57, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+58, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+59, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+62, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+63, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+65, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''); -- Limestone Falcon
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+77;
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, 429072, 2552, 14771, 15044, '0', 0, 0, 2875.73095703125, -2502.244873046875, 239.1302642822265625, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+1, 446172, 2552, 14771, 15044, '0', 0, 0, 2971.542236328125, -2527.78466796875, 248.3314056396484375, 2.337144851684570312, 0, 0, 0.920192718505859375, 0.391465693712234497, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+2, 428970, 2552, 14771, 15044, '0', 0, 0, 2759.802001953125, -2341.991455078125, 266.9361572265625, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+3, 429073, 2552, 14771, 15044, '0', 0, 0, 2868.9072265625, -2502.4462890625, 239.1302642822265625, 4.712389945983886718, 0, 0, -0.70710659027099609, 0.707106947898864746, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+4, 428864, 2552, 14771, 15044, '0', 0, 0, 2827.255126953125, -2243.132080078125, 266.83746337890625, 2.356189966201782226, 0, 0, 0.923878669738769531, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+5, 466852, 2552, 14771, 15044, '0', 0, 0, 2863.93701171875, -2386.778076171875, 348.995269775390625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Fire (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+6, 446168, 2552, 14771, 15044, '0', 0, 0, 2986.580322265625, -2498.448974609375, 242.8477630615234375, 3.94444584846496582, 0, 0, -0.92050457000732421, 0.3907318115234375, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+7, 428865, 2552, 14771, 15044, '0', 0, 0, 2833.447998046875, -2217.182373046875, 266.8370361328125, 3.106652259826660156, 0, 0, 0.999847412109375, 0.017469281330704689, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+8, 428948, 2552, 14771, 15044, '0', 0, 0, 2778.671142578125, -2428.3125, 231.013885498046875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+9, 466853, 2552, 14771, 15044, '0', 0, 0, 2926.971435546875, -2323.74365234375, 349.087432861328125, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Fire (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+10, 446169, 2552, 14771, 15044, '0', 0, 0, 2975.1884765625, -2491.895263671875, 243.0958404541015625, 5.6985015869140625, 0, 0, -0.28819561004638671, 0.957571566104888916, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+11, 452653, 2552, 14771, 15044, '0', 0, 0, 2853.6826171875, -2576.00732421875, 220.1246795654296875, 3.900813102722167968, 0, 0, -0.92880916595458984, 0.370558410882949829, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+12, 446170, 2552, 14771, 15044, '0', 0, 0, 2958.9775390625, -2519.404296875, 248.9457550048828125, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+13, 428950, 2552, 14771, 15044, '0', 0, 0, 2778.75, -2414.65966796875, 231.015625, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+14, 428976, 2552, 14771, 15044, '0', 0, 0, 2924.32470703125, -2593.47216796875, 239.3831939697265625, 0.741763234138488769, 0, 0, 0.362437248229980468, 0.932008147239685058, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+15, 446171, 2552, 14771, 15044, '0', 0, 0, 2960.7216796875, -2519.343505859375, 248.9654388427734375, 2.453489303588867187, 0, 0, 0.941395759582519531, 0.337304025888442993, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+16, 456777, 2552, 14771, 15044, '0', 0, 0, 1666.0677490234375, -1532.0504150390625, 0.853936076164245605, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, 57689), -- Alliance Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+17, 428877, 2552, 14771, 15044, '0', 0, 0, 2760.064208984375, -2382.34716796875, 231.0146484375, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+18, 456778, 2552, 14771, 15044, '0', 0, 0, 1961.91845703125, -1314.8021240234375, -2.34244871139526367, 3.09791874885559082, 0, 0, 0.999761581420898437, 0.021835235878825187, 120, 255, 1, 57689), -- Horde Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+19, 428878, 2552, 14771, 15044, '0', 0, 0, 2778.9296875, -2400.220458984375, 231.01513671875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+20, 466850, 2552, 14771, 15044, '0', 0, 0, 2928.435302734375, -2451.2763671875, 346.825531005859375, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Fire (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+21, 428852, 2552, 14771, 15044, '0', 0, 0, 2917.21533203125, -2589.35595703125, 239.1016693115234375, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+22, 466851, 2552, 14771, 15044, '0', 0, 0, 2992.27978515625, -2387.436279296875, 348.596710205078125, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Fire (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+23, 433469, 2552, 14771, 15044, '0', 0, 0, 1866.0504150390625, -1305.8055419921875, -2.82093644142150878, 4.014260292053222656, 0, 0, -0.90630722045898437, 0.422619491815567016, 120, 255, 1, 57689), -- Horde Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+24, 433470, 2552, 14771, 15044, '0', 0, 0, 1790.7586669921875, -1323.0416259765625, -2.18679475784301757, 3.630291461944580078, 0, 0, -0.97029495239257812, 0.241925001144409179, 120, 255, 1, 57689), -- Horde Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+25, 429062, 2552, 14771, 15044, '0', 0, 0, 2885.296875, -2506.44091796875, 239.1302642822265625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+26, 428990, 2552, 14771, 15044, '0', 0, 0, 2727.6796875, -2323.751708984375, 266.648681640625, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Mailbox (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+27, 433471, 2552, 14771, 15044, '0', 0, 0, 1709.1788330078125, -1462.78125, -0.7358059287071228, 5.977754592895507812, 0, 0, -0.15212249755859375, 0.988361656665802001, 120, 255, 1, 57689), -- Alliance Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+28, 452662, 2552, 14771, 15044, '0', 0, 0, 2967.564453125, -2278.76171875, 252.4530487060546875, 2.015851974487304687, 0, 0, 0.845726966857910156, 0.533615827560424804, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+29, 452663, 2552, 14771, 15044, '0', 0, 0, 2965.107421875, -2277.404296875, 252.4530487060546875, 0.32288438081741333, 0, 0, 0.160741806030273437, 0.98699653148651123, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+30, 428850, 2552, 14771, 15044, '0', 0, 0, 2922.09814453125, -2561.626708984375, 248.295135498046875, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+31, 433467, 2552, 14771, 15044, '0', 0, 0, 1763.8507080078125, -1541.345458984375, 0.299024790525436401, 0.610865473747253417, 0, 0, 0.300705909729003906, 0.953716933727264404, 120, 255, 1, 57689), -- Alliance Transport (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+32, 428851, 2552, 14771, 15044, '0', 0, 0, 2916.882080078125, -2579.263916015625, 239.1249542236328125, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+33, 428953, 2552, 14771, 15044, '0', 0, 0, 2833.749267578125, -2351.54345703125, 258.19183349609375, 2.356189966201782226, 0, 0, 0.923878669738769531, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+34, 428860, 2552, 14771, 15044, '0', 0, 0, 2759.451416015625, -2290.083251953125, 266.95574951171875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+35, 467460, 2552, 14771, 15044, '0', 0, 0, 2896.569580078125, -2386.203857421875, 266.31744384765625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+36, 428955, 2552, 14771, 15044, '0', 0, 0, 2840.264892578125, -2345.31591796875, 258.19183349609375, 2.356189966201782226, 0, 0, 0.923878669738769531, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+37, 428862, 2552, 14771, 15044, '0', 0, 0, 2818.298583984375, -2252.30908203125, 266.83746337890625, 2.356189966201782226, 0, 0, 0.923878669738769531, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+38, 467461, 2552, 14771, 15044, '0', 0, 0, 2893.125732421875, -2386.2216796875, 266.332916259765625, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+39, 452668, 2552, 14771, 15044, '0', 0, 0, 2973.1298828125, -2279.076171875, 252.4653472900390625, 1.448621988296508789, 0, 0, 0.662619590759277343, 0.748956084251403808, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+40, 428863, 2552, 14771, 15044, '0', 0, 0, 2759.447998046875, -2300.10595703125, 266.95574951171875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+41, 467462, 2552, 14771, 15044, '0', 0, 0, 2884.08984375, -2400.25634765625, 266.447235107421875, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+42, 452669, 2552, 14771, 15044, '0', 0, 0, 2967.662109375, -2259.3359375, 252.4336700439453125, 6.265733242034912109, 0, 0, -0.00872611999511718, 0.999961912631988525, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+43, 467463, 2552, 14771, 15044, '0', 0, 0, 2883.58447265625, -2395.762939453125, 266.332916259765625, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+44, 434125, 2552, 14771, 15044, '0', 0, 0, 2775.646728515625, -2291.6962890625, 266.836578369140625, 1.562069892883300781, 0, 0, 0.704014778137207031, 0.71018528938293457, 120, 255, 1, 57689), -- Meeting Stone (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+45, 428962, 2552, 14771, 15044, '0', 0, 0, 2867.475830078125, -2591.395751953125, 239.125, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+46, 428857, 2552, 14771, 15044, '0', 0, 0, 2833.260498046875, -2229.345458984375, 266.837249755859375, 3.106652259826660156, 0, 0, 0.999847412109375, 0.017469281330704689, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+47, 467456, 2552, 14771, 15044, '0', 0, 0, 2929.498291015625, -2419.13232421875, 266.31744384765625, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+48, 428858, 2552, 14771, 15044, '0', 0, 0, 2759.8046875, -2331.96875, 266.9361572265625, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+49, 467457, 2552, 14771, 15044, '0', 0, 0, 2929.533203125, -2422.629150390625, 266.332916259765625, 2.356194972991943359, 0, 0, 0.923879623413085937, 0.382683247327804565, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+50, 452664, 2552, 14771, 15044, '0', 0, 0, 2973.181640625, -2259.3984375, 252.39544677734375, 3.176533222198486328, 0, 0, -0.999847412109375, 0.017469281330704689, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+51, 429066, 2552, 14771, 15044, '0', 0, 0, 2940.40283203125, -2518.255126953125, 248.314239501953125, 3.926995515823364257, 0, 0, -0.92387866973876953, 0.38268551230430603, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+52, 446166, 2552, 14771, 15044, '0', 0, 0, 2986.828857421875, -2516.16552734375, 242.9175567626953125, 0.759216904640197753, 0, 0, 0.370556831359863281, 0.928809821605682373, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+53, 467458, 2552, 14771, 15044, '0', 0, 0, 2919.964111328125, -2431.871826171875, 266.33282470703125, 2.356194972991943359, 0, 0, 0.923879623413085937, 0.382683247327804565, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+54, 452665, 2552, 14771, 15044, '0', 0, 0, 2970.626953125, -2257.48046875, 252.5463104248046875, 4.773476600646972656, 0, 0, -0.68518257141113281, 0.728371381759643554, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+55, 446167, 2552, 14771, 15044, '0', 0, 0, 2977.994873046875, -2491.79296875, 243.1192626953125, 4.00553131103515625, 0, 0, -0.9081430435180664, 0.418660014867782592, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+56, 467459, 2552, 14771, 15044, '0', 0, 0, 2915.8876953125, -2432.05419921875, 266.447235107421875, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+57, 428992, 2552, 14771, 15044, '0', 0, 0, 2947.87158203125, -2551.447998046875, 248.2425079345703125, 3.961898565292358398, 0, 0, -0.91705989837646484, 0.398749500513076782, 120, 255, 1, 57689), -- Mailbox (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+58, 452666, 2552, 14771, 15044, '0', 0, 0, 2970.607421875, -2261.1328125, 252.5745086669921875, 1.544615507125854492, 0, 0, 0.697790145874023437, 0.716302275657653808, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+59, 452667, 2552, 14771, 15044, '0', 0, 0, 2975.6904296875, -2276.6171875, 252.4704132080078125, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+60, 415760, 2552, 14771, 15044, '0', 0, 0, 2987.4306640625, -2388.6806640625, 266.244873046875, 5.801862239837646484, 0, 0, -0.23834514617919921, 0.971180498600006103, 120, 255, 1, 57689), -- Earthen Teleporter (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+61, 429033, 2552, 14771, 15044, '0', 0, 0, 2943.505126953125, -2285.892333984375, 251.233642578125, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Earthen Cleanup Bucket (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+62, 429034, 2552, 14771, 15044, '0', 0, 0, 2943.505126953125, -2285.892333984375, 251.3336029052734375, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Fire Honey Puddle (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+63, 434486, 2552, 14771, 15044, '0', 0, 0, 2956.616455078125, -2206.092041015625, 251.574462890625, 5.905436038970947265, 0, 0, -0.18775367736816406, 0.982216119766235351, 120, 255, 1, 57689), -- Bottle of Infused Underclay (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+64, 429635, 2552, 14771, 15044, '0', 0, 0, 2956.256103515625, -2205.755126953125, 251.5742950439453125, 0.866819322109222412, 0, 0, 0.4199676513671875, 0.907539069652557373, 120, 255, 1, 57689), -- Bottle of Infused Underclay (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+65, 429636, 2552, 14771, 15044, '0', 0, 0, 2956.348876953125, -2205.991455078125, 251.3350982666015625, 0.822922587394714355, 0, 0, 0.399949073791503906, 0.916537344455718994, 120, 255, 1, 57689), -- Crate of Delivered Goods (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+66, 434486, 2552, 14771, 15044, '0', 0, 0, 2956.061767578125, -2205.895751953125, 251.5738677978515625, 4.684757232666015625, 0, 0, -0.71680831909179687, 0.69727027416229248, 120, 255, 1, 57689), -- Bottle of Infused Underclay (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+67, 429635, 2552, 14771, 15044, '0', 0, 0, 2956.4228515625, -2206.204833984375, 251.5740509033203125, 4.057512283325195312, 0, 0, -0.89695644378662109, 0.442118912935256958, 120, 255, 1, 57689), -- Bottle of Infused Underclay (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+68, 434486, 2552, 14771, 15044, '0', 0, 0, 2956.509521484375, -2205.913330078125, 251.57452392578125, 0.383199632167816162, 0, 0, 0.1904296875, 0.981700837612152099, 120, 255, 1, 57689), -- Bottle of Infused Underclay (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+69, 428961, 2552, 14771, 15044, '0', 0, 0, 2867.7431640625, -2603.20654296875, 239.125, 0, 0, 0, 0, 1, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+70, 428963, 2552, 14771, 15044, '0', 0, 0, 2872.015625, -2614.5869140625, 239.126739501953125, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+71, 428965, 2552, 14771, 15044, '0', 0, 0, 2878.60498046875, -2621.083251953125, 239.126739501953125, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+72, 494551, 2552, 14771, 15044, '0', 0, 0, 2704.271484375, -2336.9287109375, 264.260467529296875, 2.495818138122558593, 0, 0, 0.948323249816894531, 0.317305892705917358, 120, 255, 1, 57689), -- Bench (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+73, 494545, 2552, 14771, 15044, '0', 0, 0, 2699.28173828125, -2342.437744140625, 264.46875, 1.579524636268615722, 0, 0, 0.710186004638671875, 0.704014122486114501, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+74, 494547, 2552, 14771, 15044, '0', 0, 0, 2701.024658203125, -2341.0908203125, 264.46875, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+75, 441897, 2552, 14771, 15044, '0', 0, 0, 2928.483642578125, -2387.423583984375, 493.9200439453125, 5.801862239837646484, 0, 0, -0.23834514617919921, 0.971180498600006103, 120, 255, 1, 57689), -- Earthen Teleporter (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+76, 494549, 2552, 14771, 15044, '0', 0, 0, 2696.9091796875, -2342.421142578125, 264.46875, 1.535889506340026855, 0, 0, 0.694658279418945312, 0.719339847564697265, 120, 255, 1, 57689), -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
(@OGUID+77, 494550, 2552, 14771, 15044, '0', 0, 0, 2699.19091796875, -2338.800048828125, 264.46875, 4.799657344818115234, 0, 0, -0.67558956146240234, 0.737277925014495849, 120, 255, 1, 57689); -- Chair (Area: Foundation Hall - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+77;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+1, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+5, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Fire
(@OGUID+6, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+9, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Fire
(@OGUID+10, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+11, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+12, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+15, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+20, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Fire
(@OGUID+22, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Fire
(@OGUID+28, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+29, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+35, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+38, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+39, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+41, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+42, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+43, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+47, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+49, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+50, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+52, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+53, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+54, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+55, 0, 0, 0.382683455944061279, 0.923879563808441162, 0, 0), -- Chair
(@OGUID+56, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Chair
(@OGUID+58, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+59, 0, 0, 0.000000087422776573, 1, 0, 0), -- Chair
(@OGUID+60, 0, 0, 0, 1, 0, 5605), -- Earthen Teleporter
(@OGUID+72, 0, 0, 0.70710688829421997, 0.707106649875640869, 0, 0), -- Bench
(@OGUID+73, 0, 0, 0.70710688829421997, 0.707106649875640869, 0, 0), -- Chair
(@OGUID+74, 0, 0, 0.70710688829421997, 0.707106649875640869, 0, 0), -- Chair
(@OGUID+75, 0, 0, 0, 1, 0, 5605), -- Earthen Teleporter
(@OGUID+76, 0, 0, 0.70710688829421997, 0.707106649875640869, 0, 0), -- Chair
(@OGUID+77, 0, 0, 0.70710688829421997, 0.707106649875640869, 0, 0); -- Chair
-- Template Addon
DELETE FROM `gameobject_template_addon` WHERE `entry` IN (441897 /*Earthen Teleporter*/, 421632 /*Letter*/, 415760 /*Earthen Teleporter*/, 441169 /*Dormant Rock Giant*/, 433470 /*Horde Transport*/, 433469 /*Horde Transport*/);
INSERT INTO `gameobject_template_addon` (`entry`, `faction`, `flags`, `WorldEffectID`, `AIAnimKitID`) VALUES
(441897, 0, 0x40000, 0, 5605), -- Earthen Teleporter
(421632, 190, 0x0, 0, 0), -- Letter
(415760, 0, 0x40000, 0, 5605), -- Earthen Teleporter
(441169, 0, 0x100020, 0, 0), -- Dormant Rock Giant
(433470, 0, 0x100020, 0, 0), -- Horde Transport
(433469, 0, 0x100020, 0, 0); -- Horde Transport
DELETE FROM `creature_template_addon` WHERE `entry` IN (222631 /*222631 (Archmage Celindra)*/, 230542 /*230542 (Archivist Mokrand) - [DNT] Female Earthen/Dwarf Taking Notes*/, 224544);
INSERT INTO `creature_template_addon` (`entry`, `PathId`, `mount`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvpFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
(222631, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''), -- 222631 (Archmage Celindra)
(230542, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '458385'), -- 230542 (Archivist Mokrand) - [DNT] Female Earthen/Dwarf Taking Notes
(224544, 0, 0, 0, 0, 0, 1, 0, 461, 0, 0, 0, 0, ''); -- Rannida
-- Template
DELETE FROM `gameobject_template` WHERE `entry` IN (494550 /*Chair*/, 494549 /*Chair*/, 494547 /*Chair*/, 494545 /*Chair*/, 494551 /*Bench*/, 433470 /*Horde Transport*/, 456777 /*Alliance Transport*/);
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
(494550, 7, 87468, 'Chair', '', '', '', 0.99999934434890747, 1, 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, 57689), -- Chair
(494549, 7, 87468, 'Chair', '', '', '', 0.999999463558197021, 1, 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, 57689), -- Chair
(494547, 7, 87468, 'Chair', '', '', '', 0.999999523162841796, 1, 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, 57689), -- Chair
(494545, 7, 87468, 'Chair', '', '', '', 0.99999934434890747, 1, 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, 57689), -- Chair
(494551, 7, 88476, 'Bench', '', '', '', 0.999999403953552246, 2, 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, 57689), -- Bench
(433470, 43, 88875, 'Horde Transport', '', '', '', 1, -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, 57689), -- Horde Transport
(456777, 43, 48224, 'Alliance Transport', '', '', '', 1, -1, 0, 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, 57689); -- Alliance Transport
UPDATE `creature_template` SET `faction`=35, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags`=0x140, `unit_flags2`=0x800 WHERE `entry`=222631; -- Archmage Celindra
UPDATE `creature_template` SET `faction`=3438, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=230542; -- Archivist Mokrand
UPDATE `creature_template` SET `faction`=3407, `npcflag`=2, `BaseAttackTime`=2000, `unit_flags`=0x300, `unit_flags2`=0x800 WHERE `entry`=224544; -- Rannida
UPDATE `creature_template` SET `faction`=188, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=214950; -- Azure Peachick
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=222631 AND `DifficultyID`=0); -- 222631 (Archmage Celindra) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=230542 AND `DifficultyID`=0); -- 230542 (Archivist Mokrand) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2462, `StaticFlags1`=0x10000000, `StaticFlags3`=0x2000000, `VerifiedBuild`=57689 WHERE (`Entry`=224544 AND `DifficultyID`=0); -- 224544 (Rannida) - CanSwim - CannotTurn
UPDATE `creature_template_difficulty` SET `ContentTuningID`=81, `StaticFlags1`=0x10000000, `VerifiedBuild`=57689 WHERE (`Entry`=214950 AND `DifficultyID`=0); -- 214950 (Azure Peachick) - CanSwim
-- Gossip
DELETE FROM `creature_template_gossip` WHERE (`CreatureID`=222631 AND `MenuID`=34720);
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES
(222631, 34720, 57689); -- Archmage Celindra
DELETE FROM `gossip_menu` WHERE (`MenuID`=34720 AND `TextID`=30684);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34720, 30684, 57689); -- 222631 (Archmage Celindra)
DELETE FROM `gossip_menu` WHERE (`MenuID`=34720 AND `TextID`=@NPCTEXTID+0);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(34720, @NPCTEXTID+0, 57689); -- 222631 (Archmage Celindra)
DELETE FROM `npc_text` WHERE `ID` BETWEEN @NPCTEXTID+0 AND @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, 123240, 0, 0, 0, 0, 0, 0, 0, 57689); -- 222631 (Archmage Celindra)
DELETE FROM `gossip_menu_option` WHERE (`MenuID`=34720 AND `OptionID`=0);
INSERT INTO `gossip_menu_option` (`MenuID`, `GossipOptionID`, `OptionID`, `OptionNpc`, `OptionText`, `OptionBroadcastTextID`, `Language`, `Flags`, `ActionMenuID`, `ActionPoiID`, `GossipNpcOptionID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `SpellID`, `OverrideIconID`, `VerifiedBuild`) VALUES
(34720, 122165, 0, 3, 'Please teach me.', 8442, 0, 0, 0, 0, NULL, 0, 0, NULL, 0, NULL, NULL, 57689);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 34720) OR (`SourceTypeOrReferenceId` = 14 AND `SourceGroup` = 34720);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(15, 34720, 0, 0, 0, 15, 0, 128, 0, 0, 0, 0, 0, '', 'Show gossip option if player is a mage'),
(14, 34720, @NPCTEXTID+0, 0, 0, 15, 0, 128, 0, 0, 0, 0, 0, '', 'Show gossip option if player is a mage');
-- Trainer
DELETE FROM `trainer` WHERE `Id`=1162;
INSERT INTO `trainer` (`Id`, `Type`, `Greeting`, `VerifiedBuild`) VALUES
(1162, 0, 'Welcome!', 57689);
DELETE FROM `creature_trainer` WHERE (`CreatureID`=222631 AND `MenuID`=34720 AND `OptionID`=0);
INSERT INTO `creature_trainer` (`CreatureID`, `TrainerID`, `MenuID`, `OptionID`) VALUES
(222631, 1162, 34720, 0);
DELETE FROM `trainer_spell` WHERE (`TrainerId`=1162 AND `SpellId` IN (446534,446540));
INSERT INTO `trainer_spell` (`TrainerId`, `SpellId`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqAbility1`, `ReqAbility2`, `ReqAbility3`, `ReqLevel`, `VerifiedBuild`) VALUES
(1162, 446534, 168000, 0, 0, 0, 0, 0, 78, 57689), -- No Faction found! MoneyCost not recalculated!
(1162, 446540, 168000, 0, 0, 0, 0, 0, 72, 57689); -- No Faction found! MoneyCost not recalculated!
-- Quest
DELETE FROM `creature_queststarter` WHERE (`id`=224544 AND `quest`=82747);
INSERT INTO `creature_queststarter` (`id`, `quest`, `VerifiedBuild`) VALUES
(224544, 82747, 57689); -- Crossroads Plaza offered by Rannida
DELETE FROM `creature_questender` WHERE (`id`=224566 AND `quest`=82747);
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
(224566, 82747, 57689); -- Crossroads Plaza ended by Bondaz
-- Model
DELETE FROM `creature_model_info` WHERE `DisplayID` IN (116387, 92759, 123008, 115261);
INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES
(116387, 0.494568407535552978, 1.5, 0, 57689),
(92759, 0.738248705863952636, 1.5, 0, 57689),
(123008, 0.240027263760566711, 0, 0, 57689),
(115261, 0.221856966614723205, 0.300000011920928955, 0, 57689);
UPDATE `creature_model_info` SET `VerifiedBuild`=57689 WHERE `DisplayID` IN (121971, 117277, 117695, 117806, 117696, 117689, 121106, 110227, 121148, 120606, 122301, 115505, 108862, 117697, 120610, 115035, 117757, 118268, 120914, 117200, 117201, 120384, 117756, 121065, 120981, 117238, 115038, 118181, 118386, 57067, 120727, 117690, 118411, 24719, 118385, 60426, 118384, 120957, 118415, 120732, 120733, 117348, 118073, 75322, 92446, 77577, 120952, 118452, 117418, 120951, 120949, 120678, 117653, 120680, 121042, 121044, 118451, 117429, 120629, 120654, 120653, 120648, 120651, 117337, 117419, 120683, 120650, 120649, 117355, 117352, 120730, 120729, 117800, 120681, 117341, 120647, 120646, 104021, 120948, 120685, 122231, 120612, 120016, 120645, 120689, 120636, 5556, 122495, 122496, 65228, 120687, 120619, 120635, 120620, 120543, 120613, 120633, 122494, 120617, 120604, 119739, 120603, 120608, 120627, 117342, 120628, 107365, 117431, 117423, 120626, 120614, 117256, 117354, 118459, 117336, 119080, 116112, 117416, 117426, 117420, 117660, 118449, 117353, 114941, 117491, 117481, 119070, 114923, 117484, 114653, 104045, 117654, 83698, 117655, 117349, 72183, 117658, 120480, 118462, 118482, 119740, 117685, 120605, 65644, 118464, 117797, 109867, 118457, 117785, 117786, 120744, 120749, 117413, 120299, 117421, 99915, 120954, 120741, 120740, 120811, 30764, 120747, 120743, 102553, 117779, 104534, 120745, 114929, 117746, 36833, 120742, 64049, 117486, 118458, 120736, 120735, 120738, 120737, 36880, 36882, 36881, 117422, 120748, 114926, 117417, 118353, 120611, 59303, 120739, 36904, 65251, 117356, 117725, 108778, 120622, 112806, 117428, 117414, 118460, 108777, 108867, 111138, 27959, 111139, 88792, 104042, 121052, 117427, 28282, 28111, 108868, 120630, 120675, 120676, 118463, 117359, 117642, 117343, 117346, 120540, 121979, 121982, 120638, 121980, 121976, 120621, 117408, 61889, 120802, 120670, 121973, 121978, 121986, 120639, 120643, 22003, 117358, 27019, 117350, 120644, 120625, 121989, 121968, 117345, 117412, 117411, 117360, 121975, 121981, 117347, 118447, 120755, 117657, 118461, 121977, 117409, 121974, 117351, 114814);
UPDATE `creature_model_info` SET `BoundingRadius`=0.138684809207916259, `CombatReach`=0.5 WHERE `DisplayID`=63716;
UPDATE `creature_model_info` SET `BoundingRadius`=0.347222000360488891, `CombatReach`=1.5, `VerifiedBuild`=57689 WHERE `DisplayID`=85203;
-- Path for Oathsworn Dignitary
SET @MOVERGUID := @CGUID+1;
SET @ENTRY := 219346;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Oathsworn Dignitary - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2944.2126, -2440.8994, 292.05322, NULL, 0),
(@PATH, 1, 2944.1711, -2436.6875, 289.0332, NULL, 0),
(@PATH, 2, 2944.722, -2434.0034, 287.18466, NULL, 0),
(@PATH, 3, 2949.8247, -2427.7188, 287.1552, NULL, 0),
(@PATH, 4, 2952.9246, -2424.212, 287.15524, NULL, 0),
(@PATH, 5, 2956.5964, -2420.1562, 287.1552, NULL, 0),
(@PATH, 6, 2963.718, -2420.0295, 287.1552, NULL, 0),
(@PATH, 7, 2969.5886, -2420.7258, 287.1552, NULL, 0),
(@PATH, 8, 2972.0156, -2418.514, 285.54495, NULL, 0),
(@PATH, 9, 2976.8135, -2413.5034, 281.29346, NULL, 0),
(@PATH, 10, 2979.639, -2410.6355, 278.80215, NULL, 0),
(@PATH, 11, 2982.6685, -2404.5, 276.35834, NULL, 0),
(@PATH, 12, 2983.5452, -2398.2883, 276.35834, NULL, 0),
(@PATH, 13, 2983.8977, -2393.1545, 276.4282, NULL, 0),
(@PATH, 14, 2983.6606, -2389.606, 276.4382, NULL, 0),
(@PATH, 15, 2983.2883, -2387.264, 276.4144, NULL, 5063),
(@PATH, 16, 2983.8977, -2393.1545, 276.4282, NULL, 0),
(@PATH, 17, 2983.5452, -2398.2883, 276.35834, NULL, 0),
(@PATH, 18, 2982.6685, -2404.5, 276.35834, NULL, 0),
(@PATH, 19, 2979.639, -2410.6355, 278.80215, NULL, 0),
(@PATH, 20, 2976.8135, -2413.5034, 281.29346, NULL, 0),
(@PATH, 21, 2972.0156, -2418.514, 285.54495, NULL, 0),
(@PATH, 22, 2969.5886, -2420.7258, 287.1552, NULL, 0),
(@PATH, 23, 2963.718, -2420.0295, 287.1552, NULL, 0),
(@PATH, 24, 2956.5964, -2420.1562, 287.1552, NULL, 0),
(@PATH, 25, 2952.9246, -2424.212, 287.15524, NULL, 0),
(@PATH, 26, 2949.8247, -2427.7188, 287.1552, NULL, 0),
(@PATH, 27, 2944.7415, -2433.908, 287.26035, NULL, 0),
(@PATH, 28, 2944.1711, -2436.6875, 289.0332, NULL, 0),
(@PATH, 29, 2944.2126, -2440.8994, 292.05322, NULL, 0),
(@PATH, 30, 2944.1736, -2445.0156, 294.86304, NULL, 0),
(@PATH, 31, 2943.89, -2452.658, 294.96768, NULL, 0),
(@PATH, 32, 2937.5547, -2457.6284, 295.06195, NULL, 0),
(@PATH, 33, 2931.6172, -2457.8438, 295.1552, NULL, 0),
(@PATH, 34, 2925.4705, -2458.019, 295.1552, NULL, 0),
(@PATH, 35, 2919.6328, -2457.7847, 295.0604, NULL, 4992),
(@PATH, 36, 2925.4705, -2458.019, 295.1552, NULL, 0),
(@PATH, 37, 2931.6172, -2457.8438, 295.1552, NULL, 0),
(@PATH, 38, 2937.5479, -2457.6287, 295.07736, NULL, 0),
(@PATH, 39, 2943.89, -2452.658, 294.96768, NULL, 0),
(@PATH, 40, 2944.1736, -2445.0156, 294.86304, NULL, 0);
UPDATE `creature` SET `position_x`=2944.2126, `position_y`=-2440.8994, `position_z`=292.05322, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Oathsworn Dignitary
SET @MOVERGUID := @CGUID+55;
SET @ENTRY := 219346;
SET @PATHOFFSET := 1;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Oathsworn Dignitary - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2791.4878, -2458.316, 239.12479, NULL, 0),
(@PATH, 1, 2800.783, -2469.2136, 239.12479, NULL, 0),
(@PATH, 2, 2809.2683, -2478.0051, 239.12479, NULL, 0),
(@PATH, 3, 2818.6458, -2491.111, 239.12009, NULL, 0),
(@PATH, 4, 2827.2761, -2502.165, 239.12479, NULL, 0),
(@PATH, 5, 2833.6875, -2509.6477, 239.12479, NULL, 0),
(@PATH, 6, 2836.8489, -2513.4011, 239.15523, NULL, 4281),
(@PATH, 7, 2833.6875, -2509.6477, 239.12479, NULL, 0),
(@PATH, 8, 2827.2761, -2502.165, 239.12479, NULL, 0),
(@PATH, 9, 2818.6458, -2491.111, 239.12009, NULL, 0),
(@PATH, 10, 2809.2683, -2478.0051, 239.12479, NULL, 0),
(@PATH, 11, 2800.783, -2469.2136, 239.12479, NULL, 0),
(@PATH, 12, 2791.4878, -2458.316, 239.12479, NULL, 0),
(@PATH, 13, 2781.9297, -2447.6165, 239.15524, NULL, 0),
(@PATH, 14, 2779.9915, -2445.927, 239.15523, NULL, 0),
(@PATH, 15, 2772.659, -2438.7065, 234.03648, NULL, 0),
(@PATH, 16, 2766.1008, -2432.2432, 231.01503, NULL, 0),
(@PATH, 17, 2758.605, -2425.073, 231.01503, NULL, 6910),
(@PATH, 18, 2766.1008, -2432.2432, 231.01503, NULL, 0),
(@PATH, 19, 2772.659, -2438.7065, 234.03648, NULL, 0),
(@PATH, 20, 2779.9915, -2445.927, 239.15523, NULL, 0);
UPDATE `creature` SET `position_x`=2791.4878, `position_y`=-2458.316, `position_z`=239.12479, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
-- Path for Oathsworn Dignitary
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+6;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+6, @CGUID+6, 0, 0, 515, 0, 0),
(@CGUID+6, @CGUID+39, 2, 90, 515, 7, 23);
SET @MOVERGUID := @CGUID+6;
SET @ENTRY := 219346;
SET @PATHOFFSET := 2;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Oathsworn Dignitary - Formation Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2819.8247, -2502.309, 239.12479, NULL, 0),
(@PATH, 1, 2799.8047, -2518.4114, 239.12479, NULL, 0),
(@PATH, 2, 2782.179, -2532.9844, 239.35834, NULL, 0),
(@PATH, 3, 2774.1946, -2541.1423, 232.59349, NULL, 0),
(@PATH, 4, 2766.316, -2548.9133, 226.18872, NULL, 0),
(@PATH, 5, 2758.333, -2557.033, 219.6511, NULL, 0),
(@PATH, 6, 2754.486, -2561.0764, 219.6511, NULL, 0),
(@PATH, 7, 2751.0652, -2564.5696, 219.6511, NULL, 3702),
(@PATH, 8, 2754.486, -2561.0764, 219.6511, NULL, 0),
(@PATH, 9, 2758.333, -2557.033, 219.6511, NULL, 0),
(@PATH, 10, 2766.316, -2548.9133, 226.18872, NULL, 0),
(@PATH, 11, 2774.1946, -2541.1423, 232.59349, NULL, 0),
(@PATH, 12, 2782.151, -2533.013, 239.36151, NULL, 0),
(@PATH, 13, 2799.8047, -2518.4114, 239.12479, NULL, 0),
(@PATH, 14, 2819.8247, -2502.309, 239.12479, NULL, 0),
(@PATH, 15, 2837.5469, -2486.0051, 239.12479, NULL, 0),
(@PATH, 16, 2848.3525, -2475.837, 244.1171, NULL, 0),
(@PATH, 17, 2864.802, -2459.9983, 258.11346, NULL, 0),
(@PATH, 18, 2874.3604, -2450.6807, 266.3301, NULL, 0),
(@PATH, 19, 2881.033, -2441.6858, 266.35828, NULL, 0),
(@PATH, 20, 2886.7065, -2433.3594, 266.59995, NULL, 0),
(@PATH, 21, 2895.3594, -2425.5051, 266.56146, NULL, 0),
(@PATH, 22, 2905.8665, -2422.986, 266.00995, NULL, 0),
(@PATH, 23, 2925.7058, -2420.8994, 266.56146, NULL, 5049),
(@PATH, 24, 2905.8665, -2422.986, 266.00995, NULL, 0),
(@PATH, 25, 2895.3594, -2425.5051, 266.56146, NULL, 0),
(@PATH, 26, 2886.8, -2433.2744, 266.56146, NULL, 0),
(@PATH, 27, 2881.033, -2441.6858, 266.35828, NULL, 0),
(@PATH, 28, 2874.3604, -2450.6807, 266.3301, NULL, 0),
(@PATH, 29, 2864.802, -2459.9983, 258.11346, NULL, 0),
(@PATH, 30, 2848.3525, -2475.837, 244.1171, NULL, 0),
(@PATH, 31, 2837.5469, -2486.0051, 239.12479, NULL, 0);
UPDATE `creature` SET `position_x`=2819.8247, `position_y`=-2502.309, `position_z`=239.12479, `orientation`=0 WHERE `guid`=@CGUID+39;
UPDATE `creature` SET `position_x`=2819.8247, `position_y`=-2502.309, `position_z`=239.12479, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_dh_furious_gaze';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(198013, 'spell_dh_furious_gaze');
@@ -0,0 +1,239 @@
SET @CGUID := 10004976;
SET @OGUID := 10001290;
-- Creature
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+34;
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`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 6, 2175.65283203125, -2316.32470703125, 198.6017913818359375, 3.883375167846679687, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+1, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 2, 2181.427001953125, -2321.59375, 198.6017913818359375, 3.803325414657592773, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+2, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 4, 2177.62158203125, -2265.632080078125, 198.7687530517578125, 2.342832326889038085, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+3, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 3, 2170.54345703125, -2310.826416015625, 198.6017913818359375, 3.927297115325927734, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+4, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2171.229248046875, -2272.005126953125, 198.7687530517578125, 2.22944498062133789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+5, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 7, 2183.854248046875, -2258.786376953125, 198.7687530517578125, 2.533100366592407226, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+6, 219169, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2328.395751953125, -2282.420654296875, 181.5892791748046875, 4.72267770767211914, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+7, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2330.208251953125, -2282.322265625, 181.5892791748046875, 4.779384613037109375, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+8, 219014, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2326.26220703125, -2282.568603515625, 181.5892791748046875, 4.766392230987548828, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 18950 - Invisibility and Stealth Detection)
(@CGUID+9, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2311.34033203125, -2295.248291015625, 184.8430633544921875, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 58187), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+10, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2283.322998046875, -2281.907958984375, 184.2237701416015625, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 58187), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+11, 219181, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2302.03466796875, -2241.1494140625, 181.6734161376953125, 1.47887730598449707, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 58187), -- Coreling (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+12, 214772, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2304.84716796875, -2230.34375, 206.048492431640625, 4.539597034454345703, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Limestone Falcon (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+13, 214947, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2260.225830078125, -2264.114501953125, 194.0302581787109375, 0, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 58187), -- Eye of Topaz (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+14, 219181, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2234.61279296875, -2321.8525390625, 190.8435516357421875, 6.033689498901367187, 120, 3, 0, 1, NULL, NULL, NULL, NULL, 58187), -- Coreling (Area: Dornogal - Difficulty: 0) CreateObject2
(@CGUID+15, 219334, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2284.76220703125, -2288.763916015625, 182.5074615478515625, 0.858511507511138916, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Freysworn Arborist (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+16, 219191, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2323.767333984375, -2331.194580078125, 182.0562744140625, 3.925093412399291992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Earthen Geomender (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+17, 220674, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2287.21875, -2284.576416015625, 182.7853851318359375, 1.587289810180664062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- [DNT] Watering Beam Stalker (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+18, 219193, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2336.625, -2329.57470703125, 181.672607421875, 5.509642601013183593, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Wounded Oathsworn (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 369109 - Set Health (Random 40%-60%))
(@CGUID+19, 219193, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2331.335205078125, -2335.038330078125, 181.672607421875, 5.509642601013183593, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Wounded Oathsworn (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 369109 - Set Health (Random 40%-60%))
(@CGUID+20, 219176, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2267.361083984375, -2290.142333984375, 181.6734161376953125, 3.265631675720214843, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Freysworn Arborist (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+21, 220674, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2294.701416015625, -2299.939208984375, 182.9297943115234375, 1.844522953033447265, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- [DNT] Watering Beam Stalker (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+22, 219191, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2330.26904296875, -2328.24658203125, 181.672607421875, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Earthen Geomender (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+23, 219194, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2332.30029296875, -2327.791748046875, 181.672607421875, 2.421919584274291992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Wounded Unbound (Area: Dornogal - Difficulty: 0) CreateObject1 (Auras: 369109 - Set Health (Random 40%-60%))
(@CGUID+24, 219382, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2324.588623046875, -2235.69091796875, 181.673370361328125, 2.933559179306030273, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Unbound Trader (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+25, 229927, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2322.026123046875, -2280.63720703125, 181.672607421875, 4.688057422637939453, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Unbound Crafter (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+26, 219382, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2321.93408203125, -2282.427001953125, 181.672607421875, 0.094851680099964141, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Unbound Trader (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+27, 229927, 2552, 14771, 14771, '0', 0, 0, 0, 0, 2322.68408203125, -2235.0869140625, 182.492950439453125, 5.95221710205078125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Unbound Crafter (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+28, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2160.170166015625, -2321.507080078125, 190.450836181640625, 2.639991044998168945, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+29, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2173.24658203125, -2335.03466796875, 190.4508209228515625, 2.940500497817993164, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+30, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2200.345458984375, -2219.47216796875, 190.4507904052734375, 3.636798381805419921, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+31, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2186.7119140625, -2348.329833984375, 190.4507904052734375, 2.674014091491699218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+32, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2160.060791015625, -2259.848876953125, 190.450836181640625, 3.372433662414550781, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+33, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2173.40966796875, -2246.52783203125, 190.450836181640625, 3.628367424011230468, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187), -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
(@CGUID+34, 219166, 2552, 14771, 14771, '0', 0, 0, 0, 1, 2186.59716796875, -2233.23779296875, 190.4508209228515625, 3.615820884704589843, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 58187); -- Oathsworn Peacekeeper (Area: Dornogal - Difficulty: 0) CreateObject1
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+34;
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, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+1, 0, 0, 0, 0, 0, 1, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+2, 0, 0, 0, 0, 0, 1, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+3, 0, 0, 0, 0, 0, 1, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+4, 0, 0, 0, 0, 0, 1, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+5, 0, 0, 0, 0, 0, 1, 1, 747, 0, 0, 0, 0, '18950'), -- Oathsworn Peacekeeper - 18950 - Invisibility and Stealth Detection
(@CGUID+12, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Limestone Falcon
(@CGUID+18, 0, 0, 0, 0, 0, 1, 0, 0, 28519, 0, 0, 0, '369109'), -- Wounded Unbound - 369109 - Set Health (Random 40%-60%)
(@CGUID+19, 0, 0, 0, 0, 0, 1, 0, 0, 28519, 0, 0, 0, '369109'), -- Wounded Unbound - 369109 - Set Health (Random 40%-60%)
(@CGUID+20, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Freysworn Arborist
(@CGUID+22, 0, 0, 8, 0, 0, 1, 0, 0, 0, 0, 0, 0, ''), -- Earthen Geomender
(@CGUID+23, 0, 0, 0, 0, 0, 1, 0, 0, 28519, 0, 0, 0, '369109'), -- Wounded Unbound - 369109 - Set Health (Random 40%-60%)
(@CGUID+26, 0, 0, 0, 0, 0, 1, 0, 720, 0, 0, 0, 0, ''), -- Unbound Trader
(@CGUID+27, 0, 0, 0, 0, 0, 1, 0, 461, 0, 0, 0, 0, ''), -- Unbound Crafter
(@CGUID+28, 0, 118324, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+29, 0, 118332, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+30, 0, 118333, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+31, 0, 118333, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+32, 0, 118324, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+33, 0, 118333, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''), -- Oathsworn Peacekeeper
(@CGUID+34, 0, 118333, 0, 0, 0, 1, 1, 0, 0, 0, 0, 3, ''); -- Oathsworn Peacekeeper
-- GameObject
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+37;
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, 420130, 2552, 14771, 14771, '0', 0, 0, 2174.710205078125, -2269.4150390625, 198.6854248046875, 5.422672748565673828, 0, 0, -0.41710376739501953, 0.908858835697174072, 120, 255, 0, 58187), -- Telescope (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+1, 459293, 2552, 14771, 14771, '0', 0, 0, 2227.334228515625, -2341.5869140625, 203.67999267578125, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+2, 459294, 2552, 14771, 14771, '0', 0, 0, 2226.490478515625, -2340.6796875, 191.673919677734375, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+3, 429058, 2552, 14771, 14771, '0', 0, 0, 2356.18408203125, -2235.736083984375, 181.88751220703125, 2.364918231964111328, 0, 0, 0.925539970397949218, 0.378649920225143432, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+4, 429059, 2552, 14771, 14771, '0', 0, 0, 2346.755126953125, -2269.70654296875, 181.843231201171875, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+5, 429069, 2552, 14771, 14771, '0', 0, 0, 2295.697998046875, -2243.494873046875, 181.590087890625, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+6, 429070, 2552, 14771, 14771, '0', 0, 0, 2346.31591796875, -2342.0869140625, 181.685150146484375, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+7, 437624, 2552, 14771, 14771, '0', 0, 0, 2389.38232421875, -2119.841796875, 182.6873016357421875, 5.470241069793701171, 0, 0, -0.3953714370727539, 0.918521344661712646, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+8, 429071, 2552, 14771, 14771, '0', 0, 0, 2346.541748046875, -2322.125, 181.8417510986328125, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+9, 437625, 2552, 14771, 14771, '0', 0, 0, 2392.59619140625, -2122.80908203125, 182.68505859375, 2.503940582275390625, 0, 0, 0.949604034423828125, 0.313452035188674926, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+10, 452654, 2552, 14771, 14771, '0', 0, 0, 2340.294921875, -2182.7353515625, 182.9147491455078125, 3.926990509033203125, 0, 0, -0.92387962341308593, 0.382683247327804565, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+11, 452655, 2552, 14771, 14771, '0', 0, 0, 2330.39111328125, -2186.34130859375, 182.975311279296875, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+12, 459292, 2552, 14771, 14771, '0', 0, 0, 2224.80517578125, -2238.673095703125, 198.370147705078125, 3.926990509033203125, 0, 0, -0.92387962341308593, 0.382683247327804565, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+13, 429078, 2552, 14771, 14771, '0', 0, 0, 2265.630126953125, -2282.600830078125, 181.58990478515625, 0, 0, 0, 0, 1, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+14, 429079, 2552, 14771, 14771, '0', 0, 0, 2272.42529296875, -2269.9306640625, 181.58990478515625, 5.497788906097412109, 0, 0, -0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+15, 437607, 2552, 14771, 14771, '0', 0, 0, 2382.95703125, -2109.544921875, 182.7224884033203125, 2.360307216644287109, 0, 0, 0.924664497375488281, 0.380782842636108398, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+16, 459289, 2552, 14771, 14771, '0', 0, 0, 2240.903564453125, -2223.319091796875, 191.479156494140625, 3.926990509033203125, 0, 0, -0.92387962341308593, 0.382683247327804565, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+17, 459290, 2552, 14771, 14771, '0', 0, 0, 2240.39404296875, -2223.679443359375, 203.4850616455078125, 3.926990509033203125, 0, 0, -0.92387962341308593, 0.382683247327804565, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+18, 452656, 2552, 14771, 14771, '0', 0, 0, 2325.26611328125, -2197.21728515625, 182.9959259033203125, 0.776669740676879882, 0, 0, 0.378647804260253906, 0.925540864467620849, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+19, 459291, 2552, 14771, 14771, '0', 0, 0, 2225.935546875, -2237.897705078125, 218.827850341796875, 3.926990509033203125, 0, 0, -0.92387962341308593, 0.382683247327804565, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+20, 437612, 2552, 14771, 14771, '0', 0, 0, 2344.692138671875, -2114.8291015625, 183.4424285888671875, 0.194752290844917297, 0, 0, 0.097222328186035156, 0.995262682437896728, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+21, 437613, 2552, 14771, 14771, '0', 0, 0, 2347.451904296875, -2111.546142578125, 183.44464111328125, 4.606964588165283203, 0, 0, -0.74338054656982421, 0.668868720531463623, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+22, 437614, 2552, 14771, 14771, '0', 0, 0, 2355.802490234375, -2102.761962890625, 183.427978515625, 0.965783298015594482, 0, 0, 0.464342117309570312, 0.885655939579010009, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+23, 437615, 2552, 14771, 14771, '0', 0, 0, 2358.701171875, -2100.40234375, 183.4517059326171875, 3.9946746826171875, 0, 0, -0.91040229797363281, 0.413724154233932495, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+24, 429080, 2552, 14771, 14771, '0', 0, 0, 2265.467041015625, -2298.3525390625, 181.590087890625, 0, 0, 0, 0, 1, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+25, 437608, 2552, 14771, 14771, '0', 0, 0, 2359.62451171875, -2114.0751953125, 182.707916259765625, 5.509572982788085937, 0, 0, -0.37723255157470703, 0.926118552684783935, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+26, 429081, 2552, 14771, 14771, '0', 0, 0, 2271.803955078125, -2310.520751953125, 181.590087890625, 0.785396754741668701, 0, 0, 0.38268280029296875, 0.923879802227020263, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+27, 437609, 2552, 14771, 14771, '0', 0, 0, 2357.760009765625, -2116.080322265625, 182.727630615234375, 5.509572982788085937, 0, 0, -0.37723255157470703, 0.926118552684783935, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+28, 473902, 2552, 14771, 14771, '0', 0, 0, 3225.015625, -3080.736083984375, 360.747894287109375, 3.124123096466064453, 0, 0, 0.99996185302734375, 0.008734640665352344, 120, 255, 1, 58187), -- Zeppelin to Dornogal (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+29, 437610, 2552, 14771, 14771, '0', 0, 0, 2357.945068359375, -2119.17431640625, 182.7161712646484375, 0.991470277309417724, 0, 0, 0.475678443908691406, 0.879619240760803222, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+30, 437611, 2552, 14771, 14771, '0', 0, 0, 2362.811767578125, -2114.3076171875, 182.7218017578125, 3.955691337585449218, 0, 0, -0.91829299926757812, 0.395901471376419067, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+31, 437621, 2552, 14771, 14771, '0', 0, 0, 2379.95458984375, -2109.513916015625, 182.71356201171875, 0.774014115333557128, 0, 0, 0.37741851806640625, 0.926042795181274414, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+32, 429060, 2552, 14771, 14771, '0', 0, 0, 2346.6806640625, -2256.348876953125, 181.8605499267578125, 3.141592741012573242, 0, 0, -1, 0, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+33, 437622, 2552, 14771, 14771, '0', 0, 0, 2362.9716796875, -2146.466796875, 182.644317626953125, 5.902507305145263671, 0, 0, -0.18919181823730468, 0.981940150260925292, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+34, 429061, 2552, 14771, 14771, '0', 0, 0, 2365.494873046875, -2226.154541015625, 181.9048004150390625, 2.364918231964111328, 0, 0, 0.925539970397949218, 0.378649920225143432, 120, 255, 1, 58187), -- Bench (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+35, 437623, 2552, 14771, 14771, '0', 0, 0, 2367.246826171875, -2147.952880859375, 182.6899566650390625, 2.994932174682617187, 0, 0, 0.997312545776367187, 0.073264561593532562, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+36, 437616, 2552, 14771, 14771, '0', 0, 0, 2331.11767578125, -2114.398193359375, 183.42108154296875, 0.893776178359985351, 0, 0, 0.432161331176757812, 0.901796340942382812, 120, 255, 1, 58187), -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
(@OGUID+37, 437617, 2552, 14771, 14771, '0', 0, 0, 2334.153564453125, -2111.7294921875, 183.4152984619140625, 4.043092250823974609, 0, 0, -0.90012073516845703, 0.435640543699264526, 120, 255, 1, 58187); -- Chair (Area: Dornogal - Difficulty: 0) CreateObject1
DELETE FROM `gameobject_addon` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+37;
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `WorldEffectID`, `AIAnimKitID`) VALUES
(@OGUID+1, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Bench
(@OGUID+2, 0, 0, 0.923879504203796386, -0.38268348574638366, 0, 0), -- Bench
(@OGUID+7, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+9, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+10, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Chair
(@OGUID+11, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Chair
(@OGUID+12, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Bench
(@OGUID+15, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+16, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Bench
(@OGUID+17, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Bench
(@OGUID+18, 0, 0, 0.923879504203796386, 0.38268357515335083, 0, 0), -- Bench
(@OGUID+19, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+21, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+22, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+23, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+25, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+27, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+29, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+30, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+31, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+33, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+35, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+36, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0), -- Chair
(@OGUID+37, 0, 0, -0.38268330693244934, 0.923879623413085937, 0, 0); -- Chair
UPDATE `gameobject` SET `PhaseId` = 23962 WHERE `guid` IN (10001239, 10001243, 10001228, 10001235, 10001230, 10001236);
-- Template
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x80200 WHERE `entry`=219194; -- Wounded Unbound
UPDATE `creature_template` SET `faction`=3407, `npcflag`=1, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=219176; -- Freysworn Arborist
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags2`=0x800, `unit_flags3`=0x80200 WHERE `entry`=219193; -- Wounded Oathsworn
UPDATE `creature_template` SET `faction`=3407, `BaseAttackTime`=2000, `unit_flags2`=0x800 WHERE `entry`=219191; -- Earthen Geomender
UPDATE `creature_template` SET `faction`=3408, `BaseAttackTime`=2000, `unit_flags`=0x40, `unit_flags2`=0x800, `unit_flags3`=0x800000 WHERE `entry`=219169; -- Oathsworn Peacekeeper
-- Difficulty
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=58187 WHERE (`Entry`=219194 AND `DifficultyID`=0); -- 219194 (Wounded Unbound) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=58187 WHERE (`Entry`=219176 AND `DifficultyID`=0); -- 219176 (Freysworn Arborist) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=58187 WHERE (`Entry`=219193 AND `DifficultyID`=0); -- 219193 (Wounded Oathsworn) - CanSwim
UPDATE `creature_template_difficulty` SET `ContentTuningID`=2797, `StaticFlags1`=0x10000000, `VerifiedBuild`=58187 WHERE (`Entry`=219191 AND `DifficultyID`=0); -- 219191 (Earthen Geomender) - CanSwim
UPDATE `creature_template_difficulty` SET `LevelScalingDeltaMin`=1, `LevelScalingDeltaMax`=1, `ContentTuningID`=2803, `StaticFlags1`=0x10000000, `VerifiedBuild`=58187 WHERE (`Entry`=219169 AND `DifficultyID`=0); -- 219169 (Oathsworn Peacekeeper) - CanSwim
-- Phase
DELETE FROM `phase_name` WHERE `ID` IN (22586, 23962);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(22586, 'Cosmetic - See Horde Banner at the Tranquill Strand'),
(23962, 'Cosmetic - See Alliance and Horde Transports at the Tranquill Strand');
-- Path for Oathsworn Peacekeeper
DELETE FROM `creature_formations` WHERE `leaderGUID` = @CGUID+6;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(@CGUID+6, @CGUID+6, 0, 0, 515, 0, 0),
(@CGUID+6, @CGUID+7, 2, 70, 515, 8, 29),
(@CGUID+6, @CGUID+8, 2, 290, 515, 8, 29);
SET @MOVERGUID := @CGUID+6;
SET @ENTRY := 219169;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Oathsworn Peacekeeper - Formation Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2292.7935, -2324.8906, 181.59009, NULL, 0),
(@PATH, 1, 2272.7673, -2325.283, 190.85316, NULL, 0),
(@PATH, 2, 2267.217, -2325.092, 190.76022, NULL, 0),
(@PATH, 3, 2258.2778, -2322.0833, 190.76022, NULL, 0),
(@PATH, 4, 2241.3923, -2310.9045, 190.76022, NULL, 0),
(@PATH, 5, 2241.6963, -2295.7847, 190.76022, NULL, 0),
(@PATH, 6, 2239.2432, -2292.507, 190.76022, NULL, 0),
(@PATH, 7, 2233.9097, -2290.5852, 190.76022, NULL, 0),
(@PATH, 8, 2229.3699, -2290.3784, 190.76025, 3.1463, 16260),
(@PATH, 9, 2233.9097, -2290.5852, 190.76022, NULL, 0),
(@PATH, 10, 2239.2432, -2292.507, 190.76022, NULL, 0),
(@PATH, 11, 2241.6963, -2295.7847, 190.76022, NULL, 0),
(@PATH, 12, 2241.3923, -2310.9045, 190.76022, NULL, 0),
(@PATH, 13, 2258.2778, -2322.0833, 190.76022, NULL, 0),
(@PATH, 14, 2267.217, -2325.092, 190.76022, NULL, 0),
(@PATH, 15, 2272.7673, -2325.283, 190.85316, NULL, 0),
(@PATH, 16, 2292.7935, -2324.8906, 181.59009, NULL, 0),
(@PATH, 17, 2308.4565, -2319.0278, 181.58936, NULL, 0),
(@PATH, 18, 2320.6528, -2308.7727, 181.58931, NULL, 0),
(@PATH, 19, 2328.5696, -2299.309, 181.58926, NULL, 0),
(@PATH, 20, 2328.3838, -2281.2517, 181.58928, NULL, 0),
(@PATH, 21, 2325.1892, -2275.0227, 181.59003, NULL, 0),
(@PATH, 22, 2308.5364, -2256.7258, 181.59006, NULL, 0),
(@PATH, 23, 2293.0903, -2255.9565, 181.59009, NULL, 0),
(@PATH, 24, 2272.5955, -2256.0227, 190.94844, NULL, 0),
(@PATH, 25, 2258.0017, -2255.9062, 190.76022, NULL, 0),
(@PATH, 26, 2243.1702, -2270.4497, 190.76022, NULL, 0),
(@PATH, 27, 2241.7153, -2288.0034, 190.76022, NULL, 0),
(@PATH, 28, 2239.3298, -2290.9167, 190.76022, NULL, 0),
(@PATH, 29, 2229.323, -2290.337, 190.76025, 3.1463, 15345),
(@PATH, 30, 2239.3298, -2290.9167, 190.76022, NULL, 0),
(@PATH, 31, 2241.7153, -2288.0034, 190.76022, NULL, 0),
(@PATH, 32, 2243.1702, -2270.4497, 190.76022, NULL, 0),
(@PATH, 33, 2258.0017, -2255.9062, 190.76022, NULL, 0),
(@PATH, 34, 2272.5955, -2256.0227, 190.94844, NULL, 0),
(@PATH, 35, 2293.0903, -2255.9565, 181.59009, NULL, 0),
(@PATH, 36, 2308.5364, -2256.7258, 181.59006, NULL, 0),
(@PATH, 37, 2325.1892, -2275.0227, 181.59003, NULL, 0),
(@PATH, 38, 2328.3838, -2281.2517, 181.58928, NULL, 0),
(@PATH, 39, 2328.5696, -2299.309, 181.58926, NULL, 0),
(@PATH, 40, 2320.6528, -2308.7727, 181.58931, NULL, 0),
(@PATH, 41, 2308.4565, -2319.0278, 181.58936, NULL, 0);
UPDATE `creature` SET `position_x`=2292.7935, `position_y`=-2324.8906, `position_z`=181.59009, `orientation`=0 WHERE `guid` IN (@CGUID+8, @CGUID+7);
UPDATE `creature` SET `position_x`=2292.7935, `position_y`=-2324.8906, `position_z`=181.59009, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `SheathState`, `auras`) VALUES
(@MOVERGUID, @PATH, 121156, 1, '18950');
-- Path for Earthen Geomender
SET @MOVERGUID := @CGUID+16;
SET @ENTRY := 219191;
SET @PATHOFFSET := 0;
SET @PATH := @ENTRY * 100 + @PATHOFFSET;
DELETE FROM `waypoint_path` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path` (`PathId`, `MoveType`, `Flags`, `Velocity`, `Comment`) VALUES
(@PATH, 0, 0x0, NULL, 'Earthen Geomender - Cosmetic Path');
DELETE FROM `waypoint_path_node` WHERE `PathId`= @PATH;
INSERT INTO `waypoint_path_node` (`PathId`, `NodeId`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `Delay`) VALUES
(@PATH, 0, 2331.514, -2323.4775, 182.05627, NULL, 8071),
(@PATH, 1, 2323.7673, -2331.1946, 182.05627, NULL, 9830);
UPDATE `creature` SET `position_x`=2331.514, `position_y`=-2323.4775, `position_z`=182.05627, `orientation`=0, `wander_distance`=0, `MovementType`=2 WHERE `guid`=@MOVERGUID;
DELETE FROM `creature_addon` WHERE `guid`=@MOVERGUID;
INSERT INTO `creature_addon` (`guid`, `PathId`, `SheathState`) VALUES
(@MOVERGUID, @PATH, 1);
@@ -0,0 +1,11 @@
SET @TELEID := 2183;
-- Add TWW Zone teleports
DELETE FROM `game_tele` WHERE `id` BETWEEN @TELEID+0 AND @TELEID+5;
INSERT INTO `game_tele` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `map`, `name`) VALUES
(@TELEID+0, 2663.1, -2587.58, 219.653, 3.13936, 2552, 'Dornogal'),
(@TELEID+1, 1934.17, -3084.21, 154.751, 0.787718, 2552, 'IsleOfDorn'),
(@TELEID+2, 2064.52, -120.168, -156.296, 0.359316, 2601, 'Hallowfall'),
(@TELEID+3, 1749.21, -3332.27, 316.996, 3.21586, 2601, 'TheRingingDeeps'),
(@TELEID+4, 103.293, -1396.45, -1063.93, 1.43191, 2601, 'AzjKahet'),
(@TELEID+5, 1944.88, 170.002, 88.6878, 5.36686, 2127, 'SirenIsle');
@@ -0,0 +1,42 @@
-- Phase Names
DELETE FROM `phase_name` WHERE `ID` IN (25497, 25056, 24738, 24737, 24858, 24857, 25191, 25192, 24684, 25070, 24695, 24788, 24806, 24808, 24933, 25307, 25306, 23897, 23970, 23969, 23968, 23994, 23998, 23996, 24013, 24012, 24103, 24014, 24017, 24018, 25396, 24981, 24856, 24104, 25409, 24458, 24457, 24459, 24968);
INSERT INTO `phase_name` (`ID`, `Name`) VALUES
(25497, 'Cosmetic - See Goblins infront of Dawn in the Foundation Hall'),
(25056, 'Cosmetic - See Skaggit to depart from Dornogal'),
(24738, 'Cosmetic - See Skaggit arrived at Siren Island'),
(24737, 'Cosmetic - See Skaggit enter Flotsam Shoal'),
(24858, 'Cosmetic - See Apprentice Tanmar before carry Radiant Remnants'),
(24857, 'Cosmetic - See Apprentice Tanmar after carry Radiant Remnants'),
(25191, 'Cosmetic - See Crate with Radiant Remnants before moved'),
(25192, 'Cosmetic - See Crate with Radiant Remnants after moved'),
(24684, 'Cosmetic - See Bargus concentrated to work'),
(25070, 'Cosmetic - See Bargus after Scan a Crystal'),
(24695, 'Cosmetic - See Bargus at the first Signal'),
(24788, 'Cosmetic - See Bargus at the second Signal'),
(24806, 'Cosmetic - See Rocks at the entrance of The Sacred Hollow'),
(24808, 'Cosmetic - See Bargus in The Sacred Hollow'),
(24933, 'Cosmetic - See Glittering Ancient Tablets in The Forgotten Vault'),
(25307, 'Cosmetic - See Dawn at the Flotsam Shoal'),
(25306, 'Cosmetic - See Rune-Seared Spear (gob)'),
(23897, 'Cosmetic - See Spindle caged in Meesks Retreat'),
(23970, 'Cosmetic - See On''Hiea evacuated'),
(23969, 'Cosmetic - See Ney''Leia evacuated'),
(23968, 'Cosmetic - See Greenspeaker Nay''Laro evacuated'),
(23994, 'Cosmetic - See Orweyna and Hannan in Sanguine Grasps'),
(23998, 'Cosmetic - See Hannan at Rumshackle'),
(23996, 'Cosmetic - See Orweyna at Rumshackle'),
(24013, 'Cosmetic - See Haxle Drillbits at Camp Murroch'),
(24012, 'Cosmetic - See Orweyna and Monte Gazlowe at Camp Murroch'),
(24103, 'Cosmetic - See Orweyna fly around Haxle Drillbits'),
(24014, 'Cosmetic - See Haxle Drillbits Cart'),
(24017, 'Cosmetic - See Orweyna at the Opportunity Point'),
(24018, 'Cosmetic - See Renzik "The Shiv" at the Abyssal Excavation'),
(25396, 'Cosmetic - See Orweyna in Dornogal, Foundation Hall'),
(24981, 'Spirit Scarred Cave - Inhyldir the Cursed'),
(24856, 'Cosmetic - See Survey Devices (gob)'),
(24104, 'Siren Isle - Storm Phase'),
(25409, 'Cosmetic - See Starving Snapdragon (Stage 1)'),
(24458, 'Cosmetic - See Siren Isle Vyrkul Camp gameobject spawns'),
(24457, 'Cosmetic - See Siren Isle Naga Camp gameobject spawns'),
(24459, 'Cosmetic - See Siren Isle Pirate Camp gameobject spawns'),
(24968, 'Cosmetic - See Alleria Windrunner in Dornogal, Foundation Hall');
@@ -0,0 +1,5 @@
DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dh_collective_anguish', 'spell_dh_collective_anguish_eye_beam');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(212084, 'spell_dh_collective_anguish'),
(198013, 'spell_dh_collective_anguish'),
(391057, 'spell_dh_collective_anguish_eye_beam');
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
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,3 @@
-- TDB 1107.24121 auth
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/11.x/auth', 'ARCHIVED');
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58533);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58533,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58533 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58533,'Mac','A64','WoW',0xE637AA32D5DE914B119AF68CC9C9BAAB),
(58533,'Mac','A64','WoWC',0xE693DD275CEEE2D682EC973D79251977),
(58533,'Mac','x64','WoW',0xDE3723EF7EB991A1B27684E6513934D6),
(58533,'Mac','x64','WoWC',0xA93EF4385174001B69F43FF0DF345701),
(58533,'Win','A64','WoW',0x3823D2E16D6E314884CD586949524F2C),
(58533,'Win','x64','WoW',0x18490A077F4FBA0973E0B62A489EE664),
(58533,'Win','x64','WoWC',0x3DC9E22F553D631A5CA067F7809A3D2D);
UPDATE `realmlist` SET `gamebuild`=58533 WHERE `gamebuild`=58238;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58533';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58608);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58608,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58608 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58608,'Mac','A64','WoW',0x3A3B639B7FC344EDB4314860638110F1),
(58608,'Mac','A64','WoWC',0x8F46148144EDF86BD45D23B0F23CE38B),
(58608,'Mac','x64','WoW',0x29EC11F81992F19AD9707B272419ADDA),
(58608,'Mac','x64','WoWC',0x2BF5613D82AD3A242B5DD0B140CE4416),
(58608,'Win','A64','WoW',0x6FD8AD7CCB3B7DAD45115CA93D3A68F3),
(58608,'Win','x64','WoW',0x21B3EDEB1A65388DD5988056D2BE72B2),
(58608,'Win','x64','WoWC',0xAC65E4DC868EFE4362E72BBCDD746853);
UPDATE `realmlist` SET `gamebuild`=58608 WHERE `gamebuild`=58533;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58608';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58630);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58630,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58630 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58630,'Mac','A64','WoW',0x045A964F3B8D153E273A3AD862C5C38A),
(58630,'Mac','A64','WoWC',0x3CDC1868FD7BB4E50629421328ED8269),
(58630,'Mac','x64','WoW',0x0D58880FA5FA7A7FD5C2466CEB398601),
(58630,'Mac','x64','WoWC',0x9745E7626C0D7D0A7F57DF1BB1EA4F16),
(58630,'Win','A64','WoW',0xF74A9CB9D6918780C813E2EEE0F24DE0),
(58630,'Win','x64','WoW',0x8C9CDCC711892EAAEA793DBBF3B0C850),
(58630,'Win','x64','WoWC',0xC6A3638E0BAB3A98F40B8371E1BDAECA);
UPDATE `realmlist` SET `gamebuild`=58630 WHERE `gamebuild`=58608;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58630';
@@ -0,0 +1,21 @@
DELETE FROM `build_info` WHERE `build` IN (58680);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58680,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58680 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58680,'Mac','A64','WoW',0x5EE6ABE5386E08867F642B3DFD15A9D4),
(58680,'Mac','A64','WoWC',0x22C636BB4ABBC4AD9AE8F30B6D947774),
(58680,'Mac','x64','WoWC',0xA5FF81211CDCDD60B53C14F932732969),
(58680,'Win','A64','WoW',0x9D6DC8BED265C898836593A9E654A1E1),
(58680,'Win','x64','WoW',0xC1CEFF499F2C2ABF1913E55F65CF278C),
(58680,'Win','x64','WoWC',0x0D6FC77C1D3830AAA871A9E29DCBE380);
UPDATE `realmlist` SET `gamebuild`=58680 WHERE `gamebuild`=58630;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58680';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58773);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58773,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58773 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58773,'Mac','A64','WoW',0x52D40564B2DF8D1DC02AC698F3FCF9C1),
(58773,'Mac','A64','WoWC',0xF0EBD5EF23A71883AF137174E4B1B01A),
(58773,'Mac','x64','WoW',0xAC2A56DCB12639F43F15F43BA9A9F996),
(58773,'Mac','x64','WoWC',0x8431C2D85A026E13E3E114C7AE83F0DE),
(58773,'Win','A64','WoW',0x9ADF3B9E70DF0176CEC196480BA407A3),
(58773,'Win','x64','WoW',0x648474DEE9F16AF1C02BD63F7F3E9B01),
(58773,'Win','x64','WoWC',0x362C80C4498FFA1DE3CC0AF243E1337A);
UPDATE `realmlist` SET `gamebuild`=58773 WHERE `gamebuild`=58680;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58773';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58867);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58867,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58867 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58867,'Mac','A64','WoW',0x0BA2958770DFBFDB933851A4AADB4950),
(58867,'Mac','A64','WoWC',0x0D747A5931DF5B155B5CC4892D63E1D8),
(58867,'Mac','x64','WoW',0xA3696DF215AAB11F4F340C5C4393FB89),
(58867,'Mac','x64','WoWC',0xB7C65FC1DA519ED5304019262FEFEFA6),
(58867,'Win','A64','WoW',0xEF8C2258197FDBC6DA5C39699BDEB7A1),
(58867,'Win','x64','WoW',0x7C1627A7325C57FAD21A29D57BBF80A6),
(58867,'Win','x64','WoWC',0x3F8E07E581847B644D6F76489477540D);
UPDATE `realmlist` SET `gamebuild`=58867 WHERE `gamebuild`=58773;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58867';
@@ -0,0 +1,23 @@
DELETE FROM `build_info` WHERE `build` IN (58911);
INSERT INTO `build_info` (`build`,`majorVersion`,`minorVersion`,`bugfixVersion`,`hotfixVersion`) VALUES
(58911,11,0,7,NULL);
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Mac' AND `arch`='A64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Mac' AND `arch`='x64' AND `type`='WoWC';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Win' AND `arch`='A64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Win' AND `arch`='x64' AND `type`='WoW';
DELETE FROM `build_auth_key` WHERE `build`=58911 AND `platform`='Win' AND `arch`='x64' AND `type`='WoWC';
INSERT INTO `build_auth_key` (`build`,`platform`,`arch`,`type`,`key`) VALUES
(58911,'Mac','A64','WoW',0xDEE67D3A0C9D8EDD5A94C7BD8FA1E657),
(58911,'Mac','A64','WoWC',0x6D3C242B3C76686FEEE9B18444C113C7),
(58911,'Mac','x64','WoW',0x78D3576614AED3DE8FB8C90AFF838F3B),
(58911,'Mac','x64','WoWC',0xA4C80CDBC805A19FAB8EF1BAA483DB9A),
(58911,'Win','A64','WoW',0xF02130BA7BFF2C0292F25F3C6240B2E8),
(58911,'Win','x64','WoW',0x5EF341D9F5A27F796D5BD786A5BD5A16),
(58911,'Win','x64','WoWC',0xA9C0BEA1B7351665091E6754A0A90A16);
UPDATE `realmlist` SET `gamebuild`=58911 WHERE `gamebuild`=58867;
ALTER TABLE `realmlist` CHANGE `gamebuild` `gamebuild` int unsigned NOT NULL DEFAULT '58911';
@@ -0,0 +1,3 @@
-- TDB 1107.24121 characters
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/11.x/characters', 'ARCHIVED');

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