DB updates

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2020-08-25 10:08:44 -04:00
parent c29516f121
commit aecb21d94b
51 changed files with 1597 additions and 0 deletions
@@ -0,0 +1,33 @@
-- SpawnGroupMapper auto-generated SQL for map 249 (Onyxia's Lair)
-- Constant setter section - adjust this
-- spawn_group_template (1 entries)
SET @FIRSTGROUPID := 10;
-- Boss state associations
SET @ONYXIA := 0; -- boss state that controls group "Onyxia"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "Onyxia's Lair - Onyxia", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+0, 0, 52050),
(@FIRSTGROUPID+0, 0, 52052),
(@FIRSTGROUPID+0, 0, 52047),
(@FIRSTGROUPID+0, 0, 52049),
(@FIRSTGROUPID+0, 0, 52051),
(@FIRSTGROUPID+0, 0, 52053),
(@FIRSTGROUPID+0, 0, 52048),
(@FIRSTGROUPID+0, 0, 47572);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 249;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(249,@ONYXIA,0x17,@FIRSTGROUPID+0,0x1); -- Spawn Onyxia if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,46 @@
-- SpawnGroupMapper auto-generated SQL for map 565 (Gruul's Lair)
-- Constant setter section - adjust this
-- spawn_group_template (2 entries)
SET @FIRSTGROUPID := 11;
-- Boss state associations
SET @HIGHKINGMAULGAR := 0; -- boss state that controls group "High King Maulgar"
SET @GRUUL := 1; -- boss state that controls group "Gruul"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "Gruul's Lair - High King Maulgar", 0x04),
(@FIRSTGROUPID+1, "Gruul's Lair - Gruul", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+1, 0, 83206),
(@FIRSTGROUPID+0, 0, 48348),
(@FIRSTGROUPID+1, 0, 72432),
(@FIRSTGROUPID+0, 0, 81643),
(@FIRSTGROUPID+1, 0, 65618),
(@FIRSTGROUPID+1, 0, 81647),
(@FIRSTGROUPID+1, 0, 81649),
(@FIRSTGROUPID+0, 0, 81651),
(@FIRSTGROUPID+1, 0, 86065),
(@FIRSTGROUPID+0, 0, 7483),
(@FIRSTGROUPID+1, 0, 69871),
(@FIRSTGROUPID+0, 0, 81642),
(@FIRSTGROUPID+1, 0, 81644),
(@FIRSTGROUPID+0, 0, 81646),
(@FIRSTGROUPID+1, 0, 81648),
(@FIRSTGROUPID+1, 0, 81650),
(@FIRSTGROUPID+0, 0, 81652),
(@FIRSTGROUPID+0, 0, 81645);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 565;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(565,@HIGHKINGMAULGAR,0x17,@FIRSTGROUPID+0,0x1), -- Spawn High King Maulgar if state is not DONE
(565,@GRUUL,0x17,@FIRSTGROUPID+1,0x1); -- Spawn Gruul if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+1 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,38 @@
-- SpawnGroupMapper auto-generated SQL for map 544 (Magtheridon's Lair)
-- Constant setter section - adjust this
-- spawn_group_template (1 entries)
SET @FIRSTGROUPID := 13;
-- Boss state associations
SET @MAGTHERIDON := 0; -- boss state that controls group "Magtheridon"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "Magtheridon's Lair - Magtheridon", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+0, 0, 91247),
(@FIRSTGROUPID+0, 0, 90988),
(@FIRSTGROUPID+0, 0, 90992),
(@FIRSTGROUPID+0, 0, 91248),
(@FIRSTGROUPID+0, 0, 90985),
(@FIRSTGROUPID+0, 0, 90989),
(@FIRSTGROUPID+0, 0, 90993),
(@FIRSTGROUPID+0, 0, 91249),
(@FIRSTGROUPID+0, 0, 90986),
(@FIRSTGROUPID+0, 0, 90990),
(@FIRSTGROUPID+0, 0, 91254),
(@FIRSTGROUPID+0, 0, 90987),
(@FIRSTGROUPID+0, 0, 90991);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 544;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(544,@MAGTHERIDON,0x17,@FIRSTGROUPID+0,0x1); -- Spawn Magtheridon if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,26 @@
-- SpawnGroupMapper auto-generated SQL for map 616 (The Eye of Eternity)
-- Constant setter section - adjust this
-- spawn_group_template (1 entries)
SET @FIRSTGROUPID := 14;
-- Boss state associations
SET @MALYGOS := 0; -- boss state that controls group "Malygos"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "The Eye of Eternity - Malygos", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+0, 0, 132313);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 616;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(616,@MALYGOS,0x17,@FIRSTGROUPID+0,0x1); -- Spawn Malygos if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+0 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,60 @@
-- SpawnGroupMapper auto-generated SQL for map 615 (The Obsidian Sanctum)
-- Constant setter section - adjust this
-- spawn_group_template (4 entries)
SET @FIRSTGROUPID := 15;
-- Boss state associations
SET @TENEBRON := 1; -- boss state that controls group "Tenebron"
SET @SHADRON := 2; -- boss state that controls group "Shadron"
SET @VESPERON := 3; -- boss state that controls group "Vesperon"
SET @SARTHARION := 0; -- boss state that controls group "Sartharion"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "The Obsidian Sanctum - Tenebron", 0x04),
(@FIRSTGROUPID+1, "The Obsidian Sanctum - Shadron", 0x04),
(@FIRSTGROUPID+2, "The Obsidian Sanctum - Vesperon", 0x04),
(@FIRSTGROUPID+3, "The Obsidian Sanctum - Sartharion", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+3, 0, 126398),
(@FIRSTGROUPID+1, 0, 126414),
(@FIRSTGROUPID+3, 0, 126399),
(@FIRSTGROUPID+0, 0, 126415),
(@FIRSTGROUPID+3, 0, 126400),
(@FIRSTGROUPID+3, 0, 126416),
(@FIRSTGROUPID+3, 0, 126401),
(@FIRSTGROUPID+3, 0, 126417),
(@FIRSTGROUPID+3, 0, 126402),
(@FIRSTGROUPID+3, 0, 126418),
(@FIRSTGROUPID+3, 0, 126403),
(@FIRSTGROUPID+3, 0, 126419),
(@FIRSTGROUPID+3, 0, 126404),
(@FIRSTGROUPID+3, 0, 126420),
(@FIRSTGROUPID+3, 0, 126405),
(@FIRSTGROUPID+3, 0, 126421),
(@FIRSTGROUPID+3, 0, 126406),
(@FIRSTGROUPID+3, 0, 126407),
(@FIRSTGROUPID+3, 0, 126408),
(@FIRSTGROUPID+3, 0, 126409),
(@FIRSTGROUPID+3, 0, 126410),
(@FIRSTGROUPID+3, 0, 126411),
(@FIRSTGROUPID+3, 0, 126396),
(@FIRSTGROUPID+3, 0, 126412),
(@FIRSTGROUPID+3, 0, 126397),
(@FIRSTGROUPID+2, 0, 126413);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 615;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(615,@TENEBRON,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Tenebron if state is not DONE
(615,@SHADRON,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Shadron if state is not DONE
(615,@VESPERON,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Vesperon if state is not DONE
(615,@SARTHARION,0x17,@FIRSTGROUPID+3,0x1); -- Spawn Sartharion if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,64 @@
-- SpawnGroupMapper auto-generated SQL for map 724 (The Ruby Sanctum)
-- Constant setter section - adjust this
-- spawn_group_template (4 entries)
SET @FIRSTGROUPID := 19;
-- Boss state associations
SET @BALTHARUS := 0; -- boss state that controls group "Baltharus"
SET @SAVIANA := 2; -- boss state that controls group "Saviana"
SET @ZARITHRIAN := 1; -- boss state that controls group "Zarithrian"
SET @HALION := 3; -- boss state that controls group "Halion"
-- DB modification section - you shouldn't need to touch this
-- Insert spawn group templates
DELETE FROM `spawn_group_template` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3;
INSERT INTO `spawn_group_template` (`groupId`,`groupName`,`groupFlags`) VALUES
(@FIRSTGROUPID+0, "The Ruby Sanctum - Baltharus", 0x04),
(@FIRSTGROUPID+1, "The Ruby Sanctum - Saviana", 0x04),
(@FIRSTGROUPID+2, "The Ruby Sanctum - Zarithrian", 0x04),
(@FIRSTGROUPID+3, "The Ruby Sanctum - Halion", 0x04);
-- Insert spawn group data
DELETE FROM `spawn_group` WHERE `groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3;
INSERT INTO `spawn_group` (`groupId`,`spawnType`,`spawnId`) VALUES
(@FIRSTGROUPID+2, 0, 202812),
(@FIRSTGROUPID+2, 0, 202820),
(@FIRSTGROUPID+3, 0, 11003),
(@FIRSTGROUPID+2, 0, 202805),
(@FIRSTGROUPID+2, 0, 202813),
(@FIRSTGROUPID+2, 0, 202821),
(@FIRSTGROUPID+2, 0, 202806),
(@FIRSTGROUPID+2, 0, 202822),
(@FIRSTGROUPID+2, 0, 202807),
(@FIRSTGROUPID+2, 0, 202815),
(@FIRSTGROUPID+2, 0, 202823),
(@FIRSTGROUPID+2, 0, 202800),
(@FIRSTGROUPID+2, 0, 202808),
(@FIRSTGROUPID+2, 0, 202816),
(@FIRSTGROUPID+2, 0, 202824),
(@FIRSTGROUPID+2, 0, 202801),
(@FIRSTGROUPID+2, 0, 202809),
(@FIRSTGROUPID+2, 0, 202817),
(@FIRSTGROUPID+2, 0, 202794),
(@FIRSTGROUPID+2, 0, 202802),
(@FIRSTGROUPID+2, 0, 202810),
(@FIRSTGROUPID+2, 0, 202818),
(@FIRSTGROUPID+1, 0, 202795),
(@FIRSTGROUPID+2, 0, 202803),
(@FIRSTGROUPID+2, 0, 202811),
(@FIRSTGROUPID+2, 0, 202819),
(@FIRSTGROUPID+2, 0, 202814),
(@FIRSTGROUPID+2, 0, 202799),
(@FIRSTGROUPID+0, 0, 202796),
(@FIRSTGROUPID+2, 0, 202804);
-- Link information for instance script
DELETE FROM `instance_spawn_groups` WHERE `instanceMapId` = 724;
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
(724,@BALTHARUS,0x17,@FIRSTGROUPID+0,0x1), -- Spawn Baltharus if state is not DONE
(724,@SAVIANA,0x17,@FIRSTGROUPID+1,0x1), -- Spawn Saviana if state is not DONE
(724,@ZARITHRIAN,0x17,@FIRSTGROUPID+2,0x1), -- Spawn Zarithrian if state is not DONE
(724,@HALION,0x17,@FIRSTGROUPID+3,0x1); -- Spawn Halion if state is not DONE
-- Remove legacy linked_respawn entries
DELETE lr FROM `linked_respawn` lr INNER JOIN `spawn_group` sg ON sg.`groupId` BETWEEN @FIRSTGROUPID+0 AND @FIRSTGROUPID+3 AND sg.`spawnType` = (lr.linkType >> 1) AND sg.`spawnId`=lr.`guid`;
@@ -0,0 +1,12 @@
-- 'Clues in the Thicket' (Quest ID 9971) RewardText typo (Is it was/Is it what)
UPDATE `quest_offer_reward`
SET `RewardText`="So, I was right. That was the corpse of one of the Broken? And you can confirm that there was a strange object on the ground next to him?$B$BThis doesn't make any sense. What would one of the Broken be doing here? And what is that thing it had with him?$B$BIs it what caused all of this death?"
WHERE `ID`=9971;
-- `An Unseen Hand` (Quest ID 10013) RewardText typo (2x "it to me")
UPDATE `quest_offer_reward`
SET `RewardText`="<Rokag takes the plans from you and looks them over.>$B$BSo Kaide was right! Those fel orc scum are up to something. I never would've guessed they were colluding with the blood elves, though.$B$BAccording to this map, the fel orcs are to keep us busy... but why? This is disturbing news, $N. You were correct in bringing it to me right away."
WHERE `ID` = 10013;
-- 'Evil Draws Near' (Quest ID 10923) Progress typo (ben/been)
UPDATE `quest_request_items`
SET `CompletionText` = "Has Teribus the Cursed been purged from the skies of Terokkar?"
WHERE `ID` = 10923;
@@ -0,0 +1,4 @@
-- Invaluable Asset Zapping (10203): add missing last third of RewardText
UPDATE `quest_offer_reward`
SET `RewardText`="You must be the one that zapped all of that sapping equipment back to us here from the ruins! Hooray for you!$B$BI've already reallocated the equipment out to our other locations. Now we'll be able to expedite our fissure operations on this whole island by an order of magnitude! The nether-rocket will be completed in no time!$B$BHmmm, that's odd. Wait a minute, did you say that you sent four things back to us? I only got three..."
WHERE `Id`=10203;
@@ -0,0 +1,4 @@
-- Surveying the Ruins (quest ID 10335): add missing last half of RewardText
UPDATE `quest_offer_reward`
SET `RewardText`="You're not just pulling my bandage, right? That's most excellent news!$B$BNow that you've done the surveying grunt-work, I'll be able to take my team up to the ruins and see what's there to be procured.$B$BYou have my thanks, $c."
WHERE `Id`=10335;
@@ -0,0 +1,4 @@
-- A Boaring Time for Grulloc (quest ID 10721): use RewardText instead of QuestDescription
UPDATE `quest_offer_reward`
SET `RewardText`="<Baron Sablemane peers inside the gronn's sack and seems satisfied.>$B$BVery well, you have upheld your end of the bargain. With that price paid, I will give Rexxar what he seeks."
WHERE `Id`=10721;
@@ -0,0 +1,8 @@
-- DB/Quest: You, Robot (quest ID 10248): missing Progress text + end of RewardText
DELETE FROM `quest_request_items` WHERE `ID`=10248;
INSERT INTO `quest_request_items` (`ID`,`EmoteOnComplete`,`EmoteOnIncomplete`,`CompletionText`,`VerifiedBuild`) VALUES
(10248, 1, 0, 'What did you think? Still needs some tweaking, eh?', 12340);
UPDATE `quest_offer_reward`
SET `RewardText`="Well, my boy that certainly was exciting! And for my money, I'd say that the Scrap Reaver X6000 performed admirably, despite its rookie pilot.$B$BHehe, no, don't take offense, I was just kidding. After all, you just saved Area 52 and the X-52 Nether-Rocket from certain doom!"
WHERE `Id`=10248;
@@ -0,0 +1,375 @@
DELETE FROM `gameobject` WHERE `id`=194565 AND `map`=603; -- Delete broken harpoons
DELETE FROM `creature` WHERE `id` IN(33210,33287,33816,33259,33233);
DELETE FROM `creature_summon_groups` WHERE `summonerId`=33186; -- Razorscale
INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES
(33186,0,1,33210,585.6672,-104.4477,391.6004,1.518436,8,0), -- Expedition Commander
(33186,0,1,33287,592.5033,-98.55198,391.6004,5.742133,8,0), -- Expedition Engineer
(33186,0,1,33287,589.5328,-95.32281,391.6004,5.51524,8,0 ), -- Expedition Engineer
(33186,0,1,33287,594.3019,-94.38184,391.6004,4.817109,8,0), -- Expedition Engineer
(33186,0,1,33816,600.7484,-104.8482,391.6082,4.852015,8,0), -- Expedition Defender
(33186,0,1,33816,596.3798,-110.2639,391.6004,4.852015,8,0), -- Expedition Defender
(33186,0,1,33816,576.5787,-113.1111,391.6004,4.29351,8,0 ), -- Expedition Defender
(33186,0,1,33816,570.4106,-108.7936,391.6004,4.13643,8,0 ), -- Expedition Defender
(33186,0,1,33816,588.7609,-114.8663,391.6004,4.852015,8,0), -- Expedition Defender
(33186,0,1,33816,566.4739,-103.6336,391.6004,4.363323,8,0), -- Expedition Defender
(33186,0,1,33259,583.61 ,-110.9356,391.6004,4.939282,8,0), -- Expedition Trapper
(33186,0,1,33259,578.1771,-107.6289,391.6004,4.852015,8,0), -- Expedition Trapper
(33186,0,1,33259,588.2538,-108.7151,391.6004,4.991642,8,0), -- Expedition Trapper
(33186,0,1,33233,630.2436,-276.2591,392.3122,1.797689,8,0), -- Razorscale Controller
(33186,0,1,33233,638.2416,-272.1735,392.1351,1.815142,8,0), -- Razorscale Controller
(33186,0,1,33233,633.6514,-287.3748,391.8054,1.797689,8,0), -- Razorscale Controller
(33186,0,1,33233,605.9334,-140.0912,391.6004,4.485496,8,0), -- Razorscale Controller
(33186,0,1,33233,572.4106,-138.6564,393.9044,4.764749,8,0), -- Razorscale Controller
(33186,0,1,33233,558.9486,-142.9874,391.6004,4.764749,8,0), -- Razorscale Controller
(33186,0,1,33233,589.7287,-137.1148,393.9011,4.485496,8,0), -- Razorscale Controller
-- 10 man group
(33186,0,2,33282,589.6996,-134.6657,391.6004,4.555309,8,0), -- Razorscale Harpoon Fire State
(33186,0,2,33282,572.0398,-136.2224,391.2637,4.642576,8,0), -- Razorscale Harpoon Fire State
-- 25 man group
(33186,0,3,33282,559.5352,-140.9866,391.6004,4.642576,8,0), -- Razorscale Harpoon Fire State
(33186,0,3,33282,606.2806,-137.2628,391.6004,4.537856,8,0); -- Razorscale Harpoon Fire State
DELETE FROM `gossip_menu_option` WHERE `MenuID`=10314;
INSERT INTO `gossip_menu_option` (`MenuID`,`OptionIndex`,`OptionIcon`,`OptionText`,`OptionBroadcastTextID`,`OptionType`,`OptionNpcFlag`,`VerifiedBuild`) VALUES
(10314, 0, 0, 'We are ready to help!', 33353, 1, 1, 0);
DELETE FROM `creature_text` WHERE `CreatureID`=33210;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(33210,0,0,'Be on the lookout! Mole machines will be surfacing soon with those nasty Iron dwarves aboard!',14,0,100,0,0,0,33607,0,'Expedition Commander SAY_AGGRO'),
(33210,1,0,'Move quickly! She won\'t remain grounded for long!',14,0,100,0,0,15648,33606,0,'Expedition Commander SAY_GROUND_PHASE'),
(33210,2,0,'We have lost our engineers, this will not end well!',14,0,100,0,0,0,33818,0,'Expedition Commander SAY_ENGINEERS_DEAD');
DELETE FROM `creature_text` WHERE `CreatureID`=33186 AND `GroupID`=2;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(33186,2,0,'%s goes into a berserker rage!',41,0,100,0,0,0,34057,0,'Razorscale EMOTE_BERSERK');
UPDATE `creature_text` SET `comment`='Razorscale EMOTE_PERMA_GROUND' WHERE `CreatureID`=33186 AND `GroupID`=0 AND `id`=0;
UPDATE `creature_text` SET `comment`='Expedition Engineer SAY_AGGRO' WHERE `CreatureID`=33287 AND `GroupID`=0;
UPDATE `creature_text` SET `comment`='Expedition Engineer SAY_START_REPAIR' WHERE `CreatureID`='33287' AND `GroupID`=1;
UPDATE `creature_text` SET `comment`='Expedition Engineer SAY_REBUILD_TURRETS' WHERE `CreatureID`='33287' AND `GroupID`=2;
UPDATE `creature_template` SET `gossip_menu_id`=10314 WHERE `entry` IN (33210,34254); -- Expedition Commander
UPDATE `creature_template` SET `ScriptName`='npc_expedition_defender' WHERE `entry`=33816;
UPDATE `creature_template` SET `ScriptName`='npc_expedition_trapper' WHERE `entry`=33259;
UPDATE `creature_template` SET `ScriptName`='npc_expedition_engineer' WHERE `entry`=33287;
UPDATE `creature_template` SET `ScriptName`='npc_razorscale_spawner' WHERE `entry`=33245;
UPDATE `creature_template` SET `ScriptName`='npc_razorscale_harpoon_fire_state' WHERE `entry`=33282;
UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=34188; -- Razorscale Devouring Flame Stalker
UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=33233; -- Razorscale Controller
UPDATE `gameobject_template` SET `ScriptName`='go_razorscale_mole_machine' WHERE `entry`=194316;
DELETE FROM `creature_template_addon` WHERE `entry` IN (34188,34189);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(34188,0,0,33554688,0,0,64709), -- Razorscale Devouring Flame Stalker cast Devouring Flame Ground
(34189,0,0,33554688,0,0,64709); -- Razorscale Devouring Flame Stalker cast Devouring Flame Ground
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
'spell_razorscale_summon_iron_dwarves',
'spell_razorscale_fuse_armor',
'spell_razorscale_devouring_flame',
'spell_razorscale_firebolt');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(63968,'spell_razorscale_summon_iron_dwarves'),
(63970,'spell_razorscale_summon_iron_dwarves'),
(63969,'spell_razorscale_summon_iron_dwarves'),
(64771,'spell_razorscale_fuse_armor'),
(62669,'spell_razorscale_firebolt');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62646; -- Shackle
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,62646,0,0,31,0,3,33186,0,0,0,0,'','Effect_0 hits Razorscale');
-- Enginner North
-- 10
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=1;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 1, 0, 5176, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=1;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 1, 0, 0, 592.50330, -98.551980, 391.60040),
(33287, 1, 0, 1, 592.21530, -99.816540, 391.80870),
(33287, 1, 0, 2, 591.46530, -109.81650, 391.80870),
(33287, 1, 0, 3, 589.21530, -119.31650, 391.80870),
(33287, 1, 0, 4, 581.21530, -128.31650, 391.80870),
(33287, 1, 0, 5, 574.92730, -133.58110, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=2;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 2, 0, 2375, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=2;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 2, 0, 0, 574.92730, -133.58110, 391.51710),
(33287, 2, 0, 1, 575.80900, -133.45180, 391.70690),
(33287, 2, 0, 2, 584.30900, -128.95180, 391.70690);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=3;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 3, 0, 4106, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=3;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 3, 0, 0, 584.30900, -128.95180, 391.70690),
(33287, 3, 0, 1, 593.52340, -130.30840, 391.70690),
(33287, 3, 0, 2, 592.52340, -116.05840, 391.70690),
(33287, 3, 0, 3, 591.77340, -107.05840, 391.70690),
(33287, 3, 0, 4, 592.35630, -99.294380, 391.51710);
-- 25
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=4;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 4, 0, 6570, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=4;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 4, 0, 0, 592.50330, -98.551980, 391.60040),
(33287, 4, 0, 1, 591.03580, -99.607860, 391.80870),
(33287, 4, 0, 2, 583.03580, -101.60790, 391.80870),
(33287, 4, 0, 3, 574.28580, -110.60790, 391.80870),
(33287, 4, 0, 4, 564.78580, -129.35790, 391.80870),
(33287, 4, 0, 5, 561.56820, -137.66370, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=5;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 5, 0, 2111, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=5;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 5, 0, 0, 561.56820, -137.66370, 391.51710),
(33287, 5, 0, 1, 562.96840, -136.93030, 391.76710),
(33287, 5, 0, 2, 566.46840, -132.68030, 391.76710),
(33287, 5, 0, 3, 571.71840, -130.93030, 391.76710),
(33287, 5, 0, 4, 574.86850, -133.69690, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=6;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 6, 0, 2435, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=6;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 6, 0, 0, 574.86850, -133.69690, 391.51710),
(33287, 6, 0, 1, 575.80470, -133.00260, 391.76710),
(33287, 6, 0, 2, 584.30470, -129.50260, 391.76710),
(33287, 6, 0, 3, 590.30470, -128.75260, 391.76710),
(33287, 6, 0, 4, 592.24080, -131.30820, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=7;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 7, 0, 2689, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=7;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 7, 0, 0, 592.24080, -131.30820, 391.51710),
(33287, 7, 0, 1, 593.93800, -130.91290, 391.59870),
(33287, 7, 0, 2, 602.93800, -128.66290, 391.59870),
(33287, 7, 0, 3, 607.93800, -131.66290, 391.34870),
(33287, 7, 0, 4, 609.63510, -136.01760, 391.18030);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=8;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 8, 0, 5106, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=8;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 8, 0, 0, 609.63510, -136.01760, 391.18030),
(33287, 8, 0, 1, 607.93800, -130.71680, 391.34870),
(33287, 8, 0, 2, 603.43800, -117.46680, 391.34870),
(33287, 8, 0, 3, 596.93800, -107.21680, 391.59870),
(33287, 8, 0, 4, 592.24090, -99.416020, 391.51710);
-- Engineer East
-- 10
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=9;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 9, 0, 5703, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=9;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 9, 0, 0, 589.53280, -95.322810, 391.60040),
(33287, 9, 0, 1, 588.59990, -96.915040, 391.80870),
(33287, 9, 0, 2, 580.34990, -102.41500, 391.80870),
(33287, 9, 0, 3, 574.09990, -108.91500, 391.80870),
(33287, 9, 0, 4, 569.59990, -118.66500, 391.80870),
(33287, 9, 0, 5, 568.66690, -132.50730, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=10;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 10, 0, 2551, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=10;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 10, 0, 0, 568.66690, -132.50730, 391.51710),
(33287, 10, 0, 1, 570.50920, -131.02470, 391.76710),
(33287, 10, 0, 2, 579.25920, -126.52470, 391.76710),
(33287, 10, 0, 3, 586.35140, -130.54220, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=11;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 11, 0, 4375, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=11;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 11, 0, 0, 586.35140, -130.54220, 391.51710),
(33287, 11, 0, 1, 586.98820, -127.71770, 391.76710),
(33287, 11, 0, 2, 590.73820, -116.71770, 391.76710),
(33287, 11, 0, 3, 590.73820, -105.96770, 391.76710),
(33287, 11, 0, 4, 589.12480, -96.393230, 391.51710);
-- 25
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=12;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 12, 0, 6953, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=12;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 12, 0, 0, 589.53280, -95.322810, 391.60040),
(33287, 12, 0, 1, 587.84770, -95.547740, 391.80870),
(33287, 12, 0, 2, 579.59770, -100.29770, 391.80870),
(33287, 12, 0, 3, 573.59770, -107.04770, 391.80870),
(33287, 12, 0, 4, 569.09770, -115.04770, 391.80870),
(33287, 12, 0, 5, 559.59770, -131.29770, 391.80870),
(33287, 12, 0, 6, 557.16260, -138.27270, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=13;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 13, 0, 1853, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=13;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 13, 0, 0, 557.16260, -138.27270, 391.51710),
(33287, 13, 0, 1, 558.27150, -136.16690, 391.76710),
(33287, 13, 0, 2, 565.27150, -132.66690, 391.76710),
(33287, 13, 0, 3, 569.88050, -133.56110, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=14;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 14, 0, 2155, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=14;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 14, 0, 0, 569.88050, -133.56110, 391.51710),
(33287, 14, 0, 1, 574.97390, -132.21020, 391.76710),
(33287, 14, 0, 2, 580.22390, -130.71020, 391.76710),
(33287, 14, 0, 3, 586.56720, -131.85940, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=15;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 15, 0, 5040, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=15;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 15, 0, 0, 586.56720, -131.85940, 391.51710),
(33287, 15, 0, 1, 589.26450, -129.92940, 391.76710),
(33287, 15, 0, 2, 599.51450, -129.67940, 391.76710),
(33287, 15, 0, 3, 603.96190, -133.99950, 391.51710);
-- Engineer West
-- 10
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=16;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 16, 0, 5932, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=16;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 16, 0, 0, 594.30190, -94.381840, 391.60040),
(33287, 16, 0, 1, 592.85390, -95.531520, 391.80870),
(33287, 16, 0, 2, 583.85390, -102.03150, 391.80870),
(33287, 16, 0, 3, 576.85390, -107.28150, 391.80870),
(33287, 16, 0, 4, 573.10390, -118.28150, 391.80870),
(33287, 16, 0, 5, 572.40590, -132.18120, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=17;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 17, 0, 2337, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=17;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 17, 0, 0, 572.40590, -132.18120, 391.51710),
(33287, 17, 0, 1, 573.77820, -131.55440, 391.76710),
(33287, 17, 0, 2, 583.77820, -128.05440, 391.76710),
(33287, 17, 0, 3, 590.15060, -129.92770, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=18;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 18, 0, 4440, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=18;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 18, 0, 0, 590.15060, -129.92770, 391.51710),
(33287, 18, 0, 1, 590.66970, -128.37400, 391.76710),
(33287, 18, 0, 2, 592.66970, -113.37400, 391.76710),
(33287, 18, 0, 3, 594.66970, -100.12400, 391.76710),
(33287, 18, 0, 4, 594.18870, -94.820260, 391.51710);
-- 25
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=19;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 19, 0, 6906, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=19;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 19, 0, 0, 594.30190, -94.381840, 391.60040),
(33287, 19, 0, 1, 593.02330, -94.994300, 391.80870),
(33287, 19, 0, 2, 586.02330, -99.744300, 391.80870),
(33287, 19, 0, 3, 577.02330, -105.74430, 391.80870),
(33287, 19, 0, 4, 572.52330, -114.49430, 391.80870),
(33287, 19, 0, 5, 566.52330, -124.49430, 391.80870),
(33287, 19, 0, 6, 560.74480, -136.10680, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=20;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 20, 0, 1623, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=20;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 20, 0, 0, 560.74480, -136.10680, 391.51710),
(33287, 20, 0, 1, 561.80880, -135.08010, 391.76710),
(33287, 20, 0, 2, 566.30880, -131.33010, 391.76710),
(33287, 20, 0, 3, 571.87280, -131.55340, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=21;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 21, 0, 2427, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=21;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 21, 0, 0, 571.87280, -131.55340, 391.51710),
(33287, 21, 0, 1, 574.20680, -131.91800, 391.76710),
(33287, 21, 0, 2, 582.70680, -128.66800, 391.76710),
(33287, 21, 0, 3, 590.54090, -129.78250, 391.51710);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=22;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 22, 0, 2123, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=22;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 22, 0, 0, 590.54090, -129.78250, 391.51710),
(33287, 22, 0, 1, 593.33170, -129.52560, 392.16520),
(33287, 22, 0, 2, 601.08170, -128.77560, 391.66520),
(33287, 22, 0, 3, 606.12250, -132.76870, 391.31340);
DELETE FROM `script_spline_chain_meta` WHERE `entry`=33287 AND `chainId`=23;
INSERT INTO `script_spline_chain_meta` (`entry`,`chainId`,`splineId`,`expectedDuration`,`msUntilNext`) VALUES
(33287, 23, 0, 5082, 0);
DELETE FROM `script_spline_chain_waypoints` WHERE `entry`=33287 AND `chainId`=23;
INSERT INTO `script_spline_chain_waypoints` (`entry`,`chainId`,`splineId`,`wpId`,`x`,`y`,`z`) VALUES
(33287, 23, 0, 0, 606.12250, -132.76870, 391.31340),
(33287, 23, 0, 1, 606.97240, -130.52870, 391.41520),
(33287, 23, 0, 2, 603.72240, -119.77870, 391.41520),
(33287, 23, 0, 3, 597.97240, -108.77870, 391.66520),
(33287, 23, 0, 4, 595.47240, -101.52870, 391.66520),
(33287, 23, 0, 5, 594.32230, -94.788800, 391.51710);
@@ -0,0 +1,42 @@
UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry`=24892;
UPDATE `creature_template` SET `flags_extra`= `flags_extra` |512 WHERE `entry`=24850;
UPDATE `creature_template` SET `unit_flags`=32832, `ScriptName`='boss_kalecgos_human' WHERE `entry`=24891;
UPDATE `gameobject_template` SET `ScriptName`='go_kalecgos_spectral_rift' WHERE `entry`=187055;
DELETE FROM `creature_template_addon` WHERE `entry` IN (24891,24892);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(24891,0,0,0,1,0,44801),
(24892,0,0,0,1,0,'44800 44801');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=46733;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(13,1,46733,0,1,31,0,3,24892,0,0,0,0,'','Spell Tap Check targets Sathrovarr');
UPDATE `creature_text` SET `Type`=12 WHERE `CreatureID`=24850 AND `GroupID`=2 AND`ID`=0;
UPDATE `creature_text` SET `TextRange`=2 WHERE `CreatureID` IN(24850,24891,24892);
UPDATE `creature_text` SET `comment`='kalecgos SAY_OUTRO1' WHERE `CreatureID`=24850 and`GroupID`=2 and`ID`=0;
UPDATE `creature_text` SET `comment`='kalecgos SAY_GOOD_NEAR_DEATH1' WHERE `CreatureID`=24891 and`GroupID`=1 and`ID`=0;
DELETE FROM `creature_text` WHERE `CreatureID`=24891 AND `GroupID`=3;
DELETE FROM `creature_text` WHERE `CreatureID`=24850 AND `GroupID` IN(3,4,6);
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(24891,3,0,'There is no time to waste!',14,0,100,0,0,12435,24993,2,'kalecgos SAY_GOOD_DEATH'),
(24850,3,0,'Kil\'jaeden must be destroyed!',14,0,100,0,0,12433,25502,2,'SAY_OUTRO_2'),
(24850,4,0,'Sathrovarr drives Kalecgos into a crazed rage!',41,0,100,0,0,0,24983,2,'kalecgos SAY_ENRAGE'),
(24850,6,0,'I will purge you!',14,0,100,0,0,0,25497,2,'kalecgos SAY_ARCANE_BUFFET'),
(24850,6,1,'Your pain has only begun!',14,0,100,0,0,0,25498,2,'kalecgos SAY_ARCANE_BUFFET');
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (44869,46019,46021,-46021);
DELETE FROM `spell_script_names` WhERE `ScriptName` IN
('spell_kalecgos_spectral_blast',
'spell_kalecgos_spectral_realm_trigger',
'spell_kalecgos_spectral_realm_aura',
'spell_kalecgos_curse_of_boundless_agony',
'spell_kalecgos_tap_check');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(44869,'spell_kalecgos_spectral_blast'),
(44811,'spell_kalecgos_spectral_realm_trigger'),
(46021,'spell_kalecgos_spectral_realm_aura'),
(45032,'spell_kalecgos_curse_of_boundless_agony'),
(45034,'spell_kalecgos_curse_of_boundless_agony'),
(46732,'spell_kalecgos_tap_check');
@@ -0,0 +1,2 @@
-- creature_addon guid not present in creature table
DELETE FROM `creature_addon` WHERE `guid` = 137612;
@@ -0,0 +1,2 @@
-- Vile Spirit + (1),(2),(3) / Wicked Spirit + (1),(2),(3)
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (39190,39287,39288,39289,37799,39284,39285,39286);
@@ -0,0 +1,14 @@
UPDATE `gameobject` SET `guid`=24167 WHERE `guid`=84 AND `id`=183323;
--
DELETE FROM `gameobject` WHERE `guid` IN (84,85,87,89);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(87, 189996, 571, 0, 0, '0', 0, 0, 0, 3687.47, -1182.08, 102.337, 1.0472, 0, 0, -0.528919, -0.848673, 180, 0, 1, 0),
(89, 189996, 571, 0, 0, '0', 0, 0, 0, 3669.43, -1172.8, 102.337, 1.09956, 0, 0, -0.55327, -0.833002, 180, 0, 1, 0),
(85, 189996, 571, 0, 0, '0', 0, 0, 0, 3663.93, -1186.44, 102.404, 3.17654, 0, 0, -0.990359, 0.138522, 180, 0, 1, 0),
(84, 189996, 571, 0, 0, '0', 0, 0, 0, 3662.3, -1190.05, 102.447, 2.26893, 0, 0, -0.839429, -0.54347, 180, 0, 1, 0);
DELETE FROM `creature` WHERE `guid` IN (48304,48305);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(48304, 27713, 571, 0, 0, '0', 0, 0, 0, 0, 1, 3663.803, -1191.971, 102.336, 2.065532, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(48305, 27713, 571, 0, 0, '0', 0, 0, 0, 0, 1, 3666.517, -1185.729, 102.336, 3.322169, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0);
@@ -0,0 +1,2 @@
UPDATE `creature_template` SET `ScriptName`='npc_razorscale_devouring_flame' WHERE `entry`=34188; -- Razorscale Devouring Flame Stalker
DELETE FROM `creature_template_addon` WHERE `entry` IN (34188,34189); -- Razorscale Devouring Flame Stalker
@@ -0,0 +1,9 @@
-- Zem Leeward
DELETE FROM `creature_text` WHERE `CreatureID`=348;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(348,0,0,'Nothing biting....',12,7,100,0,0,0,45,0,'Zem Leeward'),
(348,0,1,'Here fishy fishy. . . come to papa.',12,7,100,0,0,0,46,0,'Zem Leeward');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=348;
DELETE FROM `smart_scripts` WHERE `entryorguid`=348;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(348,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zem Leeward - Out of Combat - Say Line 0');
@@ -0,0 +1,13 @@
-- Lil Timmy
DELETE FROM `creature_text` WHERE `CreatureID`=8666;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(8666,0,0,"Don\t worry, I\ll find a good home for ya.",12,7,100,0,0,0,4523,0,"Lil Timmy"),
(8666,0,1,"Can anyone give my adorable, extra little kitty a home?",12,7,100,0,0,0,4524,0,"Lil Timmy"),
(8666,0,2,"I can\t believe dad won\t let me keep your sister.",12,7,100,0,0,0,4525,0,"Lil Timmy"),
(8666,0,3,"Kitten for sale, looking for a good home.",12,7,100,0,0,0,4526,0,"Lil Timmy"),
(8666,0,4,"What does allergic mean anyway? And what does it have to do with either of my kitties?",12,7,100,0,0,0,4527,0,"Lil Timmy"),
(8666,0,5,"Will someone please give my little kitten a good home?",12,7,100,0,0,0,4528,0,"Lil Timmy");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8666;
DELETE FROM `smart_scripts` WHERE `entryorguid`=8666;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(8666,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lil Timmy - Out of Combat - Say Line 0");
@@ -0,0 +1,11 @@
-- Tosamina
DELETE FROM `creature_text` WHERE `CreatureID`=14498;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(14498,0,0,"You are mine now, children. You will grow up to be a strong part of the Horde!",12,1,100,0,0,0,9693,0,"Tosamina"),
(14498,0,1,"Stop whining!",12,1,100,0,0,0,9694,0,"Tosamina"),
(14498,0,2,"Clean this place up! We will not live in such squalor.",12,1,100,0,0,0,9695,0,"Tosamina"),
(14498,0,3,"It's my way or the Gold Road. Is that understood?",12,1,100,0,0,0,9696,0,"Tosamina");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14498;
DELETE FROM `smart_scripts` WHERE `entryorguid`=14498;
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`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(14498,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tosamina - Out of Combat - Say Line 0");
@@ -0,0 +1,6 @@
--
UPDATE `creature` SET `spawnDifficulties`='3,5' WHERE `guid` IN (137751, 137750);
DELETE FROM `creature` WHERE `guid` IN (48306,48307);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(48306, 37868, 631, 0, 0, '4,6', 0, 0, 0, 0, 0, 4185.2851, 2464.014, 364.8696, 0.798137, 604800, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(48307, 37868, 631, 0, 0, '4,6', 0, 0, 0, 0, 0, 4183.7006, 2503.9326, 364.879, 5.508426, 604800, 0, 0, 0, 0, 0, 0, 0, 0, 0);
@@ -0,0 +1,6 @@
DELETE FROM `spell_area` WHERE `spell` BETWEEN 36216 AND 36219;
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`) VALUES
(36217, 3934, 10305, 0, 0, 0, 2, 1, 64, 11),
(36218, 3934, 10306, 0, 0, 0, 2, 1, 64, 11),
(36219, 3934, 10307, 0, 0, 0, 2, 1, 64, 11),
(36216, 3924, 10182, 0, 0, 0, 2, 1, 64, 11);
@@ -0,0 +1,6 @@
-- Hogan Ference -- Add more lines
DELETE FROM `creature_text` WHERE `CreatureID`=325 AND `GroupID`=0 AND `ID`>2;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(325,0,3,"When will someone do something about the undead?",12,7,100,0,0,0,961,0,"Hogan Ference"),
(325,0,4,"Where is everyone?",12,7,100,0,0,0,962,0,"Hogan Ference"),
(325,0,5,"I can't even visit my father's grave in peace anymore.",12,7,100,0,0,0,963,0,"Hogan Ference");
@@ -0,0 +1,10 @@
-- Althea Ebonlocke
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=264;
DELETE FROM `smart_scripts` WHERE `entryorguid`=264;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(264,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Althea Ebonlocke - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=264;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(264,0,0,"Stay on the roads. The forest is overrun with undead.",12,7,100,0,0,0,61,0,"Commander Althea Ebonlocke"),
(264,0,1,"Fear not. The Night Watch will rid the land of this foul taint soon enough.",12,7,100,0,0,0,62,0,"Commander Althea Ebonlocke");
@@ -0,0 +1,4 @@
-- Lord Ello Ebonlocke -- Add another line
DELETE FROM `creature_text` WHERE `CreatureID`=263 AND `GroupID`=0 AND `ID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(263,0,1,"The Night Watch alone cannot protect us forever. We need the backing of the Stormwind Army.",12,7,100,0,0,0,64,0,"Lord Ello Ebonlocke");
@@ -0,0 +1,4 @@
-- Councilman Millstipe -- Add another line
DELETE FROM `creature_text` WHERE `CreatureID`=270 AND `GroupID`=0 AND `ID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(270,0,1,"The forest is crawling with worgen and ghouls. Something must be done!",12,7,100,0,0,0,66,0,"Councilman Millstipe");
@@ -0,0 +1,12 @@
-- Madame Eva
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=265;
DELETE FROM `smart_scripts` WHERE `entryorguid`=265;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(265,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Madame Eva - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=265;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(265,0,0,"I sense evil brewing. . . .",12,7,100,0,0,0,73,0,"Madame Eva"),
(265,0,1,"The stars speak to me. They whisper of the horrors waiting in the night.",12,7,100,0,0,0,74,0,"Madame Eva"),
(265,0,2,"The future holds much death and uncertainty, not unlike the past.",12,7,100,0,0,0,75,0,"Madame Eva"),
(265,0,3,"The spirits whisper in my ear. They are restless and full of angst.",12,7,100,0,0,0,76,0,"Madame Eva");
@@ -0,0 +1,94 @@
--
DELETE FROM `creature` WHERE `guid` IN (48308,48309,48310,68880,68881,68882,68883,68884,68885,68886,68887,68888,68889,68890,68891,68892,68893,68894,80503,80504,80505,80506,80507,80508,80509,80511,80512,80513,80514,80515,80516,80517,80518,80519,80520,80521,80523,80524,80525,80526,80527,80528,80530,80532,80533,80534,80535,80536);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) values
(48308, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6799.83, 1433.43, 390.812, 6.28299, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(48309, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6799.42, 1426.43, 390.812, 0.0389925, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(48310, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6799.22, 1420.2, 390.812, 0.0487044, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68880, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6797.68, 1420.19, 390.891, 6.27572, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68881, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6794.35, 1419.96, 390.891, 6.17665, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68882, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6795.52, 1420.04, 390.891, 6.27119, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68883, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6795.89, 1426.27, 390.891, 0.0536161, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68884, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6797.39, 1426.33, 390.891, 0.0492338, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68885, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6794.39, 1426.2, 390.891, 0.0581036, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68886, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6792.89, 1426.13, 390.891, 0.0623682, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68887, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6793.83, 1432.9, 390.921, 0.440551, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68888, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6798.33, 1432.92, 390.921, 0.424234, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68889, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6795.33, 1432.91, 390.921, 0.435067, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68890, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6796.83, 1432.92, 390.921, 0.4288, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(68891, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6873.45, 1596.78, 389.217, 1.50098, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(68892, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6870.81, 1603.06, 389.217, 0.10472, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(68893, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6873.86, 1577.83, 389.217, 0.349066, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(68894, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6903.14, 1551.82, 389.217, 2.68781, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80503, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6886.85, 1539.82, 389.217, 1.0821, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80504, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6905.55, 1564.58, 389.217, 1.11701, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80505, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6884.67, 1571.42, 389.217, 1.6057, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80506, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6878.18, 1541.64, 389.217, 5.75959, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80507, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6885.35, 1584.62, 389.217, 4.85202, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80508, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6908.27, 1591.38, 389.217, 4.55531, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80509, 32164, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6904.24, 1578.02, 389.217, 0.663225, 300, 0, 0, 11770, 0, 0, 0, 0, 0, 0),
(80511, 31150, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6812.83, 1449.62, 390.896, 4.64258, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80512, 31150, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6857.69, 1557.02, 389.133, 0.117134, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80513, 31150, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6764.16, 1555.59, 389.217, 0.575959, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80514, 31150, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6847.13, 1450.28, 390.896, 4.62512, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80515, 31150, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6849.24, 1583.35, 389.133, 0.0689424, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80516, 31145, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6805.28, 1426.08, 390.896, 3.31613, 300, 0, 0, 10080, 8814, 0, 0, 0, 0, 0),
(80517, 31145, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6776.43, 1446.4, 390.712, 4.505206, 300, 0, 0, 10080, 8814, 0, 0, 0, 0, 0),
(80518, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6773.39, 1439.27, 390.712, 1.40995, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80519, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6775, 1439.01, 390.712, 1.40995, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80520, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6774.78, 1440.47, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80521, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6773.8, 1440.1, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80523, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6774.71, 1437.71, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80524, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6774.17, 1439.13, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80525, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6775.48, 1439.63, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80526, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6775.77, 1438.86, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80527, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6775.93, 1437.79, 390.712, 1.93538, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80528, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6775.68, 1440.77, 390.712, 2.84566, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80530, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6776.52, 1439.91, 390.712, 2.84566, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80532, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6776.86, 1438.46, 390.712, 2.84566, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80533, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6777.74, 1439.04, 390.712, 2.84566, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80534, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6777.41, 1440.29, 390.712, 4.12619, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80535, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6776.19, 1441.2, 390.712, 4.12619, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0),
(80536, 31281, 571, 0, 0, '0', 0, 0, 0, 0, 0, 6773.62, 1438.18, 390.712, 0.830504, 300, 0, 0, 12600, 0, 0, 0, 0, 0, 0);
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid`= 123928;
DELETE FROM `gameobject` WHERE `guid` IN (91, 93, 97, 99, 101,103,105,107,111,113,115,388,390,392,394,396,400,402,403,405,407);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(91, 193616, 571, 0, 0, '0', 0, 0, 0, 6884.59, 1573.85, 389.033, 0.0523589, 0, 0, 0, 0, 300, 0, 1, 0),
(93, 193616, 571, 0, 0, '0', 0, 0, 0, 6888.82, 1541.54, 389.033, 3.03684, 0, 0, 0, 0, 300, 0, 1, 0),
(97, 193616, 571, 0, 0, '0', 0, 0, 0, 6884.59, 1582, 389.033, -3.12412, 0, 0, 0, 0, 300, 0, 1, 0),
(99, 193616, 571, 0, 0, '0', 0, 0, 0, 6883.65, 1540.26, 389.033, 1.13446, 0, 0, 0, 0, 300, 0, 1, 0),
(101, 193616, 571, 0, 0, '0', 0, 0, 0, 6880.13, 1540.48, 389.033, -2.82743, 0, 0, 0, 0, 300, 0, 1, 0),
(103, 193616, 571, 0, 0, '0', 0, 0, 0, 6876.56, 1539.62, 389.033, -0.0698117, 0, 0, 0, 0, 300, 0, 1, 0),
(105, 193617, 571, 0, 0, '0', 0, 0, 0, 6875.71, 1601.95, 389.033, -2.67035, 0, 0, -0.965567, 0.260156, 300, 0, 1, 0),
(107, 193617, 571, 0, 0, '0', 0, 0, 0, 6879.49, 1578.34, 389.033, -3.10665, 0, 0, -0.999552, 0.0299169, 300, 0, 1, 0),
(111, 193617, 571, 0, 0, '0', 0, 0, 0, 6912.05, 1560.12, 389.033, 1.29154, 0, 0, 0, 0, 300, 0, 1, 0),
(113, 193617, 571, 0, 0, '0', 0, 0, 0, 6907.6, 1567.49, 389.033, -0.122173, 0, 0, 0, 0, 300, 0, 1, 0),
(115, 193617, 571, 0, 0, '0', 0, 0, 0, 6903.12, 1554.92, 389.033, 2.28638, 0, 0, 0, 0, 300, 0, 1, 0),
(388, 193618, 571, 0, 0, '0', 0, 0, 0, 6906.19, 1579.29, 389.033, 0.610864, 0, 0, 0, 0, 300, 0, 1, 0),
(390, 193618, 571, 0, 0, '0', 0, 0, 0, 6906.3, 1589.43, 389.033, 1.15192, 0, 0, 0, 0, 300, 0, 1, 0),
(392, 193618, 571, 0, 0, '0', 0, 0, 0, 6881.86, 1578.11, 389.033, 0.0523589, 0, 0, 0, 0, 300, 0, 1, 0),
(394, 193619, 571, 0, 0, '0', 0, 0, 0, 6872.97, 1600.56, 389.033, -2.61799, 0, 0, -0.965567, 0.260156, 300, 0, 1, 0),
(396, 193619, 571, 0, 0, '0', 0, 0, 0, 6875.82, 1580.98, 389.033, 3.10665, 0, 0, -0.999552, 0.0299169, 300, 0, 1, 0),
(400, 193619, 571, 0, 0, '0', 0, 0, 0, 6875.76, 1577.95, 389.033, -3.05433, 0, 0, -0.999552, 0.0299169, 300, 0, 1, 0),
(402, 193619, 571, 0, 0, '0', 0, 0, 0, 6874.19, 1598.21, 389.033, -2.61799, 0, 0, -0.965567, 0.260156, 300, 0, 1, 0),
(403, 193619, 571, 0, 0, '0', 0, 0, 0, 6876.02, 1575.36, 389.033, -2.9496, 0, 0, -0.999552, 0.0299169, 300, 0, 1, 0),
(405, 193619, 571, 0, 0, '0', 0, 0, 0, 6872.22, 1602.76, 389.033, -2.60054, 0, 0, -0.965567, 0.260156, 300, 0, 1, 0),
(407, 193620, 571, 0, 0, '0', 0, 0, 0, 6885.62, 1578.17, 389.033, -3.10665, 0, 0, 0, 0, 300, 0, 1, 0);
UPDATE `creature` SET `position_x`=6648.01,`position_y`=1282.8,`position_z`=291.6626, `spawndist`=0, `MovementType`=0 WHERE `guid` IN (121653);
DELETE FROM `creature_addon` WHERE `guid`=121653;
DELETE FROM `creature_template_addon` WHERE `entry`= 31281;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) values (31281,0,0,0,1,0,'58951');
UPDATE `creature` SET `spawndist`=0, `MovementType`=2 WHERE `guid` IN (80515, 80512);
DELETE FROM `creature_addon` WHERE `guid`=80515;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (80515,805150,0,0,0,0, '50106');
DELETE FROM `waypoint_data` WHERE `id`=805150;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
(805150,1,6868.6796, 1587.0093, 389.032, 0.037058,0,0,0,100,0),
(805150,2,6786.1420, 1584.6035, 389.032, 3.115034,0,0,0,100,0);
DELETE FROM `creature_addon` WHERE `guid`=80512;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (80512,805120,0,0,0,0, '50106');
DELETE FROM `waypoint_data` WHERE `id`=805120;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
(805120,1,6790.1362, 1558.1470, 389.033, 3.096658,0,0,0,100,0),
(805120,2,6870.9169, 1557.5908, 389.033, 0.047275,0,0,0,100,0);
@@ -0,0 +1,45 @@
UPDATE `creature` SET `position_x`=1942.307, `position_y`=43.54681, `position_z`=411.3578, `orientation`=3.535151 WHERE `guid`=137496; -- Auriaya
SET @GUID:= 48308;
-- Sanctum Sentry
DELETE FROM `creature` WHERE `guid` IN (@GUID,@GUID+1);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID+0, 34014, 603, 0, 0, '14,33', 0, 0, 0, 0, 0, 1944.99, 35.473570, 411.3606, 2.74932, 604800, 0, 0, 334680, 0, 0, 0, 0, 0,'' , 0),
(@GUID+1, 34014, 603, 0, 0, '14,33', 0, 0, 0, 0, 0, 1939.99, 42.584860, 411.3577, 2.70377, 604800, 0, 0, 334680, 0, 0, 0, 0, 0,'', 0);
UPDATE `creature` SET `modelid`=0, `position_x`=1943.659, `position_y`=57.08639, `position_z`=411.3522 WHERE `guid`=137491;
UPDATE `creature` SET `modelid`=0, `position_x`=1938.484, `position_y`=51.14733, `position_z`=411.3549 WHERE `guid`=137490;
DELETE FROM `creature_formations` WHERE `leaderGUID`=137496 AND `memberGUID` IN (@GUID,@GUID+1);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(137496,@GUID,5,90,515,0,0),
(137496,@GUID+1,5,270,515,0,0);
UPDATE `creature_template` SET `ScriptName`='npc_seeping_essence_stalker' WHERE `entry`=34098; -- Auriaya Seeping Essence Stalker
UPDATE `creature_template` SET `mechanic_immune_mask`=617299839 WHERE `entry`=34014; -- Sanctum Sentry
UPDATE `creature_template` SET `mechanic_immune_mask`=617299839 WHERE `entry`=34035; -- Feral Defender
UPDATE `creature_template` SET `unit_flags`=2048, `ScriptName`='npc_swarming_guardian' WHERE `entry`=34034; -- Swarming Guardian
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=64898; -- Instakill Arachnopod
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,64898,0,0,31,0,3,34183,0,0,0,0,'','Effect_0 hits Arachnopod Destroyer');
DELETE FROM `spell_script_names` WHERE `ScriptName` IN
('spell_auriaya_agro_creator',
'spell_auriaya_random_agro_periodic',
'spell_auriaya_feral_essence_removal',
'spell_auriaya_feral_rush');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(63709, 'spell_auriaya_agro_creator'),
(61906, 'spell_auriaya_random_agro_periodic'),
(64456, 'spell_auriaya_feral_essence_removal'),
(64496, 'spell_auriaya_feral_rush'),
(64674, 'spell_auriaya_feral_rush');
DELETE FROM `creature_text` WHERE `CreatureID`=33515;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(33515,0,0,'Some things are better left alone!',14,0,100,0,0,15473,34341,0,'Auriaya SAY_AGGRO'),
(33515,1,1,'The secret dies with you.',14,0,100,0,0,15474,34354,0,'Auriaya SAY_SLAY_1'),
(33515,1,2,'There is no escape!',14,0,100,0,0,15475,37177,0,'Auriaya SAY_SLAY_2'),
(33515,2,0,'You waste my time!',14,0,100,0,0,15477,34358,0,'Auriaya SAY_BERSERK'),
(33515,3,0,'%s begins to cast Terrifying Screech.',41,0,100,0,0,0,34450,0,'Auriaya EMOTE_FEAR'),
(33515,4,0,'%s begins to activate the Feral Defender!',41,0,100,0,0,0,34162,0,'Auriaya EMOTE_DEFENDER');
@@ -0,0 +1,5 @@
--
DELETE FROM `creature` WHERE `guid` IN (80537,80538);
INSERT INTO `creature`(`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(80537, 31152, 571, 210, 4508, '0', 0, 0, 0, 0, 1, 6799.83, 1433.43, 390.812, 6.28299, 300, 0, 0, 12600, 0, 0, 0, 0, 0, '', 0),
(80538, 31152, 571, 0, 0, '0', 0, 0, 0, 0, 1, 6799.42, 1426.43, 390.812, 0.0389925, 300, 0, 0, 12600, 0, 0, 0, 0, 0, '', 0);
@@ -0,0 +1,9 @@
-- Viktori PrismAntras
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=276;
DELETE FROM `smart_scripts` WHERE `entryorguid`=276 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(276,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Viktori Prism'Antras - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=276;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(276,0,0,"The stars will be in perfect form tonight!",12,7,100,0,0,0,77,0,"Viktori Prism'Antras"),
(276,0,1,"There is something greater than magic at work in the night sky. One day they'll listen to me. . . .",12,7,100,0,0,0,79,0,"Viktori Prism'Antras");
@@ -0,0 +1,6 @@
-- Infiltrator Marksen
UPDATE `creature_text` SET `BroadcastTextId`=1857 WHERE `CreatureID`=5416 AND `GroupID`=0;
UPDATE `creature_text` SET `BroadcastTextId`=1858 WHERE `CreatureID`=5416 AND `GroupID`=1;
UPDATE `creature_text` SET `BroadcastTextId`=1859 WHERE `CreatureID`=5416 AND `GroupID`=2;
UPDATE `creature_text` SET `BroadcastTextId`=1860 WHERE `CreatureID`=5416 AND `GroupID`=3;
UPDATE `creature_text` SET `BroadcastTextId`=1861 WHERE `CreatureID`=5416 AND `GroupID`=4;
@@ -0,0 +1,11 @@
-- Shellene
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14497;
DELETE FROM `smart_scripts` WHERE `entryorguid`=14497;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(14497,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shellene - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=14497;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(14497,0,0,"It's so sad for you poor children.",12,7,100,0,0,0,9689,0,"Shellene"),
(14497,0,1,"Now children stop that! I mean it!",12,7,100,0,0,0,9690,0,"Shellene"),
(14497,0,2,"All will be well children. The Light shall see to that!",12,7,100,0,0,0,9691,0,"Shellene"),
(14497,0,3,"I believe you children are our future...",12,7,100,0,0,0,9692,0,"Shellene");
@@ -0,0 +1,9 @@
-- Tavernkeep Smitts
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=273;
DELETE FROM `smart_scripts` WHERE `entryorguid`=273 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(273,0,0,0,1,0,100,0,45000,60000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tavernkeep Smitts - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=273;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(273,0,0,"This dark taint is downright bad for business.",12,7,100,0,0,0,82,0,"Tavernkeep Smitts");
@@ -0,0 +1,3 @@
-- Cerellean Whiteclaw
UPDATE `creature_text` SET `Type`=12 WHERE `CreatureID`=3644 AND `GroupID`=1;
UPDATE `creature_text` SET `Type`=12 WHERE `CreatureID`=3644 AND `GroupID`=2;
@@ -0,0 +1,11 @@
-- Lizzarik
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3658;
DELETE FROM `smart_scripts` WHERE `entryorguid`=3658 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(3658,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lizzarik - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=3658;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3658,0,0,"Best weapons in the Barrens here!",12,0,100,0,0,0,1212,0,"Lizzarik"),
(3658,0,1,"Step right up! Finest selection of weapons this side of Ashenvale!",12,0,100,0,0,0,1213,0,"Lizzarik"),
(3658,0,2,"Lizzarik has blades. Lizzarik has maces. Lizzarik has all your weapon needs right here!",12,0,100,0,0,0,1214,0,"Lizzarik"),
(3658,0,3,"Act quick! Once it's gone, it's gone! Get your weapons here now!",12,0,100,0,0,0,1215,0,"Lizzarik");
@@ -0,0 +1,4 @@
-- Erich Lohan
DELETE FROM `creature_text` WHERE `CreatureID`=3627 AND `GroupID`=0 AND `ID`=7;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3627,0,7,'Ask me how to get a free drink at the Blue Recluse!',12,7,100,0,0,0,1192,0,'Erich Lohan');
@@ -0,0 +1,16 @@
-- Denalan
DELETE FROM `smart_scripts` WHERE `entryorguid`=2080 AND `source_type`=0 AND `id`=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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2080,0,4,0,20,0,100,512,927,0,0,0,80,208003,2,0,0,0,0,1,0,0,0,0,0,0,0,"Denalan - On Quest \The Moss-twined Heart\ Finished - Run Script");
DELETE FROM `smart_scripts` WHERE `entryorguid`=208003 AND `source_type`=9;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(208003,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Denalan - On Script - Remove Npc Flag Questgiver"),
(208003,9,1,0,0,0,100,0,1000,1000,0,0,1,7,0,0,0,0,0,7,0,0,0,0,0,0,0,"Denalan - On Script - Say Line 7"),
(208003,9,2,0,0,0,100,0,2000,2000,0,0,1,8,0,0,0,0,0,7,0,0,0,0,0,0,0,"Denalan - On Script - Say Line 8"),
(208003,9,3,0,0,0,100,0,4000,4000,0,0,1,9,0,0,0,0,0,7,0,0,0,0,0,0,0,"Denalan - On Script - Say Line 9"),
(208003,9,4,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Denalan - On Script - Add Npc Flag Questgiver");
DELETE FROM `creature_text` WHERE `CreatureID`=2080 AND `GroupID`>6;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2080,7,0,"%s examines the Moss-twined Heart...",16,0,100,0,0,0,1126,0,"Denalan"),
(2080,8,0,"$n, underneath the moss, this heart looks like a seed!",12,7,100,1,0,0,1127,0,"Denalan"),
(2080,9,0,"Let's try planting it in some of my special, prepared soil...",12,7,100,1,0,0,1128,0,"Denalan");
@@ -0,0 +1,16 @@
-- Devlin Agamand
DELETE FROM `smart_scripts` WHERE `entryorguid`=1657 AND `source_type`=0 AND `id` IN (1, 2);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1657,0,1,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Devlin Agamand - On Aggro - Say Line 0"),
(1657,0,2,0,1,0,100,0,1000,10000,15000,25000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Devlin Agamand - Out Of Combat - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=1657;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1657,0,0,"The Agamand Mills is held by the Scourge, $C. Join us!",12,0,100,0,0,0,575,0,"Devlin Agamand"),
(1657,0,1,"Here to visit the family? Die, fool!",12,0,100,0,0,0,574,0,"Devlin Agamand"),
(1657,1,0,"Mother, oh mother. You should have listened to me...",12,0,100,0,0,0,572,0,"Devlin Agamand"),
(1657,1,1,"They thought I was weak. Haha!!",12,0,100,0,0,0,567,0,"Devlin Agamand"),
(1657,1,2,"I am the head of the family. Me. ME!!!" ,12,0,100,0,0,0,568,0,"Devlin Agamand"),
(1657,1,3,"I'm cold, lord. When will you keep your promise?",12,0,100,0,0,0,569,0,"Devlin Agamand"),
(1657,1,4,"My family hates me. Frightened idiots, all of them!",12,0,100,0,0,0,570,0,"Devlin Agamand"),
(1657,1,5,"Father? Are you proud of me now? HAHAH!",12,0,100,0,0,0,571,0,"Devlin Agamand"),
(1657,1,6,"Thurman my brother, who's laughing now? Hah!",12,0,100,0,0,0,573,0,"Devlin Agamand");
@@ -0,0 +1,59 @@
-- Yarlyn Amberstill
DELETE FROM `creature` WHERE `guid` IN (4151,4153);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
(4151, 1352, 0, 0, 0, '0', 0, 0, 0, 0, 0, -5546.13, -1301.88, 399.909, 1.25519, 300, 0, 0, 8, 0, 2, 0, 0, 0, 0),
(4153, 1263, 0, 0, 0, '0', 0, 0, 0, 0, 0, -5547.62, -1306.45, 398.409, 4.45606, 300, 0, 0, 42, 0, 0, 0, 0, 0, 0);
DELETE FROM `creature_addon` WHERE `guid`=4151;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(4151,41510,0,0,0,0,"");
DELETE FROM `waypoint_data` WHERE `id`=41510;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(41510,1,-5549,-1295.66,400.267,0,0,1,0,100,0),
(41510,2,-5555.14,-1286.75,400.705,0,0,1,0,100,0),
(41510,3,-5563.65,-1281.34,401.378,0,0,1,0,100,0),
(41510,4,-5571.76,-1283.92,401.595,0,0,1,0,100,0),
(41510,5,-5574.1,-1292.32,401.575,0,0,1,0,100,0),
(41510,6,-5550.61,-1316.42,398.663,0,0,1,0,100,0),
(41510,7,-5539.53,-1319.2,399.05,0,0,1,0,100,0),
(41510,8,-5527.46,-1315.68,401.761,0,0,1,0,100,0),
(41510,9,-5510.42,-1310.07,402.876,0,0,1,0,100,0),
(41510,10,-5496.35,-1307.78,404.306,0,0,1,0,100,0),
(41510,11,-5485.81,-1317.02,403.623,0,0,1,0,100,0),
(41510,12,-5482.9,-1328.74,403.128,0,0,1,0,100,0),
(41510,13,-5497.13,-1351.01,403.118,0,0,1,0,100,0),
(41510,14,-5506.29,-1361.86,401.173,0,0,1,0,100,0),
(41510,15,-5512.5,-1380.78,401.059,0,0,1,0,100,0),
(41510,16,-5523.74,-1388.3,400.524,0,0,1,0,100,0),
(41510,17,-5532.06,-1391.59,401.022,0,0,1,0,100,0),
(41510,18,-5536.64,-1400.22,402.253,0,0,1,0,100,0),
(41510,19,-5534.24,-1407.77,402.474,0,0,1,0,100,0),
(41510,20,-5526.26,-1409.96,402.421,0,0,1,0,100,0),
(41510,21,-5516.35,-1405.69,402.985,0,0,1,0,100,0),
(41510,22,-5512.02,-1380.34,401.147,0,0,1,0,100,0),
(41510,23,-5505.66,-1361.61,401.475,0,0,1,0,100,0),
(41510,24,-5496.98,-1350.89,403.125,0,0,1,0,100,0),
(41510,25,-5483.01,-1328.78,403.113,0,0,1,0,100,0),
(41510,26,-5485.76,-1316.7,403.664,0,0,1,0,100,0),
(41510,27,-5496.2,-1307.95,404.289,0,0,1,0,100,0),
(41510,28,-5510.93,-1310.19,402.859,0,0,1,0,100,0),
(41510,29,-5527.54,-1315.5,401.787,0,0,1,0,100,0),
(41510,30,-5537.08,-1315.39,399.541,0,0,1,0,100,0),
(41510,31,-5543.39,-1309.22,398.204,0,0,1,0,100,0);
DELETE FROM `creature_formations` WHERE `leaderGUID`=4151;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(4151,4151,0,0,512,0,0),
(4151,4153,4,0,512,0,0);
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|768 WHERE `entry`=1352;
UPDATE `creature_template` SET `speed_run`=0.85714, `AIName`="SmartAI" WHERE `entry`=1263;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1263 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1263,0,0,0,1,0,100,0,1000,15000,30000,45000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Yarlyn Amberstill - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=1263;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1263,0,0,"Come back, Fluffy!",12,6,100,0,0,0,159,0,"Yarlyn Amberstill"),
(1263,0,1,"Why do you run from me, Fluffy?!",12,6,100,0,0,0,160,0,"Yarlyn Amberstill"),
(1263,0,2,"C\mon, Fluffy! I just want to give you a bath!",12,6,100,0,0,0,161,0,"Yarlyn Amberstill"),
(1263,0,3,"Fluffy! Fluffy, stop running!",12,6,100,0,0,0,162,0,"Yarlyn Amberstill"),
(1263,0,4,"Carrots every day for a year if you stop!",12,6,100,0,0,0,164,0,"Yarlyn Amberstill"),
(1263,0,5,"Don\t make me get my pappy to catch you! He likes to catch bunnies using his rifle!",12,6,100,0,0,0,165,0,"Yarlyn Amberstill");
@@ -0,0 +1,10 @@
-- Privateer Groy
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2616;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2616 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2616,0,0,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Privateer Groy - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=2616;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2616,0,0,"Where in the Outlands are those shipments? For days they keep me waiting!",12,7,100,0,0,0,737,0,"Privateer Groy"),
(2616,0,1,"Stupidity! I'm surrounded by stupidity!",12,7,100,0,0,0,738,0,"Privateer Groy"),
(2616,0,2,"Orcs are smarter than those couriers! Where the blazes are they?",12,7,100,0,0,0,739,0,"Privateer Groy");
@@ -0,0 +1,14 @@
--
UPDATE `gameobject` SET `spawntimesecs` = 2 WHERE `id` IN
(20691, -- Cozzle's Footlocker
20925, -- Captain's Footlocker
181110, -- Soaked Tome
181133, -- Rathis Tomber's Supplies
181238, -- Dented Chest
181239, -- Worn Chest
182011, -- Crate of Ingots
182804, -- Mysteries of the Light
183050, -- The Saga of Terokk
187980, -- First Aid Supplies
181138,181139,181140, -- Night Elf Plans: An'daroth, An'owyn, Scrying on the Sin'dorei
182542,181626); -- Sealed Box (Investigate Tuurem), Dawn Runner Cargo/Warped Crates
@@ -0,0 +1,266 @@
-- Moonstalker Matriarch
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2071;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2071;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2071,0,0,0,1,0,100,1,3000,5000,0,0,11,8594,0,0,0,0,0,1,0,0,0,0,0,0,0,'Moonstalker Matriarch - Out of Combat - Cast Summon Moonstalker Runt (No Repeat)');
-- Moonstalker Sire
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2237;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2237;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2237,0,0,0,9,0,100,0,0,5,10000,14000,11,6595,0,0,0,0,0,2,0,0,0,0,0,0,0,'Moonstalker Sire - Within 0-5 Range - Cast Exploit Weakness');
-- Grizzled Thistle Bear
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2165;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2165;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2165,0,0,0,0,0,100,0,3000,5000,7000,10000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,'Grizzled Thistle Bear - In Combat - Cast Ravage');
-- Strider Clutchmother
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2172;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2172;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2172,0,0,0,0,0,100,0,7000,11000,12000,14000,11,7272,0,0,0,0,0,1,0,0,0,0,0,0,0,'Strider Clutchmother - In Combat - Cast Dust Cloud'),
(2172,0,1,0,9,0,100,0,0,5,15000,17000,11,6607,0,0,0,0,0,2,0,0,0,0,0,0,0,'Strider Clutchmother - Within 0-5 Range - Cast Lash'),
(2172,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Strider Clutchmother - Between 0-15% Health - Flee For Assist (No Repeat)');
-- Shadowclaw
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2175;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2175;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2175,0,0,0,9,0,100,0,0,30,12000,15000,11,17227,0,0,0,0,0,2,0,0,0,0,0,0,0,'Shadowclaw - Within 0-30 Range - Cast Curse of Weakness');
-- Moonkin Oracle
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10157;
DELETE FROM `smart_scripts` WHERE `entryorguid`=10157;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(10157,0,0,0,0,0,100,0,1000,2000,2000,2000,11,9739,64,0,0,0,0,2,0,0,0,0,0,0,0,'Moonkin Oracle - In Combat - Cast Wrath'),
(10157,0,1,0,0,0,100,0,7000,11000,12000,15000,11,15798,1,0,0,0,0,2,0,0,0,0,0,0,0,'Moonkin Oracle - In Combat - Cast Moonfire'),
(10157,0,2,0,14,0,100,0,200,40,25000,30000,11,16561,1,0,0,0,0,7,0,0,0,0,0,0,0,'Moonkin Oracle - Friendly At 200 Health - Cast Regrowth');
-- Moonkin
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10158;
DELETE FROM `smart_scripts` WHERE `entryorguid`=10158;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(10158,0,0,0,4,0,100,0,0,0,0,0,75,12787,0,0,0,0,0,1,0,0,0,0,0,0,0,'Moonkin Cast Thrash on reset');
-- Raging Moonkin
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10160;
DELETE FROM `smart_scripts` WHERE `entryorguid`=10160;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(10160,0,0,0,2,0,100,1,0,30,0,0,11,8599,1,0,0,0,0,1,0,0,0,0,0,0,0,'Raging Moonkin - Between 0-30% Health - Cast Enrage (No Repeat)'),
(10160,0,1,0,9,0,100,0,0,5,10000,15000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,'Raging Moonkin - Within 0-5 Range - Cast Rend');
-- Wild Grell
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2190;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2190;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2190,0,0,0,2,0,100,0,0,30,60000,60000,11,5915,0,0,0,0,0,1,0,0,0,0,0,0,0,'Wild Grell - Between 0-30% Health - Cast Crazed');
-- Deth'ryll Satyr
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2212;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2212;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2212,0,0,0,0,0,100,0,1000,2000,3500,4100,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,'Dethryll Satyr - In Combat - Cast Shoot');
-- Licillin
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2191;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2191;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2191,0,0,0,0,0,100,0,1000,2000,3000,3500,11,20791,64,0,0,0,0,2,0,0,0,0,0,0,0,'Licillin - In Combat - Cast Shadow Bolt'),
(2191,0,1,0,9,0,100,0,0,30,20000,25000,11,11980,1,0,0,0,0,2,0,0,0,0,0,0,0,'Licillin - Within 0-30 Range - Cast Curse of Weakness');
-- Blackwood Pathfinder
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2167;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2167;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2167,0,0,0,9,0,100,0,0,30,30000,35000,11,6950,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackwood Pathfinder - Within 0-30 Range - Cast Faerie Fire'),
(2167,0,1,0,4,0,100,0,0,0,0,0,75,54913,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackwood Pathfinder - Within 0-5 Range - Cast Thrash');
-- Blackwood Warrior
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2168;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2168;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2168,0,0,0,9,0,100,0,0,8,8000,13000,11,8078,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackwood Warrior - Within 0-8 Range - Cast Thunderclap'),
(2168,0,1,0,4,0,100,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackwood Warrior - Out of Combat - Cast Battle Stance (No Repeat)');
-- Blackwood Totemic
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2169;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2169;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2169,0,0,0,0,0,100,0,3000,6000,18000,23000,11,5605,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackwood Totemic - In Combat - Cast Healing Ward');
-- Blackwood Ursa
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2170;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2170;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2170,0,0,0,14,0,100,0,200,40,18000,21000,11,1058,0,0,0,0,0,7,0,0,0,0,0,0,0,'Blackwood Ursa - Friendly At 200 Health - Cast Rejuvenation');
-- Blackwood Shaman
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2171;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2171;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2171,0,0,0,0,0,100,0,1000,2000,3000,3400,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,'Blackwood Shaman - In Combat CMC - Cast Lightning Bolt'),
(2171,0,1,0,0,0,100,0,9000,14000,11000,15000,11,2606,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackwood Shaman - In Combat - Cast Shock'),
(2171,0,2,0,14,0,100,0,300,40,16000,21000,11,913,0,0,0,0,0,7,0,0,0,0,0,0,0,'Blackwood Shaman - Friendly At 300 Health - Cast Healing Wave');
-- Blackwood Windtalker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2324;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2324;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2324,0,0,0,0,0,100,0,7000,11000,16000,21000,11,6982,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackwood Windtalker - In Combat - Cast Gust of Wind');
-- Carnivous the Breaker
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2186;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2186;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2186,0,0,0,25,0,100,0,0,0,0,0,75,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,'Carnivous the Breaker - On Respawn - Cast Thrash (No Repeat)'),
(2186,0,1,0,9,0,100,0,0,0,15000,20000,11,6016,0,0,0,0,0,2,0,0,0,0,0,0,0,'Carnivous the Breaker - Within 0-5 Range - Cast Pierce Armor');
-- Cursed Highborne
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2176;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2176;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2176,0,0,0,0,0,100,0,5000,9000,10000,13000,11,5884,0,0,0,0,0,2,0,0,0,0,0,0,0,'Cursed Highborne - In Combat - Cast Banshee Curse');
-- Writhing Highborne
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2177;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2177;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2177,0,0,0,0,0,100,0,5000,9000,10000,13000,11,5884,0,0,0,0,0,5,0,0,0,0,0,0,0,'Writhing Highborne - In Combat - Cast Banshee Curse');
-- Wailing Highborne
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2178;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2178;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2178,0,0,0,0,0,100,0,5000,9000,10000,13000,11,5884,0,0,0,0,0,5,0,0,0,0,0,0,0,'Wailing Highborne - In Combat - Cast Banshee Curse');
-- Lady Moongazer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2184;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2184;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2184,0,0,0,0,0,100,0,1500,2000,3100,3500,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,'Lady Moongazer - In Combat - Cast Shoot'),
(2184,0,1,0,9,0,100,0,0,20,8000,11000,11,6533,1,0,0,0,0,2,0,0,0,0,0,0,0,'Lady Moongazer - Within 0-20 Range - Cast Net');
-- Stormscale Siren
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2180;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2180;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2180,0,0,0,0,0,100,0,1000,2000,2600,3000,11,9734,64,0,0,0,0,2,0,0,0,0,0,0,0,'Stormscale Siren - In Combat - Cast Holy Smite'),
(2180,0,1,0,2,0,100,0,0,50,18000,25000,11,11642,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stormscale Siren - Between 0-50% Health - Cast Heal'),
(2180, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Flee at 15% HP");
-- Stormscale Wave Rider
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2179;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2179;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2179,0,0,0,0,0,100,0,8000,13000,12000,16000,11,13586,0,0,0,0,0,2,0,0,0,0,0,0,0,'Stormscale Wave Rider - In Combat - Cast Aqua Jet');
-- Stormscale Warrior
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2183;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2183;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2183,0,0,0,0,0,100,0,4000,8000,10000,12000,11,3248,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stormscale Warrior - In Combat - Cast Improved Blocking');
-- Lord Sinslayer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7017;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7017;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(7017,0,0,0,9,0,100,0,0,5,5000,10000,11,12057,0,0,0,0,0,2,0,0,0,0,0,0,0,'Lord Sinslayer - Within 0-5 Range - Cast Strike'),
(7017,0,1,0,0,0,100,0,9000,12000,9000,12000,11,13586,0,0,0,0,0,2,0,0,0,0,0,0,0,'Lord Sinslayer - In Combat - Cast Aqua Jet');
-- Encrusted Tide Crawler
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2233;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2233;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2233,0,0,0,0,0,100,0,2000,3000,7000,12000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,'Encrusted Tide Crawler - In Combat - Cast Rend');
-- Greymist Raider
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2201;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2201;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2201,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Raider - Between 0-15% Health - Flee For Assist');
-- Greymist Coastrunner
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2202;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2202;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2202,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Coastrunner - Between 0-15% Health - Flee For Assist');
-- Greymist Seer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2203;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2203;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2203,0,0,0,23,0,100,0,324,0,2000,3000,11,324,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Seer - On missing aura - Cast Lightning Shield'),
(2203,0,1,0,16,0,100,0,324,1,9000,29000,11,324,48,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Seer - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield'),
(2203,0,2,0,74,0,100,0,0,40,14000,18000,11,547,0,0,0,0,0,9,0,0,0,0,0,0,0,'Greymist Seer - On Friendly Between 0-40% Health - Cast Healing Wave'),
(2203,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Seer - Between 0-15% Health - Flee For Assist (No Repeat)');
-- Greymist Netter
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2204;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2204;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2204,0,0,0,9,0,100,0,0,20,8000,14000,11,12024,0,0,0,0,0,2,0,0,0,0,0,0,0,'Greymist Netter - Within 0-20 Range - Cast Net'),
(2204,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Netter - Between 0-15% Health - Flee For Assist');
-- Greymist Warrior
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2205;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2205;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2205,0,0,0,4,0,100,0,0,0,0,0,11,5242,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Warrior - In Combat - Cast Battle Shout'),
(2205,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Warrior - Between 0-15% Health - Flee For Assist');
-- Greymist Hunter
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2206;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2206;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2206,0,0,0,0,0,100,0,1000,2000,2300,3000,11,10277,64,0,0,0,0,2,0,0,0,0,0,0,0,'Greymist Hunter - In Combat CMC - Cast Throw'),
(2206,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Hunter - Between 0-15% Health - Flee For Assist');
-- Greymist Tidehunter
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2208;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2208;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2208,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Greymist Tidehunter - Between 0-15% Health - Flee For Assist');
-- Flagglemurk the Cruel
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7015;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7015;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(7015,0,0,0,9,0,100,0,0,5,7000,10000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,'Flagglemurk the Cruel - Within 0-5 Range - Cast Strike'),
(7015,0,1,0,0,0,100,0,8000,12000,9000,12000,11,11428,0,0,0,0,0,2,0,0,0,0,0,0,0,'Flagglemurk the Cruel - In Combat - Cast Knockdown'),
(7015,0,2,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Flagglemurk the Cruel - Between 0-15% Health - Flee For Assist (No Repeat)');
-- Darkshore Thresher
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2185;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2185;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2185,0,0,0,9,0,100,0,0,5,18000,20000,11,6016,0,0,0,0,0,2,0,0,0,0,0,0,0,'Darkshore Thresher - Within 0-5 Range - Cast Pierce Armor');
-- Elder Darkshore Thresher
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2187;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2187;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2187,0,0,0,9,0,100,0,0,5,19000,21000,11,6016,0,0,0,0,0,2,0,0,0,0,0,0,0,'Elder Darkshore Thresher - Within 0-5 Range - Cast Pierce Armor');
-- Firecaller Radison
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2192;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2192;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2192,0,0,0,0,0,100,0,1000,2000,3400,4700,11,20793,64,0,0,0,0,2,0,0,0,0,0,0,0,'Firecaller Radison - In Combat - Cast Fireball'),
(2192,0,1,0,9,0,100,0,0,8,11000,13000,11,11969,2,0,0,0,0,2,0,0,0,0,0,0,0,'Firecaller Radison - Within 0-8 Range - Cast Fire Nova'),
(2192,0,2,0,2,0,100,0,0,30,60000,65000,11,5915,2,0,0,0,0,1,0,0,0,0,0,0,0,'Firecaller Radison - Between 0-30% Health - Cast Crazed');
-- Stone Behemoth
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2157;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2157;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2157,0,0,0,0,0,100,0,5000,11000,13000,16000,11,5810,0,0,0,0,0,1,0,0,0,0,0,0,0,'Stone Behemoth - In Combat - Cast Stone Skin');
-- Lady Vespira
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7016;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7016;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(7016,0,0,0,0,0,100,0,1500,3000,3000,3100,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,'Lady Vespira - In Combat - Cast Shoot'),
(7016,0,1,0,9,0,100,0,0,5,9000,14000,11,11428,1,0,0,0,0,2,0,0,0,0,0,0,0,'Lady Vespira - Within 0-5 Range - Cast Knockdown'),
(7016,0,2,0,0,0,100,0,11000,15000,14000,17000,11,12549,1,0,0,0,0,2,0,0,0,0,0,0,0,'Lady Vespira - In Combat - Cast Forked Lightning');
@@ -0,0 +1 @@
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|617299839 WHERE `entry` IN(34171,34166);
@@ -0,0 +1,96 @@
-- Elly Langston & Jenn Langston
DELETE FROM `creature_text` WHERE `CreatureID` IN (3626,1328);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3626,0,0,"%s returns the rude gesture to $n.",16,0,100,14,0,0,1521,0,'Jenn Langston'),
(3626,1,0,"What can I do for you?",12,0,100,1,0,0,1529,0,'Jenn Langston'),
(3626,1,1,"What do you fancy, $g sir:miss,",12,0,100,1,0,0,1530,0,'Jenn Langston'),
(3626,1,2,"Been a tough day? A nice ale should loosen those worries right up.",12,0,100,1,0,0,1531,0,'Jenn Langston'),
(3626,1,3,"Well hello, $n, what can I get you today?",12,0,100,1,0,0,1532,0,'Jenn Langston'),
(3626,1,4,"Hi, What would you like?",12,0,100,1,0,0,1533,0,'Jenn Langston'),
(3626,1,5,"Good day, $c. What would you like?",12,0,100,1,0,0,1534,0,'Jenn Langston'),
(3626,1,6,"Look what the cat dragged in. What can I get you, $n?",12,0,100,1,0,0,1535,0,'Jenn Langston'),
(3626,1,7,"Do you think I need more pieces of flair?",12,0,100,1,0,0,1536,0,'Jenn Langston'),
(3626,2,0,"Feeling hot? Get something to cool you off down at the Pig and Whistle!",12,7,100,0,0,0,1200,0,'Jenn Langston'),
(3626,2,1,"Nightly brawls and great drinks! Get it all at the Pig and Whistle!",12,7,100,0,0,0,1201,0,'Jenn Langston'),
(3626,2,2,"Get a free beer at the Pig and Whistle!",12,7,100,0,0,0,1202,0,'Jenn Langston'),
(3626,2,3,"Talk to me for a free beer at the Pig and Whistle!",12,7,100,0,0,0,1203,0,'Jenn Langston'),
(3626,2,4,"Smoother than and elf, stronger than an orc! No better drinks in all of Stormwind!",12,7,100,0,0,0,1205,0,'Jenn Langston'),
(3626,2,5,"Tired of all those pansy spellcaster drinks? Try something stronger at the Pig and Whistle!",12,7,100,0,0,0,1206,0,'Jenn Langston'),
(3626,2,6,"Back from a long journey? Rest and relax at the Pig and Whistle!",12,7,100,0,0,0,1207,0,'Jenn Langston'),
(3626,2,7,"Best drinks in Stormwind!",12,7,100,0,0,0,1208,0,'Jenn Langston'),
(1328,0,0,"%s returns the rude gesture to $n.",16,0,100,14,0,0,1521,0,'Elly Langston'),
(1328,1,0,"What can I do for you?",12,0,100,1,0,0,1529,0,'Elly Langston'),
(1328,1,1,"What do you fancy, $g sir:miss,",12,0,100,1,0,0,1530,0,'Elly Langston'),
(1328,1,2,"Been a tough day? A nice ale should loosen those worries right up.",12,0,100,1,0,0,1531,0,'Elly Langston'),
(1328,1,3,"Well hello, $n, what can I get you today?",12,0,100,1,0,0,1532,0,'Elly Langston'),
(1328,1,4,"Hi, What would you like?",12,0,100,1,0,0,1533,0,'Elly Langston'),
(1328,1,5,"Good day, $c. What would you like?",12,0,100,1,0,0,1534,0,'Elly Langston'),
(1328,1,6,"Look what the cat dragged in. What can I get you, $n?",12,0,100,1,0,0,1535,0,'Elly Langston'),
(1328,1,7,"Do you think I need more pieces of flair?",12,0,100,1,0,0,1536,0,'Elly Langston');
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (3626,1328);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3626,1328) AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (362600, 362601, 362602, 362603, 362604, 362605, 362606) AND `source_type`=9;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(3626,0,0,0,25,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Reset - Set Event Phase 1'),
(3626,0,1,0,10,1,100,0,1,30,45000,60000,1,2,0,0,0,0,0,21,35,0,0,0,0,0,0,'Jenn Langston - Out of Combat LOS(Phase 1) - Say Line 2'),
(3626,0,2,0,22,0,100,0,5,5000,5000,0,80,362600,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Applaud - Run Script'),
(3626,0,3,0,22,0,100,0,17,5000,5000,0,80,362600,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Bow - Run Script'),
(3626,0,4,0,22,0,100,0,34,12000,12000,0,80,362601,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Dance - Run Script'),
(3626,0,5,0,22,0,100,0,41,5000,5000,0,80,362602,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Flex - Run Script'),
(3626,0,6,0,22,0,100,0,58,5000,5000,0,80,362603,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Kiss - Run Script'),
(3626,0,7,0,22,0,100,0,77,5000,5000,0,80,362604,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Rude - Run Script'),
(3626,0,8,0,22,0,100,0,84,5000,5000,0,80,362605,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Shy - Run Script'),
(3626,0,9,0,22,0,100,0,101,8000,8000,0,80,362606,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Received Emote Wave - Run Script'),
(362600,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362600,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362600,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362600,9,3,0,0,0,100,0,1000,1000,0,0,5,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Play Emote Bow'),
(362600,9,4,0,0,0,100,0,3000,3000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362600,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362601,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362601,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362601,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362601,9,3,0,0,0,100,0,1000,1000,0,0,17,10,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Emote State Dance'),
(362601,9,4,0,0,0,100,0,10000,10000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Emote State None'),
(362601,9,5,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362601,9,6,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362602,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362602,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362602,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362602,9,3,0,0,0,100,0,1000,1000,0,0,5,11,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Play Emote Laugh'),
(362602,9,4,0,0,0,100,0,3000,3000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362602,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362603,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362603,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362603,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362603,9,3,0,0,0,100,0,1000,1000,0,0,5,24,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Play Emote Shy'),
(362603,9,4,0,0,0,100,0,3000,3000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362603,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362604,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362604,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362604,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362604,9,3,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Say Line 0'),
(362604,9,4,0,0,0,100,0,3000,3000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362604,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362605,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362605,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362605,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362605,9,3,0,0,0,100,0,1000,1000,0,0,5,17,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Play Emote Kiss'),
(362605,9,4,0,0,0,100,0,3000,3000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362605,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(362606,9,0,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 2'),
(362606,9,1,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted On'),
(362606,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Orientation'),
(362606,9,3,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Jenn Langston - On Script - Say Line 1'),
(362606,9,4,0,0,0,100,0,6000,6000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Event Phase 1'),
(362606,9,5,0,0,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Jenn Langston - On Script - Set Rooted Off'),
(1328,0,0,0,25,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Reset - Set Event Phase 1'),
(1328,0,1,0,22,0,100,0,5,5000,5000,0,80,362600,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Applaud - Run Script'),
(1328,0,2,0,22,0,100,0,17,5000,5000,0,80,362600,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Bow - Run Script'),
(1328,0,3,0,22,0,100,0,34,12000,12000,0,80,362601,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Dance - Run Script'),
(1328,0,4,0,22,0,100,0,41,5000,5000,0,80,362602,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Flex - Run Script'),
(1328,0,5,0,22,0,100,0,58,5000,5000,0,80,362603,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Kiss - Run Script'),
(1328,0,6,0,22,0,100,0,77,5000,5000,0,80,362604,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Rude - Run Script'),
(1328,0,7,0,22,0,100,0,84,5000,5000,0,80,362605,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Shy - Run Script'),
(1328,0,8,0,22,0,100,0,101,8000,8000,0,80,362606,0,0,0,0,0,1,0,0,0,0,0,0,0,'Elly Langston - On Received Emote Wave - Run Script');
@@ -0,0 +1,49 @@
-- Pilot Stonegear & Pilot Bellowfiz event
DELETE FROM `creature_text` WHERE `CreatureID` IN (1377, 1378);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1378,0,0,'Hey Stone, did you hear about the new steam engine old Tonkrend has been runnin on?',12,7,100,1,0,0,232,0,'Pilot Bellowfiz'),
(1378,1,0,'Do you ever think about anything other than fighting? I could circle you down on the stretch course!',12,7,100,6,0,0,234,0,'Pilot Bellowfiz'),
(1378,2,0,'Argh! You''re hopeless!',12,7,100,5,0,0,236,0,'Pilot Bellowfiz'),
(1378,3,0,'Ah, let me see. Yes probably nearing a hundred times now I''d wager!',12,7,100,273,0,0,238,0,'Pilot Bellowfiz'),
(1378,4,0,'I would have just dropped some Evershine in my tank and been back home before they realized I''d gone!',12,7,100,1,0,0,240,0,'Pilot Bellowfiz'),
(1378,5,0,'Hey Stone, let''s hit the circuit some time. We could run a few laps and see who wins?',12,7,100,1,0,0,242,0,'Pilot Bellowfiz'),
(1378,6,0,'Nothing you can say will ever get me in the arena against that monstrosity of a machine you call a steam tank!',12,7,100,274,0,0,245,0,'Pilot Bellowfiz'),
(1378,7,0,'Ha! I''m more afraid that those old holes and gashes would burst that thing and I would be showered by the shrapnel!',12,7,100,5,0,0,247,0,'Pilot Bellowfiz'),
(1378,8,0,'Nothing beats the sound of a twin-carb, fork-ring steam engine burning pure firestone!',12,7,100,1,0,0,249,0,'Pilot Bellowfiz'),
(1378,9,0,'Bah! You wouldn''t know a great steam engine if it smacked you upside the head!',12,7,100,274,0,0,251,0,'Pilot Bellowfiz'),
(1377,0,0,'Ah yes. I''ve heard all about those new flarged things. Armor was removed from the casing to decrease weight. Bargh! Nonsense!',12,7,100,1,0,0,233,0,'Pilot Stonegear'),
(1377,1,0,'Bah! By the time you got in range of old Trollplow you would be in reduced to rubble!',12,7,100,274,0,0,235,0,'Pilot Stonegear'),
(1377,2,0,'Hey Fizzer, I ever tell you the time I was riding through the canals and some goblins in shredder suits tried to ambush me?',12,7,100,1,0,0,237,0,'Pilot Stonegear'),
(1377,3,0,'Brahaha! Tha look on their faces as old Trollplow''s gun came swiveling around to meet them! Their saws couldn''t even touch me!',12,7,100,11,0,0,239,0,'Pilot Stonegear'),
(1377,4,0,'Bah! That''s no fun!',12,7,100,274,0,0,241,0,'Pilot Stonegear'),
(1377,5,0,'Aye sure, just as long as we get to hit the arena right after!',12,7,100,1,0,0,244,0,'Pilot Stonegear'),
(1377,6,0,'Har! You scared I''ll hurt your little dainty racer?',12,7,100,6,0,0,246,0,'Pilot Stonegear'),
(1377,7,0,'Haha! Sturdy old Trollplow has just a few meager battle scars!',12,7,100,11,0,0,248,0,'Pilot Stonegear'),
(1377,8,0,'Ha! I''d take the sound of a Crater Cannon XT blasting off a shell over that any day!',12,7,100,5,0,0,250,0,'Pilot Stonegear'),
(1377,9,0,'Maybe, but if it did hit me upside the head I''d know exactly which cannon to use to blow it into the smallest bits!',12,7,100,1,0,0,252,0,'Pilot Stonegear');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1377;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1377 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (137700, 137701, 137702, 137703) AND `source_type`=9;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1377,0,0,0,1,0,100,0,0,30000,60000,90000,87,137700,137701,137702,137703,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - Out Of Combat - Run Random Script'),
(137700,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 0 (Pilot Bellowfiz)'),
(137700,9,1,0,0,0,100,0,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 0'),
(137700,9,2,0,0,0,100,0,7000,7000,0,0,1,1,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 1 (Pilot Bellowfiz)'),
(137700,9,3,0,0,0,100,0,6000,6000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 1'),
(137700,9,4,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 2 (Pilot Bellowfiz)'),
(137701,9,0,0,0,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 2'),
(137701,9,1,0,0,0,100,0,7000,7000,0,0,1,3,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 3 (Pilot Bellowfiz)'),
(137701,9,2,0,0,0,100,0,4500,4500,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 3'),
(137701,9,3,0,0,0,100,0,7000,7000,0,0,1,4,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 4 (Pilot Bellowfiz)'),
(137701,9,4,0,0,0,100,0,6000,6000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 4'),
(137702,9,0,0,0,0,100,0,0,0,0,0,1,5,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 5 (Pilot Bellowfiz)'),
(137702,9,1,0,0,0,100,0,5000,5000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 5'),
(137702,9,2,0,0,0,100,0,4000,4000,0,0,1,6,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 6 (Pilot Bellowfiz)'),
(137702,9,3,0,0,0,100,0,6500,6500,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 6'),
(137702,9,4,0,0,0,100,0,4000,4000,0,0,1,7,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 7 (Pilot Bellowfiz)'),
(137702,9,5,0,0,0,100,0,6500,6500,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 7'),
(137703,9,0,0,0,0,100,0,0,0,0,0,1,8,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 8 (Pilot Bellowfiz)'),
(137703,9,1,0,0,0,100,0,5500,5500,0,0,1,8,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 8'),
(137703,9,2,0,0,0,100,0,5500,5500,0,0,1,9,0,0,0,0,0,19,1378,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 9 (Pilot Bellowfiz)'),
(137703,9,3,0,0,0,100,0,5000,5000,0,0,1,9,0,0,0,0,0,1,0,0,0,0,0,0,0,'Pilot Stonegear - On Script - Say Line 9');
@@ -0,0 +1,11 @@
-- Balgaras the --> Add More Texts
UPDATE `smart_scripts` SET `event_chance`=100 WHERE `entryorguid`=1364 AND `source_type`=0 AND `id`=1;
DELETE FROM `creature_text` WHERE `CreatureID`=1364 AND `GroupID`=0 AND `ID`>0;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(1364,0,1,'$n! Betrayer of Ragnaros!',12,6,100,0,0,0,449,0,'Balgaras the Foul'),
(1364,0,2,'The Dark Iron Dwarves shall reclaim their rightful lands!',12,6,100,0,0,0,450,0,'Balgaras the Foul'),
(1364,0,3,'Foolish $C! You are no match for the minions of Ragnaros!',12,6,100,0,0,0,451,0,'Balgaras the Foul'),
(1364,0,4,'A worthless $R such as you, $n, has no right to walk these lands!',12,6,100,0,0,0,452,0,'Balgaras the Foul'),
(1364,0,5,'$n! Prepare to meet your doom!',12,6,100,0,0,0,453,0,'Balgaras the Foul'),
(1364,0,6,'Who is this weak $C who challenges my might? Die fool!',12,6,100,0,0,0,454,0,'Balgaras the Foul'),
(1364,0,7,'I am Balgaras the Foul. And you, $n, are about to become nothing more than ash and dust.',12,6,100,0,0,0,456,0,'Balgaras the Foul');
@@ -0,0 +1,31 @@
-- Completion event for quest 'Stromgarde Badges'
DELETE FROM `creature_text` WHERE `CreatureID`=2700;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2700,0,0,"%s begins to search through the badges of fallen Stromgarde defenders...",16,0,100,0,0,0,873,0,"Captain Nials"),
(2700,1,0,"Privates Marcus, Tremane, Osgood, Lampret...",12,7,100,0,0,0,874,0,"Captain Nials"),
(2700,1,1,"Privates Fontane, MacDugal, Wilcott...",12,7,100,0,0,0,875,0,"Captain Nials"),
(2700,1,2,"Privates Theoric, Kitrin, Blythe, Agmond...",12,7,100,0,0,0,876,0,"Captain Nials"),
(2700,1,3,"Privates Horus, Tilling, Rockwell...",12,7,100,0,0,0,877,0,"Captain Nials"),
(2700,2,0,"...Sampson, Yorick, Chamley...",12,7,100,0,0,0,878,0,"Captain Nials"),
(2700,2,1,"Clemens, Bartholemew, Enderman, Wyles...",12,7,100,0,0,0,879,0,"Captain Nials"),
(2700,2,2,"Tormil, Gamlor, Shefferd, Cowry...",12,7,100,0,0,0,880,0,"Captain Nials"),
(2700,2,3,"Martens, Reblock, Adinay, Nikeson...",12,7,100,0,0,0,881,0,"Captain Nials"),
(2700,3,0,"%s sighs...",16,0,100,0,0,0,882,0,"Captain Nials"),
(2700,4,0,"So many lost. And so many more we must lose before this battle ends.",12,0,100,1,0,0,883,0,"Captain Nials"),
(2700,5,0,"Thank you for these badges, $n. I will send news to the families of the deceased.",12,0,100,1,0,0,884,0,"Captain Nials");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2700;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2700 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=270000 AND `source_type`=9;
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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2700,0,0,0,20,0,100,0,26095,0,0,0,80,270000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Captain Nials - On Quest \'Stromgarde Badges\' Finished - Run Script'),
(270000,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Remove Npc Flag Questgiver+Gossip"),
(270000,9,1,0,0,0,100,0,1000,1000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Set Emote State 69"),
(270000,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 0"),
(270000,9,3,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 1"),
(270000,9,4,0,0,0,100,0,4500,4500,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 2"),
(270000,9,5,0,0,0,100,0,3000,3000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Set Emote State 0"),
(270000,9,6,0,0,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 3"),
(270000,9,7,0,0,0,100,0,1000,1000,0,0,1,4,0,0,0,0,0,7,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 4"),
(270000,9,8,0,0,0,100,0,5000,5000,0,0,1,5,0,0,0,0,0,7,0,0,0,0,0,0,0,"Captain Nials - On Script - Say Line 5"),
(270000,9,9,0,0,0,100,0,3000,3000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Nials - On Script - Add Npc Flag Questgiver+Gossip");
@@ -0,0 +1,4 @@
-- Professor Phizzlethorpe --> Add another text
DELETE FROM `creature_text` WHERE `CreatureID`=2768 AND `GroupID`=4 AND `ID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2768,4,1,"Help!! I told you this place was cursed!",12,0,100,0,0,0,858,0,"Professor Phizzlethorpe");
@@ -0,0 +1,8 @@
-- Princess Poobah
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2634;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2634 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2634,0,0,0,20,0,100,0,26603,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Princess Poobah - On Quest \'Message in a Bottle\' Finished - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=2634;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2634,0,0,"Thank you again for your aid. May the wind always be at your back during your travels.",12,0,100,2,0,0,765,0,"Princess Poobah");
@@ -0,0 +1,2 @@
-- Stalvan Mistmantle Talk on Aggro
UPDATE `smart_scripts` SET `event_chance`=100 WHERE `entryorguid`=315 AND `source_type`=0 AND `id`=0;