TDB 4.3.4.25 2017/12/17

This commit is contained in:
Aokromes committed 2017-12-17 14:47:08 +01:00
1 parent 83bee6000b
commit a70cb93038
158 files changed
+8 -1

No files matched your search

@@ -0,0 +1,2 @@
-- TDB 4.3.4-24 auth database
UPDATE `updates` SET `state`='ARCHIVED';
@@ -0,0 +1,2 @@
--
UPDATE `rbac_linked_permissions` SET `id` = 197 WHERE `linkedId` = 501;
@@ -0,0 +1,2 @@
-- TDB 4.3.4-24 characters database
UPDATE `updates` SET `state`='ARCHIVED';
@@ -0,0 +1,41 @@
/*Table structure for table `character_archaeology_completed` */
DROP TABLE IF EXISTS `character_archaeology_completed`;
CREATE TABLE `character_archaeology_completed` (
`guid` int(10) unsigned NOT NULL,
`project` smallint(5) unsigned NOT NULL,
`time` int(10) NOT NULL,
`count` int(10) NOT NULL,
PRIMARY KEY (`guid`,`project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `character_archaeology_completed` */
/*Table structure for table `character_archaeology_projects` */
DROP TABLE IF EXISTS `character_archaeology_projects`;
CREATE TABLE `character_archaeology_projects` (
`guid` int(10) unsigned NOT NULL,
`branch` tinyint(3) unsigned NOT NULL,
`project` mediumint(8) unsigned NOT NULL,
PRIMARY KEY (`guid`,`branch`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `character_archaeology_projects` */
/*Table structure for table `character_archaeology_sites` */
DROP TABLE IF EXISTS `character_archaeology_sites`;
CREATE TABLE `character_archaeology_sites` (
`guid` int(10) unsigned NOT NULL,
`site` tinyint(3) unsigned NOT NULL,
`type` smallint(5) unsigned NOT NULL,
`finds` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`guid`,`site`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `character_archaeology_sites` */
@@ -0,0 +1,9 @@
DROP TABLE IF EXISTS `auctionbidders`;
CREATE TABLE `auctionbidders` (
`id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`bidderguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`id`, `bidderguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `auctionbidders` (`id`, `bidderguid`)
SELECT DISTINCT `id`, `buyguid` FROM `auctionhouse` WHERE `buyguid` != 0;
@@ -0,0 +1,3 @@
UPDATE `version` SET `db_version`='TDB 434.24', `cache_id`=24 LIMIT 1;
UPDATE `updates` SET `state`='ARCHIVED';
@@ -0,0 +1,4 @@
--
DELETE FROM `gameobject` WHERE `guid` = 200628;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `PhaseId`, `PhaseGroup`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(200628, 207325, 530, 3487, 0, 1, 169, 0, 9665.519, -7153.061, 14.25123, 5.480334, 0, 0, -0.3907309, 0.920505, 120, 255, 1, 14545); -- 207325 (Area: 0 - Difficulty: 0)
@@ -0,0 +1 @@
UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry` IN (50047);
@@ -0,0 +1,3 @@
--
DELETE FROM `gameobject_addon` WHERE `guid` IN (SELECT `guid` FROM `gameobject` WHERE `id` IN (208046, 19535, 209282, 208815, 202361, 185600, 181583, 181584, 182582, 182585, 183768, 184078, 184124, 184736, 184794, 184797, 184801, 184835, 184868, 184871, 184872, 185878, 183386, 183997, 19535, 185018, 184578, 184265, 181913, 186431, 190661, 185563, 201368, 178984, 209282, 177606, 177045, 186330, 176591, 176865, 201593, 208815, 195346, 202361, 180583,2061,2066,31442,179900,184843,191485,191370,190195,181376,203449, 178187, 178188, 178189, 178190, 178191, 178192, 178193));
DELETE FROM `gameobject` WHERE `id` IN (208046, 19535, 209282, 208815, 202361, 185600, 181583, 181584, 182582, 182585, 183768, 184078, 184124, 184736, 184794, 184797, 184801, 184835, 184868, 184871, 184872, 185878, 183386, 183997, 19535, 185018, 184578, 184265, 181913, 186431, 190661, 185563, 201368, 178984, 209282, 177606, 177045, 186330, 176591, 176865, 201593, 208815, 195346, 202361, 180583,2061,2066,31442,179900,184843,191485,191370,190195,181376,203449, 178187, 178188, 178189, 178190, 178191, 178192, 178193);
@@ -0,0 +1,28 @@
-- Removing unnecessary requirement:
-- Player should be able to get @QUEST_MURDER_WAS_THE_CASE_THEY_GAVE_ME without having to complete
-- @QUEST_HEROS_CALL_WESTFALL_OBTAINED_FROM_NPC or @QUEST_HEROS_CALL_WESTFALL_OBTAINED_FROM_HCB
UPDATE `quest_template` SET `RewardNextQuest` = 0 WHERE `id` IN ( 26378, 28562 );
UPDATE `quest_template_addon` SET `NextQuestId` = 0 WHERE `id` IN ( 26378, 28562 );
-- But Player should NOT be able to get either quest if he has already completed the quest 'Murder Was The Case They Gave Me'
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (26378, 28562);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
( 19, 0, 26378, 0, 0, 8, 0, 26209, 0, 0, 1, 0, 0, '', 'Checks if Player has not been rewarded quest' ),
( 19, 0, 28562, 0, 0, 8, 0, 26209, 0, 0, 1, 0, 0, '', 'Checks if Player has not been rewarded quest' );
-- Fixing QuestType which was set incorrectly to '1' thus disabling the quest
UPDATE `quest_template` SET `QuestType` = 2 WHERE `id` = 28562;
-- Removing unnecessary requirement. Player should be able to get the quests
-- @QUEST_THE_FORSAKEN_FROM_NPC and @QUEST_THE_FORSAKEN_FROM_WCB without having to complete @QUEST_WARCHIEFS_COMMAND_GHOSTLANDS beforehand.
UPDATE `quest_template` SET `RewardNextQuest` = 0 WHERE `id` = 28560;
UPDATE `quest_template_addon` SET `PrevQuestId` = 0 WHERE `id` IN (9327, 9329);
-- But the Player should NOT be able to get the quest @QUEST_WARCHIEFS_COMMAND_GHOSTLANDS
-- if he has already completed @QUEST_THE_FORSAKEN_FROM_NPC or @QUEST_THE_FORSAKEN_FROM_WCB
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry` IN (28560);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 28560, 0, 0, 8, 0, 9327, 0, 0, 1, 0, 0, '', 'Makes quest available if-and-only-if Player has not completed another quest beforehand' ),
(19, 0, 28560, 0, 1, 8, 0, 9329, 0, 0, 1, 0, 0, '', 'Makes quest available if-and-only-if Player has not completed another quest beforehand' );
@@ -0,0 +1,6 @@
--
DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (6620);
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(6620, 0, 0, "Trick or Treat!", 10693, 1, 1, 0, 0, 0, 0, "", 0, 0),
(6620, 1, 5, "Make this inn your home.", 2822, 8, 65536, 0, 0, 0, 0, "", 0, 0),
(6620, 2, 1, "I want to browse your goods.", 3370, 3, 128, 0, 0, 0, 0, "", 0, 0);
@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `spell3`=0, `spell7`=54788 WHERE `entry` IN (29602);
@@ -0,0 +1,7 @@
/*
--
UPDATE `gameobject` SET `position_x`=-9202.341, `position_y`=-2442.0495, `position_z`=58.6061, `orientation`=0.431121 WHERE `guid`=5236;
UPDATE `gameobject` SET `position_x`=-9143.816, `position_y`=-2506.8930, `position_z`=118.587, `orientation`=4.210773 WHERE `guid`=1537;
UPDATE `gameobject` SET `position_x`=-9603.038, `position_y`=-1909.8031, `position_z`=61.5558, `orientation`=4.150383 WHERE `guid`=1740;
UPDATE `gameobject` SET `position_x`=-9752.696, `position_y`=-1765.9846, `position_z`=52.6211, `orientation`=0.900624 WHERE `guid`=1374;
*/
@@ -0,0 +1,18 @@
--
SET @ENTRY := 24972;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY,0,0,0,8,0,100,1,44997,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - On Spellhit 'Converting Sentry' - Despawn Instant"),
(@ENTRY,0,1,0,0,0,100,0,5000,9000,13000,20000,86,35856,1,2,0,0,0,2,0,0,0,0,0,0,0,"Erratic Sentry - In Combat - Cross Cast 'stunn'"),
(@ENTRY,0,2,0,0,0,100,0,5500,6700,11200,16700,11,33688,0,0,0,0,0,2,0,0,0,0,0,0,0,"Erratic Sentry - In Combat - Cast 'Crystal Strike'"),
(@ENTRY,0,3,0,0,0,100,0,8000,12000,8000,12000,11,35892,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - In Combat - Cast 'Suppression'"),
(@ENTRY,0,4,5,2,0,100,1,0,50,0,0,11,45014,1,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - Between 0-50% Health - Cast 'Capacitor Overload' (No Repeat)"),
(@ENTRY,0,5,6,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - Between 0-50% Health - Say Line 0 (No Repeat)"),
(@ENTRY,0,6,0,61,0,100,0,0,0,0,0,75,44986,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - Between 0-50% Health - add aura Broken Capacitor"),
(@ENTRY,0,7,8,2,0,100,0,95,99,2000,2000,28,44994,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - Between 95% - 100% health - Remove aura 'Self repair'"),
(@ENTRY,0,8,0,61,0,100,0,0,0,0,0,28,44986,0,0,0,0,0,1,0,0,0,0,0,0,0,"Erratic Sentry - Between 95% - 100% health - Remove aura 'Broken Capacitor'");
DELETE FROM `creature_text` WHERE `CreatureID`=24972;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(24972, 0, 0, "Core overload detected. System malfunction detected...", 12, 0, 100, 0, 0, 0, 24008, 0, "Erratic Sentry" );
@@ -0,0 +1,13 @@
--
UPDATE `smart_scripts` SET `event_param1`=2000, `event_param2`=2000, `event_param3`=2000,`event_param4`=2000 WHERE `entryorguid` IN (3021900,3021901,3021902) AND `source_type`=9 AND `id`=5;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=30222;
DELETE FROM `smart_scripts` WHERE `entryorguid`=30222 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
(30222,0,0,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stormforged Infiltrator - On Just Summoned - Say Line 0"),
(30222,0,1,0,6,0,100,0,0,0,0,0,41,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stormforged Infiltrator - On Just Died - Despawn Ethereal Frostwarg");
DELETE FROM `creature_text` WHERE `CreatureID`=30222;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(30222,0,0,"Found me, did ya? Now ya gotta die!",12,0,100,0,0,0,30916,0,"Stormforged Infiltrator"),
(30222,0,1,"Die, friend of the frost!",12,0,100,0,0,0,30917,0,"Stormforged Infiltrator"),
(30222,0,2,"You won't live to speak of this!",12,0,100,0,0,0,30918,0,"Stormforged Infiltrator");
@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=26878 AND `source_type`=0 AND `id`=1;
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
(26878,0,1,0,19,0,100,0,12440,0,0,0,11,49511,0,0,0,0,0,7,0,0,0,0,0,0,0,"Rodney Wells - On Quest 'To Stars' Rest!' Taken - Invoker Cast 'Gryphon Taxi to Stars' Rest'");
@@ -0,0 +1,15 @@
--
DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid` IN (185937,185938,185936,185932);
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
(185932, 1, 0, 1, 62, 0, 100, 0, 8685, 0, 0, 0, 85, 41035, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Obsidia\'s Egg - On Gossip Option 0 Selected - Invoker Cast 41035 Four Dragons: Force Cast - Obsidia'),
(185932, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Obsidia\'s Egg - On Gossip Option 0 Selected - Close Gossip'),
(185932, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 70, 300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Obsidia\'s Egg - On Gossip Option 0 Selected - Despawn GO'),
(185936, 1, 0, 1, 62, 0, 100, 0, 8689, 0, 0, 0, 85, 41044, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Rivendark\'s Egg - On Gossip Option 0 Selected - Invoker cast Four Dragons: Force Cast - Rivendark'),
(185936, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Rivendark\'s Egg - On Gossip Option 0 Selected - Close Gossip'),
(185936, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 70, 300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Rivendark\'s Egg - On Gossip Option 0 Selected - Despawn GO'),
(185937, 1, 0, 1, 62, 0, 100, 0, 8690, 0, 0, 0, 85, 41050, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Furywing\'s Egg - On Gossip Option 0 Selected - Invoker cast Four Dragons: Force Cast - Furywing'),
(185937, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Furywing\'s Egg - On Gossip Option 0 Selected - Close Gossip'),
(185937, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 70, 300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Furywing\'s Egg - On Gossip Option 0 Selected - Despawn GO'),
(185938, 1, 0, 1, 62, 0, 100, 0, 8691, 0, 0, 0, 85, 41052, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Insidion\'s Egg - On Gossip Option 0 Selected - Invoker cast Four Dragons: Force Cast - Insidion'),
(185938, 1, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Insidion\'s Egg - On Gossip Option 0 Selected - Close Gossip'),
(185938, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 70, 300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Insidion\'s Egg - On Gossip Option 0 Selected - Despawn GO');
@@ -0,0 +1,6 @@
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=47542;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 47542, 0, 0, 29, 0, 26855, 10, 0, 0, 0, 0, "", "Spell 'Draw Power' can be used within 10 yards of 'East Stone' OR"),
(17, 0, 47542, 0, 1, 29, 0, 26856, 10, 0, 0, 0, 0, "", "Spell 'Draw Power' can be used within 10 yards of 'North Stone' OR"),
(17, 0, 47542, 0, 2, 29, 0, 26857, 10, 0, 0, 0, 0, "", "Spell 'Draw Power' can be used within 10 yards of 'South Stone'");
@@ -0,0 +1,33 @@
UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`=25201;
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=187373;
UPDATE `gameobject` SET `spawntimesecs`=2 WHERE `id`=187373;
UPDATE `creature` SET `spawntimesecs`=120 WHERE `id`=25201;
DELETE FROM `smart_scripts` WHERE `entryorguid` =187373 and `source_type`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid` =25201 and `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` =18737300 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
(187373, 1, 0 ,1,70, 0, 100, 0, 2, 0, 0,0,64,1,0,0,0,0,0,7,0,0,0,0, 0, 0, 0, 'Cage - On State Changed - Store Targetlist'),
(187373, 1, 1 ,0,61, 0, 100, 0, 0, 0, 0,0,80,18737300,0,0,0,0,0,1,0,0,0,0, 0, 0, 0, 'Cage - On State Changed - Run Script'),
(25201, 0, 0 ,1,38, 0, 100, 0, 1, 1, 0,0,33,25201,0,0,0,0,0,12,1,0,0,0, 0, 0, 0, 'Winterfin Tadpole - Linked with Previous Event - Kill Credit'),
(25201, 0, 1 ,2,61, 0, 100, 0, 0, 0, 0,0,29,0,0,0,0,0,0,12,1,0,0,0, 0, 0, 0, 'Winterfin Tadpole - Linked with Previous Event - Move Foward'),
(25201, 0, 2 ,3,61, 0, 100, 0, 0, 0, 0,0,48,1,0,0,0,0,0,1,0,0,0,0, 0, 0, 0, 'Winterfin Tadpole - Linked with Previous Event - Set Active'),
(25201, 0, 3 ,4,61, 0, 100, 0, 0, 0, 0,0,1,0,0,0,0,0,0,12,1,0,0,0, 0, 0, 0, 'Winterfin Tadpole - Linked with Previous Event - Say'),
(25201, 0, 4 ,0,61, 0, 100, 0, 0, 0, 0,0,41,60000,0,0,0,0,0,1,0,0,0,0, 0, 0, 0, 'Winterfin Tadpole - Linked with Previous Event - Despawn after 2 seconds'),
(25201, 0, 5 ,0,11, 0, 100, 0, 0, 0, 0,0,70,0,0,0,0,0,0,20,187373,0,0,0, 0, 0, 0, 'Winterfin Tadpole - On Respawn - Respawn Cage'),
(18737300, 9, 0 ,0, 0, 0, 100, 0, 0, 0, 0,0,100,1,0,0,0,0,0,9,25201,0,5,0, 0, 0, 0, 'Cage - Script - Send Targetlist'),
(18737300, 9, 1 ,0, 0, 0, 100, 0, 0, 0, 0,0,45,1,1,0,0,0,0,9,25201,0,5,0, 0, 0, 0, 'Cage - Script - Set Data');
DELETE FROM `creature_text` WHERE `CreatureID`=25201;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(25201, 0, 0, '$G Da-da : Ma-ma;?', 12, 0, 100, 0, 0, 0, 24446, 0, 'Winterfin Tadpole'),
(25201, 0, 1, 'Alurglgl.', 12, 0, 100, 0, 0, 0, 24447, 0, 'Winterfin Tadpole'),
(25201, 0, 2, 'Me go home?', 12, 0, 100, 0, 0, 0, 24448, 0, 'Winterfin Tadpole'),
(25201, 0, 3, 'Play!', 12, 0, 100, 0, 0, 0, 24449, 0, 'Winterfin Tadpole'),
(25201, 0, 4, 'You not $g da-da : ma-ma;!', 12, 0, 100, 0, 0, 0, 24457, 0, 'Winterfin Tadpole');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`IN(25201,187373);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 25201, 0, 0, 36, 1, 0, 0, 0, 0, 0, '','Only execute SAI if alive'),
(22, 1, 187373, 1, 0, 9, 0, 11560, 0, 0, 0, 0, '', 'Only run SAI if Player has Oh Noes, the Tadpoles taken but not complete');
@@ -0,0 +1,7 @@
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=42564;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 42564, 0, 0, 29, 0, 23921, 20, 0, 0, 0, 0, "", "Spell 'Ever-burning Torch' can be used within 20 yards of 'Halgrind Torch Bunny 01' OR"),
(17, 0, 42564, 0, 1, 29, 0, 23922, 20, 0, 0, 0, 0, "", "Spell 'Ever-burning Torch' can be used within 20 yards of 'Halgrind Torch Bunny 02' OR"),
(17, 0, 42564, 0, 2, 29, 0, 23923, 20, 0, 0, 0, 0, "", "Spell 'Ever-burning Torch' can be used within 20 yards of 'Halgrind Torch Bunny 03' OR"),
(17, 0, 42564, 0, 3, 29, 0, 23924, 20, 0, 0, 0, 0, "", "Spell 'Ever-burning Torch' can be used within 20 yards of 'Halgrind Torch Bunny 04'");
@@ -0,0 +1,56 @@
--
-- Quest "Chieftain Oomooroo"
-- Stillpine the Younger
DELETE FROM `creature_text` WHERE `CreatureID`=17445;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17445,0,0,"Stillpine raiders, the time to strike is at hand! Charge!",14,0,100,0,0,0,14038,0,"Stillpine the Younger");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17445;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17445 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1744500 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
(17445,0,0,0,20,0,100,0,9573,0,0,0,80,1744500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stillpine the Younger - On Quest 'Chieftain Oomooroo' Finished - Run Script"),
(1744500,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stillpine the Younger - On Script - Say Line 0"),
(1744500,9,1,0,0,0,100,0,2000,2000,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3367.84,-12424.6,26.1425,1.85513,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,2,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3363.8,-12428.6,27.3273,1.98472,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,3,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3364.07,-12432.9,27.338,1.9965,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,4,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3360.59,-12433.1,28.084,2.08289,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,5,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3356.08,-12434.3,29.6136,2.49915,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,6,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3357.16,-12430.5,28.9967,2.46774,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,7,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3355.98,-12438.2,29.8503,2.46224,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,8,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3350.3,-12437.5,32.3999,2.41119,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,9,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3348.27,-12442.5,34.3653,2.58005,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'"),
(1744500,9,10,0,0,0,100,0,0,0,0,0,12,17495,6,30000,0,0,0,8,0,0,0,-3344.08,-12441.7,36.8811,2.36014,"Stillpine the Younger - On Script - Summon Creature 'Stillpine Raider'");
-- Stillpine Raider
DELETE FROM `smart_scripts` WHERE `entryorguid`=17495 AND `source_type`=0 AND `id`>0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1749500 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
(17495,0,1,0,54,0,100,0,0,0,0,0,53,1,17495,0,0,0,2,1,0,0,0,0,0,0,0,"Stillpine Raider - On Just Summoned - Start Waypoint"),
(17495,0,2,0,54,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stillpine Raider - On Just Summoned - Set Active On"),
(17495,0,3,0,40,0,100,0,21,17495,0,0,89,15,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stillpine Raider - On Waypoint 20 Reached - Start Random Movement"),
(17495,0,4,0,40,0,100,0,21,17495,0,0,41,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stillpine Raider - On Waypoint 20 Reached - Despawn in 10000 ms");
DELETE FROM `waypoints` WHERE `entry`=17495;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(17495,1,-3374.06,-12411.8,22.0504,""),
(17495,2,-3404.94,-12368.4,17.7868,""),
(17495,3,-3377.49,-12350.4,22.4495,""),
(17495,4,-3328.89,-12346,22.9951,""),
(17495,5,-3305.27,-12346.2,24.0911,""),
(17495,6,-3278.58,-12347.7,19.2297,""),
(17495,7,-3259.37,-12359.1,13.5547,""),
(17495,8,-3248.81,-12373.3,10.5433,""),
(17495,9,-3239.23,-12391.4,10.4531,""),
(17495,10,-3237.35,-12418.7,14.692,""),
(17495,11,-3234.66,-12427.5,16.3937,""),
(17495,12,-3225.87,-12435.1,19.1127,""),
(17495,13,-3202.85,-12463.4,14.6165,""),
(17495,14,-3190.47,-12461.7,13.2373,""),
(17495,15,-3182.54,-12456.9,13.0909,""),
(17495,16,-3177.36,-12452.2,13.0143,""),
(17495,17,-3172.53,-12443.2,12.1312,""),
(17495,18,-3158.44,-12436.1,12.0219,""),
(17495,19,-3143.65,-12438.1,10.1409,""),
(17495,20,-3097.4,-12464.2,3.13821,""),
(17495,21,-3079.57,-12477.1,0.0367675,"");
@@ -0,0 +1,5 @@
--
SET @OGUID := 200629;
DELETE FROM `gameobject` WHERE `guid`=@OGUID;
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`PhaseId`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
(@OGUID,195206,1,1,169,-1161.73, -3605.03, 93.5951, -1.58825,0, 0, -0.71325, 0.70091, 300, 100, 1);
@@ -0,0 +1,2 @@
--
DELETE FROM `creature` WHERE `guid` = 310216;
@@ -0,0 +1,2 @@
--
DELETE FROM `gameobject` WHERE `guid`=99909 AND `id`=181630;
@@ -0,0 +1,6 @@
-- Maggran Earthbinder --> Add Gossip Text
UPDATE `creature_template` SET `gossip_menu_id`=4271 WHERE `entry`=11860;
DELETE FROM `gossip_menu` WHERE `MenuID`=4271;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(4271,5443,0);
@@ -0,0 +1,6 @@
-- Mor'rogal --> Add Gossip Text
UPDATE `creature_template` SET `gossip_menu_id`=4721 WHERE `entry`=11861;
DELETE FROM `gossip_menu` WHERE `MenuID`=4721;
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(4721,5773,0);
@@ -0,0 +1,10 @@
-- Hezrul Bloodmark
DELETE FROM `smart_scripts` WHERE `entryorguid`=3396 AND `source_type`=0 AND `id`=1;
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
(3396,0,1,0,1,0,100,0,5000,10000,25000,35000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hezrul Bloodmark - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=3396;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3396,0,0,"Stand straight! Your weakness sickens me!",12,0,100,0,0,0,4854,0,"Hezrul Bloodmark"),
(3396,0,1,"Be alert! The orcs and their allies are close!",12,0,100,0,0,0,4855,0,"Hezrul Bloodmark"),
(3396,0,2,"Look fierce! You are Kolkar, so act like one!",12,0,100,0,0,0,4856,0,"Hezrul Bloodmark");
@@ -0,0 +1,22 @@
/*
-- Cannoneer Smythe & Cannoneer Whessan
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3454,3455) AND `source_type`=0 AND `id`=1;
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
(3454,0,1,0,1,0,100,0,1000,15000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cannoneer Smythe - Out of Combat - Say Line 0"),
(3455,0,1,0,1,0,100,0,75000,90000,150000,180000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cannoneer Smythe - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID` IN (3454,3455);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3454,0,0,"Frigate Ho! 'Tis an Orc vessel no doubt! Fire!",14,0,100,5,0,0,1051,0,"Cannoneer Smythe"),
(3454,0,1,"What's that on the horizon? Enemy ship no doubt! Fire!",14,0,100,5,0,0,1052,0,"Cannoneer Smythe"),
(3454,0,2,"Sails on the eastern horizon. Invaders no doubt! Fire!",14,0,100,5,0,0,1053,0,"Cannoneer Smythe"),
(3454,0,3,"What was that? Sea giant? Better safe than sorry. Fire!",14,0,100,5,0,0,1055,0,"Cannoneer Smythe"),
(3454,0,4,"There's something out there. Let loose a warning round!",14,0,100,5,0,0,1054,0,"Cannoneer Smythe"),
(3454,0,5,"Enemy fleet yonder! Fire!",14,0,100,5,0,0,1057,0,"Cannoneer Smythe"),
(3455,0,0,"Enemy ho! Fire!",14,0,100,5,0,0,1056,0,"Cannoneer Whessan"),
(3455,0,1,"Marauders to the north! Fire!",14,0,100,5,0,0,1058,0,"Cannoneer Whessan"),
(3455,0,2,"Inland invaders! Fire!",14,0,100,5,0,0,1059,0,"Cannoneer Whessan"),
(3455,0,3,"Enemy spotted! Fire!",14,0,100,5,0,0,1060,0,"Cannoneer Whessan"),
(3455,0,4,"Raiders from the northwest! Fire!",14,0,100,5,0,0,1061,0,"Cannoneer Whessan"),
(3455,0,5,"Raiding party over yonder! Fire!",14,0,100,5,0,0,1062,0,"Cannoneer Whessan");
*/
@@ -0,0 +1,48 @@
/*
-- Pathing for Rocklance
UPDATE `creature` SET `position_x`=-1201.63, `position_y`=-3099.24, `position_z`=94.8781, `spawndist`=0, `MovementType`=2 WHERE `guid`=20720;
UPDATE `creature` SET `position_x`=-1198.92, `position_y`=-3101.53, `position_z`=94.8262, `spawndist`=0, `MovementType`=0 WHERE `guid`=14007;
UPDATE `creature` SET `position_x`=-1198.8, `position_y`=-3096.75, `position_z`=94.5592, `spawndist`=0, `MovementType`=0 WHERE `guid`=20588;
DELETE FROM `creature_addon` WHERE `guid`=20720;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(20720,207200,0,0,1,0,"");
DELETE FROM `creature_formations` WHERE `leaderGUID`=20720;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(20720,20720,0,0,515,0,0),
(20720,14007,3,330,515,0,0),
(20720,20588,3,60,515,0,0);
DELETE FROM `waypoint_data` WHERE `id`=207200;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(207200,1,-1201.63,-3099.24,94.8781,0,0,0,0,100,0),
(207200,2,-1219.21,-3099.76,95.241,0,0,0,0,100,0),
(207200,3,-1272.76,-3089.53,93.8928,0,0,0,0,100,0),
(207200,4,-1315.08,-3106.5,91.7995,0,0,0,0,100,0),
(207200,5,-1330.48,-3095.55,92.4438,0,0,0,0,100,0),
(207200,6,-1341.49,-3060.61,92.6899,0,0,0,0,100,0),
(207200,7,-1354.4,-3030.3,93.3309,0,0,0,0,100,0),
(207200,8,-1386.31,-3005.86,93.1475,0,0,0,0,100,0),
(207200,9,-1430.19,-2974.08,93.1218,0,0,0,0,100,0),
(207200,10,-1436.49,-2943.46,91.668,0,0,0,0,100,0),
(207200,11,-1436.75,-2920.35,92.5429,0,0,0,0,100,0),
(207200,12,-1410.03,-2893.52,93.1282,0,0,0,0,100,0),
(207200,13,-1388.5,-2866.72,94.5754,0,0,0,0,100,0),
(207200,14,-1360.27,-2850.79,94.705,0,0,0,0,100,0),
(207200,15,-1332.8,-2857.77,93.5965,0,0,0,0,100,0),
(207200,16,-1288.33,-2870.37,93.0108,0,0,0,0,100,0),
(207200,17,-1265.32,-2850.79,94.069,0,0,0,0,100,0),
(207200,18,-1239.87,-2834.24,94.41,0,0,0,0,100,0),
(207200,19,-1219.09,-2834.03,93.9937,0,0,0,0,100,0),
(207200,20,-1194.71,-2865.09,93.5771,0,0,0,0,100,0),
(207200,21,-1170.2,-2886.21,94.3522,0,0,0,0,100,0),
(207200,22,-1146.43,-2925.68,93.1956,0,0,0,0,100,0),
(207200,23,-1123.47,-2957.35,92.8819,0,0,0,0,100,0),
(207200,24,-1114.24,-2966.51,92.4826,0,0,0,0,100,0),
(207200,25,-1111.46,-3018.12,94.8292,0,0,0,0,100,0),
(207200,26,-1101.72,-3047.27,93.4784,0,0,0,0,100,0),
(207200,27,-1123.65,-3070.33,91.8408,0,0,0,0,100,0),
(207200,28,-1147.38,-3076.85,92.3126,0,0,0,0,100,0),
(207200,29,-1177.95,-3082.89,92.8266,0,0,0,0,100,0);
*/
@@ -0,0 +1,77 @@
/*
-- Pathing for Wooly Kodo
UPDATE `creature` SET `position_x`=-2891.01, `position_y`=-2150.02, `position_z`=94.2478, `spawndist`=0, `MovementType`=2 WHERE `guid`=15144;
UPDATE `creature` SET `position_x`=-2895.78, `position_y`=-2158.99, `position_z`=91.6667, `spawndist`=0, `MovementType`=0 WHERE `guid`=15142;
UPDATE `creature` SET `position_x`=-2876.98, `position_y`=-2149.49, `position_z`=92.9047, `spawndist`=0, `MovementType`=0 WHERE `guid`=15141;
UPDATE `creature` SET `position_x`=-2878.42, `position_y`=-2160.61, `position_z`=92.0229 WHERE `guid`=15135;
DELETE FROM `creature_addon` WHERE `guid`=15144;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(15144,151440,0,0,0,0,"");
DELETE FROM `creature_formations` WHERE `leaderGUID`=15144;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(15144,15144,0,0,512,0,0),
(15144,15135,15,0,512,0,0),
(15144,15142,12,270,512,0,0),
(15144,15141,9,60,512,0,0);
DELETE FROM `waypoint_data` WHERE `id`=151440;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(151440,1,-2891.01,-2150.02,94.2478,0,0,0,0,100,214004),
(151440,2,-2903.93,-2136.42,95.657,0,0,0,0,100,214006),
(151440,3,-2921.7,-2112.77,95.5313,0,0,0,0,100,214008),
(151440,4,-2928.01,-2071.33,96.0166,0,0,0,0,100,214012),
(151440,5,-2928.91,-2050.84,95.785,0,0,0,0,100,214014),
(151440,6,-2926.84,-2041.01,96.3781,0,0,0,0,100,214015),
(151440,7,-2923.56,-2034.24,96.0931,0,0,0,0,100,214016),
(151440,8,-2915.72,-2026.93,95.6855,0,0,0,0,100,214017),
(151440,9,-2905.62,-2021.31,93.4736,0,0,0,0,100,214018),
(151440,10,-2896.02,-2017.06,91.7219,0,0,0,0,100,214019),
(151440,11,-2881.85,-2010.83,91.8045,0,0,0,0,100,214021),
(151440,12,-2872.75,-2008.67,92.7372,0,0,0,0,100,214023),
(151440,13,-2860.24,-2009.61,94.2234,0,0,0,0,100,214025),
(151440,14,-2850.68,-2007.45,95.3112,0,0,0,0,100,214027),
(151440,15,-2837.95,-2001.67,96.0295,0,0,0,0,100,214029),
(151440,16,-2798.05,-1973.73,93.4632,0,0,0,0,100,214037),
(151440,17,-2775.55,-1955.8,94.3558,0,0,0,0,100,214042),
(151440,18,-2770.03,-1954.5,94.3486,0,0,0,0,100,214043),
(151440,19,-2737.42,-1955.19,94.2536,0,0,0,0,100,214048),
(151440,20,-2710.84,-1959.71,96.7887,0,0,0,0,100,214052),
(151440,21,-2667.95,-1973.89,97.7269,0,0,0,0,100,214060),
(151440,22,-2649.13,-1983.14,98.7822,0,0,0,0,100,214062),
(151440,23,-2640.2,-1988.65,97.8667,0,0,0,0,100,214064),
(151440,24,-2613.39,-2005.2,91.7337,0,0,0,0,100,214068),
(151440,25,-2554.57,-2041.31,92.0596,0,0,0,0,100,214076),
(151440,26,-2525.49,-2064.46,93.7675,0,0,0,0,100,214080),
(151440,27,-2520.19,-2075.43,93.7559,0,0,0,0,100,214082),
(151440,28,-2518.56,-2091.79,93.4852,0,0,0,0,100,214084),
(151440,29,-2521.19,-2119.21,92.1279,0,0,0,0,100,214087),
(151440,30,-2523.41,-2133.03,95.6538,0,0,0,0,100,214089),
(151440,31,-2523.99,-2157.74,96.1462,0,0,0,0,100,214092),
(151440,32,-2513.76,-2189.22,96.6454,0,0,0,0,100,214095),
(151440,33,-2511.82,-2202.38,95.8735,0,0,0,0,100,214097),
(151440,34,-2511.2,-2208.1,94.7895,0,0,0,0,100,214098),
(151440,35,-2512.97,-2220.95,92.1185,0,0,0,0,100,214099),
(151440,36,-2517,-2236.07,92.0664,0,0,0,0,100,214102),
(151440,37,-2526.55,-2255.15,94.2318,0,0,0,0,100,214105),
(151440,38,-2532.38,-2268.06,95.292,0,0,0,0,100,214107),
(151440,39,-2541.75,-2277.29,95.0165,0,0,0,0,100,214109),
(151440,40,-2564.64,-2288.88,92.3051,0,0,0,0,100,214111),
(151440,41,-2598.33,-2299.11,91.6696,0,0,0,0,100,214115),
(151440,42,-2623.49,-2294.38,93.5493,0,0,0,0,100,214119),
(151440,43,-2652.46,-2282.06,91.8607,0,0,0,0,100,214124),
(151440,44,-2707.78,-2258.55,91.6669,0,0,0,0,100,214133),
(151440,45,-2712.81,-2253.49,93.2486,0,0,0,0,100,214134),
(151440,46,-2719.92,-2249.24,94.5715,0,0,0,0,100,214135),
(151440,47,-2722.89,-2247.63,93.545,0,0,0,0,100,214136),
(151440,48,-2727.47,-2243.92,91.6671,0,0,0,0,100,214137),
(151440,49,-2742.73,-2228.33,92.8483,0,0,0,0,100,214140),
(151440,50,-2753.01,-2206.2,96.3717,0,0,0,0,100,214143),
(151440,51,-2786.31,-2184.29,95.7868,0,0,0,0,100,214148),
(151440,52,-2826.44,-2175.95,96.4113,0,0,0,0,100,214153),
(151440,53,-2833.23,-2174.24,95.3236,0,0,0,0,100,214154),
(151440,54,-2840.01,-2172.53,92.9766,0,0,0,0,100,214155),
(151440,55,-2850.23,-2170.11,91.6667,0,0,0,0,100,214156),
(151440,56,-2874.56,-2162.59,92.2099,0,0,0,0,100,214159);
*/
@@ -0,0 +1,19 @@
/*
-- Tsunaman
UPDATE `creature` SET `position_x`=824.854, `position_y`=933.05, `position_z`=155.485, `orientation`=2.16375 WHERE `guid`=29247;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11862;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11862 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1186200 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
(11862,0,0,0,1,0,100,0,5000,5000,80000,100000,53,0,11862,0,0,0,0,1,0,0,0,0,0,0,0,"Tsunaman - Out of Combat - Start Waypoint"),
(11862,0,1,0,40,0,100,0,1,11862,0,0,80,1186200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tsunaman - On Waypoint 1 Reached - Run Script"),
(11862,0,2,0,40,0,100,0,2,11862,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,2.16375,"Tsunaman - On Waypoint 2 Reached - Set Orientation"),
(1186200,9,0,0,0,0,100,0,0,0,0,0,54,20000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tsunaman - On Script - Pause Waypoint"),
(1186200,9,1,0,0,0,100,0,2000,2000,0,0,17,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tsunaman - On Script - Set Emote State 'Attack Unarmed'"),
(1186200,9,2,0,0,0,100,0,16000,16000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tsunaman - On Script - Set Emote State 0");
DELETE FROM `waypoints` WHERE `entry`=11862;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(11862,1,818.627,941.855,154.26,""),
(11862,2,824.854,933.05,155.485,"");
*/
@@ -0,0 +1,7 @@
/*
-- Mor'rogal
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11861;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11861 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
(11861,0,0,0,20,0,100,0,6421,0,0,0,11,759,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mor'rogal - On Quest 'Boulderslide Ravine' Finished - Cast Conjure Mana Gem");
*/
@@ -0,0 +1,14 @@
/*
-- Tammra Windfield
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11864;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11864 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=1186400 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
(11864,0,0,0,20,0,100,0,6301,0,0,0,80,1186400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tammra Windfield - On Quest 'Cycle of Rebirth' Finished - Run Script"),
(1186400,9,0,0,0,0,100,0,0,0,0,0,11,32618,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tammra Windfield - On Script - Cast Cosmetic Nature Cast"),
(1186400,9,1,0,0,0,100,0,5000,5000,0,0,9,0,0,0,0,0,0,14,33531,177927,0,0,0,0,0,"Tammra Windfield - On Script - Activate Gameobject"),
(1186400,9,2,0,0,0,100,0,1000,1000,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tammra Windfield - On Script - Play Emote 25");
UPDATE `gameobject_template_addon` SET `flags`=4 WHERE `entry`=177927;
UPDATE `gameobject` SET `spawntimesecs`=10 WHERE `guid`=33531;
*/
@@ -0,0 +1,22 @@
/*
DELETE FROM `quest_greeting` WHERE `ID` IN (3390,3339,3995,4049,264,3519,392,900,2080,3337,3567,4791,5767,344,3847,11862);
INSERT INTO `quest_greeting` (`ID`, `Type`, `GreetEmoteType`, `GreetEmoteDelay`, `Greeting`, `VerifiedBuild`) VALUES
(3390,0,0,0,"The Barrens holds a variety of substances for which we, the apothecaries of Lordaeron may find use.",0), -- Apothecary Helbrim
(344,0,5,0,"Redridge is awash in chaos!",0), -- Magistrate Solomon
(3339,0,0,0,"This had better be good...",0), -- Captain Thalo'thas Brightsun
(3995,0,5,0,"The spirits are restless!",0), -- Witch Doctor Jin'Zil
(4049,0,0,0,"The spirit of Stonetalon weeps... It weeps from its mountain peaks, to its rivers, to its severed, dying trees.",0), -- Seereth Stonebreak
(264,0,0,0,"At ease, $c. If you are just passing though I suggest you stick to the roads and only travel by day. If your business is here in Darkshire, consider lending your abilities to the Night Watch. Our Skill is unquestionable but our numbers are small.",0), -- Commander Althea Ebonlocke
(3519,0,0,0,"I, Arynia Cloudsbreak, have been tasked with protecting the sanctity of the Oracle Grove.",0), -- Sentinel Arynia Cloudsbreak
(392,0,0,0,"Do not be alarmed, $r. I have long since passed from this land but I intend no harm to your kind. I have witnessed too much death in my time. My only wish now is for peace. Perhaps you can help my cause.",0), -- Captain Grayson
(900,0,6,0,"What business brings you before the Court of Lakeshire and the Honorable Magistrate Solomon?",0), -- Bailiff Conacher
(2080,0,1,0,"The creation of Teldrassil was a grand achievement, but now the world must shift to regain its balance.",0), -- Denalan
(3337,0,0,0,"The heft of an axe, the battlecry of your allies, the spray of blood in your face. These are the things a warrior craves, $n. I will carve out The Barrens with my sword in the name of the Horde.",0), -- Kargal Battlescar
(3567,0,1,0,"Well met, $n. It is good to see that $cs like yourself are taking an active part in protecting the groves.",0), -- Tallonkai Swiftroot
(4791,0,1,0,"We may not be in open war with the Alliance, but blood is still shed between us.",0), -- Nazeer Bloodpike
(5767,0,1,0,"Our only hope is to create something good from an already bad situation.",0), -- Nalpak
(3847,0,0,0,"Ashenvale is a lush forest, brimming with life. It is a pleasure to walk down its secret paths in search of herbs, but one must take care. The forest is not without its dangers.",0), -- Orendil Broadleaf
(11862,0,0,0,"",0); -- Tsunaman
UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=234;
*/
@@ -0,0 +1,110 @@
/*
-- Besseleth
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11921;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11921 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
(11921,0,0,0,9,0,100,0,0,30,9000,12000,11,745,0,0,0,0,0,2,0,0,0,0,0,0,0,"Besseleth - Within 0-30 Range - Cast Web"),
(11921,0,1,0,0,0,100,0,6000,9000,12000,17000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Besseleth - In Combat - Cast Venom Sting");
-- Deepmoss Hatchling
DELETE FROM `smart_scripts` WHERE `entryorguid`=4263 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
(4263,0,0,1,2,0,30,1,0,30,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deepmoss Hatchling - Between 0-30% Health - Say Line 0 (No Repeat)"),
(4263,0,1,0,61,0,100,1,0,0,0,0,11,6536,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deepmoss Hatchling - Between 0-30% Health - Summon Deepmoss Matriarch (No Repeat)"),
(4263,0,2,0,54,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deepmoss Hatchling - Just Summoned - Say Line 1"),
(4263,0,3,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Deepmoss Hatchling - Just Summoned - Start Attacking");
DELETE FROM `creature_text` WHERE `CreatureID`=4263;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4263,0,0,"%s chitters for help...",16,0,100,0,0,0,1414,0,"Deepmoss Hatchling"),
(4263,1,0,"%s hatches!",16,0,100,0,0,0,1413,0,"Deepmoss Hatchling");
-- Deepmoss Matriarch
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4264;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4264 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
(4264,0,0,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deepmoss Matriarch - Just Summoned - Say Line 0"),
(4264,0,1,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Deepmoss Matriarch - Just Summoned - Start Attacking");
DELETE FROM `creature_text` WHERE `CreatureID`=4264;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4264,0,0,"%s arrives!",16,0,100,0,0,0,1415,0,"Deepmoss Matriarch");
-- Blackened Basilisk
DELETE FROM `smart_scripts` WHERE `entryorguid`=4044 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
(4044,0,0,0,0,0,100,0,7000,9000,22000,26000,11,3636,0,0,0,0,0,5,0,0,0,0,0,0,0,"Blackened Basilisk - In Combat - Cast Crystalline Slumber");
-- Scorched Basilisk
DELETE FROM `smart_scripts` WHERE `entryorguid`=4041 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
(4041,0,0,0,0,0,100,0,7000,9000,22000,26000,11,3636,0,0,0,0,0,5,0,0,0,0,0,0,0,"Scorched Basilisk - In Combat - Cast Crystalline Slumber");
-- Singed Basilisk
DELETE FROM `smart_scripts` WHERE `entryorguid`=4042 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
(4042,0,0,0,0,0,100,0,7000,9000,22000,26000,11,3636,0,0,0,0,0,5,0,0,0,0,0,0,0,"Singed Basilisk - In Combat - Cast Crystalline Slumber");
-- Gerenzo Wrenchwhistle
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4202;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4202 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
(4202,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,"Gerenzo Wrenchwhistle - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Goggeroc
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11920;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11920 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
(11920,0,0,0,0,0,100,0,5000,7000,9000,13000,11,8646,0,0,0,0,0,2,0,0,0,0,0,0,0,"Goggeroc - In Combat - Cast Snap Kick"),
(11920,0,1,0,0,0,100,0,6000,9000,12000,16000,11,10966,0,0,0,0,0,2,0,0,0,0,0,0,0,"Goggeroc - In Combat - Cast Uppercut"),
(11920,0,2,0,11,0,100,0,0,0,0,0,11,10387,0,0,0,0,0,1,0,0,0,0,0,0,0,"Goggeroc - On Respawn - Cast Lightning Surge");
-- Furious Stone Spirit
DELETE FROM `smart_scripts` WHERE `entryorguid`=4035 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
(4035,0,0,0,25,0,100,0,0,0,0,0,11,7095,0,0,0,0,0,1,0,0,0,0,0,0,0,"Furious Stone Spirit - On Reset - Cast Knockdown Proc");
-- Bloodfury Harpy
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4022;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4022 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
(4022,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,"Bloodfury Harpy - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Roguefeather
DELETE FROM `smart_scripts` WHERE `entryorguid`=4023 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
(4023,0,0,0,25,0,100,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bloodfury Roguefeather - On Reset - Cast Thrash"),
(4023,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,"Bloodfury Roguefeather - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Slayer
DELETE FROM `smart_scripts` WHERE `entryorguid`=4024 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
(4024,0,1,0,0,0,100,0,7000,16000,120000,130000,11,16231,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bloodfury Slayer - In Combat - Cast Curse of Recklessness"),
(4024,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,"Bloodfury Slayer - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Ambusher
DELETE FROM `smart_scripts` WHERE `entryorguid`=4025 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
(4025,0,0,0,0,0,100,0,3000,5000,8000,12000,11,2608,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bloodfury Ambusher - In Combat - Cast Shock"),
(4025,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,"Bloodfury Ambusher - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Windcaller
DELETE FROM `smart_scripts` WHERE `entryorguid`=4026 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
(4026,0,0,0,0,0,100,0,3000,5000,14000,20000,11,6728,0,0,0,0,0,5,0,0,0,0,0,0,0,"Bloodfury Windcaller - In Combat - Cast Enveloping Winds"),
(4026,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,"Bloodfury Windcaller - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Storm Witch
UPDATE `smart_scripts` SET `event_param3`=3400, `event_param4`=4800 WHERE `entryorguid`=4027 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4027 AND `source_type`=0 AND `id`=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
(4027,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,"Bloodfury Storm Witch - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Bloodfury Ripper
DELETE FROM `smart_scripts` WHERE `entryorguid`=12579 AND `source_type`=0 AND `id`=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
(12579,0,0,0,9,0,100,0,0,5,21000,25000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bloodfury Ripper - Within 0-5 Range - Cast Rend");
-- Fix faction for Brother Ravenoak
UPDATE `creature_template` SET `faction`=124 WHERE `entry`=5915;
*/
@@ -0,0 +1,2 @@
--
DELETE FROM `gameobject_addon` WHERE `guid`=99909;
@@ -0,0 +1,68 @@
--
-- duplicates removed
DELETE FROM `creature` WHERE `guid` IN (129439, 129433, 129438, 128479, 129826, 130415,128477,130416,128478,128476,129823, 130272, 130274, 130276,130252);
DELETE FROM `creature_addon` WHERE `guid` IN (129439, 129433, 129438, 128479, 129826, 130415,128477,130416,128478,128476,129823, 130272, 130274, 130276,130252);
-- Scourge Gryphon
UPDATE `creature` SET `phaseMask` = 229 WHERE `guid` IN (128509, 128510, 128500, 128501);
-- Master Siegesmith Corvus
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128577;
-- Enslaved Laborer
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128579;
-- Mindless Laborer
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128580;
-- Risen Drudge
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128465;
-- Alchemist Karloff
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128456;
-- Gangrenus
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128458;
-- Fester
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128459;
-- Corpulous
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128457;
-- Instructor Razuvious
UPDATE `creature` SET `phaseMask` = 69 WHERE `guid` = 129307;
-- Acherus Necromancer
UPDATE `creature` SET `phaseMask` = 69 WHERE `guid` IN (129388, 129389, 129390, 129391);
-- Death Knight Initiate
UPDATE `creature` SET `phaseMask` = 69 WHERE `id` IN (28390, 28391, 28392, 28393, 28394);
-- Amal'thazad
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128507;
-- Coldwraith
UPDATE `creature` SET `phaseMask` = 69 WHERE `guid` IN (128522, 128523, 128525, 128526);
-- Disciple of Frost
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` IN (128543, 128542, 128541, 128540, 128539, 128538, 128535, 128536, 128537);
-- Lord Thorval
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128506;
-- Disciple of Blood
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` IN (128527, 128528, 128529, 128530, 128531, 128532, 128533, 128534);
-- Lady Alistra
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` = 128505;
-- Disciple of the Unholy
UPDATE `creature` SET `phaseMask` = 197 WHERE `guid` IN (128545, 128546, 128547, 128548, 128549, 128550, 128551, 128552, 128553);
-- Teleport - Hall -> Heart
UPDATE `creature` SET `phaseMask` = 487 WHERE `guid` = 128753;
-- Teleport - Heart -> Hall
UPDATE `creature` SET `phaseMask` = 487 WHERE `guid` = 128754;
-- Initiate's Training Dummy
UPDATE `creature` SET `phaseMask` = 231 WHERE `guid` IN (130414,129825,129824,130417);
-- Scarlet Crusade Prisoner Argent Dawn Prisoner
UPDATE `creature` SET `phaseMask` = 197 WHERE `id` IN (28386,28385);
-- Gameobjects
-- duplicates removed
DELETE FROM `gameobject` WHERE `guid` IN (66143,66119,66117,66255,66432,66118,66116,66254,66431,66145,66147,66316,66146,65973,66436,66441,66438,66439,66458,66442,66120,66448,66137,66437,66454,66452,66136,66449,66138,66139,66451,66457,66450,66444,66130,66447,66133,66129,66455,66127,66453,66124,66140,66141,66445,66446,66456, 65865, 65866, 65867, 65883, 65885, 65887, 65917, 66029, 66031, 66033, 66038, 66123, 66234, 66236, 66237, 66238, 66239, 66240, 66241, 66242, 66245, 66246, 66304, 66305, 66310, 66311, 66312, 66313, 66315, 66317, 66319, 66321, 66323, 66325, 66326, 66329, 66332, 66335, 66338, 66340, 66346, 66348, 66351, 66358, 66387, 66391, 66395, 66399, 66420, 66422, 66471, 66472, 66473, 66480, 66481, 66482, 66483, 66485, 66488, 66490, 66492, 66494, 66497, 66498, 66501, 66504, 66507, 66510, 66512, 66513, 66514, 66515, 66517, 66522, 66611);
DELETE FROM `gameobject_addon` WHERE `guid` IN (66143,66119,66117,66255,66432,66118,66116,66254,66431,66145,66147,66316,66146,65973,66436,66441,66438,66439,66458,66442,66120,66448,66137,66437,66454,66452,66136,66449,66138,66139,66451,66457,66450,66444,66130,66447,66133,66129,66455,66127,66453,66124,66140,66141,66445,66446,66456, 65865, 65866, 65867, 65883, 65885, 65887, 65917, 66029, 66031, 66033, 66038, 66123, 66234, 66236, 66237, 66238, 66239, 66240, 66241, 66242, 66245, 66246, 66304, 66305, 66310, 66311, 66312, 66313, 66315, 66317, 66319, 66321, 66323, 66325, 66326, 66329, 66332, 66335, 66338, 66340, 66346, 66348, 66351, 66358, 66387, 66391, 66395, 66399, 66420, 66422, 66471, 66472, 66473, 66480, 66481, 66482, 66483, 66485, 66488, 66490, 66492, 66494, 66497, 66498, 66501, 66504, 66507, 66510, 66512, 66513, 66514, 66515, 66517, 66522, 66611);
-- Phase: 1+2
UPDATE `gameobject` SET `phaseMask` = 3 WHERE `guid` IN (65985,66004,65990,66017,65995,65982,65991,66007,66036,65994,66034,65992,65988,65974,65993,65976,65978,65977,65975,66022,66013,66030,66019,66014,65996,66000,65999,66003,66009,65998,66001);
-- Phase: 1+4
UPDATE `gameobject` SET `phaseMask` = 5 WHERE `guid` = 66069;
-- Phase: 1+2+32
UPDATE `gameobject` SET `phaseMask` = 35 WHERE `guid` IN (66060,66066,66064,66068,66062,66070,66076,65912,66067,65932,65905,66065);
-- Phase: 4+64+128
UPDATE `gameobject` SET `phaseMask` = 196 WHERE `guid` IN (66290,66276,66285,66282,66277,66280,66288,66278,66271,66275,66286,66284,66272,66273,66287,66289,66279,66270,66281,66274,66283,66262,66263,66267,66264,66265,66268,66375,66376,66259,66261,66260,66354,66295,66296,66294,66298,66355,66297,66300,66299,66293,66302,66301,66307,66306,66345,66347,66357);
-- Phase: 1+4+32+64+128
UPDATE `gameobject` SET `phaseMask` = 229 WHERE `guid` IN (65902,65901);
-- Phase: 1+2+4+32+64+128
UPDATE `gameobject` SET `phaseMask` = 231 WHERE `guid` IN (66040,66024,65970,65968,65981,66005,65984,65987,65972,65979,65969,66037,65967,66002,66020,66343,66341,66342,66027,66519,66303,65919,66010,65918,66015);
UPDATE `gameobject` SET `phaseMask` = 192 WHERE `guid` IN (66620);
@@ -0,0 +1,2 @@
--
UPDATE `smart_scripts` SET `action_param1`=7 WHERE `entryorguid`=344200 AND `source_type`=9 AND `id`=1;
@@ -0,0 +1,24 @@
--
-- Hezrul Bloodmark
DELETE FROM `smart_scripts` WHERE `entryorguid`=9117 AND `source_type`=0 AND `id`>0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=911701 AND `source_type`=9;
DELETE FROM `smart_scripts` WHERE `entryorguid`=911700 AND `source_type`=9 AND `id`=6;
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
(9117,0,1,0,25,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - on reset - set event phase 1"),
(9117,0,2,0,19,0,100,0,4321,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - on reset - set event phase 0"),
(9117,0,3,0,1,1,100,0,5000,10000,90000,120000,80,911701,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Out of Combat - Action list"),
(911701,9,0,0,0,1,100,0,1000,1000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911701,9,1,0,0,1,100,0,5000,5000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911701,9,2,0,0,1,100,0,0,0,0,0,11,32990,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911701,9,3,0,0,1,100,0,4000,4000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911701,9,4,0,0,1,100,0,4000,4000,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911701,9,5,0,0,1,100,0,4000,4000,0,0,1,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Say Line"),
(911700,9,6,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"J.D. Collie - Action list - Set eventphase 1");
DELETE FROM `creature_text` WHERE `CreatureID`=9117 AND `GroupID`>2;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(9117,3,0,"Ahh... My experiments never seem to work out right. Maybe I should go back downstream.",12,0,100,0,0,0,4843,0,"J.D. Collie"),
(9117,4,0,"%s begins to combine different colored crystals together.",16,0,100,0,0,0,4846,0,"J.D. Collie"),
(9117,5,0,"I think...I think it's working!",12,0,100,0,0,0,4847,0,"J.D. Collie"),
(9117,6,0,"OW! That's not right!",12,0,100,0,0,0,4852,0,"J.D. Collie"),
(9117,7,0,"Oh well... Maybe next time.",12,0,100,0,0,0,4853,0,"J.D. Collie");
@@ -0,0 +1,57 @@
--
SET @GUID := 40489;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID+0 AND @GUID+2;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `curhealth`, `curmana`, `MovementType`) VALUES
(@GUID+0,23090,1,1,1,0,1,1708.89,-4407.32,40.1085,2.35614,300,0,104790,0,2),
(@GUID+1,23090,1,1,1,0,1,1685.87,-4437.94,36.0057,2.50928,300,0,104790,0,2),
(@GUID+2,23090,1,1,1,0,1,1651.35,-4448.69,38.0034,1.59431,300,0,104790,0,2);
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @GUID+0 AND @GUID+2;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(@GUID+0,(@GUID+0)*10,0,0,1,0,'18950 32199'),
(@GUID+1,(@GUID+1)*10,0,0,1,0,'18950 32199'),
(@GUID+2,(@GUID+2)*10,0,0,1,0,'18950 32199');
DELETE FROM `waypoint_data` WHERE `id` BETWEEN (@GUID+0)*10 AND (@GUID+2)*10;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `move_type`, `action_chance`) VALUES
((@GUID+0)*10,1,1708.89,-4407.32,40.1085,0,100),
((@GUID+0)*10,2,1699.21,-4398.37,40.5289,0,100),
((@GUID+0)*10,3,1694.41,-4397.78,40.6138,0,100),
((@GUID+0)*10,4,1682.94,-4404.49,40.6853,0,100),
((@GUID+0)*10,5,1680.72,-4409.19,40.8754,0,100),
((@GUID+0)*10,6,1682.71,-4422.11,40.4622,0,100),
((@GUID+0)*10,7,1686.17,-4425.78,40.6093,0,100),
((@GUID+0)*10,8,1698.87,-4427.43,40.7538,0,100),
((@GUID+0)*10,9,1686.17,-4425.78,40.6093,0,100),
((@GUID+0)*10,10,1682.71,-4422.11,40.4622,0,100),
((@GUID+0)*10,11,1680.72,-4409.19,40.8754,0,100),
((@GUID+0)*10,12,1682.94,-4404.49,40.6853,0,100),
((@GUID+0)*10,13,1694.41,-4397.78,40.6138,0,100),
((@GUID+0)*10,14,1699.21,-4398.37,40.5289,0,100),
((@GUID+0)*10,15,1708.89,-4407.32,40.1085,0,100),
((@GUID+1)*10,1,1685.87,-4437.94,36.0057,0,100),
((@GUID+1)*10,2,1681.13,-4434.01,35.3238,0,100),
((@GUID+1)*10,3,1673.04,-4431.93,34.8667,0,100),
((@GUID+1)*10,4,1665.67,-4435.66,34.8775,0,100),
((@GUID+1)*10,5,1661.73,-4441.26,34.9755,0,100),
((@GUID+1)*10,6,1661.59,-4447.54,35.0587,0,100),
((@GUID+1)*10,7,1661.73,-4441.26,34.9755,0,100),
((@GUID+1)*10,8,1665.67,-4435.66,34.8775,0,100),
((@GUID+1)*10,9,1673.04,-4431.93,34.8667,0,100),
((@GUID+1)*10,10,1681.13,-4434.01,35.3238,0,100),
((@GUID+1)*10,11,1685.87,-4437.94,36.0057,0,100),
((@GUID+2)*10,1,1651.35,-4448.69,38.0034,0,100),
((@GUID+2)*10,2,1651.75,-4437.17,38.0053,0,100),
((@GUID+2)*10,3,1648.66,-4432.08,37.8909,0,100),
((@GUID+2)*10,4,1633.78,-4428.19,38.146,0,100),
((@GUID+2)*10,5,1628.51,-4430.07,38.1318,0,100),
((@GUID+2)*10,6,1620.25,-4441.33,37.8515,0,100),
((@GUID+2)*10,7,1620.04,-4447.66,37.9152,0,100),
((@GUID+2)*10,8,1628.39,-4458.96,38.0537,0,100),
((@GUID+2)*10,9,1620.04,-4447.66,37.9152,0,100),
((@GUID+2)*10,10,1620.25,-4441.33,37.8515,0,100),
((@GUID+2)*10,11,1628.51,-4430.07,38.1318,0,100),
((@GUID+2)*10,12,1633.78,-4428.19,38.146,0,100),
((@GUID+2)*10,13,1648.66,-4432.08,37.8909,0,100),
((@GUID+2)*10,14,1651.75,-4437.17,38.0053,0,100),
((@GUID+2)*10,15,1651.35,-4448.69,38.0034,0,100);
@@ -0,0 +1,59 @@
-- The Rise of the Darkspear Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (26272,24764,24607,24750,24776,24782,24758,24770);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(26272, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24764, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24607, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24750, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24776, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24782, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24758, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383),
(24770, 'Anotha newblood, eh?$B$BYa actually have a sly look about ya though. Fierce eyes. You might have the makings of a real $c.$B$BLets not waste anymore time ''den.',25383);
-- The Basics: Hitting Things Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (24777,24765,24759,24783,24751,24639,24771,26273);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(24777, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24765, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24759, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24783, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24751, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24639, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(24771, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383),
(26273, 'Not bad, mon. Ya have a natural flow to ya swings - you may have a talent for dis.$B$BSome rough edges ta be sure, but we''ll get dose ironed out here and I''ll teach ya a few new tings as we go.',25383);
-- A Rough Start Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (24641,24785,24761,26275,24767,24753,24773,24779);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(24641, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24785, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24761, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(26275, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24767, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24753, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24773, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383),
(24779, 'Dese are some fine pelts, $G boy:girl;. We could make some hefty cloaks outta dese.',25383);
-- Proving Pit Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (24768,24780,24642,24786,24754,26276,24774,24762);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(24768, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24780, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24642, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24786, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24754, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(26276, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24774, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383),
(24762, 'Ya handle yerself quite well. Ya gonna be quite powerful some day.',25383);
-- More Than Expected Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (26277,24769,24781,24787,24643,24763,24755,24775);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(26277, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24769, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24781, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24787, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24643, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24763, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24755, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383),
(24775, 'Ya tha new recruit everyone''s talkin'' about, eh? Welcome ta tha Darkspear.',25383);
@@ -0,0 +1,11 @@
-- The Arts of a 'Class' Quest
DELETE FROM `quest_offer_reward` WHERE `ID` IN (26204,24760,24772,24778,26274,24752,24766,24784);
INSERT INTO `quest_offer_reward` (`ID`,`RewardText`,`VerifiedBuild`) VALUES
(26204, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24760, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24772, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24778, 'Good work, mon! Dis stuff come easy to ya.',14545),
(26274, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24752, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24766, 'Good work, mon! Dis stuff come easy to ya.',14545),
(24784, 'Good work, mon! Dis stuff come easy to ya.',14545);
@@ -0,0 +1,2 @@
--
UPDATE `creature_addon` SET `auras`="17467", `mount`=0 WHERE `guid`=130895;
@@ -0,0 +1,19 @@
/*
--
-- Valusha Gossip Text
DELETE FROM `gossip_menu` WHERE `MenuID`=7408 AND `TextID` IN (8887,8888);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES
(7408,8887,0),
(7408,8888,0);
DELETE FROM `npc_text` WHERE `ID`=8888;
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_1`) VALUES
(8888,"You honor us with your presence, $n.","",13803,0,1,1);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7408;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14,7408,8887,0,0,8,0,9534,0,0,0,0,0,"","Show gossip text 8887 if quest 'Destroy the Legion' is rewarded"),
(14,7408,8887,0,0,8,0,9536,0,0,1,0,0,"","Show gossip text 8887 if quest 'Never Again!' is NOT rewarded"),
(14,7408,8888,0,0,8,0,9534,0,0,0,0,0,"","Show gossip text 8888 if quest 'Destroy the Legion' is rewarded"),
(14,7408,8888,0,0,8,0,9536,0,0,0,0,0,"","Show gossip text 8888 if quest 'Never Again!' is rewarded");
*/
@@ -0,0 +1,6 @@
/*
--
DELETE FROM `quest_template_addon` WHERE `ID`=4770;
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, `RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES
(4770,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2);
*/
@@ -0,0 +1,12 @@
/*
--
-- Kirge Sternhorn
DELETE FROM `creature_text` WHERE `CreatureID`=3418;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3418,0,0,"To reach The Crossroads, $n, follow the road east then north.",12,1,100,1,0,0,1364,0,"Kirge Sternhorn");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3418;
DELETE FROM `smart_scripts` WHERE `entryorguid`=3418 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
(3418,0,0,0,19,0,100,0,854,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kirge Sternhorn - On Quest 'Journey to the Crossroads' Taken - Say Line 0");
*/
@@ -0,0 +1,7 @@
/*
--
-- Magatha Grimtotem
DELETE FROM `smart_scripts` WHERE `entryorguid`=4046 AND `source_type`=0 AND `id`=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
(4046,0,2,0,20,0,100,0,5062,0,0,0,11,60888,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magatha Grimtotem - On Quest 'Sacred Fire' Finished - Cast 'Cosmetic Enchant Cast'");
*/
@@ -0,0 +1,21 @@
/*
--
-- Pathing for Motega Firemane
UPDATE `creature` SET `MovementType`=2 WHERE `guid`=21693;
DELETE FROM `creature_addon` WHERE `guid`=21693;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(21693,216930,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=216930;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(216930,1,-4915.57,-1381.18,-52.6008,5.14872,60000,0,216930,100,0),
(216930,2,-4913.27,-1379.59,-52.6119,0,0,0,0,100,0),
(216930,3,-4911.95,-1376.93,-52.6119,0,0,0,0,100,0),
(216930,4,-4913.82,-1376.04,-52.6119,0,15000,0,0,100,0),
(216930,5,-4915.75,-1378.4,-52.6119,0,0,0,0,100,0),
(216930,6,-4918.77,-1378.01,-52.6119,0,0,0,0,100,0);
DELETE FROM `waypoint_scripts` WHERE `id`=216930;
INSERT INTO `waypoint_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`, `guid`) VALUES
(216930,1,1,23,0,0,0,0,0,0,953);
*/
@@ -0,0 +1,14 @@
/*
--
-- Arikara
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10882;
DELETE FROM `smart_scripts` WHERE `entryorguid`=10882 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
(10882,0,0,0,0,0,100,0,8000,16000,12000,24000,11,17213,32,0,0,0,0,5,0,0,0,0,0,0,0,"Arikara - In Combat - Cast Curse of Vengeance"),
(10882,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arikara - Between 0-30% Health - Cast Enrage (No Repeat)"),
(10882,0,2,0,2,0,100,1,0,30,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arikara - Between 0-30% Health - Say Line 0 (No Repeat)");
DELETE FROM `creature_text` WHERE `CreatureID`=10882;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(10882,0,0,"%s becomes enraged!",16,0,100,0,0,0,10677,0,"Arikara");
*/
@@ -0,0 +1,36 @@
/*
--
-- Feegly the Exiled
DELETE FROM `creature_text` WHERE `CreatureID`=3421;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3421,0,0,"The power of the Tear of the Moons is mine! Mine I say!",12,0,100,5,0,0,1026,0,"Feegly the Exiled"),
(3421,1,0,"%s begins to rub the Tear of the Moons.",16,0,100,0,0,0,1027,0,"Feegly the Exiled"),
(3421,2,0,"Power! Glorious power!",12,0,100,0,0,0,1028,0,"Feegly the Exiled"),
(3421,3,0,"%s begins to make strange grunting noises. The Tear of the Moons drops to the ground and shatters.",16,0,100,0,0,0,1029,0,"Feegly the Exiled");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3421;
DELETE FROM `smart_scripts` WHERE `entryorguid`=3421 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=342100 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
(3421,0,0,0,20,0,100,0,857,0,0,0,80,342100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Quest 'The Tear of the Moons' Finished - Run Script"),
(342100,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 0"),
(342100,9,1,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 1"),
(342100,9,2,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 2"),
(342100,9,3,0,0,0,100,0,4000,4000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Say Line 3"),
(342100,9,4,0,0,0,100,0,2000,2000,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Play Emote 15"),
(342100,9,5,0,0,0,100,0,2000,2000,0,0,11,5142,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Cast Trogg Form"),
(342100,9,6,0,0,0,100,0,0,0,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Start Random Movement"),
(342100,9,7,0,0,0,100,0,10000,10000,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feegly the Exiled - On Script - Kill Self");
-- Pathing for Feegly the Exiled
UPDATE `creature` SET `position_x`=-4217.83, `position_y`=-2341.47, `position_z`=91.7458, `spawndist`=0, `MovementType`=2 WHERE `guid`=14138;
DELETE FROM `creature_addon` WHERE `guid`=14138;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(14138,141380,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=141380;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(141380,1,-4217.83,-2341.47,91.7458,2.02701,60000,0,0,100,0),
(141380,2,-4219.46,-2336.15,91.8028,2.02701,60000,0,0,100,0);
*/
@@ -0,0 +1,254 @@
/*
--
-- Quest "Blood Feeders"
DELETE FROM `quest_details` WHERE `ID`=6461;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6461,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6461;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6461;
-- Quest "Jin'Zil's Forest Magic"
DELETE FROM `quest_details` WHERE `ID`=1058;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1058,4,6,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=11, `EmoteOnComplete`=11 WHERE `ID`=1058;
-- Quest "Report to Kadrak"
DELETE FROM `quest_details` WHERE `ID`=6542;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6542,1,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=3 WHERE `ID`=6542;
-- Quest "Boulderslide Ravine"
DELETE FROM `quest_details` WHERE `ID`=6421;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6421,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6421;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6421;
-- Quest "Earthen Arise"
DELETE FROM `quest_details` WHERE `ID`=6481;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6481,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6481;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6481;
-- Quest "Cenarius' Legacy"
DELETE FROM `quest_details` WHERE `ID`=1087;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1087,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1087;
-- Quest "Ordanus"
DELETE FROM `quest_details` WHERE `ID`=1088;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1088,5,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1088;
-- Quest "The Den"
DELETE FROM `quest_details` WHERE `ID`=1089;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(1089,1,0,0,0,0,0,0,0,0);
-- Quest "Cycle of Rebirth"
DELETE FROM `quest_details` WHERE `ID`=6301;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6301,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6301;
-- Quest "New Life"
DELETE FROM `quest_details` WHERE `ID`=6381;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6381,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6381;
-- Quest "Harpies Threaten"
DELETE FROM `quest_details` WHERE `ID`=6282;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6282,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6282;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6282;
-- Quest "Bloodfury Bloodline"
DELETE FROM `quest_details` WHERE `ID`=6283;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6283,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6283;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6283;
-- Quest "Calling in the Reserves"
DELETE FROM `quest_details` WHERE `ID`=5881;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(5881,1,0,0,0,0,0,0,0,0);
-- Quest "Arachnophobia"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6284;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6284;
-- Quest "Super Reaper 6000"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1093;
-- Quest "Further Instructions"
UPDATE `quest_request_items` SET `EmoteOnComplete`=3 WHERE `ID`=1094;
-- Quest "Further Instructions (Part 2)"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1095;
-- Quest "Gerenzo Wrenchwhistle"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1096;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1096;
-- Quest "Gerenzo's Orders"
UPDATE `quest_offer_reward` SET `Emote1`=2 WHERE `ID`=1090;
-- Quest "Gerenzo's Orders (Part 2)"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=1092;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=1092;
-- Quest "Trouble in the Deeps"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6562;
-- Quest "Warsong Scout Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6547;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6547;
-- Quest "Warsong Runner Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6545;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6545;
-- Quest "Warsong Outrider Update"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6546;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6546;
-- Quest "Ashenvale Outrunners"
DELETE FROM `quest_details` WHERE `ID`=6503;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6503,5,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6503;
-- Quest "Satyr Horns"
UPDATE `quest_request_items` SET `EmoteOnComplete`=0 WHERE `ID`=6441;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=6382;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6382,1,0,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6382;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=235;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(235,22,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=235;
-- Quest "The Ashenvale Hunt"
DELETE FROM `quest_details` WHERE `ID`=742;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(742,22,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=742;
-- Quest "The Ashenvale Hunt (Part 2)"
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6383;
-- Quest "Shadumbra's Head"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=24;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=24;
-- Quest "Ursangous's Paw"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=23;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=23;
-- Quest "Stonetalon Standstill"
DELETE FROM `quest_details` WHERE `ID`=25;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(25,6,1,0,0,0,0,0,0,0);
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=25;
-- Quest "The Befouled Element"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=1918;
UPDATE `quest_offer_reward` SET `Emote1`=6, `Emote2`=1 WHERE `ID`=1918;
-- Quest "Je'neu of the Earthen Ring"
DELETE FROM `quest_details` WHERE `ID`=824;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(824,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnComplete`=1 WHERE `ID`=824;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=824;
-- Quest "Warsong Supplies"
DELETE FROM `quest_details` WHERE `ID`=6571;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6571,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=6571;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6571;
-- Quest "Naga at the Zoram Strand"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6442;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6442;
-- Quest "Vorsha the Lasher"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6641;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=6641;
-- Quest "Between a Rock and a Thistlefur"
UPDATE `quest_details` SET `Emote1`=5 WHERE `ID`=216;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=216;
-- Quest "King of the Foulweald"
DELETE FROM `quest_details` WHERE `ID`=6621;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6621,1,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6, `EmoteOnComplete`=6 WHERE `ID`=6621;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6621;
-- Quest "Troll Charm"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6462;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=14 WHERE `ID`=6462;
-- Quest "Amongst the Ruins"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6921;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6921;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=6921;
-- Quest "The Essence of Aku'Mai"
UPDATE `quest_details` SET `Emote1`=1 WHERE `ID`=6563;
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6563;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=6563;
-- Quest "Allegiance to the Old Gods"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=6564;
UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=6564;
-- Quest "Allegiance to the Old Gods (Part 2)"
DELETE FROM `quest_details` WHERE `ID`=6565;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(6565,1,0,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5 WHERE `ID`=6565;
UPDATE `quest_offer_reward` SET `Emote1`=4 WHERE `ID`=6565;
-- Quest "Freedom to Ruul"
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=6 WHERE `ID`=6482;
UPDATE `quest_offer_reward` SET `Emote1`=5, `Emote2`=1, `Emote3`=2 WHERE `ID`=6482;
-- Quest "Destroy the Legion"
UPDATE `quest_details` SET `Emote1`=5 WHERE `ID`=9534;
UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=9534;
-- Quest "Diabolical Plans"
UPDATE `quest_request_items` SET `EmoteOnComplete`=6 WHERE `ID`=9535;
UPDATE `quest_offer_reward` SET `Emote1`=5 WHERE `ID`=9535;
-- Quest "Never Again!"
DELETE FROM `quest_details` WHERE `ID`=9536;
INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `VerifiedBuild`) VALUES
(9536,25,1,0,0,0,0,0,0,0);
UPDATE `quest_request_items` SET `EmoteOnIncomplete`=5, `EmoteOnComplete`=5 WHERE `ID`=9536;
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1, `Emote3`=2 WHERE `ID`=9536;
-- Quest "The Lost Pages"
UPDATE `quest_details` SET `Emote1`=1, `Emote2`=1 WHERE `ID`=6504;
UPDATE `quest_offer_reward` SET `Emote1`=1, `Emote2`=2 WHERE `ID`=6504;
-- Quest "Torek's Assault"
UPDATE `quest_offer_reward` SET `Emote1`=4, `Emote2`=1 WHERE `ID`=6544;
*/
@@ -0,0 +1,4 @@
/*
-- Achellios the Banished - waypoint Move Type
UPDATE `waypoint_data` SET `move_type`=1 WHERE `id`=213880;
*/
@@ -0,0 +1,201 @@
--
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0, `phaseMask` =2, `spawntimesecs`=120 WHERE `id` = 28529;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 2, `phaseMask` =2, `spawntimesecs`=120 WHERE `id` = 28530;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `id` = 28557;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `id` = 28594;
UPDATE `creature_addon` SET `auras`= 29266 WHERE `guid`=130211;
-- duplicates removed.
DELETE FROM creature WHERE guid IN (128498, 128499, 128763, 128776, 128784, 128786, 128794, 129151, 129152, 129214, 129215, 129235, 129236, 129245, 129246, 129247, 129248, 129249, 129251, 129255, 129259, 129263, 129270, 129271, 129272, 129280, 129283, 129293, 129294, 129295, 129298, 129305);
DELETE FROM creature_addon WHERE guid IN (128498, 128499, 128763, 128776, 128784, 128786, 128794, 129151, 129152, 129214, 129215, 129235, 129236, 129245, 129246, 129247, 129248, 129249, 129251, 129255, 129259, 129263, 129270, 129271, 129272, 129280, 129283, 129293, 129294, 129295, 129298, 129305);
-- Acherus Geist
UPDATE creature SET position_x = 2374.8103, position_y = -5768.86914, position_z = 151.36789, orientation = 1.0397, spawndist = 10, MovementType = 1 WHERE guid = 128493;
UPDATE creature SET position_x = 2308.156738, position_y = -5692.175293, position_z = 154.035553, orientation = 5.493559, spawndist = 10, MovementType = 1 WHERE guid = 128492;
UPDATE creature SET position_x = 2294.674805, position_y = -5664.577148, position_z = 149.566483, orientation = 5.033237, spawndist = 10, MovementType = 1 WHERE guid = 128491;
UPDATE creature SET position_x = 2353.526855, position_y = -5650.782715, position_z = 155.107605, orientation = 5.975759, spawndist = 10, MovementType = 1 WHERE guid = 128490;
UPDATE creature SET position_x = 2388.947510, position_y = -5671.491211, position_z = 153.925858, orientation = 5.407634, spawndist = 15, MovementType = 1 WHERE guid = 128485;
UPDATE creature SET position_x = 2407.680664, position_y = -5656.884766, position_z = 156.329193, orientation = 6.108020, spawndist = 10, MovementType = 1 WHERE guid = 128489;
UPDATE creature SET position_x = 2396.615234, position_y = -5642.852051, position_z = 156.710114, orientation = 1.415266, spawndist = 10, MovementType = 1 WHERE guid = 128488;
UPDATE creature SET position_x = 2274.42, position_y = -5646.18, position_z = 142.258, orientation = 3.61903, spawndist = 0, MovementType = 2 WHERE guid = 128494;
UPDATE creature SET position_x = 2259.67, position_y = -5641.18, position_z = 138.909, orientation = 3.15041, spawndist = 0, MovementType = 2 WHERE guid = 128495;
UPDATE creature SET position_x = 2317.49, position_y = -5661.7, position_z = 153.201, orientation = 2.40253, spawndist = 0, MovementType = 2 WHERE guid = 128486;
UPDATE creature SET position_x = 2420.91, position_y = -5783.06, position_z = 144.912, orientation = 5.05147, spawndist = 0, MovementType = 2 WHERE guid = 128497;
UPDATE creature SET position_x = 2428.08, position_y = -5781.23, position_z = 143.936, orientation = 4.95301, spawndist = 0, MovementType = 2 WHERE guid = 128496;
UPDATE creature SET position_x = 2345.153809, position_y = -5720.771484, position_z = 153.922424, orientation = 0.743744, spawndist = 0, MovementType = 0 WHERE guid = 128578;
UPDATE `creature` SET `position_x` = -2866.342, `position_y` = 6403.193, `position_z`= 80.44, `orientation` = 0.044664 WHERE `guid`= 28647;
-- Scarlet Farm Hound
UPDATE creature SET position_x = 1993.386230, position_y = -5786.060547, position_z = 100.834045, orientation = 4.610285, spawndist = 10, MovementType = 1 WHERE guid = 128584;
UPDATE creature SET position_x = 2032.527954, position_y = -5819.889648, position_z = 100.997482, orientation = 3.675666, spawndist = 10, MovementType = 1 WHERE guid = 128586;
UPDATE creature SET position_x = 1992.902222, position_y = -5866.563477, position_z = 100.788521, orientation = 4.040874, spawndist = 10, MovementType = 1 WHERE guid = 128583;
UPDATE creature SET position_x = 1951.767578, position_y = -5825.396484, position_z = 100.842171, orientation = 3.227984, spawndist = 10, MovementType = 1 WHERE guid = 128587;
UPDATE creature SET spawndist = 10, MovementType = 1 WHERE guid = 128589;
-- Scarlet Medic
UPDATE creature SET position_x = 2172.88, position_y = -5729.58, position_z = 101.757, orientation = 1.30883 WHERE guid = 129257;
-- Scarlet Peasant
UPDATE creature SET orientation = 5.90615 WHERE guid = 128758;
-- Scarlet Captain
UPDATE `creature_addon` SET `path_id` = 1292990 WHERE `guid` = 128758;
-- Havenshire Stallion - spawntime req. for his event
UPDATE `creature` SET `spawntimesecs` = 20 WHERE `guid` IN (129217,129237,129216,129252);
DELETE FROM `creature_formations` WHERE `leaderGUID`=129217;
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(129217, 129217, 0, 0, 515, 0, 0),
(129217, 129237, 5, 45, 515, 0, 0),
(129217, 129216, 5, 315, 515, 0, 0),
(129217, 129252, 5, 0, 515, 0, 0);
UPDATE `creature_formations` SET `dist`=6, `angle`=0 WHERE `leaderGUID`=129212 AND `memberGUID`=129230;
-- Scarlet Fleet Defender - q. req.
UPDATE creature SET spawntimesecs = 60 WHERE id = 28834;
-- Scarlet Infantryman - all should have same aura addon (we can use template and remove from creature_addon)
DELETE FROM creature_addon WHERE guid IN (129264,129265,129266,129267,129268,129269,129270,129271,129272,129273,129274,129275,129276,129277,129278,129279,129281,129283,129285,129286,129287,129288,129289,129290,129291);
DELETE FROM creature_template_addon WHERE entry = 28609;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(28609,0,0,0,1,333,'48356');
UPDATE `creature_addon` SET `auras` = "48356 52103", `bytes2`=1, `emote`=0 WHERE `guid` = 129282;
UPDATE `creature_addon` SET `auras` = "48356 52103", `bytes2`=1, `emote`=0 WHERE `guid` = 129284;
UPDATE creature SET position_x = 2417.918945, position_y = -5859.758789, position_z = 105.522697, orientation = 0.9 WHERE guid = 129286;
UPDATE creature SET position_x = 2435.682373, position_y = -5867.880859, position_z = 106.577202, orientation = 1.6 WHERE guid = 129287;
UPDATE creature SET position_x = 2144.156006, position_y = -5674.584961, position_z = 110.115265, orientation = 0.2 WHERE guid = 129291;
UPDATE creature SET position_x = 2232.0961, position_y = -5832.9101, position_z = 101.341705, orientation = 4.845213 WHERE guid = 129210;
-- Scarlet Peasant
UPDATE creature SET position_x = 2134.455811, position_y = -5743.186035, position_z = 99.443970, orientation = 2.490976 WHERE guid = 128792;
UPDATE creature SET position_x = 2085.78, position_y = -5754.1, position_z = 99.3376, orientation = 6.07106 WHERE guid = 128766;
UPDATE creature SET spawndist = 0, MovementType = 0 WHERE guid IN (128755,128761);
DELETE FROM creature_addon WHERE guid IN (128766,128782,128772,128774,128791,128792,128795);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(128766,0,0,0,1,234,'48356'),
(128782,0,0,0,1,234,'48356'),
(128772,0,0,0,1,234,'48356'),
(128774,0,0,0,1,234,'48356'),
(128791,0,0,0,1,234,'48356'),
(128792,0,0,0,1,234,'48356'),
(128795,0,0,0,1,234,'48356');
-- WAYPOINTS -- for phase 1
UPDATE creature SET MovementType = 2, spawndist = 0 WHERE guid IN (128486, 128484,128494,128495,128497,128496,129302,129299,129217);
DELETE FROM creature_addon WHERE guid IN (128486, 128484,128494,128495,128497,128496,129302,129299,129217,128735,128736,128737);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(128486, 1284860,0,0,0, 0,''),
(128484, 1284840,0,0,0, 0,''),
(128494, 1284940,0,0,0, 0,''),
(128495, 1284950,0,0,0, 0,''),
(128497, 1284970,0,0,0, 0,''),
(128496, 1284960,0,0,0, 0,''),
(129302, 1293020,2404,0,0, 0,'48356'),
(129299, 1292990,2404,0,0, 0,'48356'),
(129217, 1292170,0,0,0,0,''),
(128735, 1287350,2404,0,0, 0,''),
(128737, 1287370,2404,0,0, 0,''),
(128736, 1287360,2404,0,0, 0,'');
DELETE FROM `waypoint_data` WHERE `id` IN (1284860,1284840,1284940,1284950,1284970,1284960,1293020,1292990,1292170,1287350,1287360,1287370);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `delay`, `action`, `orientation`, `action_chance`, `move_type`) VALUES
(1284860,1,2317.49,-5661.7,153.201,2000,0,2.40253,100,1),
(1284860,2,2339.6,-5683.8,153.922,0,0,5.5874,100,1),
(1284860,3,2355.11,-5702.48,153.92,0,0,5.47194,100,1),
(1284860,4,2385.46,-5730.73,153.922,0,0,5.43574,100,1),
(1284860,5,2407.29,-5754.73,153.907,2000,0,5.50643,100,1),
(1284860,6,2363.77,-5709.2,153.923,0,0,2.27844,100,1),
(1284860,7,2317.49,-5661.7,153.201,2000,0,2.4,100,1),
(1284840,1,2322.74,-5624.89,152.099,1000,0,0.2,100,1),
(1284840,2,2312.95,-5645.39,149.817,0,0,0.21,100,1),
(1284940,1,2274.42,-5646.18,142.258,1000,0,3.62,100,1),
(1284940,2,2263.38,-5651.55,138.595,0,0,3.37974,100,1),
(1284940,3,2220.51,-5658.85,125.151,0,0,3.72,100,1),
(1284940,4,2206.73,-5668.97,118.319,0,0,3.72453,100,1),
(1284940,5,2184.66,-5685.67,110.593,0,0,1.62937,100,1),
(1284940,6,2183.91,-5677.17,112.45,0,0,1.07671,100,1),
(1284940,7,2202.52,-5652.79,121.832,0,0,0.505729,100,1),
(1284940,8,2234.02,-5638.04,133.237,0,0,0.255441,100,1),
(1284940,9,2262.76,-5630.8,142.946,0,0,5.64327,100,1),
(1284940,10,2279.18,-5643.24,143.819,0,0,3.68213,100,1),
(1284950,1,2259.67,-5641.18,138.909,1000,0,3.15,100,1),
(1284950,2,2220.92,-5644.93,127.963,0,0,3.7,100,1),
(1284950,3,2180.75,-5671.91,113.432,0,0,5.07701,100,1),
(1284950,4,2186.25,-5687.66,110.304,0,0,0.591784,100,1),
(1284950,5,2198.87,-5677.85,113.546,0,0,0.827452,100,1),
(1284950,6,2211.37,-5665.1,120.953,0,0,0.4346,100,1),
(1284950,7,2215.85,-5662.83,122.909,0,0,0.113371,100,1),
(1284950,8,2230.85,-5660.58,127.762,0,0,0.217311,100,1),
(1284950,9,2268.12,-5652.45,140.123,0,0,2.3,100,1),
(1284970,1,2420.91,-5783.06,144.912,1000,0,5.05147,100,1),
(1284970,2,2424.91,-5795.56,136.284,0,0,5.0,100,1),
(1284970,3,2430.05,-5813.4,123.698,0,0,4.76715,100,1),
(1284970,4,2431.55,-5839.9,112.193,0,0,5.14022,100,1),
(1284970,5,2435.88,-5848.18,110.821,0,0,1.28234,100,1),
(1284970,6,2439.07,-5830.71,117.19,0,0,1.7575,100,1),
(1284970,7,2437.07,-5817.21,121.852,0,0,1.7575,100,1),
(1284970,8,2433.13,-5798.02,133.529,0,0,1.72991,100,1),
(1284970,9,2428.88,-5780.52,144.159,0,0,3.64,100,1),
(1284960,1,2428.08,-5781.23,143.936,1000,0,4.95,100,1),
(1284960,2,2431.83,-5801.73,131.007,0,0,4.9,100,1),
(1284960,3,2434.52,-5815.74,122.281,0,0,4.70491,100,1),
(1284960,4,2435.68,-5850.09,110.343,0,0,2.27017,100,1),
(1284960,5,2426.39,-5839.45,112.787,0,0,1.48386,100,1),
(1284960,6,2426.89,-5832.45,115.05,0,0,1.48386,100,1),
(1284960,7,2428.61,-5806.57,127.862,0,0,1.87184,100,1),
(1284960,8,2424.36,-5792.57,138.63,0,0,1.87184,100,1),
(1284960,9,2420.36,-5779.07,146.508,0,0,6.21274,100,1),
(1284960,10,2426.77,-5779.23,145.036,0,0,5.28497,100,1),
(1293020,1,2142.69,-5854.15,101.352,0,0,5.64134,100,0),
(1293020,2,2160.03,-5863.74,101.343,0,0,5.96987,100,0),
(1293020,3,2163.18,-5866.82,101.325,5000,0,5.95,100,0),
(1293020,4,2181.06,-5870.53,101.288,0,0,6.1,100,0),
(1293020,5,2162.67,-5866.22,101.328,0,0,2.74714,100,0),
(1293020,6,2142.94,-5853.58,101.349,0,0,2.0285,100,0),
(1293020,7,2142.59,-5841.03,101.318,0,0,1.42374,100,0),
(1293020,8,2142.77,-5819.21,100.895,0,0,1.86334,100,0),
(1293020,9,2128.82,-5790.25,98.8795,0,0,1.38032,100,0),
(1293020,10,2128.17,-5794.43,99.0854,0,0,4.67271,100,0),
(1293020,11,2130.96,-5801.12,99.619,0,0,5.31045,100,0),
(1293020,12,2143.34,-5819.31,100.926,0,0,5.01514,100,0),
(1292990,1,2144.25,-5736.86,100.243,0,0,2.01409,100,0),
(1292990,2,2137.89,-5727.64,100.314,0,0,2.35,100,0),
(1292990,3,2128.15,-5716.13,100.621,0,0,2.2,100,0),
(1292990,4,2138.36,-5728.58,100.285,5000,0,5.34968,100,0),
(1292990,5,2144.69,-5738.47,100.186,0,0,4.96091,100,0),
(1292990,6,2147.98,-5759.81,99.8653,0,0,4.61769,100,0),
(1292990,7,2145.06,-5766.31,99.5844,0,0,4.25013,100,0),
(1292990,8,2148.29,-5759.08,99.9146,0,0,1.63554,100,0),
(1292170,1,2217.34,-5873.99,101.251,1000,0,0.593412,100,1),
(1292170,2,2214.53,-5869.6,101.534,0,0,2.83545,100,1),
(1292170,3,2181.07,-5865.87,101.331,0,0,3.36324,100,1),
(1292170,4,2139.21,-5878.27,101.469,0,0,3.93265,100,1),
(1292170,5,2118.11,-5903.57,104.343,0,0,3.3436,100,1),
(1292170,6,2072.44,-5914.58,106.378,0,0,3.39073,100,1),
(1292170,7,2028.89,-5920.68,105.233,0,0,3.28863,100,1),
(1292170,8,2003.16,-5924.91,105.324,0,0,3.41822,100,1),
(1292170,9,1968.43,-5935.75,102.545,0,0,3.21401,100,1),
(1292170,10,1924.76,-5931.14,103.405,0,0,2.93127,100,1),
(1292170,11,1894.96,-5921.15,103.129,0,0,2.94698,100,1),
(1292170,12,1849.19,-5916.93,105.57,0,0,3.19438,100,1),
(1292170,13,1818.86,-5920.18,112.552,0,0,3.19438,100,1),
(1292170,14,1780.82,-5925.05,116.113,0,0,2.85273,100,1),
(1292170,15,1741.46,-5907.59,116.121,1000,1188,2.73099,100,1),
-- Scarlet Commander
(1287350,1,1775.91,-5832.22,116.268,0,0,3.27545,100,0),
(1287350,2,1755.28,-5834.67,116.466,0,0,0.155067,100,0),
(1287370,1,1762.27,-5808.16,116.622,0,0,0.0435456,100,0),
(1287370,2,1784.43,-5806.17,114.238,0,0,3.29274,100,0),
(1287360,1,1576.5323,-5779.924,117.6273,0,0, 4.752857,100,0),
(1287360,2,1578.6364,-5790.505,119.1621,0,0, 4.963344,100,0);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=28605;
DELETE FROM `smart_scripts` WHERE `entryorguid`=-129217 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
(-129217,0,0,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28607,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,1,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28606,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,2,0,34,0,100,0,2,14,0,0,41,0,0,0,0,0,0,11,28605,30,0,0,0,0,0,"Havenshire Stallion - On movement informer - despawn all guars"),
(-129217,0,3,0,25,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Havenshire Stallion - On reset - set active"),
(-129217,0,4,0,25,0,100,0,0,0,0,0,83,16777216,0,0,0,0,0,1,0,0,0,0,0,0,0,"Havenshire Stallion - On reset - Remove npc flag");
@@ -0,0 +1,2 @@
--
UPDATE `creature_template` SET `RegenHealth`=0 WHERE `Entry`=50047;
@@ -0,0 +1,7 @@
--
UPDATE `gameobject_template` SET `AIName`="" WHERE `entry` IN (113768, 113769, 113770, 113771, 113772);
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (32784);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (113768, 113769, 113770, 113771, 113772) AND `source_type`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (32784) 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
(32784, 0, 0, 0, 54, 0, 20, 0, 0, 0, 0, 0, 85, 61734, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Noblegarden Bunny Controller - On Just summoned - Invoker Cast 'Noblegarden Bunny'");
@@ -0,0 +1,5 @@
-- Gymer
DELETE FROM `creature_template_addon` WHERE `entry`=29647;
INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`) VALUES (29647,1,0);
-- Gerk
UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`=29455;
@@ -0,0 +1,76 @@
-- Rajh
UPDATE `creature_template` SET `difficulty_entry_1`= 48815, `mechanic_immune_mask`= 80297983, `scriptname`= 'boss_rajh' WHERE `entry`= 39378;
UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `speed_walk`= 2, `type_flags`= 104, `exp`= 3, `faction`= 14,
`unit_flags`= 32832, `unit_flags2`= 0, `vehicleId`= 790, `movementId`= 151, `mechanic_immune_mask`= 80297983, `flags_extra`= 1, `unit_class`= 4 WHERE `entry`= 48815;
-- Solar Winds Dummy
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 35, `unit_flags`= 33554496, `flags_extra`= 128 WHERE `entry`= 39634;
-- Solar Winds
UPDATE `creature_template` SET `scale`= 0.1, `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `unit_flags`= 33554496, `flags_extra`= 128, `InhabitType`= 1, `scriptname`= 'npc_solar_winds' WHERE `entry`= 39635;
-- Solar Winds (Fire)
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `unit_flags`= 33554496, `flags_extra`= 128 WHERE `entry`= 47922;
-- Inferno Leap
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `unit_flags`= 33587200, `unit_flags2`= 34816, `flags_extra`= 128, `VehicleId`= 1233 WHERE `entry`= 47040;
-- Orb of the Sun
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 14, `unit_flags`= 33587200, `unit_flags2`= 34816, `flags_extra`= 128, `vehicleId`= 787, `scale`= 0.1, `InhabitType`= 4, `scriptname`= 'npc_orb_of_the_sun' WHERE `entry`= 40835;
-- Blazing Inferno
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `faction`= 16, `unit_flags`= 33587200, `unit_flags2`= 34816, `flags_extra`= 128, `vehicleId`= 790 WHERE `entry`= 40927;
DELETE FROM `creature_text` WHERE `CreatureID`= 39378;
INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
(39378, 0, 0, 'Defilers! Wretches! Fiends! Begone from here!', 14, 0, 100, 0, 0, 18911, 44757, 'Rajh'),
(39378, 1, 0, 'Can you feel it? The blessed warmth of the sun?', 14, 0, 100, 0, 0, 18912, 44761, 'Rajh'),
(39378, 2, 0, 'I send you to your deity.', 14, 0, 100, 0, 0, 18914, 44758, 'Rajh to Player'),
(39378, 2, 1, 'I will take this life as an offering!', 14, 0, 100, 0, 0, 18913, 44759, 'Rajh to Player'),
(39378, 3, 0, 'Blazing rays of light, take me!', 14, 0, 100, 0, 0, 18910, 44760, 'Rajh to Player');
DELETE FROM `creature_template_addon` WHERE `entry` IN (39635, 47922, 47040, 40835);
INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES
(39635, '74109'),
(47922, '89131'),
(47040, '87645'),
(40835, '73658');
DELETE FROM `conditions` WHERE `SourceEntry`= 87653;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ScriptName`, `Comment`) VALUES
(13, 1, 87653, 0, 0, 31, 0, 3, 47040, 0, 0, 0, '', 'Inferno Leap - Target Inferno Leap');
-- Creature Inferno Leap 47040 SAI
SET @ENTRY := 47040;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 8, 0, 100, 1, 87653, 0, 0, 0, 67, 0, 500, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On spell 87653 hit - Trigger timed event #0 in 500 - 500 ms // "),
(@ENTRY, 0, 1, 0, 59, 0, 100, 0, 0, 0, 0, 0, 11, 87647, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 87647 on Self // ");
-- Creature Blazing Inferno 40927 SAI
SET @ENTRY := 40927;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 8, 0, 100, 1, 43671, 0, 0, 0, 67, 0, 500, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On spell 43671 hit - Trigger timed event #0 in 500 - 500 ms // "),
(@ENTRY, 0, 1, 0, 59, 0, 100, 1, 0, 0, 0, 0, 11, 89877, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 89877 on Action invoker // ");
DELETE FROM `achievement_criteria_data` WHERE `criteria_id`= 15990;
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
(15990, 11, 0, 0, 'achievement_sun_of_a');
DELETE FROM `spell_dbc` WHERE `Id`= 76374;
INSERT INTO `spell_dbc` (`Id`, `CastingTimeIndex`, `DurationIndex`, `Comment`) VALUES
(76374, 0, 575, 'Summon Meteor');
DELETE FROM `spelleffect_dbc` WHERE `Id`= 155916;
INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`) VALUES
(155916, 28, 40927, 64, 12, 12, 18, 18, 76374, 0);
DELETE FROM `spell_script_names` WHERE `ScriptName` IN
('spell_rajh_summon_meteor',
'spell_rajh_summon_sun_orb');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(76375, 'spell_rajh_summon_meteor'),
(76338, 'spell_rajh_summon_sun_orb');
@@ -0,0 +1,85 @@
-- Set scriptname for instance
UPDATE `instance_template` SET `script`= 'instance_lost_city_of_the_tolvir' WHERE `map`= 755;
-- Correct wrong base level of non-heroic bosses
UPDATE `creature_template` SET `minlevel`= 86, `maxlevel`= 86 WHERE `entry` IN (44577, 43612, 43614, 44819);
-- General Husam
UPDATE `creature_template` SET `difficulty_entry_1`= 48932, `mechanic_immune_mask`= 667893759, `scriptname`= 'boss_general_husam' WHERE `entry`= 44577;
UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `faction`= 16, `exp`= 3, `speed_walk`= 2.8, `speed_run`= 1.42857, `unit_flags`= 32832, `unit_flags2`= 67584, `VehicleId`= 1036, `movementId`= 154, `mechanic_immune_mask`= 667893759 WHERE `entry`= 48932;
-- Shockwave Stalker
UPDATE `creature_template` SET `minlevel`= 82, `maxlevel`= 82, `faction`= 35, `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 4, `flags_extra`= 131, `speed_run`= 1.14286 WHERE `entry`= 44711;
-- Shockwave Visual
UPDATE `creature_template` SET `minlevel`= 82, `maxlevel`= 82, `faction`= 14, `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 4, `flags_extra`= 131 WHERE `entry`= 44712;
-- Tol'Vir Land Mine
UPDATE `creature_template` SET `minlevel`= 82, `maxlevel`= 82, `faction`= 14, `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 1, `flags_extra`= 131, `scriptname`= 'npc_husam_tolvir_land_mine_trigger' WHERE `entry`= 44840;
-- Tol'Vir Land Mine Vehicle
UPDATE `creature_template` SET `minlevel`= 82, `maxlevel`= 82, `faction`= 14, `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 1, `flags_extra`= 131, `VehicleId`= 1050, `scriptname`= 'npc_husam_tolvir_land_mine_vehicle' WHERE `entry`= 44798;
-- Tol'Vir Land Mine 2
UPDATE `creature_template` SET `minlevel`= 82, `maxlevel`= 82, `faction`= 14, `unit_flags`= 33554432, `unit_flags2`= 2048, `InhabitType`= 1, `flags_extra`= 131, `scriptname`= 'npc_husam_tolvir_land_mine' WHERE `entry`= 44796;
-- Bad Intentions Target
UPDATE `creature_template` SET `InhabitType`= 4, `flags_extra`= 128 WHERE `entry`= 44586;
DELETE FROM `creature_text` WHERE `CreatureID`= 44577;
INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
(44577, 0, 0, 'Invaders, you shall go no further!', 14, 0, 100, 0, 0, 0, 49310, 'General Husam to Player'),
(44577, 1, 0, 'Insolent rat!', 14, 0, 100, 0, 0, 0, 49311, 'General Husam to Player'),
(44577, 2, 0, 'Murkash!', 14, 0, 100, 0, 0, 0, 49313, 'General Husam'),
(44577, 3, 0, '|TInterface\\Icons\\spell_nature_earthquake.blp:20|t%s begins to cast |cFFFF0000|Hspell:83445|h[Shockwave]!|h|r', 41, 0, 100, 0, 0, 0, 44921, 'General Husam'),
(44577, 4, 0, 'Tread Lightly.', 14, 0, 100, 0, 0, 0, 49314, 'General Husam'),
(44577, 5, 0, 'Siamat must not be freed! Turn back before it is too late!', 14, 0, 100, 0, 0, 0, 49312, 'General Husam to Player');
DELETE FROM `spell_script_names` WHERE `ScriptName` IN
('spell_husam_hammer_fist',
'spell_husam_hammer_fist',
'spell_husam_shockwave_summon_search',
'spell_husam_shockwave',
'spell_husam_shockwave',
'spell_husam_mystic_trap',
'spell_husam_mystic_trap',
'spell_husam_detonate_traps',
'spell_husam_bad_intentions',
'spell_husam_hurl',
'spell_husam_hurl_vehicle');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(83654, 'spell_husam_hammer_fist'),
(91256, 'spell_husam_hammer_fist'),
(83466, 'spell_husam_shockwave_summon_search'),
(83445, 'spell_husam_shockwave'),
(91257, 'spell_husam_shockwave'),
(83644, 'spell_husam_mystic_trap'),
(91252, 'spell_husam_mystic_trap'),
(91263, 'spell_husam_detonate_traps'),
(83113, 'spell_husam_bad_intentions'),
(83236, 'spell_husam_hurl'),
(83235, 'spell_husam_hurl_vehicle');
DELETE FROM `creature_template_addon` WHERE `entry` IN (44711, 44712);
INSERT INTO `creature_template_addon` (`entry`, `Auras`) VALUES
(44711, '83129');
DELETE FROM conditions WHERE SourceEntry IN (83445, 91257, 83466, 81350, 91263, 91263, 83235);
INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, Comment) VALUES
(13, 7, 83466, 0, 0, 31, 0, 3, 44712, 0, 0, 0, '', 'Shockwave Searcher - Target Shockwave Visual'),
(13, 7, 83445, 0, 0, 31, 0, 3, 44711, 0, 0, 0, '', 'Shockwave - Target Shockwave Stalker'),
(13, 7, 91257, 0, 0, 31, 0, 3, 44711, 0, 0, 0, '', 'Shockwave - Target Shockwave Stalker'),
(13, 7, 91263, 0, 0, 31, 0, 3, 44796, 0, 0, 0, '', 'Detonate Traps - Target Tolvir Land Mine');
-- Creature Shockwave Visual 44712 SAI
SET @ENTRY := 44712;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 1, 63, 0, 100, 0, 0, 0, 0, 0, 11, 83127, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "When just created - Self: Cast spell 83127 on Self // "),
(@ENTRY, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 67, 0, 5000, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, " Linked - Trigger timed event #0 in 5000 - 5000 ms // "),
(@ENTRY, 0, 2, 3, 59, 0, 100, 1, 0, 0, 0, 0, 28, 83127, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Remove aura due to spell 83127 // "),
(@ENTRY, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 83454, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 83454 on Self // ");
-- Creature Bad Intentions Target 44586 SAI
SET @ENTRY := 44586;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 27, 0, 100, 0, 0, 0, 0, 0, 67, 0, 1000, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "On passenger boarded (vehicle) - Trigger timed event #0 in 1000 - 1000 ms // "),
(@ENTRY, 0, 1, 2, 59, 0, 100, 0, 0, 0, 0, 0, 11, 83339, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "On timed event 0 triggered - Self: Cast spell 83339 on Action invoker // "),
(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 50630, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, " Linked - Self: Cast spell 50630 on Self // ");
@@ -0,0 +1,64 @@
DELETE FROM `creature_addon` WHERE `guid` IN (314192, 314172, 314164, 314163, 314162);
INSERT INTO `creature_addon` (`guid`, `Auras`) VALUES
(314192, '61574'),
(314172, '61574'),
(314164, '61574'),
(314163, '61574');
UPDATE `creature_template` SET `minlevel`= 85, `maxlevel`= 85, `exp`= 3 WHERE `entry`= 37944;
SET @ENTRY := 54660;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 54661;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 54662;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 52029;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 52028;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 52027;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 54441;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 54442;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
SET @ENTRY := 57800;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`= @ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 0, 25, 0, 100, 1, 0, 0, 0, 0, 11, 46905, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "On reset (e.g. after reaching home) - Self: Cast spell 46905 on Self // ");
@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (28907) AND `source_type`=0 and `id`=1;
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
(28907, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Prince Valanar - On reset - Set run off");
@@ -0,0 +1,2 @@
--
-- DELETE FROM `creature` WHERE `guid`=43465 AND `id`=34675;
@@ -0,0 +1,3 @@
--
UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry` IN (35337,35338,35340,35341,35342,35343,34714, 34679, 34768, 34653);
DELETE FROM `game_event_creature` WHERE `guid`=43465;
@@ -0,0 +1,18 @@
--
-- Phase: 128
-- Duplicates Removed
DELETE FROM `creature` WHERE `guid` IN (130365,130370,130364,130374,130372,130377,130367,130375,130366,130361,130371);
DELETE FROM `creature_addon` WHERE `guid` IN (130365,130370,130364,130374,130372,130377,130367,130375,130366,130361,130371);
UPDATE `creature` SET `phaseMask` = 128, `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 130400;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 130401;
UPDATE `creature` SET `spawndist` = 20, `MovementType` = 1 WHERE `id` = 29189;
UPDATE `creature` SET `phaseMask` = 128 WHERE `guid` IN (130387,130419);
UPDATE `creature` SET `spawndist` = 10, `MovementType` = 1 WHERE `guid` IN (130368,130369);
-- Howling Geist
UPDATE `creature` SET `position_x` = 2597.903076, `position_y` = -5549.420410, `position_z` = 159.772934, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130387;
UPDATE `creature` SET `position_x` = 2622.867432, `position_y` = -5481.481934, `position_z` = 156.948212, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130386;
UPDATE `creature` SET `position_x` = 2659.806885, `position_y` = -5537.375000, `position_z` = 163.303589, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130385;
UPDATE `creature` SET `position_x` = 2697.650391, `position_y` = -5469.664063, `position_z` = 156.943970, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130383;
UPDATE `creature` SET `position_x` = 2735.920410, `position_y` = -5363.948730, `position_z` = 157.715302, `spawndist` = 20, `MovementType` = 1 WHERE `guid` = 130381;
@@ -0,0 +1,5 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=23671 AND `source_type`=0 AND `id` IN (17,18);
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
(23671, 0, 17, 18, 1, 0, 100, 1, 30000, 30000, 0, 0, 44, 2, 0, 0, 0, 0, 0, 9, 24118, 0, 90, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Ooc - Change Phasemask of Val'kyr Observer"),
(23671, 0, 18, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Halfdan the Ice-Hearted - Ooc - despawn");
@@ -0,0 +1,34 @@
--
UPDATE `creature` SET `PhaseId`=169 WHERE `phaseMask`=1;
UPDATE `creature` SET `PhaseId`=170 WHERE `phaseMask`=2;
UPDATE `creature` SET `PhaseId`=171 WHERE `phaseMask`=4;
UPDATE `creature` SET `PhaseId`=172 WHERE `phaseMask`=8;
UPDATE `creature` SET `PhaseId`=173 WHERE `phaseMask`=16;
UPDATE `creature` SET `PhaseId`=174 WHERE `phaseMask`=32;
UPDATE `creature` SET `PhaseId`=175 WHERE `phaseMask`=64;
UPDATE `creature` SET `PhaseId`=176 WHERE `phaseMask`=128;
UPDATE `creature` SET `PhaseId`=177 WHERE `phaseMask`=256;
UPDATE `creature` SET `PhaseId`=178 WHERE `phaseMask`=512;
UPDATE `creature` SET `PhaseGroup`=371 WHERE `phaseMask`=3; -- phasemask 1, 2 (phaseid 169, 170)
UPDATE `creature` SET `PhaseGroup`=396 WHERE `phaseMask`=5; -- phasemask 1, 4 (phaseid 169, 171)
UPDATE `creature` SET `PhaseGroup`=368 WHERE `phaseMask`=7; -- phasemask 1, 2, 4 (phaseid 169, 170, 171)
UPDATE `creature` SET `PhaseGroup`=392 WHERE `phaseMask`=10; -- phasemask 2, 8 (phaseid 170, 172)
UPDATE `creature` SET `PhaseGroup`=367 WHERE `phaseMask`=12; -- phasemask 4, 8 (phaseid 171, 172)
UPDATE `creature` SET `PhaseGroup`=391 WHERE `phaseMask`=17; -- phasemask 1, 16 (phaseid 169, 173)
UPDATE `creature` SET `PhaseGroup`=374 WHERE `phaseMask`=49; -- phasemask 1, 16, 32 (phaseid 169, 173, 174)
UPDATE `creature` SET `PhaseGroup`=394 WHERE `phaseMask`=66; -- phasemask 2, 64 (phaseid 170, 175)
UPDATE `creature` SET `PhaseGroup`=408 WHERE `phaseMask`=69; -- phasemask 1, 4, 64 (phaseid 169, 170, 175)
UPDATE `creature` SET `PhaseGroup`=375 WHERE `phaseMask`=129; -- phasemask 1, 128 (phaseid 169, 176)
UPDATE `creature` SET `PhaseGroup`=369 WHERE `phaseMask`=192; -- phasemask 64, 128 (phaseid 175, 176)
UPDATE `creature` SET `PhaseGroup`=397 WHERE `phaseMask`=193; -- phasemask 1, 64, 128 (phaseid 169, 175, 176)
UPDATE `creature` SET `PhaseGroup`=387 WHERE `phaseMask`=202; -- phasemask 2, 4, 64, 128 (phaseid 170, 171, 175, 176)
UPDATE `creature` SET `PhaseGroup`=370 WHERE `phaseMask`=257; -- phasemask 1, 256 (phaseid 169, 177)
UPDATE `creature` SET `PhaseGroup`=373 WHERE `phaseMask`=271; -- phasemask 1, 2, 4, 8, 256 (phaseid 169, 170, 171, 172, 177)
UPDATE `creature` SET `PhaseGroup`=376 WHERE `phaseMask`=511; -- phasemask 1, 2, 4, 8, 16, 32, 64, 128, 256 (phaseid 169, 170, 171, 172, 173, 174, 175, 176, 177)
UPDATE `creature` SET `PhaseGroup`=372 WHERE `phaseMask`=1023; -- phasemask 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 (phaseid 169, 170, 171, 172, 173, 174, 175, 176, 177, 178)
@@ -0,0 +1,373 @@
/*Table structure for table `archaeology_sites` */
DROP TABLE IF EXISTS `archaeology_sites`;
CREATE TABLE `archaeology_sites` (
`Id` smallint(5) unsigned NOT NULL,
`MapId` int(10) unsigned NOT NULL,
`QuestPOI` smallint(5) unsigned NOT NULL,
`ReqSkill` int(10) unsigned NOT NULL,
`MinLevel` int(10) unsigned NOT NULL,
`GameobjectEntry` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `archaeology_sites` */
INSERT INTO `archaeology_sites`(`Id`,`MapId`,`QuestPOI`,`ReqSkill`,`MinLevel`,`GameobjectEntry`) VALUES
(9,0,54097,0,10,204282),
(10,0,54124,0,20,204282),
(12,0,54126,0,20,204282),
(13,0,54127,0,20,206836),
(15,0,54129,0,25,204282),
(18,0,54132,0,25,202655),
(19,0,54133,0,20,204282),
(20,0,54134,0,20,206836),
(21,0,54135,0,20,206836),
(22,0,54136,0,30,204282),
(23,0,54137,0,30,202655),
(24,0,54138,0,30,202655),
(25,0,54139,0,30,202655),
(26,0,54140,0,30,202655),
(27,0,54141,0,30,202655),
(144,0,54832,0,44,204282),
(146,0,54834,0,44,204282),
(150,0,54838,0,44,204282),
(152,0,54862,0,52,202655),
(154,0,54864,0,52,206836),
(163,0,55350,0,20,203071),
(165,0,55352,0,20,206836),
(167,1,55354,0,10,203071),
(169,1,55356,0,20,203071),
(171,1,55398,0,20,203071),
(173,1,55400,0,20,203071),
(175,1,55402,0,20,203071),
(177,1,55404,0,25,203071),
(179,1,55406,0,25,203071),
(181,1,55408,0,25,206836),
(183,1,55410,0,30,204282),
(185,1,55412,0,10,203071),
(187,1,55414,0,10,203071),
(189,0,55416,0,15,206836),
(191,1,55418,0,30,203071),
(193,1,55420,0,30,203071),
(195,1,55422,0,30,206836),
(197,1,55424,0,30,203071),
(199,1,55426,0,30,206836),
(201,1,55428,0,30,203071),
(203,0,55434,0,54,206836),
(205,0,55436,0,54,206836),
(207,0,55438,0,47,204282),
(209,0,55440,0,47,204282),
(211,0,55442,0,49,204282),
(213,0,55444,0,49,204282),
(215,0,55446,0,49,206836),
(217,0,55448,0,40,202655),
(219,0,55450,0,40,203071),
(221,0,55452,0,40,206836),
(223,0,55454,0,25,202655),
(225,0,55456,0,25,202655),
(227,0,55458,0,25,202655),
(229,0,55460,0,25,202655),
(231,0,55462,0,25,202655),
(233,0,55464,0,25,202655),
(235,0,55466,0,25,202655),
(237,0,55468,0,25,206836),
(239,0,55470,0,30,202655),
(241,0,55472,0,30,202655),
(243,0,55474,0,30,202655),
(245,0,55476,0,30,202655),
(247,0,55478,0,35,206836),
(249,0,55480,0,35,206836),
(251,0,55482,0,35,206836),
(259,1,55755,0,35,206836),
(261,1,55757,0,35,206836),
(279,1,56327,0,35,203071),
(281,1,56329,0,35,203071),
(283,1,56331,0,35,203071),
(285,1,56333,0,35,203071),
(287,1,56335,0,35,203071),
(289,1,56337,0,35,203071),
(291,1,56339,0,35,203071),
(293,1,56341,0,35,203071),
(295,1,56343,0,45,203071),
(297,1,56345,0,45,203071),
(299,1,56347,0,45,203071),
(301,1,56349,0,45,203071),
(303,1,56351,0,50,203071),
(305,1,56354,0,50,203071),
(307,1,56356,0,50,203071),
(309,1,56358,0,30,206836),
(313,1,56362,0,30,203071),
(315,1,56364,0,45,202655),
(317,1,56367,0,45,202655),
(319,1,56369,0,45,202655),
(321,1,56371,0,45,202655),
(323,1,56373,0,45,206836),
(325,1,56375,0,45,206836),
(327,1,56380,0,50,206836),
(329,1,56382,0,50,206836),
(331,1,56384,0,50,206836),
(333,1,56386,0,50,206836),
(335,1,56388,0,50,206836),
(337,1,56390,0,55,203071),
(339,530,56392,300,58,207187),
(341,530,56394,300,58,207187),
(343,530,56396,300,58,207187),
(345,530,56398,300,58,207187),
(347,530,56400,300,58,207188),
(349,530,56402,300,60,207188),
(351,530,56404,300,60,207188),
(353,530,56406,300,67,207188),
(355,530,56408,300,67,207188),
(357,530,56410,300,67,207188),
(359,530,56412,300,64,207187),
(363,530,56416,300,64,207187),
(365,530,56418,300,64,207187),
(367,530,56420,300,64,207187),
(369,530,56422,300,64,207188),
(371,530,56424,300,62,207187),
(373,530,56426,300,62,207188),
(375,530,56428,300,62,207187),
(377,530,56430,300,62,207187),
(379,530,56432,300,62,207188),
(381,530,56434,300,62,207188),
(383,530,56437,300,62,207188),
(385,530,56439,300,67,207188),
(387,530,56441,300,67,207188),
(391,530,56446,300,67,207188),
(393,530,56448,300,67,207188),
(395,530,56450,300,67,207187),
(399,530,56455,300,67,207187),
(401,571,56504,375,68,207189),
(403,571,56506,375,68,207189),
(405,571,56508,375,68,207189),
(407,571,56510,375,68,207189),
(409,571,56512,375,68,207189),
(411,571,56514,375,68,207189),
(413,571,56516,375,68,207189),
(415,571,56518,375,71,203078),
(417,571,56520,375,71,203071),
(419,571,56522,375,68,203078),
(421,571,56524,375,74,203078),
(423,571,56526,375,68,203071),
(425,571,56528,375,77,203071),
(427,571,56530,375,77,203071),
(429,571,56533,375,74,202655),
(431,571,56535,375,74,202655),
(433,571,56537,375,74,202655),
(435,571,56539,375,74,202655),
(437,571,56541,375,68,203078),
(439,571,56543,375,73,207189),
(443,571,56547,375,73,202655),
(445,571,56549,375,77,207189),
(447,571,56551,375,77,207189),
(449,571,56553,375,77,207189),
(451,571,56555,375,77,203078),
(455,571,56560,375,77,207189),
(457,571,56562,375,77,207189),
(459,571,56564,375,77,207189),
(461,1,56566,0,80,203071),
(463,1,56568,0,80,203071),
(465,1,56570,0,80,203071),
(467,1,56572,0,80,203071),
(469,1,56574,0,80,203071),
(477,0,56583,0,84,204282),
(479,0,56585,0,84,204282),
(481,0,56587,0,84,204282),
(485,1,56591,475,83,207190),
(487,1,56593,475,83,207190),
(489,1,56595,475,83,207190),
(491,1,56597,475,83,207190),
(493,1,56599,475,83,207190),
(495,1,56601,475,83,207190),
(497,1,56603,475,83,207190),
(499,1,56605,475,83,207190),
(501,1,56607,475,83,207190),
(570,1,60350,475,83,207190),
(572,1,60352,475,83,207190),
(574,1,60354,475,83,207190),
(576,1,60356,475,83,207190),
(578,1,60358,475,83,207190),
(581,1,60361,475,83,207190),
(583,1,60363,475,83,207190),
(587,571,60367,375,77,203078),
(589,571,60369,375,68,203078),
(615,0,60442,0,40,203078),
(617,0,60444,0,40,203078);
DROP TABLE IF EXISTS `archaeology_projects`;
CREATE TABLE `archaeology_projects` (
`Entry` smallint(5) unsigned NOT NULL DEFAULT '0',
`Branch` tinyint(3) unsigned NOT NULL,
`Rarity` tinyint(3) unsigned NOT NULL,
`ReqSkill` smallint(5) unsigned NOT NULL,
`Fragments` tinyint(3) unsigned NOT NULL,
`Keystone` tinyint(3) unsigned NOT NULL,
`Spell` int(10) unsigned NOT NULL,
PRIMARY KEY (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `archaeology_projects` */
INSERT INTO `archaeology_projects`(`Entry`,`Branch`,`Rarity`,`ReqSkill`,`Fragments`,`Keystone`,`Spell`) VALUES
(9,1,0,1,35,1,86857),
(40,1,0,1,35,1,86864),
(42,1,0,1,30,0,86865),
(44,1,0,1,32,0,86866),
(70,1,0,1,35,1,88180),
(72,1,0,1,34,1,88181),
(77,8,0,1,27,0,88262),
(87,8,0,1,30,0,88907),
(89,8,0,1,32,0,88908),
(91,1,0,1,28,0,88909),
(93,1,0,1,34,0,88910),
(95,3,0,1,31,0,88929),
(97,3,0,1,25,0,88930),
(99,4,0,1,30,0,89009),
(101,4,0,1,30,0,89012),
(103,4,0,1,30,0,89014),
(106,3,3,50,85,0,89693),
(108,4,0,1,35,1,89696),
(112,8,0,1,35,1,89701),
(114,8,0,1,34,1,89711),
(118,1,0,1,34,1,89717),
(120,8,0,1,35,1,89890),
(122,8,0,1,35,1,89891),
(124,4,0,1,35,1,89893),
(126,4,0,1,35,1,89894),
(128,3,0,1,35,0,89895),
(130,4,0,1,35,1,89896),
(139,1,0,1,35,1,90410),
(141,1,0,1,35,1,90411),
(143,1,0,1,34,1,90412),
(145,1,0,1,35,1,90413),
(147,1,0,1,35,1,90415),
(149,1,0,1,36,1,90419),
(153,8,0,1,35,1,90420),
(155,8,0,1,35,1,90421),
(157,8,0,1,35,1,90423),
(159,8,0,1,35,1,90429),
(161,3,0,1,35,0,90432),
(163,3,0,1,35,0,90433),
(165,4,0,1,35,1,90451),
(167,3,0,1,35,0,90452),
(169,4,0,1,35,1,90453),
(171,4,0,1,35,1,90458),
(173,4,3,150,100,3,90464),
(175,4,3,150,100,3,90493),
(177,1,0,1,35,1,90504),
(179,1,0,1,35,1,90506),
(181,1,0,1,35,1,90509),
(183,1,0,1,35,1,90518),
(185,1,0,1,35,1,90519),
(187,1,3,225,100,3,90521),
(189,1,3,150,100,3,90553),
(191,8,0,1,35,1,90558),
(193,8,0,1,35,1,90581),
(195,8,4,450,150,3,90608),
(197,4,0,1,35,1,90609),
(199,4,0,1,34,1,90610),
(201,4,0,1,35,1,90611),
(203,4,0,1,35,1,90612),
(205,4,3,225,98,3,90614),
(207,4,4,225,100,3,90616),
(209,3,0,1,33,0,90617),
(211,3,0,1,35,0,90618),
(213,3,4,150,100,0,90619),
(215,6,0,300,45,2,90622),
(217,6,0,300,45,2,90720),
(219,6,0,300,45,2,90728),
(221,6,0,300,45,2,90730),
(223,6,0,300,45,2,90732),
(225,6,0,300,45,2,90734),
(231,6,0,300,45,2,90833),
(233,6,0,300,45,2,90832),
(235,6,0,300,45,2,90831),
(237,6,4,300,130,3,90843),
(239,2,0,300,45,2,90853),
(241,2,0,300,45,2,90860),
(243,2,0,300,46,2,90861),
(245,2,0,300,46,2,90864),
(250,2,0,300,46,2,90968),
(252,2,0,300,44,2,90974),
(254,2,0,300,45,2,90975),
(256,2,3,300,124,3,90983),
(258,2,3,300,130,3,90984),
(260,2,0,300,45,2,90987),
(262,27,0,375,45,2,90988),
(264,27,4,375,130,3,90997),
(266,27,0,375,45,2,91008),
(268,27,0,375,45,2,91012),
(270,27,0,375,45,2,91014),
(273,27,0,375,45,2,91084),
(275,3,0,300,45,0,91089),
(277,3,0,300,45,0,91132),
(279,5,0,375,45,2,91133),
(283,5,0,375,45,2,91170),
(285,5,0,375,45,3,91188),
(287,5,0,375,45,2,91191),
(289,5,0,375,45,2,91197),
(291,5,0,375,45,2,91209),
(293,5,0,375,45,2,91211),
(295,5,4,375,140,3,91214),
(297,5,4,375,140,3,91215),
(301,1,0,1,45,2,91219),
(303,1,0,1,45,2,91221),
(305,1,0,1,45,2,91223),
(307,1,0,1,45,2,91224),
(309,1,0,1,45,2,91225),
(313,1,3,150,150,3,91226),
(315,1,4,450,150,3,91227),
(317,4,4,450,150,3,91757),
(319,4,4,450,150,3,91761),
(323,4,0,450,45,2,91762),
(325,4,0,450,45,2,91766),
(327,4,0,450,45,2,91769),
(329,4,4,450,150,3,91773),
(331,7,0,450,45,2,91775),
(333,7,0,450,45,2,91779),
(335,7,0,450,45,2,91780),
(339,7,0,450,45,2,91782),
(341,7,0,450,45,2,91785),
(343,7,1,450,45,2,91790),
(345,7,0,450,45,2,91792),
(347,1,0,1,45,2,91793),
(349,7,4,450,150,3,92137),
(351,7,4,450,150,3,92139),
(353,7,4,450,150,3,92145),
(355,7,4,450,150,3,92148),
(357,7,4,450,150,3,92163),
(359,7,4,450,150,3,92168),
(371,1,0,1,30,0,93440),
(372,4,0,1,30,0,93441),
(374,3,0,1,30,0,93442),
(378,3,0,1,35,0,93443),
(380,8,0,1,32,0,93444),
(628,3,4,450,150,0,98533),
(633,8,3,150,100,3,98556),
(635,3,3,225,100,0,98560),
(637,27,3,500,100,3,98569),
(639,3,3,225,120,0,98582),
(641,8,3,150,100,3,98588);
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (5315, 5469,5470);
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
(5315, 8, 10, 3, ""),
(5469, 8, 50, 3, ""),
(5470, 8, 100, 3, "");
DELETE FROM `achievement_reward` WHERE `ID` IN (4854, 4855, 4856);
INSERT INTO `achievement_reward` (`ID`, `TitleA`, `TitleH`) VALUES
(4854, 189, 189),
(4855, 190, 190),
(4856, 191, 191);
DELETE FROM `trinity_string` WHERE `entry`= 810;
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
(810, "You can't use that here.");
@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=24464 AND `id`=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
(24464,0,2,0,11,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Scourging Crystal - On Respawn - Set Reactstate Passive');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_rajh_summon_sun_orb_power_cost';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(80352, 'spell_rajh_summon_sun_orb_power_cost');
@@ -0,0 +1 @@
UPDATE `creature_template` SET `flags_extra`= 0 WHERE `entry`= 44796;
@@ -0,0 +1,7 @@
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_sha_elemental_overload';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(77222, 'spell_sha_elemental_overload');
DELETE FROM `spell_proc` WHERE `SpellID`= 77222;
INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES
(77222, 11, 0, 0x00010000, 1, 2, 0, 0x0000020);
@@ -0,0 +1,169 @@
SET @CGUID:=144950;
SET @EVENT1:=6; -- New Year's Eve
SET @EVENT2:=72; -- Fireworks Spectacular
DELETE FROM `creature_template_addon` WHERE `entry` = 15724;
INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES
(15724, '26115');
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+40;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+0 , 15724, 0, 0, 0, 1, 1, 0, 0, -14303.2, 442.825, 28.34243, 4.363323, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+1 , 15724, 0, 0, 0, 1, 1, 0, 0, -14304.99, 433.2847, 29.36503, 1.396263, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+2 , 15724, 0, 0, 0, 1, 1, 0, 0, -14272.64, 421.7396, 36.33361, 2.032897, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+3 , 15724, 0, 0, 0, 1, 1, 0, 0, -14314.71, 474.2673, 18.35473, 1.095548, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+4 , 15724, 0, 0, 0, 1, 1, 0, 0, -14280.88, 424.5142, 35.37117, 2.526357, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+5 , 15724, 0, 0, 0, 1, 1, 0, 0, -14278.35, 553.1927, 8.983554, 3.909538, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+6 , 15724, 0, 0, 0, 1, 1, 0, 0, -14302.29, 511.1232, 8.829531, 3.860822, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+7 , 15724, 0, 0, 0, 1, 1, 0, 0, -14286.46, 540.7466, 9.004538, 1.972222, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+8 , 15724, 0, 0, 0, 1, 1, 0, 0, -14293.2, 557.6228, 8.855279, 5.218534, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+9 , 15724, 0, 0, 0, 1, 1, 0, 0, -14343.7, 450.156, 7.633924, 5.585053, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1578) (Auras: 26115 - 26115)
(@CGUID+10, 15724, 0, 0, 0, 1, 1, 0, 0, -14366.24, 426.8889, 7.443278, 1.780236, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+11, 15724, 0, 0, 0, 1, 1, 0, 0, -14415.8, 518.922, 5.104904, 3.176499, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+12, 15724, 0, 0, 0, 1, 1, 0, 0, -14390.88, 414.8611, 22.82784, 2.740167, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+13, 15724, 0, 0, 0, 1, 1, 0, 0, -14427.25, 456.5104, 15.42189, 4.485496, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+14, 15724, 0, 0, 0, 1, 1, 0, 0, -14400.63, 413.0382, 7.934666, 0.7126135, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+15, 15724, 0, 0, 0, 1, 1, 0, 0, -14437.55, 462.809, 3.976888, 3.560472, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+16, 15724, 0, 0, 0, 1, 1, 0, 0, -14432.76, 509.2965, 7.009702, 4.28674, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+17, 15724, 0, 0, 0, 1, 1, 0, 0, -14405.37, 410.5955, 27.81997, 0.8901179, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+18, 15724, 0, 0, 0, 1, 1, 0, 0, -14386, 399.288, 6.645936, 2.408554, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+19, 15724, 0, 0, 0, 1, 1, 0, 0, -14426.78, 523.7899, 5.075222, 5.72468, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 35) (Auras: 26115 - 26115)
(@CGUID+20, 15724, 0, 0, 0, 1, 1, 0, 0, -14441.94, 481.1354, 15.273, 4.572762, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+21, 15724, 0, 0, 0, 1, 1, 0, 0, -14423.59, 424.6684, 21.85322, 3.719135, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+22, 15724, 0, 0, 0, 1, 1, 0, 0, -14445.73, 519.0208, 26.399, 5.340707, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+23, 15724, 0, 0, 0, 1, 1, 0, 0, -14442.65, 454.5469, 3.817722, 0.5235988, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+24, 15724, 0, 0, 0, 1, 1, 0, 0, -14438.98, 436.3958, 20.50878, 3.071779, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+25, 15724, 0, 0, 0, 1, 1, 0, 0, -14450.99, 462.4686, 15.43489, 3.682765, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+26, 15724, 0, 0, 0, 1, 1, 0, 0, -14448.31, 448.5817, 20.47261, 5.001486, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+27, 15724, 0, 0, 0, 1, 1, 0, 0, -14451.06, 454.7153, 20.54233, 0.7504916, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+28, 15724, 0, 0, 0, 1, 1, 0, 0, -14457.22, 494.8703, 26.35823, 1.029744, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+29, 15724, 0, 0, 0, 1, 1, 0, 0, -14458.1, 488.625, 15.20773, 1.937315, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+30, 15724, 0, 0, 0, 1, 1, 0, 0, -14449.02, 436.2082, 3.889718, 1.064651, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+31, 15724, 0, 0, 0, 1, 1, 0, 0, -14376.58, 386.1563, 22.67363, 4.852015, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+32, 15724, 0, 0, 0, 1, 1, 0, 0, -14461.74, 478.2934, 26.94364, 3.508112, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+33, 15724, 0, 0, 0, 1, 1, 0, 0, -14434.82, 416.8488, 8.818702, 0.6616975, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+34, 15724, 0, 0, 0, 1, 1, 0, 0, -14465.08, 474.9278, 15.03919, 6.038839, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+35, 15724, 0, 0, 0, 1, 1, 0, 0, -14460.96, 502.9427, 15.2055, 4.764749, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+36, 15724, 0, 0, 0, 1, 1, 0, 0, -14463.32, 502.349, 26.35558, 5.707227, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+37, 15724, 0, 0, 0, 1, 1, 0, 0, -14448.88, 429.5278, 15.10494, 3.735005, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+38, 15724, 0, 0, 0, 1, 1, 0, 0, -14471.41, 468.4601, 36.53928, 4.29351, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+39, 15724, 0, 0, 0, 1, 1, 0, 0, -14472.04, 483.9948, 20.465, 0.6283185, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0), -- 15724 (Area: 1759) (Auras: 26115 - 26115)
(@CGUID+40, 15724, 0, 0, 0, 1, 1, 0, 0, -14472.41, 486.0102, 26.77704, 5.547335, 120, 0, 0, 0, 0, 0, 0, 0, 0, '', 0); -- 15724 (Area: 1759) (Auras: 26115 - 26115)
DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+40 AND `eventEntry`=@EVENT1;
INSERT INTO `game_event_creature` SELECT @EVENT1, creature.guid FROM `creature` WHERE creature.guid BETWEEN @CGUID+0 AND @CGUID+40;
DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+40 AND `eventEntry`=@EVENT2;
INSERT INTO `game_event_creature` SELECT @EVENT2, creature.guid FROM `creature` WHERE creature.guid BETWEEN @CGUID+0 AND @CGUID+40;
-- 6 New Year's Eve & 72 Fireworks Spectacular
-- Despawn Booty Bay Bruiser but not 718, 680, 653
DELETE FROM `game_event_creature` WHERE `guid` IN
(76,77,160,161,162,163,164,165,178,182,589,590,591,592,593,594,595,596,597,598,599,649,650,651,652,654,655,656,657,679,681,682,683,686,687,688,689,692,693,
694,695,696,697,698,699,700,715,716,717,719,2164,2167) AND `eventEntry` IN (-@EVENT1, -@EVENT2);
INSERT INTO `game_event_creature` (`eventEntry`, `guid`) VALUES
(-@EVENT1, 76),
(-@EVENT1, 77),
(-@EVENT1, 160),
(-@EVENT1, 161),
(-@EVENT1, 162),
(-@EVENT1, 163),
(-@EVENT1, 164),
(-@EVENT1, 165),
(-@EVENT1, 178),
(-@EVENT1, 182),
(-@EVENT1, 589),
(-@EVENT1, 590),
(-@EVENT1, 591),
(-@EVENT1, 592),
(-@EVENT1, 593),
(-@EVENT1, 594),
(-@EVENT1, 595),
(-@EVENT1, 596),
(-@EVENT1, 597),
(-@EVENT1, 598),
(-@EVENT1, 599),
(-@EVENT1, 649),
(-@EVENT1, 650),
(-@EVENT1, 651),
(-@EVENT1, 652),
(-@EVENT1, 654),
(-@EVENT1, 655),
(-@EVENT1, 656),
(-@EVENT1, 657),
(-@EVENT1, 679),
(-@EVENT1, 681),
(-@EVENT1, 682),
(-@EVENT1, 683),
(-@EVENT1, 686),
(-@EVENT1, 687),
(-@EVENT1, 688),
(-@EVENT1, 689),
(-@EVENT1, 692),
(-@EVENT1, 693),
(-@EVENT1, 694),
(-@EVENT1, 695),
(-@EVENT1, 696),
(-@EVENT1, 697),
(-@EVENT1, 698),
(-@EVENT1, 699),
(-@EVENT1, 700),
(-@EVENT1, 715),
(-@EVENT1, 716),
(-@EVENT1, 717),
(-@EVENT1, 719),
(-@EVENT1, 2164),
(-@EVENT1, 2167),
(-@EVENT2, 76),
(-@EVENT2, 77),
(-@EVENT2, 160),
(-@EVENT2, 161),
(-@EVENT2, 162),
(-@EVENT2, 163),
(-@EVENT2, 164),
(-@EVENT2, 165),
(-@EVENT2, 178),
(-@EVENT2, 182),
(-@EVENT2, 589),
(-@EVENT2, 590),
(-@EVENT2, 591),
(-@EVENT2, 592),
(-@EVENT2, 593),
(-@EVENT2, 594),
(-@EVENT2, 595),
(-@EVENT2, 596),
(-@EVENT2, 597),
(-@EVENT2, 598),
(-@EVENT2, 599),
(-@EVENT2, 649),
(-@EVENT2, 650),
(-@EVENT2, 651),
(-@EVENT2, 652),
(-@EVENT2, 654),
(-@EVENT2, 655),
(-@EVENT2, 656),
(-@EVENT2, 657),
(-@EVENT2, 679),
(-@EVENT2, 681),
(-@EVENT2, 682),
(-@EVENT2, 683),
(-@EVENT2, 686),
(-@EVENT2, 687),
(-@EVENT2, 688),
(-@EVENT2, 689),
(-@EVENT2, 692),
(-@EVENT2, 693),
(-@EVENT2, 694),
(-@EVENT2, 695),
(-@EVENT2, 696),
(-@EVENT2, 697),
(-@EVENT2, 698),
(-@EVENT2, 699),
(-@EVENT2, 700),
(-@EVENT2, 715),
(-@EVENT2, 716),
(-@EVENT2, 717),
(-@EVENT2, 719),
(-@EVENT2, 2164),
(-@EVENT2, 2167);
@@ -0,0 +1,2 @@
--
-- UPDATE `creature` SET `position_x`=-8850.944336, `position_y`=716.976990, `position_z`=97.425034, `Orientation`=1.968332, `MovementType`=0, `spawndist`=0 WHERE `guid`=120682 AND `id`=68;
@@ -0,0 +1,13 @@
-- Naias
UPDATE `event_scripts` SET `x`= -12132.446289, `y`=964.982422, `z`= 5.194236, `o`= 5.130559 WHERE `id`=10554;
SET @ENTRY := 17207;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,0,0,0,100,0,5000,5000,12000,13000,11,37054,0,0,0,0,0,2,0,0,0,0,0,0,0,'Naias - IC - cast Water Bolt'),
(@ENTRY,0,1,0,0,0,100,0,2000,6000,10000,14000,11,34828,0,0,0,0,0,2,0,0,0,0,0,0,0,'Naias - IC -cast Water Shield'),
(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Naias - just summoned - say text');
DELETE FROM `creature_text` WHERE `CreatureID`=17207;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17207, 0, 0, 'Who challenges Naias? Puny $r, you are little better than those mindless trolls I have played against each other like so many pieces on a game board!', 12, 0, 100, 0, 0, 0, 13560, 0, 'Naias');
@@ -0,0 +1,5 @@
-- "Stinky" Ignatz
DELETE FROM `creature_text` WHERE `CreatureID`=4880 AND `GroupID`=10 AND `ID` IN (2,3);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4880,10,2,"Look out! The $n attacks!",12,0,100,0,0,0,1628,0,"\"Stinky\" Ignatz"),
(4880,10,3,"I'm glad you're here! Because I need your help!!",12,0,100,0,0,0,1631,0,"\"Stinky\" Ignatz");
@@ -0,0 +1,5 @@
-- Grenka Bloodscreech
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4490;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4490 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
(4490,0,0,0,0,0,100,0,3000,5000,12000,15000,11,3589,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grenka Bloodscreech - In Combat - Cast Deafening Screech");
@@ -0,0 +1,19 @@
-- Kin'weelay
DELETE FROM `creature_text` WHERE `CreatureID`=2519 AND `GroupID` IN (2,3,4);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2519,2,0,"I am eager to hear what so angry an orc has to say...",12,0,100,1,0,0,1664,0,"Kin'weelay"),
(2519,3,0,"%s places Marg's head in the cauldron.",16,0,100,0,0,0,1665,0,"Kin'weelay"),
(2519,4,0,"Peer into the cauldron, $n. Marg wishes to speak...",12,0,100,1,0,0,1666,0,"Kin'weelay");
DELETE FROM `smart_scripts` WHERE `entryorguid`=2519 AND `source_type`=0 AND `id`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid`=251901 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
(2519,0,1,0,20,0,100,0,1240,0,0,0,80,251901,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Quest 'The Troll Witchdoctor' Finished - Run Script"),
(251901,9,0,0,0,0,100,0,0,0,0,0,105,16,0,0,0,0,0,14,6783,2076,0,0,0,0,0,"Kin'weelay - On Script - Add Gameobject Flag"),
(251901,9,1,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Remove Npc Flag Questgiver"),
(251901,9,2,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Say Line 2"),
(251901,9,3,0,0,0,100,0,3000,3000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Say Line 3"),
(251901,9,4,0,0,0,100,0,2000,2000,0,0,11,3644,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Cast Speak with Heads"),
(251901,9,5,0,0,0,100,0,6000,6000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Say Line 4"),
(251901,9,6,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kin'weelay - On Script - Add Npc Flag Questgiver"),
(251901,9,7,0,0,0,100,0,0,0,0,0,106,16,0,0,0,0,0,14,6783,2076,0,0,0,0,0,"Kin'weelay - On Script - Remove Gameobject Flag");
@@ -0,0 +1,17 @@
-- Kravel Koalbeard
DELETE FROM `creature_text` WHERE `CreatureID`=4452 AND `GroupID` IN (0,1,2);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4452,0,0,"%s places the crate of parts on the ground.",16,0,100,0,0,0,1479,0,"Kravel Koalbeard"),
(4452,1,0,"%s grabs a part and puts it in his pocket...",16,0,100,0,0,0,1477,0,"Kravel Koalbeard"),
(4452,2,0,"There, that should do it...",12,0,100,0,0,0,1478,0,"Kravel Koalbeard");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4452;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4452 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=445200 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
(4452,0,0,0,20,0,100,0,1112,0,0,0,80,445200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Quest 'Parts for Kravel' Finished - Run Script"),
(445200,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,"Kravel Koalbeard - On Script - Remove Npc Flag Questgiver"),
(445200,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 0"),
(445200,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 1"),
(445200,9,3,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 2"),
(445200,9,4,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Add Npc Flag Questgiver");
@@ -0,0 +1,35 @@
-- Martek the Exiled
DELETE FROM `creature_text` WHERE `CreatureID`=4618;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4618,0,0,"%s takes the indurium flakes to his forge.",16,0,100,0,0,0,1500,0,"Martek the Exiled"),
(4618,1,0,"Now let's heat up these flakes...",12,0,100,0,0,0,1501,0,"Martek the Exiled"),
(4618,2,0,"So far they're holding. Let's turn up the heat...",12,0,100,1,0,0,1502,0,"Martek the Exiled"),
(4618,3,0,"By Orgrim! This indurium can withstand massive heat!",12,0,100,5,0,0,1503,0,"Martek the Exiled"),
(4618,4,0,"A successful test! $n, this indurium is some amazing stuff.",12,0,100,1,0,0,1504,0,"Martek the Exiled");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4618;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4618 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (461800,461801) 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
(4618,0,0,0,20,0,100,0,1108,0,0,0,80,461800,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Quest 'Indurium' Finished - Run Script"),
(4618,0,1,0,40,0,100,0,1,4618,0,0,80,461801,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Waypoint 1 Reached - Run Script"),
(4618,0,2,0,40,0,100,0,2,4618,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Waypoint 2 Reached - Set Orientation"),
(461800,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,"Martek the Exiled - On Script - Remove Npc Flag Questgiver+Gossip"),
(461800,9,1,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Say Line 0"),
(461800,9,2,0,0,0,100,0,0,0,0,0,53,0,4618,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Start Waypoint"),
(461801,9,0,0,0,0,100,0,0,0,0,0,54,19000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Pause Waypoint"),
(461801,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.24047,"Martek the Exiled - On Script - Set Orientation"),
(461801,9,2,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Say Line 1"),
(461801,9,3,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Set Emote State 69"),
(461801,9,4,0,0,0,100,0,3000,3000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Set Emote State 0"),
(461801,9,5,0,0,0,100,0,1000,1000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Say Line 2"),
(461801,9,6,0,0,0,100,0,3000,3000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Set Emote State 69"),
(461801,9,7,0,0,0,100,0,3000,3000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Set Emote State 0"),
(461801,9,8,0,0,0,100,0,1000,1000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Say Line 3"),
(461801,9,9,0,0,0,100,0,5000,5000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Say Line 4"),
(461801,9,10,0,0,0,100,0,5000,5000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Martek the Exiled - On Script - Add Npc Flag Questgiver+Gossip");
DELETE FROM `waypoints` WHERE `entry`=4618;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(4618,1,-6764.09,-3126.58,241.756,""),
(4618,2,-6763.39,-3129.3,241.384,"");
@@ -0,0 +1,15 @@
-- Fizzle Brassbolts
DELETE FROM `creature_text` WHERE `CreatureID`=4454;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4454,0,0,"%s listens as $n tells him of $ghis:her; adventures in the Badlands.",16,0,100,0,0,0,1495,0,"Fizzle Brassbolts"),
(4454,1,0,"Astounding! So then indurium is the key!",12,0,100,4,0,0,1496,0,"Fizzle Brassbolts");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4454;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4454 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=445400 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
(4454,0,0,0,20,0,100,0,1137,0,0,0,80,445400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fizzle Brassbolts - On Quest 'News for Fizzle' Finished - Run Script"),
(445400,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,"Fizzle Brassbolts - On Script - Remove Npc Flag Questgiver"),
(445400,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fizzle Brassbolts - On Script - Say Line 0"),
(445400,9,2,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fizzle Brassbolts - On Script - Say Line 1"),
(445400,9,3,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fizzle Brassbolts - On Script - Add Npc Flag Questgiver");
@@ -0,0 +1,20 @@
DELETE FROM `creature_text` WHERE `CreatureID`=773;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(773,0,0,"%s snorts a speck of dream dust up his nose...",16,0,100,0,0,0,1548,0,"Krazek"),
(773,1,0,"%s is dazed...",16,0,100,0,0,0,1549,0,"Krazek"),
(773,2,0,"ACHOO!",12,0,100,33,0,0,1550,0,"Krazek"),
(773,3,0,"Wow! $n, that dream dust is powerful stuff!",12,0,100,5,0,0,1551,0,"Krazek");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=773;
DELETE FROM `smart_scripts` WHERE `entryorguid`=773 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=77300 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
(773,0,0,0,20,0,100,0,1116,0,0,0,80,77300,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Quest 'Dream Dust in the Swamp' Finished - Run Script"),
(77300,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,"Krazek - On Script - Remove Npc Flag Questgiver"),
(77300,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 0"),
(77300,9,2,0,0,0,100,0,2000,2000,0,0,11,6903,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Cast Krazek's Drug"),
(77300,9,3,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 1"),
(77300,9,4,0,0,0,100,0,11000,11000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 2"),
(77300,9,5,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 2"),
(77300,9,6,0,0,0,100,0,3000,3000,0,0,1,3,0,0,0,0,0,7,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 3"),
(77300,9,7,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Add Npc Flag Questgiver");
@@ -0,0 +1,16 @@
-- Kravel Koalbeard
DELETE FROM `creature_text` WHERE `CreatureID`=4452 AND `GroupID` IN (3,4,5);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4452,3,0,"This stout sure smells strong!",12,0,100,0,0,0,1489,0,"Kravel Koalbeard"),
(4452,4,0,"Let's have just a small taste...",12,0,100,7,0,0,1491,0,"Kravel Koalbeard"),
(4452,5,0,"Wait! What am I thinking! We have a job to do with this stuff.",12,0,100,5,0,0,1492,0,"Kravel Koalbeard");
DELETE FROM `smart_scripts` WHERE `entryorguid`=4452 AND `source_type`=0 AND `id`=1;
DELETE FROM `smart_scripts` WHERE `entryorguid`=445201 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
(4452,0,1,0,20,0,100,0,1119,0,0,0,80,445201,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Quest 'Zanzil's Mixture and a Fool's Stout' Finished - Run Script"),
(445201,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,"Kravel Koalbeard - On Script - Remove Npc Flag Questgiver"),
(445201,9,1,0,0,0,100,0,1000,1000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 3"),
(445201,9,2,0,0,0,100,0,4000,4000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 4"),
(445201,9,3,0,0,0,100,0,3000,3000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Say Line 5"),
(445201,9,4,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kravel Koalbeard - On Script - Add Npc Flag Questgiver");
@@ -0,0 +1,13 @@
/*
DELETE FROM `quest_greeting` WHERE `ID` IN (10537,4046,4452,2216,2706,5412,5641,4498,2817);
INSERT INTO `quest_greeting` (`ID`, `Type`, `GreetEmoteType`, `GreetEmoteDelay`, `Greeting`, `VerifiedBuild`) VALUES
(10537,0,0,0,"We cannot take care of all the threats in this area alone. We could use another fighting hand, $n.",0), -- Cliffwatcher Longhorn
(2216,0,0,0,"We are but so close to developing the New Plague that our Dark Lady desires with such fervor.",0), -- Apothecary Lydon
(4452,0,0,0,"Come a little closer. We have important matters to discuss, you and I.$B$BAnd some of them we don't want everyone to hear...",0), -- Kravel Koalbeard
(4046,0,1,0,"You must listen, young $c. Listen to the whisperings in the darkness, for they offer guidance in these troubled times.",0), -- Magatha Grimtotem
(2706,0,0,0,"Thanks to the Warchief, even here in the ruins of our former prison some hope remains, and the Horde rises anew.",0), -- Tor'gan
(5412,0,0,0,"The centaur clans rule the wastes of Desolace. If united, they would be a terrible force. It is then good that the centaur clans are not united but instead bicker and war amongst themselves.",0), -- Gurda Wildmane
(5641,0,1,0,"The main threat Thrall wishes dealt with is the Burning Blade---members of the Horde that have given their loyalty to the demons. They seek to practice their dark magic and care little for Thrall's visions of the Horde's future here in Kalimdor.",0), -- Takata Steelblade
(4498,0,0,0,"Greetings, $c.",0), -- Maurin Bonesplitter
(2817,0,0,0,"You must be hard up to be wandering this Badlands, $c. A hard up like me.$B$BOr maybe you're here because you're crazy. Crazy, like me.",0); -- Rigglefuzz
*/
@@ -0,0 +1,5 @@
--
DELETE FROM `creature_text` WHERE `CreatureID`=35476 AND `GroupID`=0 AND `ID` IN (2,3);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(35476,0,2,'It won''t be long before Fizzlebang is a household word, used to scare children into bed! "Beware, or Fizzlebang will summon a mighty demon to eat you!"',12,0,100,1,0,0,35817,0,"Wilfred Fizzlebang"),
(35476,0,3,'I, Wilfred Fizzlebang, have been invited to this quaint tournament to make use of my extensive knowledge of the summoning arts. What better choice?',12,0,100,1,0,0,35815,0,"Wilfred Fizzlebang");
@@ -0,0 +1,11 @@
-- Gnome Pit Boss & Goblin Pit Boss
DELETE FROM `creature_text` WHERE `CreatureID` IN (4495,4496);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4495,0,0,"Look at what $n brought us! Let's drink up!",12,0,100,22,0,0,8242,0,"Gnome Pit Boss"),
(4496,0,0,"$n brought us booze! Let's party!",12,0,100,22,0,0,8244,0,"Goblin Pit Boss");
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (4495,4496);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4495,4496) 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
(4495,0,0,0,20,0,100,0,1120,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kravel Koalbeard - On Quest 'Get the Gnomes Drunk' Finished - Say Line 0"),
(4496,0,0,0,20,0,100,0,1121,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kravel Koalbeard - On Quest 'Get the Goblins Drunk' Finished - Say Line 0");
@@ -0,0 +1,227 @@
/*
-- Forsaken Raider
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17108;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17108 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
(17108,0,0,0,0,0,100,0,3000,7000,11000,15000,11,7992,32,0,0,0,0,2,0,0,0,0,0,0,0,"Forsaken Raider - In Combat - Cast Slowing Poison"),
(17108,0,1,0,25,0,100,0,0,0,0,0,11,6718,0,0,0,0,0,1,0,0,0,0,0,0,0,"Forsaken Raider - On Reset - Cast Phasing Stealth");
-- Forest Moss Creeper
DELETE FROM `smart_scripts` WHERE `entryorguid`=2350 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
(2350,0,0,0,0,0,100,0,3000,6000,31000,36000,11,3396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Forest Moss Creeper - In Combat - Cast Corrosive Poison");
-- Giant Moss Creeper
DELETE FROM `smart_scripts` WHERE `entryorguid`=2349 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
(2349,0,0,0,0,0,100,0,3000,6000,31000,36000,11,3396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Giant Moss Creeper - In Combat - Cast Corrosive Poison");
-- Mudsnout Shaman
DELETE FROM `smart_scripts` WHERE `entryorguid`=2373 AND `source_type`=0 AND `id`=1;
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
(2373,0,1,0,14,0,100,0,400,40,14000,19000,11,11014,0,0,0,0,0,7,0,0,0,0,0,0,0,"Mudsnout Shaman - Friendly At 400 Health - Cast Healing Wave");
-- Mudsnout Gnoll
DELETE FROM `smart_scripts` WHERE `entryorguid`=2372 AND `source_type`=0 AND `id`=1;
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
(2372,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,"Mudsnout Gnoll - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Hillsbrad Councilman
UPDATE `smart_scripts` SET `event_param2`=8, `comment`="Hillsbrad Councilman - Within 0-8 Range - Cast 'Frost Nova'" WHERE `entryorguid`=2387 AND `source_type`=0 AND `id`=2;
-- Magistrate Burnside
UPDATE `smart_scripts` SET `action_param2`=2 WHERE `entryorguid`=2335 AND `source_type`=0 AND `id` IN (1,2);
-- Syndicate Shadow Mage
UPDATE `smart_scripts` SET `event_param3`=3400, `event_param4`=4800 WHERE `entryorguid`=2244 AND `source_type`=0 AND `id`=0;
-- Syndicate Watchman
DELETE FROM `smart_scripts` WHERE `entryorguid`=2261 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
(2261,0,0,0,25,0,100,0,0,0,0,0,11,3582,0,0,0,0,0,1,0,0,0,0,0,0,0,"Syndicate Watchman - On Reset - Cast Torch Burst"),
(2261,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,"Syndicate Watchman - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Syndicate Rogue
DELETE FROM `smart_scripts` WHERE `entryorguid`=2260 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
(2260,0,0,0,67,0,100,0,6000,8000,0,0,11,37685,0,0,0,0,0,2,0,0,0,0,0,0,0,"Syndicate Rogue - On Behind Target - Cast Backstab"),
(2260,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,"Syndicate Rogue - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Dun Garok Priest
DELETE FROM `smart_scripts` WHERE `entryorguid`=2346 AND `source_type`=0 AND `id`=1;
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
(2346,0,1,0,14,0,100,0,250,40,15000,21000,11,11642,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dun Garok Priest - Friendly At 250 Health - Cast Heal");
-- Remove wrong texts from Jailor Marlgen
DELETE FROM `creature_text` WHERE `CreatureID`=2428;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2428 AND `source_type`=0 AND `id`=0;
-- Random movement for some creatures
UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid` IN (15959,15954,15962,15956,16025,16027);
UPDATE `creature` SET `spawndist`=15, `MovementType`=1 WHERE `guid` IN (15839,15974,90785);
-- Add emote for Hillsbrad Apprentice Blacksmith
UPDATE `creature_addon` SET `emote`=233 WHERE `guid`=15958;
-- Fix bytes2 for Dun Garok Riflemen
UPDATE `creature_addon` SET `bytes2`=2 WHERE `guid` IN (15686,15858,15869,15874,16105,16113,16167,16179,16180,15699,16183);
-- Pooling for Creepthess
SET @GUID := 40492;
DELETE FROM `creature` WHERE `guid` IN (@GUID, @GUID+1);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,14279,0,0,0,1,1,0,0,-747.954,278.299,48.0277,6.23466,72000,15,0,665,0,1,0,0,0,"",0),
(@GUID+1,14279,0,0,0,1,1,0,0,-729.424,-202.325,39.7752,3.78422,72000,15,0,665,0,1,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1111;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1111,1,"Creepthess");
DELETE FROM `pool_creature` WHERE `pool_entry`=1111;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1111,0,"Creepthess (14279) - Spawn 1"),
(@GUID+1,1111,0,"Creepthess (14279) - Spawn 2"),
(90785,1111,0,"Creepthess (14279) - Spawn 3");
-- Pooling for Big Samras
SET @GUID := 40494;
DELETE FROM `creature` WHERE `guid` IN (@GUID, @GUID+1, @GUID+2);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,14280,0,0,0,1,1,0,0,-636.669,-1651.57,60.7494,0.490619,43200,15,0,665,0,1,0,0,0,"",0),
(@GUID+1,14280,0,0,0,1,1,0,0,-281.772,-1664.94,95.4076,3.78422,43200,15,0,665,0,1,0,0,0,"",0),
(@GUID+2,14280,0,0,0,1,1,0,0,-206.604,-1252.77,114.217,1.35927,43200,15,0,665,0,1,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1112;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1112,1,"Big Samras");
DELETE FROM `pool_creature` WHERE `pool_entry`=1112;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1112,0,"Big Samras (14280) - Spawn 1"),
(@GUID+1,1112,0,"Big Samras (14280) - Spawn 2"),
(@GUID+2,1112,0,"Big Samras (14280) - Spawn 3"),
(15839,1112,0,"Big Samras (14280) - Spawn 4");
-- Pathing for Lady Zephris
UPDATE `creature` SET `position_x`=-1276.08, `position_y`=-976, `position_z`=-0.561754, `spawndist`=0, `MovementType`=2 WHERE `guid`=16047;
DELETE FROM `creature_addon` WHERE `guid`=16047;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(16047,160470,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=160470;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(160470,1,-1276.08,-976,-0.561754,0,0,0,0,100,0),
(160470,2,-1258.03,-950.293,1.1057,0,0,0,0,100,0),
(160470,3,-1245.88,-925.964,0.299947,0,0,0,0,100,0),
(160470,4,-1241.09,-902.986,0.176827,0,0,0,0,100,0),
(160470,5,-1216.54,-879.045,-0.012203,0,0,0,0,100,0),
(160470,6,-1204.1,-862.604,-0.022923,0,0,0,0,100,0),
(160470,7,-1177.1,-836.439,0.405907,0,0,0,0,100,0),
(160470,8,-1155.64,-807.945,-0.769681,0,0,0,0,100,0),
(160470,9,-1134.61,-785.771,-0.684184,0,0,0,0,100,0),
(160470,10,-1111.14,-792.039,-0.047394,0,0,0,0,100,0),
(160470,11,-1120.56,-803.641,2.45509,0,0,0,0,100,0),
(160470,12,-1149.99,-814.86,1.4159,0,0,0,0,100,0),
(160470,13,-1170.68,-831.741,0.905636,0,0,0,0,100,0),
(160470,14,-1186.74,-842.143,-0.424433,0,0,0,0,100,0),
(160470,15,-1205.23,-862.842,-0.181762,0,0,0,0,100,0),
(160470,16,-1221.71,-885.192,-0.091555,0,0,0,0,100,0),
(160470,17,-1244.15,-916.463,0.404305,0,0,0,0,100,0),
(160470,18,-1261.29,-949.49,0.631858,0,0,0,0,100,0),
(160470,19,-1277.74,-975.288,-0.7961,0,0,0,0,100,0),
(160470,20,-1290.77,-995.08,-0.895832,0,0,0,0,100,0),
(160470,21,-1313.06,-1004.87,-1.52388,0,0,0,0,100,0),
(160470,22,-1344.6,-1026.51,0.392506,0,0,0,0,100,0),
(160470,23,-1366.78,-1036.92,2.69835,0,0,0,0,100,0),
(160470,24,-1392.12,-1048.81,3.73084,0,0,0,0,100,0),
(160470,25,-1414.89,-1059.5,4.62124,0,0,0,0,100,0),
(160470,26,-1433.06,-1083.33,8.08795,0,0,0,0,100,0),
(160470,27,-1441.77,-1091.69,9.71514,0,0,0,0,100,0),
(160470,28,-1457.46,-1095.82,3.53264,0,0,0,0,100,0),
(160470,29,-1468.13,-1097.07,-1.56115,0,0,0,0,100,0),
(160470,30,-1472.68,-1080.05,-1.56115,0,0,0,0,100,0),
(160470,31,-1458.45,-1062.96,-1.56115,0,0,0,0,100,0),
(160470,32,-1451.28,-1056.44,-1.56115,0,0,0,0,100,0),
(160470,33,-1432.58,-1051.24,-0.703612,0,0,0,0,100,0),
(160470,34,-1409.8,-1040.14,-0.755762,0,0,0,0,100,0),
(160470,35,-1385.61,-1038.06,0.275001,0,0,0,0,100,0),
(160470,36,-1357.3,-1024.25,-0.809856,0,0,0,0,100,0),
(160470,37,-1326.17,-1014.01,-1.29519,0,0,0,0,100,0),
(160470,38,-1303.49,-997.97,-1.23017,0,0,0,0,100,0);
-- Pathing for Scargil
UPDATE `creature` SET `position_x`=-1172.77, `position_y`=123.663, `position_z`=0.157823, `spawndist`=0, `MovementType`=2 WHERE `guid`=15970;
DELETE FROM `creature_addon` WHERE `guid`=15970;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(15970,159700,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=159700;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(159700,1,-1172.77,123.663,0.157823,0,0,0,0,100,0),
(159700,2,-1172.87,118.873,0.322706,0,0,0,0,100,0),
(159700,3,-1164.9,111.492,3.19687,0,0,0,0,100,0),
(159700,4,-1159.58,90.6803,1.9422,0,0,0,0,100,0),
(159700,5,-1152.25,56.6911,0.424014,0,0,0,0,100,0),
(159700,6,-1151.73,33.0373,-0.172392,0,0,0,0,100,0),
(159700,7,-1151.24,14.382,-0.125738,0,0,0,0,100,0),
(159700,8,-1144.4,0.226702,-0.029557,0,0,0,0,100,0),
(159700,9,-1133.86,-10.8596,-0.189161,0,0,0,0,100,0),
(159700,10,-1104.63,-13.0749,0.554654,0,0,0,0,100,0),
(159700,11,-1081.96,-16.5233,1.19604,0,0,0,0,100,0),
(159700,12,-1073.98,-31.1868,0.77585,0,0,0,0,100,0),
(159700,13,-1089.35,-31.3077,-1.07762,0,0,0,0,100,0),
(159700,14,-1115.1,-22.2406,-1.09916,0,0,0,0,100,0),
(159700,15,-1138.02,-7.81281,-0.156224,0,0,0,0,100,0),
(159700,16,-1150.51,10.8034,-0.153825,0,0,0,0,100,0),
(159700,17,-1154.11,26.389,-0.769621,0,0,0,0,100,0),
(159700,18,-1154.74,64.912,0.486252,0,0,0,0,100,0),
(159700,19,-1150.34,95.8842,3.87744,0,0,0,0,100,0),
(159700,20,-1143.77,109.315,7.45656,0,0,0,0,100,0),
(159700,21,-1146.89,127.139,5.36332,0,0,0,0,100,0),
(159700,22,-1163.18,154.262,0.071613,0,0,0,0,100,0),
(159700,23,-1151.92,184.312,0.078821,0,0,0,0,100,0),
(159700,24,-1138.85,210.151,0.64674,0,0,0,0,100,0),
(159700,25,-1120.27,230.815,2.71415,0,0,0,0,100,0),
(159700,26,-1103.25,257.063,3.6444,0,0,0,0,100,0),
(159700,27,-1088.66,273.3,2.29494,0,0,0,0,100,0),
(159700,28,-1067.18,270.992,2.63842,0,0,0,0,100,0),
(159700,29,-1033.01,278.171,0.676006,0,0,0,0,100,0),
(159700,30,-1007.7,280.798,1.6107,0,0,0,0,100,0),
(159700,31,-989.369,301.059,0.846009,0,0,0,0,100,0),
(159700,32,-981.966,323.582,-1.07191,0,0,0,0,100,0),
(159700,33,-975.038,334.123,-1.3281,0,0,0,0,100,0),
(159700,34,-963.251,334.046,2.5684,0,0,0,0,100,0),
(159700,35,-960.338,322.978,6.63507,0,0,0,0,100,0),
(159700,36,-967.984,309.869,5.90922,0,0,0,0,100,0),
(159700,37,-992.889,300.466,0.063592,0,0,0,0,100,0),
(159700,38,-1009.43,291.063,-1.3482,0,0,0,0,100,0),
(159700,39,-1032.87,284.953,-1.52593,0,0,0,0,100,0),
(159700,40,-1049.37,280.662,-0.629822,0,0,0,0,100,0),
(159700,41,-1078.16,282.367,-0.724659,0,0,0,0,100,0),
(159700,42,-1095.26,287.094,-1.10337,0,0,0,0,100,0),
(159700,43,-1105.95,283.475,-0.136028,0,0,0,0,100,0),
(159700,44,-1117.02,277.427,-0.169369,0,0,0,0,100,0),
(159700,45,-1121.42,258.795,0.527346,0,0,0,0,100,0),
(159700,46,-1130.18,237.408,-0.735995,0,0,0,0,100,0),
(159700,47,-1142.05,208.455,-0.004859,0,0,0,0,100,0),
(159700,48,-1155.78,174.963,-0.17143,0,0,0,0,100,0),
(159700,49,-1163.85,152.053,0.127761,0,0,0,0,100,0),
(159700,50,-1169.17,136.967,0.156267,0,0,0,0,100,0);
-- Pathing for Tamra Stormpike
UPDATE `creature` SET `position_x`=-1316.82, `position_y`=-1212.59, `position_z`=49.9032, `spawndist`=0, `MovementType`=2 WHERE `guid`=90783;
DELETE FROM `creature_addon` WHERE `guid`=90783;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(90783,907830,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=907830;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(907830,1,-1316.82,-1212.59,49.9032,0,0,0,0,100,0),
(907830,2,-1353.08,-1242.71,49.9048,0,0,0,0,100,0),
(907830,3,-1357.06,-1248.49,49.9033,0,0,0,0,100,0),
(907830,4,-1329.89,-1278.96,49.9017,0,0,0,0,100,0),
(907830,5,-1289.34,-1243.49,49.9032,0,0,0,0,100,0),
(907830,6,-1331.07,-1278.83,49.9017,0,0,0,0,100,0),
(907830,7,-1357.24,-1246.72,49.9025,0,0,0,0,100,0),
(907830,8,-1334.4,-1227.01,49.9047,0,0,0,0,100,0);
*/
@@ -0,0 +1,232 @@
/*
-- Demon Spirit
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11876;
DELETE FROM `smart_scripts` WHERE `entryorguid`=11876 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
(11876,0,0,0,11,0,100,0,0,0,0,0,11,7741,0,0,0,0,0,1,0,0,0,0,0,0,0,"Demon Spirit - On Respawn - Cast Summoned Demon"),
(11876,0,1,0,11,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Demon Spirit - On Respawn - Start Attacking");
-- Khan Dez'hepah
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5600;
DELETE FROM `smart_scripts` WHERE `entryorguid`=5600 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
(5600,0,0,0,4,0,100,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Dez'hepah - On Aggro - Cast Battle Stance"),
(5600,0,1,0,0,0,100,0,5000,7000,6000,10000,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Dez'hepah - In Combat - Cast Heroic Strike"),
(5600,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,"Khan Dez'hepah - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Khan Hratha
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5402;
DELETE FROM `smart_scripts` WHERE `entryorguid`=5402 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
(5402,0,0,0,0,0,100,0,1000,5000,12000,18000,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Hratha - In Combat - Cast Battle Shout"),
(5402,0,1,0,0,0,100,0,5000,7000,7000,11000,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Hratha - In Combat - Cast Cleave");
-- Khan Shaka
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=5602;
DELETE FROM `smart_scripts` WHERE `entryorguid`=5602 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
(5602,0,0,0,4,0,100,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Shaka - On Aggro - Cast Battle Stance"),
(5602,0,1,0,0,0,100,0,5000,7000,12000,15000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Shaka - In Combat - Cast Hamstring"),
(5602,0,2,0,0,0,100,0,6000,9000,18000,21000,11,11977,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Shaka - In Combat - Cast Rend");
-- Kolkar Centaur
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4632;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4632 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
(4632,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,"Kolkar Centaur - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Kolkar Destroyer
DELETE FROM `smart_scripts` WHERE `entryorguid`=4637 AND `source_type`=0 AND `id`=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
(4637,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,"Kolkar Destroyer - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Kolkar Mauler
DELETE FROM `smart_scripts` WHERE `entryorguid`=4634 AND `source_type`=0 AND `id`=1;
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
(4634,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,"Kolkar Mauler - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Kolkar Scout
DELETE FROM `smart_scripts` WHERE `entryorguid`=4633 AND `source_type`=0 AND `id`=1;
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
(4633,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,"Kolkar Scout - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Kolkar Windchaser
DELETE FROM `smart_scripts` WHERE `entryorguid`=4635 AND `source_type`=0 AND `id`=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
(4635,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,"Kolkar Windchaser - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Kolkar Battle Lord
DELETE FROM `smart_scripts` WHERE `entryorguid`=4636 AND `source_type`=0 AND `id`=3;
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
(4636,0,3,0,2,0,100,1,0,20,0,0,39,30,1,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Battle Lord - Between 0-20% Health - Call For Help (No Repeat)");
-- Magram Outrunner
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4639;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4639 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
(4639,0,0,0,2,0,100,1,0,20,0,0,39,30,1,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Outrunner - Between 0-20% Health - Call For Help (No Repeat)");
-- Magram Wrangler
DELETE FROM `smart_scripts` WHERE `entryorguid`=4640 AND `source_type`=0 AND `id`=1;
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
(4640,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,"Magram Wrangler - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Magram Scout
DELETE FROM `smart_scripts` WHERE `entryorguid`=4638 AND `source_type`=0 AND `id`=1;
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
(4638,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,"Magram Scout - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Magram Mauler
DELETE FROM `smart_scripts` WHERE `entryorguid`=4645 AND `source_type`=0 AND `id`=1;
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
(4645,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,"Magram Mauler - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Magram Stormer
DELETE FROM `smart_scripts` WHERE `entryorguid`=4642 AND `source_type`=0 AND `id`=3;
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
(4642,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,"Magram Stormer - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Magram Windchaser
DELETE FROM `smart_scripts` WHERE `entryorguid`=4641 AND `source_type`=0 AND `id`=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
(4641,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,"Magram Windchaser - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Magram Marauder
DELETE FROM `smart_scripts` WHERE `entryorguid`=4644 AND `source_type`=0 AND `id`=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
(4644,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,"Magram Marauder - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Mauler
DELETE FROM `smart_scripts` WHERE `entryorguid`=4652 AND `source_type`=0 AND `id`=1;
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
(4652,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,"Gelkis Mauler - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Earthcaller
DELETE FROM `smart_scripts` WHERE `entryorguid`=4651 AND `source_type`=0 AND `id`=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
(4651,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,"Gelkis Earthcaller - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Scout
DELETE FROM `smart_scripts` WHERE `entryorguid`=4647 AND `source_type`=0 AND `id`=1;
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
(4647,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,"Gelkis Scout - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Stamper
DELETE FROM `smart_scripts` WHERE `entryorguid`=4648 AND `source_type`=0 AND `id`=1;
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
(4648,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,"Gelkis Stamper - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Windchaser
DELETE FROM `smart_scripts` WHERE `entryorguid`=4649 AND `source_type`=0 AND `id`=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
(4649,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,"Gelkis Windchaser - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Marauder
DELETE FROM `smart_scripts` WHERE `entryorguid`=4653 AND `source_type`=0 AND `id`=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
(4653,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,"Gelkis Marauder - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Gelkis Outrunner
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4646;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4646 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
(4646,0,0,0,2,0,100,1,0,20,0,0,39,30,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Outrunner - Between 0-20% Health - Call For Help (No Repeat)");
-- Slitherblade Naga
DELETE FROM `smart_scripts` WHERE `entryorguid`=4711 AND `source_type`=0 AND `id`=1;
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
(4711,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,"Slitherblade Naga - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Slitherblade Sorceress
DELETE FROM `smart_scripts` WHERE `entryorguid`=4712 AND `source_type`=0 AND `id`=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
(4712,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,"Slitherblade Sorceress - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Slitherblade Myrmidon
DELETE FROM `smart_scripts` WHERE `entryorguid`=4714 AND `source_type`=0 AND `id`=1;
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
(4714,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,"Slitherblade Myrmidon - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Slitherblade Razortail
DELETE FROM `smart_scripts` WHERE `entryorguid`=4715 AND `source_type`=0 AND `id`=1;
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
(4715,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,"Slitherblade Razortail - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Slitherblade Oracle
DELETE FROM `smart_scripts` WHERE `entryorguid`=4718 AND `source_type`=0 AND `id`=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
(4718,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,"Slitherblade Oracle - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Slitherblade Sea Witch
DELETE FROM `smart_scripts` WHERE `entryorguid`=4719 AND `source_type`=0 AND `id`=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
(4719,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,"Slitherblade Sea Witch - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Add equipments to some creatures
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (4641,4645);
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
(4641,1,5303,0,0,0),
(4645,1,5281,0,0,0);
-- Pathing for Centaur Pariah
UPDATE `creature` SET `position_x`=-2145.71, `position_y`=1966.42, `position_z`=84.4919, `spawndist`=0, `MovementType`=2 WHERE `guid`=29069;
DELETE FROM `creature_addon` WHERE `guid`=29069;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(29069,290690,0,0,1,0,"");
DELETE FROM `waypoint_data` WHERE `id`=290690;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
(290690,1,-2145.71,1966.42,84.4919,0,0,0,0,100,0),
(290690,2,-2148.35,1973.16,84.0701,0,0,0,0,100,0),
(290690,3,-2156.93,1972.24,80.9217,0,0,0,0,100,0),
(290690,4,-2158.67,1959.92,78.2252,0,0,0,0,100,0),
(290690,5,-2161.1,1953.68,76.6696,0,0,0,0,100,0),
(290690,6,-2159.54,1948.01,74.4792,0,0,0,0,100,0),
(290690,7,-2166.39,1942.92,69.9358,0,0,0,0,100,0),
(290690,8,-2165.94,1938.13,66.2389,0,0,0,0,100,0),
(290690,9,-2167.71,1935.14,63.539,0,0,0,0,100,0),
(290690,10,-2173.82,1935.16,61.1357,0,0,0,0,100,0),
(290690,11,-2185.89,1953.4,61.0883,0,0,0,0,100,0),
(290690,12,-2181.04,1971.95,63.0648,0,0,0,0,100,0),
(290690,13,-2185.23,1996.62,64.0418,0,0,0,0,100,0),
(290690,14,-2184.85,2019.55,64.0418,0,0,0,0,100,0),
(290690,15,-2182.58,2034.38,64.3299,0,0,0,0,100,0),
(290690,16,-2187.89,2045.21,65.1992,0,0,0,0,100,0),
(290690,17,-2175.83,2065.84,63.6989,0,0,0,0,100,0),
(290690,18,-2165.2,2087.16,64.4523,0,0,0,0,100,0),
(290690,19,-2156.65,2104.11,61.6077,0,0,0,0,100,0),
(290690,20,-2151.67,2118.24,60.7861,0,0,0,0,100,0),
(290690,21,-2148.89,2129.81,63.6364,0,0,0,0,100,0),
(290690,22,-2144.39,2148.28,65.8843,0,0,0,0,100,0),
(290690,23,-2141.23,2166.66,66.9008,0,0,0,0,100,0),
(290690,24,-2139.35,2184.03,66.5107,0,0,0,0,100,0),
(290690,25,-2134.91,2204.03,65.2096,0,0,0,0,100,0),
(290690,26,-2131.41,2219.61,64.1073,0,0,0,0,100,0),
(290690,27,-2128.85,2237.09,64.7163,0,0,0,0,100,0),
(290690,28,-2128.27,2222.75,63.9388,0,0,0,0,100,0),
(290690,29,-2133.74,2204.02,65.2261,0,0,0,0,100,0),
(290690,30,-2137.84,2186.67,66.0619,0,0,0,0,100,0),
(290690,31,-2141.6,2170.8,67.1661,0,0,0,0,100,0),
(290690,32,-2147.93,2144.09,66.0683,0,0,0,0,100,0),
(290690,33,-2152.54,2124.61,62.9209,0,0,0,0,100,0),
(290690,34,-2154.5,2116.3,61.1993,0,0,0,0,100,0),
(290690,35,-2160.27,2091.94,63.4087,0,0,0,0,100,0),
(290690,36,-2171.46,2076.47,64.0607,0,0,0,0,100,0),
(290690,37,-2180,2055.74,63.8618,0,0,0,0,100,0),
(290690,38,-2187.17,2043.48,65.118,0,0,0,0,100,0),
(290690,39,-2182.03,2025.33,64.3237,0,0,0,0,100,0),
(290690,40,-2185.91,2006.41,64.0427,0,0,0,0,100,0),
(290690,41,-2184.03,1990.34,64.0427,0,0,0,0,100,0),
(290690,42,-2182.62,1974.82,63.3536,0,0,0,0,100,0),
(290690,43,-2185.55,1962.21,62.0913,0,0,0,0,100,0),
(290690,44,-2182.01,1945.01,60.5147,0,0,0,0,100,0),
(290690,45,-2174.77,1934.49,61.1065,0,0,0,0,100,0),
(290690,46,-2165.66,1935.02,64.5662,0,0,0,0,100,0),
(290690,47,-2166.1,1945.12,71.6517,0,0,0,0,100,0),
(290690,48,-2159.56,1948.89,74.686,0,0,0,0,100,0),
(290690,49,-2159.53,1958.33,77.9476,0,0,0,0,100,0),
(290690,50,-2156.65,1975.9,81.5158,0,0,0,0,100,0),
(290690,51,-2145.71,1971.54,84.3149,0,0,0,0,100,0),
(290690,52,-2143.66,1964.77,84.0694,0,0,0,0,100,0);
*/
@@ -0,0 +1,144 @@
/*
-- Molok the Crusher
SET @GUID := 43465;
DELETE FROM `creature` WHERE `guid`=@GUID;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2604,0,0,0,1,1,0,1,-2056.97,-2785.61,68.571,5.47225,54000,0,0,1678,0,0,0,0,0,"",0);
-- Foulbelly
SET @GUID := 84200;
DELETE FROM `creature` WHERE `guid`=@GUID;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2601,0,0,0,1,1,0,1,-1777.47,-1568.15,53.0089,3.82291,172800,0,0,6605,1381,0,0,0,0,"",0);
-- Ruul Onestone
SET @GUID := 84227;
DELETE FROM `creature` WHERE `guid`=@GUID;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2602,0,0,0,1,1,0,1,-1797.35,-1507.83,99.3938,6.12074,180000,0,0,3540,3708,0,0,0,0,"",0);
UPDATE `creature_template` SET `ManaModifier`=3 WHERE `entry`=2602;
-- Darbel Montrose
SET @GUID := 84258;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+3;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2598,0,0,0,1,1,0,1,-1590.25,-1889.45,68.5119,1.52227,57600,0,0,2360,2472,0,0,0,0,"",0),
(@GUID+1,2598,0,0,0,1,1,0,1,-1631.82,-1875.26,81.3837,2.99489,57600,5,0,2360,2472,1,0,0,0,"",0),
(@GUID+2,2598,0,0,0,1,1,0,1,-1622.46,-1775.05,81.3642,3.78814,57600,0,0,2360,2472,0,0,0,0,"",0),
(@GUID+3,2598,0,0,0,1,1,0,1,-1683.51,-1853.98,86,3.05772,57600,0,0,2360,2472,0,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1114;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1114,1,"Darbel Montrose");
DELETE FROM `pool_creature` WHERE `pool_entry`=1114;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1114,0,"Darbel Montrose (2598) - Spawn 1"),
(@GUID+1,1114,0,"Darbel Montrose (2598) - Spawn 2"),
(@GUID+2,1114,0,"Darbel Montrose (2598) - Spawn 3"),
(@GUID+3,1114,0,"Darbel Montrose (2598) - Spawn 4");
-- Kovork
SET @GUID := 84230;
DELETE FROM `creature` WHERE `guid` IN (@GUID, @GUID+1);
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2603,0,0,0,1,1,0,1,-1190.7,-2055.29,42.9287,3.88181,27000,0,0,1469,0,0,0,0,0,"",0),
(@GUID+1,2603,0,0,0,1,1,0,1,-1185.5,-1959.2,24.088,2.65659,27000,3,0,1469,0,1,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1115;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1115,1,"Kovork");
DELETE FROM `pool_creature` WHERE `pool_entry`=1115;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1115,0,"Kovork (2603) - Spawn 1"),
(@GUID+1,1115,0,"Kovork (2603) - Spawn 2");
-- Zalas Witherbark
SET @GUID := 84293;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+3;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2605,0,0,0,1,1,0,0,-2019.19,-3306.55,54.216,5.47616,252000,0,0,1410,2566,0,0,0,0,"",0),
(@GUID+1,2605,0,0,0,1,1,0,0,-2057.33,-3274,49.8653,4.51998,252000,0,0,1410,2566,2,0,0,0,"",0),
(@GUID+2,2605,0,0,0,1,1,0,0,-2042.3,-3364.3,60.2045,0.712735,252000,0,0,1410,2566,0,0,0,0,"",0),
(@GUID+3,2605,0,0,0,1,1,0,0,-2072.1,-3297.35,67.0706,1.54131,252000,0,0,1410,2566,0,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1116;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1116,1,"Zalas Witherbark");
DELETE FROM `pool_creature` WHERE `pool_entry`=1116;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1116,0,"Zalas Witherbark (2605) - Spawn 1"),
(@GUID+1,1116,0,"Zalas Witherbark (2605) - Spawn 2"),
(@GUID+2,1116,0,"Zalas Witherbark (2605) - Spawn 3"),
(@GUID+3,1116,0,"Zalas Witherbark (2605) - Spawn 4");
DELETE FROM `creature_template_addon` WHERE `entry`=2605;
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(2605,0,0,8,1,0,""); -- Standstate Kneel for Zalas Witherbark
DELETE FROM `creature_addon` WHERE `guid`=@GUID+1;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(@GUID+1,(@GUID+1)*10,0,0,1,0,""); -- Pathing for Zalas Witherbark (Spawn 2)
DELETE FROM `waypoint_data` WHERE `id`=(@GUID+1)*10;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
((@GUID+1)*10,1,-2056.85,-3271.49,49.4426,0,0,0,0,100,0),
((@GUID+1)*10,2,-2061.19,-3271.54,50.2861,0,0,0,0,100,0),
((@GUID+1)*10,3,-2083.62,-3276.01,51.4356,0,0,0,0,100,0),
((@GUID+1)*10,4,-2098.75,-3286.29,51.7022,0,0,0,0,100,0),
((@GUID+1)*10,5,-2106.52,-3322.71,56.8964,0,0,0,0,100,0),
((@GUID+1)*10,6,-2115.63,-3344.91,58.7511,0,0,0,0,100,0),
((@GUID+1)*10,7,-2109.39,-3369.78,61.0127,0,0,0,0,100,0),
((@GUID+1)*10,8,-2091.81,-3381.89,59.4361,0,0,0,0,100,0),
((@GUID+1)*10,9,-2095.79,-3366.71,59.3,0,0,0,0,100,0),
((@GUID+1)*10,10,-2093.88,-3364.27,59.1176,0,0,0,0,100,0),
((@GUID+1)*10,11,-2099.47,-3360.35,59.2716,0,0,0,0,100,0),
((@GUID+1)*10,12,-2102.05,-3333.13,58.104,0,0,0,0,100,0),
((@GUID+1)*10,13,-2095.42,-3295.27,52.4655,0,0,0,0,100,0),
((@GUID+1)*10,14,-2078.4,-3272.51,51.7336,0,0,0,0,100,0),
((@GUID+1)*10,15,-2055.61,-3271.22,49.3672,0,0,0,0,100,0);
-- Nimar the Slayer
SET @GUID := 84402;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+3;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@GUID,2606,0,0,0,1,1,0,0,-1902.16,-3193.09,56.5808,5.63212,27000,0,0,1537,0,0,0,0,0,"",0),
(@GUID+1,2606,0,0,0,1,1,0,0,-1672.56,-3246.93,25.7297,4.51998,27000,0,0,1537,0,2,0,0,0,"",0),
(@GUID+2,2606,0,0,0,1,1,0,0,-1701.21,-3509.16,60.2556,6.26748,27000,0,0,1537,0,0,0,0,0,"",0),
(@GUID+3,2606,0,0,0,1,1,0,0,-1810.14,-3417.2,45.4232,0.985671,27000,0,0,1537,0,0,0,0,0,"",0);
DELETE FROM `pool_template` WHERE `entry`=1113;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(1113,1,"Nimar the Slayer");
DELETE FROM `pool_creature` WHERE `pool_entry`=1113;
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID,1113,0,"Nimar the Slayer (2606) - Spawn 1"),
(@GUID+1,1113,0,"Nimar the Slayer (2606) - Spawn 2"),
(@GUID+2,1113,0,"Nimar the Slayer (2606) - Spawn 3"),
(@GUID+3,1113,0,"Nimar the Slayer (2606) - Spawn 4");
DELETE FROM `creature_addon` WHERE `guid`=@GUID+1;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(@GUID+1,(@GUID+1)*10,0,0,1,0,""); -- Pathing for Nimar the Slayer (Spawn 2)
DELETE FROM `waypoint_data` WHERE `id`=(@GUID+1)*10;
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
((@GUID+1)*10,1,-1672.56,-3246.93,25.7297,0,0,0,0,100,213867),
((@GUID+1)*10,2,-1673.33,-3252.4,25.7306,0,60000,0,0,100,213868),
((@GUID+1)*10,3,-1679.78,-3257.49,25.5371,0,0,0,0,100,213869),
((@GUID+1)*10,4,-1678.29,-3264.48,24.3447,0,0,0,0,100,213870),
((@GUID+1)*10,5,-1650.41,-3263.6,26.8072,0,0,0,0,100,213871),
((@GUID+1)*10,6,-1642.67,-3252.82,31.5431,0,0,0,0,100,213872),
((@GUID+1)*10,7,-1645.48,-3241.07,33.4071,0,0,0,0,100,213873),
((@GUID+1)*10,8,-1654.84,-3232.66,33.5165,0,0,0,0,100,213874),
((@GUID+1)*10,9,-1670.32,-3228.45,34.6906,0,0,0,0,100,213875),
((@GUID+1)*10,10,-1693.22,-3231.79,29.2882,0,0,0,0,100,213876),
((@GUID+1)*10,11,-1693.78,-3246.29,26.4924,0,0,0,0,100,213877),
((@GUID+1)*10,12,-1672.47,-3263.53,25.0571,0,0,0,0,100,213878),
((@GUID+1)*10,13,-1668.16,-3255.58,25.73,0,0,0,0,100,213879),
((@GUID+1)*10,14,-1673.27,-3253.71,25.7309,0,0,0,0,100,213880);
*/
@@ -0,0 +1,291 @@
/*
-- Highland Thrasher
DELETE FROM `smart_scripts` WHERE `entryorguid`=2560 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
(2560,0,0,0,25,0,100,0,0,0,0,0,11,8876,0,0,0,0,0,1,0,0,0,0,0,0,0,"Highland Thrasher - On Reset - Cast Thrash");
-- Mesa Buzzard
DELETE FROM `smart_scripts` WHERE `entryorguid`=2579 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
(2579,0,0,0,0,0,100,0,4000,12000,10000,18000,11,8139,32,0,0,0,0,2,0,0,0,0,0,0,0,"Mesa Buzzard - In Combat - Cast Fevered Fatigue");
-- Elder Mesa Buzzard
DELETE FROM `smart_scripts` WHERE `entryorguid`=2580 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
(2580,0,0,0,0,0,100,0,4000,12000,10000,18000,11,8139,32,0,0,0,0,2,0,0,0,0,0,0,0,"Elder Mesa Buzzard - In Combat - Cast Fevered Fatigue");
-- Plains Creeper
DELETE FROM `smart_scripts` WHERE `entryorguid`=2563 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
(2563,0,0,0,25,0,100,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Plains Creeper - On Reset - Cast Poison Proc"),
(2563,0,1,0,0,0,100,0,5000,14000,16000,23000,11,4962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Plains Creeper - In Combat - Cast Encasing Webs");
-- Giant Plains Creeper
DELETE FROM `smart_scripts` WHERE `entryorguid`=2565 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
(2565,0,0,0,25,0,100,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Giant Plains Creeper - On Reset - Cast Poison Proc"),
(2565,0,1,0,0,0,100,0,5000,14000,16000,23000,11,4962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Giant Plains Creeper - In Combat - Cast Encasing Webs");
-- Boulderfist Ogre
DELETE FROM `smart_scripts` WHERE `entryorguid`=2562 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
(2562,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Ogre - On Aggro - Say Line 0"),
(2562,0,1,0,2,0,100,0,0,30,16000,22000,11,4955,2,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Ogre - Between 0-30% Health - Cast Fist of Stone");
-- Boulderfist Enforcer
DELETE FROM `smart_scripts` WHERE `entryorguid`=2564 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
(2564,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Enforcer - On Aggro - Say Line 0"),
(2564,0,1,0,2,0,100,0,0,30,16000,22000,11,4955,2,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Enforcer - Between 0-30% Health - Cast Fist of Stone"),
(2564,0,2,0,0,0,100,0,5000,11000,30000,35000,11,13730,0,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Enforcer - In Combat - Cast Demoralizing Shout");
-- Boulderfist Brute
DELETE FROM `smart_scripts` WHERE `entryorguid`=2566 AND `source_type`=0 AND `id` IN (0,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
(2566,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Brute - On Aggro - Say Line 0"),
(2566,0,2,0,2,0,100,0,0,30,16000,22000,11,4955,2,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Brute - Between 0-30% Health - Cast Fist of Stone");
-- Boulderfist Mauler
DELETE FROM `smart_scripts` WHERE `entryorguid`=2569 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
(2569,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Mauler - On Aggro - Say Line 0"),
(2569,0,1,0,0,0,100,0,6000,14000,16000,24000,11,4955,2,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Mauler - In Combat - Cast Fist of Stone");
-- Boulderfist Magus
DELETE FROM `smart_scripts` WHERE `entryorguid`=2567 AND `source_type`=0 AND `id`=3;
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
(2567,0,3,0,9,0,100,0,0,8,15000,23000,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Magus - Within 0-8 Range - Cast Frost Nova");
-- Boulderfist Shaman
DELETE FROM `smart_scripts` WHERE `entryorguid`=2570 AND `source_type`=0 AND `id`=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
(2570,0,2,0,0,0,100,0,8000,12000,41000,45000,11,6364,0,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Shaman - In Combat - Cast Searing Totem");
-- Boulderfist Lord
DELETE FROM `smart_scripts` WHERE `entryorguid`=2571 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
(2571,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Lord - On Aggro - Say Line 0"),
(2571,0,1,0,4,0,100,0,0,0,0,0,11,8258,0,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Lord - On Aggro - Cast Devotion Aura"),
(2571,0,2,0,0,0,100,0,6000,14000,16000,24000,11,4955,2,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Lord - In Combat - Cast Fist of Stone");
DELETE FROM `creature_text` WHERE `CreatureID`=2571;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2571,0,0,"Raaar!!! Me smash $r!",12,0,100,0,0,0,1925,0,"Boulderfist Lord"),
(2571,0,1,"Me smash! You die!",12,0,100,0,0,0,1926,0,"Boulderfist Lord"),
(2571,0,2,"Ill crush you!",12,0,100,0,0,0,1927,0,"Boulderfist Lord");
-- Witherbark Troll
DELETE FROM `smart_scripts` WHERE `entryorguid`=2552 AND `source_type`=0 AND `id`=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
(2552,0,0,0,0,0,100,0,4000,12000,8000,16000,11,4974,32,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Troll - In Combat - Cast Wither Touch");
-- Witherbark Shadowcaster
UPDATE `smart_scripts` SET `event_chance`=100 WHERE `entryorguid`=2553 AND `source_type`=0 AND `id`=0;
-- Witherbark Axe Thrower
DELETE FROM `smart_scripts` WHERE `entryorguid`=2554 AND `source_type`=0 AND `id`=1;
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
(2554,0,1,0,0,0,100,0,4000,12000,8000,16000,11,4974,32,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Axe Thrower - In Combat - Cast Wither Touch");
-- Witherbark Headhunter
DELETE FROM `smart_scripts` WHERE `entryorguid`=2556 AND `source_type`=0 AND `id` IN (0,1);
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
(2556,0,0,0,0,0,100,0,6000,10000,18000,24000,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Headhunter - In Combat - Cast Net"),
(2556,0,1,0,0,0,100,0,4000,12000,8000,16000,11,4974,32,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Headhunter - In Combat - Cast Wither Touch");
-- Witherbark Witch Doctor
DELETE FROM `smart_scripts` WHERE `entryorguid`=2555 AND `source_type`=0 AND `id` IN (0,1);
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
(2555,0,0,0,0,0,100,0,5000,7000,19000,22000,11,8190,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witherbark Witch Doctor - In Combat - Cast Magma Totem"),
(2555,0,1,0,0,0,100,0,12000,14000,32000,35000,11,5605,0,0,0,0,0,1,0,0,0,0,0,0,0,"Witherbark Witch Doctor - In Combat - Cast Healing Ward");
-- Witherbark Shadow Hunter
DELETE FROM `smart_scripts` WHERE `entryorguid`=2557 AND `source_type`=0 AND `id` IN (0,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
(2557,0,0,0,0,0,100,0,2000,6000,19000,23000,11,992,0,0,0,0,0,5,0,0,0,0,0,0,0,"Witherbark Shadow Hunter - In Combat - Cast Shadow Word: Pain"),
(2557,0,1,0,0,0,100,0,4000,8000,28000,35000,11,7646,32,0,0,0,0,5,0,0,0,0,0,0,0,"Witherbark Shadow Hunter - In Combat - Cast Curse of Weakness"),
(2557,0,2,0,0,0,100,0,9000,14000,31000,36000,11,6726,0,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Shadow Hunter - In Combat - Cast Silence");
-- Witherbark Berserker
DELETE FROM `smart_scripts` WHERE `entryorguid`=2558 AND `source_type`=0 AND `id`=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
(2558,0,0,0,0,0,100,0,4000,12000,8000,16000,11,4974,32,0,0,0,0,2,0,0,0,0,0,0,0,"Witherbark Berserker - In Combat - Cast Wither Touch");
-- Dabyrie Laborer
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2582;
DELETE FROM `smart_scripts` WHERE `entryorguid`=2582 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
(2582,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,"Dabyrie Laborer - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Fardel Dabyrie
DELETE FROM `smart_scripts` WHERE `entryorguid`=4479 AND `source_type`=0 AND `id`=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
(4479,0,0,0,25,0,100,0,0,0,0,0,11,12787,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fardel Dabyrie - On Reset - Cast Thrash");
-- Drywhisker Digger
DELETE FROM `smart_scripts` WHERE `entryorguid`=2574 AND `source_type`=0 AND `id`=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
(2574,0,0,0,0,0,100,0,1000,3000,180000,180000,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drywhisker Digger - In Combat - Cast Defensive Stance");
-- Drywhisker Surveyor
DELETE FROM `smart_scripts` WHERE `entryorguid`=2573 AND `source_type`=0 AND `id`=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
(2573,0,2,0,9,0,100,0,0,8,15000,22000,11,865,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drywhisker Surveyor - Within 0-8 Range - Cast Frost Nova");
-- Thundering Exile
DELETE FROM `smart_scripts` WHERE `entryorguid`=2762 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
(2762,0,0,0,0,0,100,0,0,0,3300,6600,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Thundering Exile - In Combat - Cast Lightning Bolt"),
(2762,0,1,0,0,0,100,0,4000,8000,16000,24000,11,11824,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thundering Exile - In Combat - Cast Shock"),
(2762,0,2,0,8,0,100,512,4132,0,0,0,41,500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thundering Exile - On Spellhit - Despawn");
-- Rumbling Exile
DELETE FROM `smart_scripts` WHERE `entryorguid`=2592 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
(2592,0,0,0,0,0,100,0,3000,12000,12000,21000,11,6524,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rumbling Exile - In Combat - Cast Ground Tremor");
-- Cresting Exile
DELETE FROM `smart_scripts` WHERE `entryorguid`=2761 AND `source_type`=0 AND `id`=1;
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
(2761,0,1,0,0,0,100,0,4000,9000,16000,22000,11,865,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cresting Exile - In Combat - Cast Frost Nova");
-- Syndicate Thief
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=24477;
DELETE FROM `smart_scripts` WHERE `entryorguid`=24477 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
(24477,0,0,0,67,0,100,0,4000,6000,0,0,11,7159,0,0,0,0,0,2,0,0,0,0,0,0,0,"Syndicate Thief - On Behind Target - Cast Backstab"),
(24477,0,1,0,0,0,100,0,5000,9000,18000,24000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Syndicate Thief - In Combat - Cast Disarm"),
(24477,0,2,0,25,0,100,0,0,0,0,0,11,3616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Syndicate Thief - On Reset - Cast Poison Proc"),
(24477,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,"Syndicate Thief - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Syndicate Prowler
DELETE FROM `smart_scripts` WHERE `entryorguid`=2588 AND `source_type`=0 AND `id` IN (2,3);
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
(2588,0,2,0,0,0,100,0,4000,10000,16000,22000,11,14873,0,0,0,0,0,2,0,0,0,0,0,0,0,"Syndicate Prowler - In Combat - Cast Sinister Strike"),
(2588,0,3,0,0,0,100,0,8000,14000,22000,28000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Syndicate Prowler - In Combat - Cast Disarm");
-- Otto
DELETE FROM `smart_scripts` WHERE `entryorguid`=2599 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
(2599,0,0,0,0,0,100,0,9000,15000,12000,20000,11,6253,0,0,0,0,0,2,0,0,0,0,0,0,0,"Otto - In Combat - Cast Backhand"),
(2599,0,1,0,0,0,100,0,6000,11000,14000,19000,11,12555,0,0,0,0,0,2,0,0,0,0,0,0,0,"Otto - In Combat - Cast Pummel"),
(2599,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Otto - Between 0-15% Health - Flee For Assist");
-- Lord Falconcrest
DELETE FROM `smart_scripts` WHERE `entryorguid`=2597 AND `source_type`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=259700 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
(2597,0,0,0,1,0,100,0,5000,15000,150000,180000,80,259700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Falconcrest - Out of Combat - Run Script"),
(2597,0,1,0,0,0,100,0,2000,5000,6000,9000,11,32064,32,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Falconcrest - In Combat - Cast Battle Shout"),
(2597,0,2,0,0,0,100,0,5000,10000,16000,26000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Falconcrest - In Combat - Cast Disarm"),
(259700,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Falconcrest - On Script - Say Line 0"),
(259700,9,1,0,0,0,100,0,8000,8000,0,0,1,0,0,0,0,0,0,19,2599,0,0,0,0,0,0,"Lord Falconcrest - On Script - Say Line 0 (Otto)");
-- Stromgarde Troll Hunter
DELETE FROM `smart_scripts` WHERE `entryorguid`=2583 AND `source_type`=0 AND `id`=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
(2583,0,0,0,0,0,100,0,2000,5000,19000,23000,11,2767,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stromgarde Troll Hunter - In Combat - Cast Shadow Word: Pain");
-- Feeboz
UPDATE `smart_scripts` SET `target_type`=1 WHERE `entryorguid`=4063 AND `source_type`=0 AND `id`=0;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4063 AND `source_type`=0 AND `id`=3;
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
(4063,0,3,0,1,0,100,0,5000,15000,65000,75000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feeboz - Out of Combat - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=4063 AND `GroupID`=0 AND `ID`>2;
DELETE FROM `creature_text` WHERE `CreatureID`=4063 AND `GroupID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(4063,0,3,"Arent you a little short for your kind?",12,0,100,0,0,0,809,0,"Feeboz"),
(4063,0,4,"My life means nothing! Our sacred task is all!",12,0,100,0,0,0,810,0,"Feeboz"),
(4063,0,5,"If you mean to free Myzrael, you will be sorry!",12,0,100,0,0,0,811,0,"Feeboz"),
(4063,0,6,"Stand firm, brothers. And dont worry! Size is on our side!",12,0,100,0,0,0,812,0,"Feeboz"),
(4063,0,7,"Take that! The Drywhiskers will prevail!",12,0,100,0,0,0,814,0,"Feeboz"),
(4063,1,0,"May I bask in your shadow forever!",12,0,100,0,0,0,799,0,"Feeboz"),
(4063,1,1,"Master, your wisdom is matched only by your hugeness!",12,0,100,0,0,0,800,0,"Feeboz"),
(4063,1,2,"If I had a copper for each of your great deeds, Id be a rich kobold!",12,0,100,0,0,0,801,0,"Feeboz"),
(4063,1,3,"You will keep us safe from the evil mistress, yes!",12,0,100,0,0,0,802,0,"Feeboz"),
(4063,1,4,"Oh, praise! Your vigilance keeps Myzrael deep in the earth!",12,0,100,0,0,0,803,0,"Feeboz"),
(4063,1,5,"My only wish is to serve you, great one, until I die by your foot!",12,0,100,0,0,0,804,0,"Feeboz"),
(4063,1,6,"Your strength is of the mountain. Your grace is of the winds!",12,0,100,0,0,0,805,0,"Feeboz"),
(4063,1,7,"My feet hurt...",12,0,100,0,0,0,806,0,"Feeboz");
-- Znort
DELETE FROM `smart_scripts` WHERE `entryorguid`=2765 AND `source_type`=0 AND `id` IN (1,3);
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
(2765,0,1,0,0,0,100,0,5000,7000,7000,10000,11,845,0,0,0,0,0,2,0,0,0,0,0,0,0,"Znort - In Combat - Cast Cleave"),
(2765,0,3,0,1,0,100,0,25000,35000,65000,75000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Znort - Out of Combat - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=2765 AND `GroupID`=0 AND `ID`>2;
DELETE FROM `creature_text` WHERE `CreatureID`=2765 AND `GroupID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2765,0,3,"Arent you a little short for your kind?",12,0,100,0,0,0,809,0,"Znort"),
(2765,0,4,"My life means nothing! Our sacred task is all!",12,0,100,0,0,0,810,0,"Znort"),
(2765,0,5,"If you mean to free Myzrael, you will be sorry!",12,0,100,0,0,0,811,0,"Znort"),
(2765,0,6,"Die! You will not free Myzrael!",12,0,100,0,0,0,807,0,"Znort"),
(2765,0,7,"Take that! The Drywhiskers will prevail!",12,0,100,0,0,0,814,0,"Znort"),
(2765,1,0,"May I bask in your shadow forever!",12,0,100,0,0,0,799,0,"Znort"),
(2765,1,1,"Master, your wisdom is matched only by your hugeness!",12,0,100,0,0,0,800,0,"Znort"),
(2765,1,2,"If I had a copper for each of your great deeds, Id be a rich kobold!",12,0,100,0,0,0,801,0,"Znort"),
(2765,1,3,"You will keep us safe from the evil mistress, yes!",12,0,100,0,0,0,802,0,"Znort"),
(2765,1,4,"Oh, praise! Your vigilance keeps Myzrael deep in the earth!",12,0,100,0,0,0,803,0,"Znort"),
(2765,1,5,"My only wish is to serve you, great one, until I die by your foot!",12,0,100,0,0,0,804,0,"Znort"),
(2765,1,6,"Your strength is of the mountain. Your grace is of the winds!",12,0,100,0,0,0,805,0,"Znort"),
(2765,1,7,"My feet hurt...",12,0,100,0,0,0,806,0,"Znort");
-- Sleeby
DELETE FROM `smart_scripts` WHERE `entryorguid`=2764 AND `source_type`=0 AND `id` IN (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
(2764,0,4,0,1,0,100,0,45000,55000,65000,75000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sleeby - Out of Combat - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=2764 AND `GroupID`=0 AND `ID`>1;
DELETE FROM `creature_text` WHERE `CreatureID`=2764 AND `GroupID`=1;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2764,0,2,"The Great One will smash you!",12,0,100,0,0,0,808,0,"Sleeby"),
(2764,0,3,"Arent you a little short for your kind?",12,0,100,0,0,0,809,0,"Sleeby"),
(2764,0,4,"My life means nothing! Our sacred task is all!",12,0,100,0,0,0,810,0,"Sleeby"),
(2764,0,5,"If you mean to free Myzrael, you will be sorry!",12,0,100,0,0,0,811,0,"Sleeby"),
(2764,0,6,"Die! You will not free Myzrael!",12,0,100,0,0,0,807,0,"Sleeby"),
(2764,0,7,"No! Leave us! We must not fail our task!",12,0,100,0,0,0,815,0,"Sleeby"),
(2764,1,0,"May I bask in your shadow forever!",12,0,100,0,0,0,799,0,"Sleeby"),
(2764,1,1,"Master, your wisdom is matched only by your hugeness!",12,0,100,0,0,0,800,0,"Sleeby"),
(2764,1,2,"If I had a copper for each of your great deeds, Id be a rich kobold!",12,0,100,0,0,0,801,0,"Sleeby"),
(2764,1,3,"You will keep us safe from the evil mistress, yes!",12,0,100,0,0,0,802,0,"Sleeby"),
(2764,1,4,"Oh, praise! Your vigilance keeps Myzrael deep in the earth!",12,0,100,0,0,0,803,0,"Sleeby"),
(2764,1,5,"My only wish is to serve you, great one, until I die by your foot!",12,0,100,0,0,0,804,0,"Sleeby"),
(2764,1,6,"Your strength is of the mountain. Your grace is of the winds!",12,0,100,0,0,0,805,0,"Sleeby"),
(2764,1,7,"My feet hurt...",12,0,100,0,0,0,806,0,"Sleeby");
-- Thenan
DELETE FROM `smart_scripts` WHERE `entryorguid`=2763 AND `source_type`=0 AND `id`=1;
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
(2763,0,1,0,11,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Thenan - On Respawn - Start Attacking");
-- Darbel Montrose
DELETE FROM `smart_scripts` WHERE `entryorguid`=2598 AND `source_type`=0 AND `id`=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
(2598,0,2,0,0,0,100,0,4000,7000,18000,21000,11,12741,32,0,0,0,0,2,0,0,0,0,0,0,0,"Darbel Montrose - In Combat - Cast Curse of Weakness");
-- Molok the Crusher
DELETE FROM `smart_scripts` WHERE `entryorguid`=2604 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
(2604,0,0,0,0,0,100,0,7000,11000,9000,13000,11,6253,0,0,0,0,0,2,0,0,0,0,0,0,0,"Molok the Crusher - In Combat - Cast Backhand");
-- Zalas Witherbark
DELETE FROM `smart_scripts` WHERE `entryorguid`=2605 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
(2605,0,0,0,0,0,100,0,3000,5000,23000,27000,11,512,0,0,0,0,0,2,0,0,0,0,0,0,0,"Zalas Witherbark - In Combat - Cast Chains of Ice"),
(2605,0,1,0,0,0,100,0,3000,5000,15000,18000,11,851,2,0,0,0,0,6,0,0,0,0,0,0,0,"Zalas Witherbark - In Combat - Cast Polymorph: Sheep"),
(2605,0,2,0,0,0,100,0,5000,8000,8000,15000,11,9081,0,0,0,0,0,2,0,0,0,0,0,0,0,"Zalas Witherbark - In Combat - Cast Shadowbolt Volley"),
(2605,0,3,0,0,0,100,0,2000,3000,13000,15000,11,4974,32,0,0,0,0,5,0,0,0,0,0,0,0,"Zalas Witherbark - In Combat - Cast Wither Touch");
-- Ruul Onestone
DELETE FROM `smart_scripts` WHERE `entryorguid`=2602 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
(2602,0,0,0,0,0,100,0,4000,6000,12000,14000,11,6219,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ruul Onestone - In Combat - Cast Rain of Fire"),
(2602,0,1,0,0,0,100,0,1000,1000,31000,33000,11,6742,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ruul Onestone - In Combat - Cast Bloodlust"),
(2602,0,2,0,0,0,100,0,2000,3000,3000,5000,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ruul Onestone - In Combat - Cast Lightning Bolt");
-- Fix movement for some creatures
UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid`=12046;
UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid`=14538;
*/
@@ -0,0 +1,10 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-95560) AND `source_type` IN (0) AND id=7;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25636) AND `source_type` IN (0) AND id=1;
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
(-95560, 0, 7, 0, 40, 0, 100, 0, 3, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On WP 4 Reached - set faction"),
(25636, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 2, 2047, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Captured Tuskarr Prisoner - On reset - set faction");
UPDATE `smart_scripts` SET `action_param2`=1 WHERE `entryorguid`=11216 AND `action_type`=7;
UPDATE `creature_template` SET `minlevel` = 71 WHERE `entry` = 19523;
@@ -0,0 +1,140 @@
-- Spawns that req. phaseMask
UPDATE `creature` SET `phaseMask` = 2 WHERE `id` IN (28559,28560, 28660,28662); -- Citizen of Havenshire and Citizen of New Avalon
UPDATE `creature` SET `phaseMask` = 2 WHERE `guid` = 128752; -- High General Abbendis
UPDATE `creature` SET `phaseMask` = 2 WHERE `guid` IN (128796,129321); -- High Abbot Landgren
UPDATE `creature` SET `phaseMask` = 2 WHERE `id` IN (28530, 28594); -- Scarlet Commander Scarlet Preacher
-- Havenshire Colt -- Havenshire Mare -- Havenshire Stallion
DELETE FROM `creature` WHERE `guid` IN (84229,84234,84235,84239,84240,84257,84264,84265,84277,84279,84280,84281,84297,84315,84316,84317,84322,84336,84341,84342,84346,84347,84348,84349,84392,84393,84406);
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `curhealth`, `curmana`, `MovementType`) VALUES
(84229, 28605, 609, 1, 2, 2177.534, -5806.438, 101.4173, 3.543018, 120, 0, 2453, 0, 0),
(84234, 28605, 609, 1, 2, 2221.63, -5881.24, 101.211, 4.74729, 120, 0, 2453, 0, 0),
(84235, 28605, 609, 1, 2, 2206.62, -5840.55, 101.48, 1.43117, 120, 0, 2453, 0, 0),
(84239, 28605, 609, 1, 2, 2209.9, -5840.27, 101.428, 2.35619, 120, 0, 2453, 0, 0),
(84240, 28605, 609, 1, 2, 2204.79, -5840.43, 101.576, 1.13446, 120, 0, 2453, 0, 0),
(84257, 28605, 609, 1, 2, 2199.98, -5871.52, 101.408, 4.34587, 120, 0, 2453, 0, 0),
(84264, 28605, 609, 1, 2, 2228.12, -5818.03, 101.445, 1.43117, 120, 0, 2453, 0, 0),
(84265, 28605, 609, 1, 2, 2232.95, -5814.65, 101.368, 2.35619, 120, 0, 2453, 0, 0),
(84277, 28606, 609, 1, 2, 2172.505, -5810.831, 101.4043, 1.082104, 120, 0, 2453, 0, 0),
(84279, 28606, 609, 1, 2, 2237.33, -5860.84, 101.292, 5.42797, 120, 0, 2453, 0, 0),
(84280, 28606, 609, 1, 2, 2235.99, -5863.17, 101.269, 0.017453, 120, 0, 2453, 0, 0),
(84281, 28606, 609, 1, 2, 2221.94, -5888.14, 101.022, 1.69297, 120, 0, 2453, 0, 0),
(84297, 28606, 609, 1, 2, 2218.83, -5888.31, 100.995, 1.58825, 120, 0, 2453, 0, 0),
(84315, 28606, 609, 1, 2, 2203.25, -5833.98, 101.44, 5.70723, 120, 0, 2453, 0, 0),
(84316, 28606, 609, 1, 2, 2206.26, -5833.58, 101.435, 5.044, 120, 0, 2453, 0, 0),
(84317, 28606, 609, 1, 2, 2185.22, -5867.83, 101.395, 4.85202, 120, 0, 2453, 0, 0),
(84322, 28606, 609, 1, 2, 2197.14, -5870.83, 101.403, 4.57276, 120, 0, 2453, 0, 0),
(84336, 28606, 609, 1, 2, 2225.69, -5815.68, 101.445, 0.488692, 120, 0, 2453, 0, 0),
(84341, 28607, 609, 1, 2, 2212.25, -5881.55, 101.11, 4.59022, 120, 0, 2062, 0, 0),
(84342, 28607, 609, 1, 2, 2176, -5810.381, 101.4176, 2.094395, 120, 0, 2062, 0, 0),
(84346, 28607, 609, 1, 2, 2208.6, -5833.48, 101.428, 4.7822, 120, 0, 2062, 0, 0),
(84347, 28607, 609, 1, 2, 2202.68, -5838.43, 101.498, 0.069813, 120, 0, 2062, 0, 0),
(84348, 28607, 609, 1, 2, 2186.6, -5868.27, 101.39, 4.90438, 120, 0, 2062, 0, 0),
(84349, 28607, 609, 1, 2, 2189.17, -5870.81, 101.378, 2.00713, 120, 0, 2062, 0, 0),
(84392, 28607, 609, 1, 2, 2187.83, -5868.67, 101.387, 4.03171, 120, 0, 2062, 0, 0),
(84393, 28607, 609, 1, 2, 2224.77, -5811.89, 101.434, 0.820305, 120, 0, 2062, 0, 0),
(84406, 28607, 609, 1, 2, 2232.4, -5818.69, 101.392, 2.26893, 120, 0, 2062, 0, 0);
-- Scarlet Preacher
UPDATE `creature` SET `position_x`=1390.558, `position_y`=-5703.662, `position_z`=136.3209, `Orientation`=2.282122, `MovementType`=0, `spawndist`=0 WHERE `guid`=129171 AND `id`=28594;
UPDATE `creature` SET `position_x`=1390.572, `position_y`=-5703.678, `position_z`=136.3188, `Orientation`=5.372028, `MovementType`=2, `spawndist`=0 WHERE `guid`=129170 AND `id`=28594;
UPDATE `creature` SET `position_x`=1360.449, `position_y`=-5683.808, `position_z`=138.7448, `Orientation`=5.587841, `MovementType`=0, `spawndist`=0 WHERE `guid`=129169 AND `id`=28594;
UPDATE `creature` SET `position_x`=1488.340, `position_y`=-5813.331, `position_z`=131.3350, `Orientation`=1.720976, `MovementType`=2, `spawndist`=0 WHERE `guid`=129165 AND `id`=28594;
UPDATE `creature` SET `position_x`=1484.236, `position_y`=-5850.959, `position_z`=131.3351, `Orientation`=3.808080, `MovementType`=2, `spawndist`=0 WHERE `guid`=129168 AND `id`=28594;
DELETE FROM `creature_addon` WHERE `guid` IN (129170,129165,129168);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
(129170, 1291700,0,0,1, 0,''),
(129165, 1291650,0,0,1, 0,''),
(129168, 1291680,0,0,1, 0,'');
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (128736,129170);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
(128736, 128736, 0, 0, 515, 0, 0),
(128736, 128709, 6, 280, 515, 0, 0),
(128736, 128712, 6, 300, 515, 0, 0),
(128736, 128710, 6, 320, 515, 0, 0),
(128736, 128713, 6, 340, 515, 0, 0),
(128736, 128705, 6, 360, 515, 0, 0),
(128736, 128707, 6, 20, 515, 0, 0),
(128736, 128711, 6, 40, 515, 0, 0),
(128736, 128708, 6, 60, 515, 0, 0),
(128736, 128706, 6, 80, 515, 0, 0),
(129170, 129170, 0, 0, 515, 0, 0),
(129170, 129171, 3, 270, 515, 0, 0);
-- waypoints
DELETE FROM `waypoint_data` WHERE `id` IN (1291700,1291650,1291680,1287360);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `delay`, `action`, `orientation`, `action_chance`, `move_type`) VALUES
-- Scarlet Preacher
(1291700,1,1402.94,-5716.94,133.387,0,0,5.27582,100,0),
(1291700,2,1423.3,-5747.93,131.208,0,0,5.27415,100,0),
(1291700,3,1402.68,-5716.63,133.475,0,0,2.18361,100,0),
(1291700,4,1397.68,-5710.01,135.097,0,0,2.44907,100,0),
(1291700,5,1389.76,-5704.78,136.089,0,0,2.54489,100,0),
(1291700,6,1386.06,-5702.27,138.002,0,0,2.54489,100,0),
(1291700,7,1366.41,-5688.04,137.968,3000,0,2.54489,100,0),
(1291700,8,1386.36,-5702.1,138.001,0,0,5.66684,100,0),
(1291700,9,1390.1,-5704.74,136.054,0,0,5.66684,100,0),
(1291650,1,1484.85,-5802.34,131.228,0,0,2.09093,100,0),
(1291650,2,1474.38,-5788.07,131.232,0,0,2.24565,100,0),
(1291650,3,1451.5,-5759.41,131.232,0,0,2.40901,100,0),
(1291650,4,1438.17,-5750.76,131.21,0,0,2.77606,100,0),
(1291650,5,1425.59,-5747.92,131.21,0,0,3.33919,100,0),
(1291650,6,1416.48,-5752.81,131.263,0,0,3.84342,100,0),
(1291650,7,1410.85,-5760.42,131.447,0,0,4.38253,100,0),
(1291650,8,1397.58,-5797.64,131.217,0,0,4.52391,100,0),
(1291650,9,1398.15,-5805.79,131.242,0,0,5.00299,100,0),
(1291650,10,1402.93,-5815.12,131.215,0,0,5.33678,100,0),
(1291650,11,1431.32,-5846.87,131.209,0,0,5.47815,100,0),
(1291650,12,1439.07,-5853.76,131.21,0,0,5.82529,100,0),
(1291650,13,1449.41,-5855.99,131.22,0,0,0.0101976,100,0),
(1291650,14,1478.43,-5856.03,131.237,0,0,0.0438187,100,0),
(1291650,15,1487.95,-5854.48,131.214,0,0,0.642292,100,0),
(1291650,16,1491.59,-5851.32,131.214,0,0,1.09625,100,0),
(1291650,17,1493.68,-5843.79,131.213,0,0,1.60511,100,0),
(1291650,18,1488.45,-5813.26,131.21,0,0,1.81953,100,0),
(1291680,1,1451.43,-5852.32,131.316,0,0,2.97292,100,0),
(1291680,2,1441.34,-5848.45,131.214,0,0,2.31868,100,0),
(1291680,3,1415.71,-5822.71,131.208,0,0,2.34224,100,0),
(1291680,4,1402.84,-5805.23,131.217,0,0,1.9087,100,0),
(1291680,5,1403.41,-5795.93,131.212,0,0,1.30316,100,0),
(1291680,6,1414.64,-5764.5,131.301,0,0,1.2741,100,0),
(1291680,7,1421.97,-5754.72,131.213,0,0,0.747881,100,0),
(1291680,8,1431.54,-5753.59,131.21,0,0,6.13021,100,0),
(1291680,9,1440.86,-5758.25,131.21,0,0,5.51839,100,0),
(1291680,10,1465.74,-5787.2,131.213,0,0,5.4532,100,0),
(1291680,11,1479.13,-5805.14,131.211,0,0,5.30005,100,0),
(1291680,12,1485.4,-5822.49,131.219,0,0,4.99375,100,0),
(1291680,13,1487.73,-5844.53,131.216,0,0,4.72279,100,0),
(1291680,14,1486.62,-5849.06,131.214,0,0,4.1039,100,0),
(1291680,15,1482.41,-5851.55,131.217,0,0,3.45988,100,0),
(1287360,1,1554.09, -5787.14, 119.562,0,0,3.1587,100,0), -- Scarlet Commander
(1287360,2,1525.3,-5788.32,127.109,0,0,3.34719,100,0),
(1287360,3,1501.55,-5795.64,131.149,0,0,3.56318,100,0),
(1287360,4,1488.25,-5802.89,131.248,0,0,4.43889,100,0),
(1287360,5,1486.45,-5811.1,131.213,0,0,4.81274,100,0),
(1287360,6,1491.52,-5862.06,131.213,0,0,5.16067,100,0),
(1287360,7,1504.88,-5884.58,131.182,0,0,5.78506,100,0),
(1287360,8,1535.07,-5893.31,129.066,0,0,6.08743,100,0),
(1287360,9,1601.17,-5910.01,116.303,0,0,6.00342,100,0),
(1287360,10,1643.02,-5910.12,116.266,0,0,0.520555,100,0),
(1287360,11,1656.36,-5899.57,116.124,0,0,0.587314,100,0),
(1287360,12,1692.02,-5884.95,116.142,0,0,6.01834,100,0),
(1287360,13,1702.86,-5887.94,116.138,0,0,5.62172,100,0),
(1287360,14,1736.57,-5907.02,116.123,0,0,5.80629,100,0),
(1287360,15,1798.79,-5933.78,115.968,0,0,6.01049,100,0),
(1287360,16,1809.37,-5933.87,115.297,0,0,0.343049,100,0),
(1287360,17,1864.98,-5914.6,104.226,0,0,0.331268,100,0),
(1287360,18,1885.84,-5907.43,102.989,0,0,0.778945,100,0),
(1287360,19,1894.42,-5891.76,102.687,0,0,1.25411,100,0),
(1287360,20,1895.85,-5875.9,101.466,0,0,1.51329,100,0),
(1287360,21,1881.66,-5850.79,102.244,0,0,2.27513,100,0),
(1287360,22,1852.78,-5819.59,99.8482,0,0,3.03697,100,0),
(1287360,23,1815.8,-5818.1,105.145,0,0,3.12336,100,0),
(1287360,24,1749.11,-5822.59,116.12,0,0,3.13514,100,0),
(1287360,25,1731.1,-5820.91,116.122,0,0,2.228,100,0),
(1287360,26,1707.71, -5788.65, 114.503,0,0,2.55002,100,0),
(1287360,27,1688.41, -5781.75, 114.617,0,0,2.96235,100,0),
(1287360,28,1652.1, -5780.44, 116.135,0,0,3.13514,100,0),
(1287360,29,1604.93, -5783.24, 116.183,0,0,3.20583,100,0);
@@ -0,0 +1,3 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid` = 2519;
UPDATE `smart_scripts` SET `action_param1` = 170 WHERE `entryorguid` = 23671 AND `id` = 17;
@@ -0,0 +1,6 @@
--
UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 48815;
UPDATE `creature` SET `PhaseId` = 0 WHERE `id` IN (28390,28391);
UPDATE `creature` SET `PhaseGroup` = 0 WHERE `id` = 49284;
DELETE FROM `game_event_creature` WHERE `guid` NOT IN (SELECT `guid` FROM `creature`);
@@ -0,0 +1,30 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (7268, 30451, 1449, 44425, 1463, 543, 133, 2948, 2136, 44614, 11366, 92315, 2120, 11113, 31661, 44457, 11129, 82731, 116, 42208, 120, 122, 30455, 11426, 44572);
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
-- Arcane
(7268, 0.834, 0, 0, 0, 'Mage - Arcane Missiles'),
(30451, 1, 0, 0, 0, 'Mage - Arcane Blast'),
(1449, 0.186, 0, 0, 0, 'Mage - Arcane Explosion'),
(44425, 0.907, 0, 0, 0, 'Mage - Arcane Barrage'),
(1463, 0.807, 0, 0, 0, 'Mage - Mana Shield'),
(543, 0.807, 0, 0, 0, 'Mage - Mage Ward'),
-- Fire
(133, 1.236, 0, 0, 0, 'Mage - Fireball'),
(2948, 0.512, 0, 0, 0, 'Mage - Scorch'),
(2136, 0.429, 0, 0, 0, 'Mage - Fire Blast'),
(44614, 0.977, 0, 0, 0, 'Mage - Frostfire Bolt'),
(11366, 0.175, 0.18, 0, 0, 'Mage - Pyroblast'),
(92315, 0.175, 0.18, 0, 0, 'Mage - Pyroblast!'),
(2120, 0.146, 0.061, 0, 0, 'Mage - Flamestrike'),
(11113, 0.143, 0, 0, 0, 'Mage - Blast Wave'),
(31661, 0.193, 0, 0, 0, 'Mage - Dragon''s Breath'),
(44457, 0.25, 0.258, 0, 0, 'Mage - Living Bomb'),
(11129, 0.429, 0, 0, 0, 'Mage - Combustion'), -- DoT Damage needs script
(82731, 2.01, 0, 0, 0, 'Mage - Flame Orb'),
-- Frost
(116, 0.943, 0, 0, 0, 'Mage - Frostbolt'),
(42208, 0.162, 0, 0, 0, 'Mage - Frostbolt'),
(120, 0.214, 0, 0, 0, 'Mage - Cone of Cold'),
(122, 0.193, 0, 0, 0, 'Mage - Frost Nova'),
(30455, 0.378, 0, 0, 0, 'Mage - Ice Lance'),
(11426, 0.87, 0, 0, 0, 'Mage - Ice Barrier'),
(44572, 2.058, 0, 0, 0, 'Mage - Deep Freeze');
@@ -0,0 +1,2 @@
--
UPDATE `spell_bonus_data` SET `direct_bonus`= 0.278 WHERE `entry`= 7268;
@@ -0,0 +1,32 @@
-- Shaman
DELETE FROM `spell_bonus_data` WHERE `entry` IN (26364, 403, 421, 8042, 8050, 8056, 3606, 8349, 8187, 51490, 51505, 8004, 331, 77472, 1064, 5672, 379, 61295, 73921, 73899, 60103, 77478, 73683, 73682, 73685, 45297, 77451, 45284);
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(26364, 0.267, 0, 0, 0, 'Shaman - Lightning Shield'),
(403, 0.714, 0, 0, 0, 'Shaman - Lightning Bolt'),
(421, 0.571, 0, 0, 0, 'Shaman - Chain Lightning'),
(8042, 0.386, 0, 0, 0, 'Shaman - Earth Shock'),
(8050, 0.142, 0.1, 0, 0, 'Shaman - Flame Shock'),
(8056, 0.386, 0, 0, 0, 'Shaman - Frost Shock'),
(3606, 0.167, 0, 0, 0, 'Shaman - Searing Totem'),
(8349, 0.164, 0, 0, 0, 'Shaman - Fire Nova'),
(8187, 0.067, 0, 0, 0, 'Shaman - Magma Totem'),
(51490, 0.571, 0, 0, 0, 'Shaman - Thunderstorm'),
(51505, 0.628, 0, 0, 0, 'Shaman - Lava Burst'),
(8004, 0.483, 0, 0, 0, 'Shaman - Healing Surge'),
(331, 0.302, 0, 0, 0, 'Shaman - Healing Wave'),
(77472, 0.967, 0, 0, 0, 'Shaman - Greater Healing Wave'),
(1064, 0.35, 0, 0, 0, 'Shaman - Chain Heal'),
(5672, 0.0827, 0, 0, 0, 'Shaman - Healing Stream Totem'),
(379, 1, 0, 0, 0, 'Shaman - Earth Shield'),
(61295, 1.113, 0.1125, 0, 0, 'Shaman - Riptide'),
(73921, 0.076, 0, 0, 0, 'Shaman - Healing Rain'),
(32175, 0, 0, 0, 0, 'Shaman - Storm Strike'),
(73899, 0, 0, 0, 0, 'Shaman - Primal Strike'),
(60103, 0, 0, 0, 0, 'Shaman - Lava Lash'),
(77478, 0.11, 0, 0, 0, 'Shaman - Earthquake'),
(73683, 0.429, 0, 0, 0, 'Shaman - Unleash Flame'),
(73682, 0.429, 0, 0, 0, 'Shaman - Unleash Frost'),
(73685, 0.201, 0, 0, 0, 'Shaman - Unleash Life'),
(45297, 0.571, 0, 0, 0, 'Shaman - Chain Lightning Mastery'),
(77451, 0.628, 0, 0, 0, 'Shaman - Lava Burst Mastery'),
(45284, 0.714, 0, 0, 0, 'Shaman - Lightning Bolt Mastery');
@@ -0,0 +1,3 @@
--
UPDATE `creature_template` SET `lootid` = 42938 WHERE `entry` = 42938;
UPDATE `quest_template_addon` SET `ProvidedItemCount` = 1 WHERE `ID` IN (3100, 3101, 3102, 3103, 3104, 3105, 24623, 24813, 26910, 28806, 28808, 28809, 28810, 28811, 28812, 28813);
@@ -0,0 +1,7 @@
--
DELETE FROM conditions WHERE SourceEntry IN (83445, 91257, 83466, 81350, 91263, 91263, 83235) AND `SourceTypeOrReferenceId`= 13;
INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, COMMENT) VALUES
(13, 1, 83466, 0, 0, 31, 0, 3, 44712, 0, 0, 0, '', 'Shockwave Searcher - Target Shockwave Visual'),
(13, 1, 83445, 0, 0, 31, 0, 3, 44711, 0, 0, 0, '', 'Shockwave - Target Shockwave Stalker'),
(13, 1, 91257, 0, 0, 31, 0, 3, 44711, 0, 0, 0, '', 'Shockwave - Target Shockwave Stalker'),
(13, 1, 91263, 0, 0, 31, 0, 3, 44796, 0, 0, 0, '', 'Detonate Traps - Target Tolvir Land Mine');
@@ -0,0 +1,8 @@
--
DELETE FROM `spell_proc` WHERE `SpellID`= 76659;
INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `AttributesMask`) VALUES
(76659, 9, 0, 0, 1, 1, 0x0000020);
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_hun_wild_quiver';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(76659, 'spell_hun_wild_quiver');
@@ -0,0 +1,4 @@
--
DELETE FROM `spell_proc` WHERE `SpellId`= 76613;
INSERT INTO `spell_proc` (`SpellId`, `SpellPhaseMask`, `AttributesMask`) VALUES
(76613, 0x00000002, 0x0000010 | 0x0000020);
@@ -0,0 +1,8 @@
--
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_pal_illuminated_healing';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(76669, 'spell_pal_illuminated_healing');
DELETE FROM `spell_proc` WHERE `SpellID`= 76669;
INSERT INTO `spell_proc` (`SpellID`, `SpellFamilyName`, `SpellFamilyMask0`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`) VALUES
(76669, 10, 0, 0x00004000, 2, 2, 0, 0x0000020);
Loaded 100 of 158 files, more files were not shown because too many files have changed in this diff. Show more