diff --git a/sql/world/base/dungeon_aq40.sql b/sql/world/base/dungeon_aq40.sql new file mode 100644 index 0000000..e50ed45 --- /dev/null +++ b/sql/world/base/dungeon_aq40.sql @@ -0,0 +1,11 @@ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (15718); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (15718); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(15718, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ouro Scarab - On Just Summoned - Set In Combat With Zone'), +(15718, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 5000, 10000, 0, 0, 11, 22951, 0, 0, 0, 0, 0, 17, 10, 60, 1, 0, 0, 0, 0, 0, 'Ouro Scarab - In Combat - Cast Summon Player'), +(15718, 0, 2, 0, 0, 0, 100, 1, 45000, 45000, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ouro Scarab - In Combat after 45 seconds - Forced Despawn'); diff --git a/sql/world/base/dungeon_blackwing_lair.sql b/sql/world/base/dungeon_blackwing_lair.sql index 594dfe2..3edb677 100644 --- a/sql/world/base/dungeon_blackwing_lair.sql +++ b/sql/world/base/dungeon_blackwing_lair.sql @@ -1,4 +1,15 @@ - +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (12458); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (12458); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(12458, 0, 0, 0, 1, 0, 100, 0, 15000, 35000, 15000, 35000, 0, 0, 11, 22458, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Taskmaster - OOC - Cast Healing Circle'), +(12458, 0, 1, 0, 9, 0, 100, 0, 1000, 6000, 8000, 12000, 0, 20, 11, 17289, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Taskmaster - Within 0-20 Range - Cast Shadow Shock'); + + DELETE FROM `spell_script_names` WHERE `spell_id` = 23310 AND `ScriptName` = 'spell_bwl_chromaggus_time_lapse'; INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (23310, 'spell_bwl_chromaggus_time_lapse'); diff --git a/sql/world/base/dungeon_dire_maul.sql b/sql/world/base/dungeon_dire_maul.sql new file mode 100644 index 0000000..22d1fd7 --- /dev/null +++ b/sql/world/base/dungeon_dire_maul.sql @@ -0,0 +1,9 @@ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (11477); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (11477); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(11477, 0, 0, 0, 6, 0, 100, 513, 0, 0, 0, 0, 0, 0, 11, 22825, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rotting Highborne - On Just Died - Cast Summon Cadaverous Worm'); diff --git a/sql/world/base/dungeon_maraudon.sql b/sql/world/base/dungeon_maraudon.sql index 9a16d87..05587fd 100644 --- a/sql/world/base/dungeon_maraudon.sql +++ b/sql/world/base/dungeon_maraudon.sql @@ -3,3 +3,14 @@ UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Celebras the Redee -- The Pariah's Instructions UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Centaur Pariah in Desolace.' WHERE `ID` = 7067; + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (13696); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (13696); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(13696, 0, 0, 0, 0, 0, 100, 0, 4000, 11000, 10000, 29000, 0, 5, 11, 5413, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Noxxious Scion - Within 0-5 Range - Cast Noxious Catalyst'), +(13696, 0, 1, 0, 0, 0, 100, 0, 1000, 2000, 2500, 3500, 0, 0, 11, 21068, 96, 1, 0, 0, 0, 24, 30, 0, 0, 0, 0, 0, 0, 0, 'Noxxious Scion - In Combat - Cast Corruption'); diff --git a/sql/world/base/dungeon_scholomance.sql b/sql/world/base/dungeon_scholomance.sql index 8cb88b8..2df920c 100644 --- a/sql/world/base/dungeon_scholomance.sql +++ b/sql/world/base/dungeon_scholomance.sql @@ -1,28 +1,42 @@ --- Kirtonos the Herald -UPDATE `creature_template` SET `minlevel`=60, `maxlevel`=60 WHERE `entry`=10506; - --- Frail Skeleton -UPDATE `creature_template` SET `minlevel`=1, `maxlevel`=1, `faction`=233 WHERE `entry`=11258; +UPDATE `creature_template` SET `minlevel` = 60, `maxlevel` = 60 WHERE `entry` = 10506; -- Kirtonos the Herald +UPDATE `creature_template` SET `minlevel` = 1, `maxlevel` = 1, `faction` = 233 WHERE `entry` = 11258; -- Frail Skeleton -- Darkmaster Gandling - fix his shout message not displaying UPDATE `creature_text` SET `TextRange` = 1 WHERE `CreatureID` = 1853; +DELETE FROM `creature_text` WHERE `CreatureID` IN (11636, 11637); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(11636, 0, 0, 'I don\'t get paid enough for this!', 12, 0, 100, 0, 0, 0, 7150, 0, 'Servant of Weldon Barov'), +(11636, 0, 1, 'Time to take out the trash!', 12, 0, 100, 0, 0, 0, 7151, 0, 'Servant of Weldon Barov'), +(11636, 0, 2, 'I\'m going to dust you into oblivion!', 12, 0, 100, 0, 0, 0, 7152, 0, 'Servant of Weldon Barov'), +(11636, 0, 3, 'How dare you?!', 12, 0, 100, 0, 0, 0, 7153, 0, 'Servant of Weldon Barov'), +(11636, 0, 4, 'Spot of tea, gov\'na?', 12, 0, 100, 0, 0, 0, 7154, 0, 'Servant of Weldon Barov'), +-- +(11637, 0, 0, 'I don\'t get paid enough for this!', 12, 0, 100, 0, 0, 0, 7150, 0, 'Servant of Alexi Barov'), +(11637, 0, 1, 'Time to take out the trash!', 12, 0, 100, 0, 0, 0, 7151, 0, 'Servant of Alexi Barov'), +(11637, 0, 2, 'I\'m going to dust you into oblivion!', 12, 0, 100, 0, 0, 0, 7152, 0, 'Servant of Alexi Barov'), +(11637, 0, 3, 'How dare you?!', 12, 0, 100, 0, 0, 0, 7153, 0, 'Servant of Alexi Barov'), +(11637, 0, 4, 'Spot of tea, gov\'na?', 12, 0, 100, 0, 0, 0, 7154, 0, 'Servant of Alexi Barov'); -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (10477, 14511); +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (10477, 11636, 11637, 14511); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (10477, 11636, 11637, 14511); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES - -- fix Scholomance Necromancer, not moving, casting out of range (10477, 0, 0, 0, 0, 0, 100, 0, 0, 3000, 5000, 9000, 11000, 0, 11, 14887, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scholomance Necromancer - In Combat - Cast Shadow Bolt Volley'), (10477, 0, 1, 0, 0, 0, 100, 0, 1000, 25000, 60000, 60000, 0, 0, 11, 12020, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scholomance Necromancer - In Combat - Cast Call of the Graves'), (10477, 0, 2, 0, 0, 0, 100, 0, 5000, 10000, 11000, 15000, 0, 0, 11, 17616, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scholomance Necromancer - In Combat - Cast Corpse Explosion'), (10477, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scholomance Necromancer - Between 0-15% Health - Flee For Assist'), +-- +(11636, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Servant of Weldon Barov - On Aggro - Say Line 0'), +(11637, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Servant of Alexi Barov - On Aggro - Say Line 0'), -- fix Shadowed Spirit, missing Shadow Bolt Volley -(14511, 0, 0, 0, 0, 0, 100, 0, 0, 1000, 3000, 4500, 0, 0, 11, 12739, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Bolt'), +(14511, 0, 0, 0, 0, 0, 100, 0, 0, 1000, 3000, 4500, 0, 0, 11, 12739, 64, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Bolt'), (14511, 0, 1, 0, 0, 0, 100, 0, 5000, 7000, 15000, 17000, 0, 0, 11, 15245, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Bolt Volley'), -(14511, 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 8000, 12000, 0, 0, 11, 22575, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Shock'), +(14511, 0, 2, 0, 0, 0, 100, 0, 1000, 6000, 8000, 12000, 0, 0, 11, 22575, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Shock'), (14511, 0, 3, 0, 0, 0, 100, 0, 5000, 15000, 30000, 30000, 0, 0, 11, 22417, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - In Combat - Cast Shadow Shield'), (14511, 0, 4, 0, 1, 0, 100, 0, 0, 0, 5000, 5000, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 30, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - Out of Combat - Attack Start'), (14511, 0, 5, 0, 8, 0, 100, 0, 20271, 0, 15000, 15000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowed Spirit - On Spell Hit - Say Line 0'); diff --git a/sql/world/base/dungeon_uldaman.sql b/sql/world/base/dungeon_uldaman.sql new file mode 100644 index 0000000..13cf5f2 --- /dev/null +++ b/sql/world/base/dungeon_uldaman.sql @@ -0,0 +1,11 @@ +-- smart scrips +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7078, 7405); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7078, 7405); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(7078, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 3616, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cleft Scorpid - On Reset - Cast Poison Proc'), +(7405, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 3616, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deadly Cleft Scorpid - On Reset - Cast Poison Proc'); diff --git a/sql/world/base/zone_azshara.sql b/sql/world/base/zone_azshara.sql index f0a24b2..cd763cf 100644 --- a/sql/world/base/zone_azshara.sql +++ b/sql/world/base/zone_azshara.sql @@ -1,13 +1,23 @@ -/* Quest: Encoded Fragments */ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (6350, 6372, 6379); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (6350, 6372, 6379); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(6350, 0, 0, 0, 9, 0, 100, 0, 3000, 4000, 12000, 13000, 0, 5, 11, 13444, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Makrinni Razorclaw - Within 0-5 Range - Cast Sunder Armor'), +(6372, 0, 0, 0, 9, 0, 100, 0, 10000, 19100, 25300, 46800, 0, 5, 11, 3604, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Makrinni Snapclaw - Within 0-5 Range - Cast Tendon Rip'), +(6379, 0, 0, 0, 9, 0, 100, 1, 0, 0, 0, 0, 5, 20, 11, 6268, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Thunderhead Patriarch - Within 5-20 Range - Cast Rushing Charge'); --- description was using tbc version (changed in ~2.1) -UPDATE `quest_template` SET `QuestDescription`='Lord Ravenholdt has asked a favor of us both. He wishes to remove the enchantment from this bag.$b$bUnfortunately, some of my books on the subject of dispelling were taken recently, only to be destroyed by savages. The remains of my books are still valuable to me.$b$bIf you can bring me enough of the encoded fragments, I can piece them back together. Your best chance is to kill forest oozes, since they have a tendency to pick up just about anything. You\'ll find them in northeast Azshara.' WHERE `ID`= 8235; - --- remove questdrops from TBC version -DELETE FROM `creature_loot_template` WHERE `item`= 20023 AND `entry` IN (6377, 6378, 6379, 6380, 8762); - - -/* Quest: Kim'jael's "Missing" Equipment */ - --- fix drop rate 'Some Rune', was 100% +-- Quest: Kim'jael's "Missing" Equipment, fix drop rate 'Some Rune', was 100% UPDATE `creature_loot_template` SET `Chance` = 15 WHERE `Item` = 13815; + +-- Quest: Encoded Fragments, description was using tbc version (changed in ~2.1) +DELETE FROM `creature_loot_template` WHERE `item`= 20023 AND `entry` IN (6377, 6378, 6379, 6380, 8762); -- remove quest drops TBC version + +UPDATE `quest_template` SET +`QuestDescription` = 'Lord Ravenholdt has asked a favor of us both. He wishes to remove the enchantment from this bag.$b$b + Unfortunately, some of my books on the subject of dispelling were taken recently, only to be destroyed by savages. The remains of my books are still valuable to me.$b$b + If you can bring me enough of the encoded fragments, I can piece them back together. Your best chance is to kill forest oozes, since they have a tendency to pick up just about anything. + You\'ll find them in northeast Azshara.' WHERE `ID` = 8235; diff --git a/sql/world/base/zone_barrens.sql b/sql/world/base/zone_barrens.sql index 1d1dff2..7ea48f1 100644 --- a/sql/world/base/zone_barrens.sql +++ b/sql/world/base/zone_barrens.sql @@ -1,280 +1,153 @@ --- Traugh -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=2783 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=7; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES (15, 2783, 0, 7, 164, 50, 'Show menu if blacksmithing is 50 or higher'); - --- Krulmoo Fullmoon -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=4206 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=7; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES (15, 4206, 0, 7, 165, 50, 'Show menu if leatherworking is 50 or higher'); - --- Mahani -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=4350 AND `SourceEntry`=0 AND `ConditionTypeOrReference`=7; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES (15, 4350, 0, 7, 197, 50, 'Show menu if tailoring is 50 or higher'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceEntry` = 0 AND `ConditionTypeOrReference` = 7 AND `SourceGroup` IN (2783, 4206, 4350); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES +(15, 2783, 0, 7, 164, 50, 'Show menu if blacksmithing is 50 or higher'), -- Traugh +(15, 4206, 0, 7, 165, 50, 'Show menu if leatherworking is 50 or higher'), -- Krulmoo Fullmoon +(15, 4350, 0, 7, 197, 50, 'Show menu if tailoring is 50 or higher'); -- Mahani -- Vile Familiars (Warlock) -DELETE FROM `creature_questender` WHERE `id`=5765 AND `quest`=1485; +DELETE FROM `creature_questender` WHERE `id` = 5765 AND `quest` = 1485; INSERT INTO `creature_questender` (`id`, `quest`) VALUES (5765, 1485); -- Summon Felsteed (Warlock) -DELETE FROM `creature_questender` WHERE `id`=6251 AND `quest`=3631; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 3631); -DELETE FROM `creature_questender` WHERE `id`=6251 AND `quest`=4487; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 4487); -DELETE FROM `creature_questender` WHERE `id`=6251 AND `quest`=4488; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 4488); -DELETE FROM `creature_questender` WHERE `id`=6251 AND `quest`=4489; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 4489); -DELETE FROM `creature_questender` WHERE `id`=6251 AND `quest`=4490; -INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 4490); +DELETE FROM `creature_questender` WHERE `id` = 6251 AND `quest` IN (3631, 4487, 4488, 4489, 4490); +INSERT INTO `creature_questender` (`id`, `quest`) VALUES (6251, 3631), (6251, 4487), (6251, 4488), (6251, 4489), (6251, 4490); + +DELETE FROM `creature_queststarter` WHERE `id` = 6251 AND `quest` = 4490; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (6251, 4490); -- Vile Familiars (Warlock) DELETE FROM `creature_queststarter` WHERE `id`=5765 AND `quest`=1485; INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (5765, 1485); --- Summon Felsteed (Warlock) -DELETE FROM `creature_queststarter` WHERE `id`=6251 AND `quest`=4490; -INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (6251, 4490); +UPDATE `creature_template` SET `subname` = 'Blacksmithing Supplier' WHERE `entry` = 3477;-- Hraq +UPDATE `creature_template` SET `subname` = 'Expert Blacksmith' WHERE `entry` = 3478; -- Traugh +UPDATE `creature_template` SET `subname` = 'Journeyman Tailor' WHERE `entry` = 3484; -- Kil'hala +UPDATE `creature_template` SET `subname` = 'Reagents and Herbs' WHERE `entry` = 3490; -- Hula'mahi +UPDATE `creature_template` SET `subname` = 'Journeyman Engineer' WHERE `entry` = 3494;-- Tinkerwiz +UPDATE `creature_template` SET `subname` = 'Engineering Goods' WHERE `entry` = 3495;-- Gagsprocket +UPDATE `creature_template` SET `subname` = 'Expert Leatherworker' WHERE `entry` = 3703;-- Krulmoo Fullmoon +UPDATE `creature_template` SET `subname` = 'Expert Tailor' WHERE `entry` = 3704;-- Mahani +UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `entry` = 5784;-- Waldor +UPDATE `creature_template` SET `subname` = 'Skinner' WHERE `entry` = 6387;-- Dranh +UPDATE `creature_template` SET `subname` = 'Master Goblin Engineer' WHERE `entry` = 8738;-- Vazario Linkgrease -/* Plainstriders flee at 15% health. They have no other abilities during vanilla */ -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3244, 3245, 3246); -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(3244, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Greater Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'), -(3245, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Ornery Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'), -(3246, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Fleeting Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'); +UPDATE `creature_template` SET `minlevel` = 15, `maxlevel` = 17 WHERE `entry` = 3634; -- Deviate Stalker +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 3615; -- Devrak +UPDATE `creature_template` SET `minlevel` = 19, `maxlevel` = 19 WHERE `entry` = 3652; -- Trigore the Lasher +UPDATE `creature_template` SET `minlevel` = 20, `maxlevel` = 20 WHERE `entry` = 3672; -- Boahn +UPDATE `creature_template` SET `minlevel` = 40, `maxlevel` = 40 WHERE `entry` = 4380; -- Darkmist Widow +UPDATE `creature_template` SET `minlevel` = 25, `maxlevel` = 25 WHERE `entry` = 5797; -- Aean Swiftriver +UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 24 WHERE `entry` = 5800; -- Marcus Bel +UPDATE `creature_template` SET `minlevel` = 19, `maxlevel` = 19 WHERE `entry` = 5835; -- Foreman Grills +UPDATE `creature_template` SET `minlevel` = 15, `maxlevel` = 15 WHERE `entry` = 8236; -- Muck Frenzy +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 10378; -- Omusa Thunderhorn +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 14717; -- Horde Elite +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` = 16227; -- Bragok -/* Deviate Stalker (3634) should have sneak spell 22766 */ -UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 3634; -DELETE FROM `smart_scripts` WHERE `entryorguid` = 3634; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, -`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(3634, 0, 0, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 11, 22766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deviate Stalker - Out of Combat - Cast \'Sneak\''); +UPDATE `creature_template` SET `rank` = 1 WHERE `entry` IN ( +3630, -- Deviate Coiler +3631, -- Deviate Stinglash +3632, -- Deviate Creeper +3633, -- Deviate Slayer +3634, -- Deviate Stalker +3638, -- Devouring Ectoplasm +3641, -- Deviate Lurker +6132, -- Razorfen Servitor +7872, -- Death's Head Cultist +7873, -- Razorfen Battleguard +7874, -- Razorfen Thornweaver +12865 -- Ambassador Malcin +); --- Grub -UPDATE `creature_template` SET `gossip_menu_id`=0, `npcflag`=2 WHERE `entry`=3443; +UPDATE `creature_template` SET `rank` = 2 WHERE `entry` IN ( +3652, -- Trigore the Lasher +3672, -- Boahn +7895 -- Ambassador Bloodrage +); --- Gilthares Firebough -UPDATE `creature_template_model` SET `CreatureDisplayID`=4244 WHERE `CreatureID`=3465; +UPDATE `creature_template` SET `rank` = 4 WHERE `entry` = 4380; -- Darkmist Widow +UPDATE `creature_template` SET `faction` = 16 WHERE `entry` = 3503; -- Silithid Protector +UPDATE `creature_template` SET `gossip_menu_id` = 0, `npcflag` = 2 WHERE `entry` = 3443; -- Grub +UPDATE `creature_template_model` SET `CreatureDisplayID` = 4244 WHERE `CreatureID` = 3465;-- Gilthares Firebough --- Hraq -UPDATE `creature_template` SET `subname`='Blacksmithing Supplier' WHERE `entry`=3477; +DELETE FROM `npc_trainer` WHERE `ID` IN (3478, 3484, 3494, 3703, 3704, 5784, 6387, 8306, 8738); +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(3478, -310000), -- Traugh +(3478, -310001), -- Traugh +(3484, -410000), -- Kil'hala +(3494, -340000), -- Tinkerwiz +(3703, -380000), -- Krulmoo Fullmoon +(3703, -380001), -- Krulmoo Fullmoon +(3704, -410000), -- Mahani +(3704, -410001), -- Mahani +(5784, -380000), -- Waldor +(6387, -400000), -- Dranh +(8306, -320000); -- Duhng --- Traugh -UPDATE `creature_template` SET `subname`='Expert Blacksmith' WHERE `entry`=3478; --- Kil'hala -UPDATE `creature_template` SET `subname`='Journeyman Tailor' WHERE `entry`=3484; - --- Hula'mahi -UPDATE `creature_template` SET `subname`='Reagents and Herbs' WHERE `entry`=3490; - --- Tinkerwiz -UPDATE `creature_template` SET `subname`='Journeyman Engineer' WHERE `entry`=3494; - --- Gagsprocket -UPDATE `creature_template` SET `subname`='Engineering Goods' WHERE `entry`=3495; - --- Silithid Protector -UPDATE `creature_template` SET `faction`=16 WHERE `entry`=3503; - --- Devrak -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=3615; - --- Deviate Coiler -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3630; - --- Deviate Stinglash -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3631; - --- Deviate Creeper -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3632; - --- Deviate Slayer -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3633; - --- Deviate Stalker -UPDATE `creature_template` SET `maxlevel`=17, `rank`=1 WHERE `entry`=3634; - --- Devouring Ectoplasm -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3638; - --- Deviate Lurker -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=3641; - --- Trigore the Lasher -UPDATE `creature_template` SET `minlevel`=19, `maxlevel`=19, `rank`=2 WHERE `entry`=3652; - --- Boahn -UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=20, `rank`=2 WHERE `entry`=3672; - --- Krulmoo Fullmoon -UPDATE `creature_template` SET `subname`='Expert Leatherworker' WHERE `entry`=3703; - --- Mahani -UPDATE `creature_template` SET `subname`='Expert Tailor' WHERE `entry`=3704; - --- Darkmist Widow -UPDATE `creature_template` SET `minlevel`=40, `maxlevel`=40, `rank`=4 WHERE `entry`=4380; - --- Waldor -UPDATE `creature_template` SET `subname`='Journeyman Leatherworker' WHERE `entry`=5784; - --- Aean Swiftriver -UPDATE `creature_template` SET `minlevel`=25, `maxlevel`=25 WHERE `entry`=5797; - --- Marcus Bel -UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=24 WHERE `entry`=5800; - --- Foreman Grills -UPDATE `creature_template` SET `minlevel`=19 WHERE `entry`=5835; - --- Razorfen Servitor -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=6132; - --- Dranh -UPDATE `creature_template` SET `subname`='Skinner' WHERE `entry`=6387; - --- Death's Head Cultist -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=7872; - --- Razorfen Battleguard -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=7873; - --- Razorfen Thornweaver -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=7874; - --- Ambassador Bloodrage -UPDATE `creature_template` SET `rank`=2 WHERE `entry`=7895; - --- Muck Frenzy -UPDATE `creature_template` SET `minlevel`=15, `maxlevel`=15 WHERE `entry`=8236; - --- Vazario Linkgrease -UPDATE `creature_template` SET `subname`='Master Goblin Engineer' WHERE `entry`=8738; - --- Omusa Thunderhorn -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=10378; - --- Ambassador Malcin -UPDATE `creature_template` SET `rank`=1 WHERE `entry`=12865; - --- Horde Elite -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=14717; - --- Bragok -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=16227; - --- Traugh -DELETE FROM `npc_trainer` WHERE `ID`=3478; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3478, -310000); -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3478, -310001); - --- Kil'hala -DELETE FROM `npc_trainer` WHERE `ID`=3484; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3484, -410000); - --- Tinkerwiz -DELETE FROM `npc_trainer` WHERE `ID`=3494; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3494, -340000); - --- Krulmoo Fullmoon -DELETE FROM `npc_trainer` WHERE `ID`=3703; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3703, -380000); -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3703, -380001); - --- Mahani -DELETE FROM `npc_trainer` WHERE `ID`=3704; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3704, -410000); -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3704, -410001); - --- Waldor -DELETE FROM `npc_trainer` WHERE `ID`=5784; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5784, -380000); - --- Dranh -DELETE FROM `npc_trainer` WHERE `ID`=6387; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (6387, -400000); - --- Duhng -DELETE FROM `npc_trainer` WHERE `ID`=8306; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (8306, -320000); - --- Vazario Linkgrease -DELETE FROM `npc_trainer` WHERE `ID`=8738; - --- Grub -DELETE FROM `npc_vendor` WHERE `entry`=3443; - --- Tari'qa -DELETE FROM `npc_vendor` WHERE `entry`=3482 AND `item`=39354; - --- Wrahk -DELETE FROM `npc_vendor` WHERE `entry`=3485 AND `item`=38426; +-- this should go to vanilla_vendors +DELETE FROM `npc_vendor` WHERE `entry` = 3443; -- Grub +DELETE FROM `npc_vendor` WHERE `entry` = 3482 AND `item` = 39354; -- Tari'qa +DELETE FROM `npc_vendor` WHERE `entry` = 3485 AND `item` = 38426; -- Wrahk +DELETE FROM `npc_vendor` WHERE `entry` = 3495 AND `item` IN (14639, 39684, 40533); -- Gagsprocket +DELETE FROM `npc_vendor` WHERE `entry` = 3499 AND `item` IN (20855, 39354); -- Ranik +DELETE FROM `npc_vendor` WHERE `entry` = 5783 AND `item` = 38426; -- Kalldan Felmoon +DELETE FROM `npc_vendor` WHERE `entry` = 5944 AND `item` = 38426; -- Yonada +DELETE FROM `npc_vendor` WHERE `entry` = 8307 AND `item` = 30817; -- Tarban Hearthgrain +DELETE FROM `npc_vendor` WHERE `entry` = 14754 AND `item` = 30498; -- Kelm Hargunth -- Hula'mahi DELETE FROM `npc_vendor` WHERE `entry`=3490 AND `item` IN (21835, 21927, 22053, 22054, 22055, 22147, 22148, 37201, 43230, 43231, 43232, 43233, 43234, 43235, 43237); DELETE FROM `npc_vendor` WHERE `entry`=3490 AND `item`=8925; INSERT INTO `npc_vendor` (`entry`, `item`) VALUES (3490, 8925); --- Gagsprocket -DELETE FROM `npc_vendor` WHERE `entry`=3495 AND `item` IN (14639, 39684, 40533); - --- Ranik -DELETE FROM `npc_vendor` WHERE `entry`=3499 AND `item` IN (20855, 39354); - --- Kalldan Felmoon -DELETE FROM `npc_vendor` WHERE `entry`=5783 AND `item`=38426; - --- Yonada -DELETE FROM `npc_vendor` WHERE `entry`=5944 AND `item`=38426; - --- Tarban Hearthgrain -DELETE FROM `npc_vendor` WHERE `entry`=8307 AND `item`=30817; - --- Kelm Hargunth -DELETE FROM `npc_vendor` WHERE `entry`=14754 AND `item`=30498; - -- The Angry Scytheclaws -DELETE FROM `quest_offer_reward` WHERE `ID`=905; -INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `RewardText`) VALUES (905, 1, 'So you\'ve been to the nests and placed the feathers of your prey within them. That took a fair portion of courage, no doubt about it.$B$BDo you feel a little tougher, $N? Because you look tougher now then when you first came here. I guess the Barrens is doing its job.'); +DELETE FROM `quest_offer_reward` WHERE `ID` = 905; +INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `RewardText`) VALUES +(905, 1, 'So you\'ve been to the nests and placed the feathers of your prey within them. That took a fair portion of courage, no doubt about it.$B$B + Do you feel a little tougher, $N? Because you look tougher now then when you first came here. I guess the Barrens is doing its job.'); -- Call of Water (Shaman) -DELETE FROM `quest_request_items` WHERE `ID`=63; -INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES (63, 1, 'The brazier still reflects the ambient light from the area, and the flame shifts slightly as you move closer.$B$BThe corruption along the hills seems to have kept its distance, and besides the missing components, the brazier looks prepared for the ritual to summon a cleansed manifestation of water.'); +DELETE FROM `quest_request_items` WHERE `ID` = 63; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES +(63, 1, 'The brazier still reflects the ambient light from the area, and the flame shifts slightly as you move closer.$B$B + The corruption along the hills seems to have kept its distance, and besides the missing components, the brazier looks prepared for the ritual to summon a cleansed manifestation of water.'); -- Hamuul Runetotem -DELETE FROM `quest_request_items` WHERE `ID`=1489; +DELETE FROM `quest_request_items` WHERE `ID` = 1489; INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES (1489, 1, NULL); --- Call of Water (Shaman) -UPDATE `quest_template` SET `LogDescription`='Bring the Shard of Water to Islen Waterseer in the Barrens.' WHERE `ID`=96; +UPDATE `quest_template` SET `LogDescription` = 'Bring the Shard of Water to Islen Waterseer in the Barrens.' WHERE `ID` = 96; -- Call of Water (Shaman) +UPDATE `quest_template` SET `LogDescription` = 'Bring the Vial of Purest Water to Islen Waterseer in the Barrens.' WHERE `ID` = 220; -- Call of Water (Shaman) +UPDATE `quest_template` SET `LogDescription` = 'Speak with Ziz Fizziks in Windshear Crag.' WHERE `ID` = 1483; -- Ziz Fizziks +UPDATE `quest_template` SET `LogDescription` = 'Find Brine in Southern Barrens.' WHERE `ID` = 1530; -- Call of Water (Shaman) +UPDATE `quest_template` SET `LogDescription` = 'Speak with Mura Runetotem in the Sepulcher.' WHERE `ID` = 3301; -- Mura Runetotem --- Call of Water (Shaman) -UPDATE `quest_template` SET `LogDescription`='Bring the Vial of Purest Water to Islen Waterseer in the Barrens.' WHERE `ID`=220; - --- Ziz Fizziks -UPDATE `quest_template` SET `LogDescription`='Speak with Ziz Fizziks in Windshear Crag.' WHERE `ID`=1483; - --- Call of Water (Shaman) -UPDATE `quest_template` SET `LogDescription`='Find Brine in Southern Barrens.' WHERE `ID`=1530; - --- Mura Runetotem -UPDATE `quest_template` SET `LogDescription`='Speak with Mura Runetotem in the Sepulcher.' WHERE `ID`=3301; - --- Melor Sends Word -UPDATE `quest_template_addon` SET `PrevQuestID`=882 WHERE `ID`=1130; - --- Shard of a Felhound (Warlock) -UPDATE `quest_template_addon` SET `PrevQuestID`=1799 WHERE `ID`=4962; - --- Shard of an Infernal (Warlock) -UPDATE `quest_template_addon` SET `PrevQuestID`=1799 WHERE `ID`=4963; - --- The Completed Orb of Dar'Orahil (Warlock) -UPDATE `quest_template_addon` SET `PrevQuestID`=4962 WHERE `ID`=4964; - --- The Completed Orb of Noh'Orahil (Warlock) -UPDATE `quest_template_addon` SET `PrevQuestID`=4963 WHERE `ID`=4975; - --- Supplies for the Crossroads -UPDATE `quest_template_addon` SET `PrevQuestID`=871 WHERE `ID`=5041; +UPDATE `quest_template_addon` SET `PrevQuestID` = 882 WHERE `ID` = 1130; -- Melor Sends Word +UPDATE `quest_template_addon` SET `PrevQuestID` = 1799 WHERE `ID` = 4962; -- Shard of a Felhound (Warlock) +UPDATE `quest_template_addon` SET `PrevQuestID` = 1799 WHERE `ID` = 4963; -- Shard of an Infernal (Warlock) +UPDATE `quest_template_addon` SET `PrevQuestID` = 4962 WHERE `ID` = 4964; -- The Completed Orb of Dar Orahil (Warlock) +UPDATE `quest_template_addon` SET `PrevQuestID` = 4963 WHERE `ID` = 4975; -- The Completed Orb of Noh Orahil (Warlock) +UPDATE `quest_template_addon` SET `PrevQuestID` = 871 WHERE `ID` = 5041; -- Supplies for the Crossroads +DELETE FROM `creature_text` WHERE `CreatureID` = 3279; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3279, 0, 0, 'A fine trophy your head will make, $R.', 12, 0, 100, 0, 0, 0, 2229, 0, 'Witchwing Ambusher'), +(3279, 0, 1, 'My talons will shred your puny body, $R', 12, 0, 100, 0, 0, 0, 2230, 0, 'Witchwing Ambusher'), +(3279, 0, 2, 'You will be easy prey, $C.', 12, 0, 100, 0, 0, 0, 2231, 0, 'Witchwing Ambusher'); +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (3244, 3245, 3246, 3279, 3398, 3634); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (3244, 3245, 3246, 3279, 3398, 3634); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + +(3244, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Greater Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3245, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Ornery Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3246, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Fleeting Plainstrider - Between 0-15% Health - Flee For Assist (No Repeat)'), +(3279, 0, 0, 0, 4, 0, 20, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Witchwing Ambusher - On Aggro - Say Line 0'), +(3398, 0, 0, 0, 9, 0, 100, 0, 5000, 8000, 120000, 130000, 0, 10, 11, 3583, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Gesharahan - Within 0-10 Range - Cast Deadly Poison'), +(3634, 0, 0, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 11, 22766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deviate Stalker - Out of Combat - Cast Sneak'); + diff --git a/sql/world/base/zone_blasted_lands.sql b/sql/world/base/zone_blasted_lands.sql index ea65599..26e0416 100644 --- a/sql/world/base/zone_blasted_lands.sql +++ b/sql/world/base/zone_blasted_lands.sql @@ -4,8 +4,8 @@ UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 5981; DELETE FROM `smart_scripts` WHERE `entryorguid` = 5981; INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (5981, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6059810, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Portal Seeker - On Respawn - Waypoint Start'), -(5981, 0, 1, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 10, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Portal Seeker - In combat - Cast Arcane Explosion'), -(5981, 0, 2, 0, 0, 0, 100, 0, 0, 1000, 3000, 4000, 0, 0, 11, 16799, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Portal Seeker - In Combat - Cast Frostbolt'); +(5981, 0, 1, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 20, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Portal Seeker - Within 0-20 Range - Cast Arcane Explosion'), +(5981, 0, 2, 0, 0, 0, 100, 0, 0, 1000, 3000, 4000, 0, 0, 11, 16799, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Portal Seeker - Within 0-40 Range - Cast Frostbolt'); DELETE FROM `creature` WHERE `guid` = 605981; INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, @@ -162,32 +162,32 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(-640004, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400040, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - On Respawn - Waypoint Start'), -(-640005, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400050, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - On Respawn - Waypoint Start'), +(-640004, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400040, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - On Respawn - Waypoint Start'), +(-640005, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400050, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - On Respawn - Waypoint Start'), -- -(-640006, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400060, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), -(-640006, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+206, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Melgromm Highmountain'), -(-640006, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+207, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'), -(-640006, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+208, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'), -(-640006, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), -(-640006, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+23, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -(-640006, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+24, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640006, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400060, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), +(-640006, 0, 1, 2, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+206, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Melgromm Highmountain'), +(-640006, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+207, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'), +(-640006, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+208, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Thunder Bluff Huntsman'), +(-640006, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), +(-640006, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+23, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640006, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+24, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -- -(-640007, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400070, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), -(-640007, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+200, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Marshal Raynor'), -(-640007, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+201, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'), -(-640007, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+202, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'), -(-640007, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), -(-640007, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+25, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -(-640007, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+26, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640007, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400070, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), +(-640007, 0, 1, 2, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+200, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Marshal Raynor'), +(-640007, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+201, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'), +(-640007, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+202, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Stormwind Marshal'), +(-640007, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), +(-640007, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+25, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640007, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+26, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -- -(-640008, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), -(-640008, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+203, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Justinius the Harbinger'), -(-640008, 0, 2, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+204, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'), -(-640008, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+205, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'), -(-640008, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), -(-640008, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+27, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -(-640008, 0, 6, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+28, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640008, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Respawn - Waypoint Start'), +(-640008, 0, 1, 2, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+203, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Justinius the Harbinger'), +(-640008, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+204, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'), +(-640008, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+205, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Azuremyst Vindicator'), +(-640008, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Self'), +(-640008, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+27, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), +(-640008, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, @CGUID+28, 0, 0, 0, 0, 0, 0, 0, 'Dreadknight - On Death - Despawn Portal Hound'), -- (-640010, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Felguard - On Respawn - Waypoint Start'), (-640011, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400110, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Felguard - On Respawn - Waypoint Start'), @@ -208,28 +208,28 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_ (-640203, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6402030, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - On Respawn - Waypoint Start'), (-640206, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6402060, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Melgromm Highmountain - On Respawn - Waypoint Start'), -- -(19365, 0, 0, 0, 9, 0, 100, 0, 0, 0, 2300, 3900, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 25, 30, 0, 0, 0, 0, 0, 0, 0, 'Argent Bowman - On Victim In Range - Cast Shoot'), +(19365, 0, 0, 0, 9, 0, 100, 0, 0, 0, 2300, 3900, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 25, 30, 0, 0, 0, 0, 0, 0, 0, 'Argent Bowman - Within 5-30 Range - Cast Shoot'), -- -(18966, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - On Aggro - Say Line 0'), -(18966, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 0, 11, 33554, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - In Combat - Cast Judgement of Command'), -(18966, 0, 2, 0, 14, 0, 100, 0, 2500, 40, 18000, 21000, 0, 0, 11, 33641, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - Friendly At 2500 Health - Cast Flash of Light'), +(18966, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - On Aggro - Say Line 0'), +(18966, 0, 1, 0, 9, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 35, 11, 33554, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - Within 0-35 Range - Cast Judgement of Command'), +(18966, 0, 2, 0, 14, 0, 100, 0, 2500, 40, 18000, 21000, 0, 0, 11, 33641, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Justinius the Harbinger - Friendly At 2500 Health - Cast Flash of Light'), -- -(18969, 0, 0, 0, 0, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 0, 11, 33643, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Melgromm Highmountain - In Combat - Cast Chain Lightning'), -(18969, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 0, 11, 22885, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Melgromm Highmountain - In Combat - Cast Earth Shock'), +(18969, 0, 0, 0, 0, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 0, 11, 33643, 0, 0, 0, 0, 0, 25, 30, 0, 0, 0, 0, 0, 0, 0, 'Melgromm Highmountain - Within 0-30 Range - Cast Chain Lightning'), +(18969, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 10000, 20000, 0, 0, 11, 22885, 0, 0, 0, 0, 0, 25, 20, 0, 0, 0, 0, 0, 0, 0, 'Melgromm Highmountain - Within 0-20 Range - Cast Earth Shock'), -- -(19385, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6402000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Marshal Raynor - On Respawn - Waypoint Start'), -(19385, 0, 1, 0, 0, 0, 100, 0, 4850, 18250, 4850, 18250, 0, 0, 11, 40504, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Marshal Raynor - In Combat - Cast Cleave'), +(19385, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6402000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Marshal Raynor - On Respawn - Waypoint Start'), +(19385, 0, 1, 0, 9, 0, 100, 0, 4850, 18250, 4850, 18250, 0, 5, 11, 40504, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Marshal Raynor - Within 0-5 Range - Cast Cleave'), -- -(19287, 0, 0, 0, 0, 0, 100, 0, 3000, 6000, 12000, 24000, 0, 0, 11, 11829, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - In Combat - Cast Flamestrike'), -(19287, 0, 1, 0, 0, 0, 100, 0, 0, 0, 5000, 10000, 0, 0, 11, 20825, 0, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - In Combat - Cast Shadow Bolt'), +(19287, 0, 0, 0, 0, 0, 100, 0, 3000, 6000, 12000, 24000, 0, 0, 11, 11829, 0, 0, 0, 0, 0, 25, 30, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - Within 0-30 Range - Cast Flamestrike'), +(19287, 0, 1, 0, 0, 0, 100, 0, 0, 0, 5000, 10000, 0, 0, 11, 20825, 0, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Invading Voidwalker - Within 0-40 Range - Cast Shadow Bolt'), -- -(19391, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400090, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Felguard Lieutenant - On Respawn - Waypoint Start'), -(19391, 0, 1, 0, 0, 0, 100, 0, 3000, 6000, 10000, 15000, 0, 0, 11, 3551, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Felguard Lieutenant - In Combat - Cast Skull Crack'), +(19391, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 6400090, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Felguard Lieutenant - On Respawn - Waypoint Start'), +(19391, 0, 1, 0, 9, 0, 100, 0, 3000, 6000, 10000, 15000, 0, 5, 11, 3551, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Felguard Lieutenant - Within 0-5 Range - Cast Skull Crack'), -- -(19566, 0, 0, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 10, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethergarde Advisor - On Victim In Range - Cast Arcane Explosion'), -(19566, 0, 1, 0, 0, 0, 100, 0, 0, 0, 3600, 5900, 0, 0, 11, 20823, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Nethergarde Advisor - In Combat - Cast Fireball'), -(19567, 0, 0, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 10, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Watcher Theronus - On Victim In Range - Cast Arcane Explosion'), -(19567, 0, 1, 0, 0, 0, 100, 0, 0, 1000, 3000, 4000, 0, 0, 11, 16799, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Watcher Theronus - In Combat - Cast Frostbolt'); +(19566, 0, 0, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 20, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nethergarde Advisor - Within 0-20 Range - Cast Arcane Explosion'), +(19566, 0, 1, 0, 0, 0, 100, 0, 0, 0, 3600, 5900, 0, 0, 11, 20823, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Nethergarde Advisor - Within 0-40 Range - Cast Fireball'), +(19567, 0, 0, 0, 9, 0, 100, 0, 1000, 3200, 2800, 5200, 0, 20, 11, 15453, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Watcher Theronus - Within 0-20 Range - Cast Arcane Explosion'), +(19567, 0, 1, 0, 0, 0, 100, 0, 0, 1000, 3000, 4000, 0, 0, 11, 16799, 64, 0, 0, 0, 0, 25, 40, 0, 0, 0, 0, 0, 0, 0, 'Watcher Theronus - Within 0-40 Range - Cast Frostbolt'); DELETE FROM `creature_addon` WHERE `guid` IN (640004, 640005, 640006, 640007, 640008, 640009, diff --git a/sql/world/base/zone_darkshore.sql b/sql/world/base/zone_darkshore.sql new file mode 100644 index 0000000..c37307a --- /dev/null +++ b/sql/world/base/zone_darkshore.sql @@ -0,0 +1,12 @@ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (2160, 10919, 11196); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (2160, 10919, 11196); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + +(2160, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 12544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gravelflint Geomancer - On Reset - Cast Frost Armor'), +(2160, 0, 1, 0, 9, 0, 100, 0, 0, 0, 3300, 7400, 0, 40, 11, 19816, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Gravelflint Geomancer - Within 0-40 Range - Cast Fireball'), +(10919, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 39, 20, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shatterspear Troll - On Aggro - Call for Help (No Repeat)'), +(11196, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 39, 20, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shatterspear Drummer - On Aggro - Call for Help (No Repeat)'); diff --git a/sql/world/base/zone_darnassus.sql b/sql/world/base/zone_darnassus.sql index 43ce729..a0a5541 100644 --- a/sql/world/base/zone_darnassus.sql +++ b/sql/world/base/zone_darnassus.sql @@ -8,7 +8,6 @@ UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `ent UPDATE `creature_template` SET `npcflag` = 81, `trainer_type` = 2 WHERE `entry` IN (11041, 11042, 11050, 11070, 11081, 11083); UPDATE `creature_template` SET `type_flags` = 134217728 WHERE `entry` IN (4212, 11042, 11081); - DELETE FROM `npc_trainer` WHERE `ID` IN (11041, 11042, 11050, 11070, 11081, 11083); INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11041, -300000), -- Milla Fairancora @@ -20,14 +19,12 @@ INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (11081, -380001), -- Faldron (11083, -380000); -- Darianna - DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (4125, 4204, 4241); INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`) VALUES (4125, 0, 3, 'Train me.', 3266, 5, 16), -- Sylvanna Forestmoon (4204, 0, 3, 'Train me.', 3266, 5, 16), -- Faldron (4241, 0, 3, 'Train me.', 3266, 5, 16); -- Telonis - DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceEntry` = 0 AND `ConditionTypeOrReference` = 7 AND `SourceGroup` IN (4125, 4131, 4163, 4204, 4241, 4349); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `Comment`) VALUES (15, 4125, 0, 7, 171, 50, 'Show menu if alchemy is 50 or higher'), -- Sylvanna Forestmoon @@ -37,11 +34,9 @@ INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry (15, 4241, 0, 7, 165, 125, 'Show menu if leatherworking is 125 or higher'), -- Telonis (15, 4349, 0, 7, 197, 50, 'Show menu if tailoring is 50 or higher'); -- Me'lynn - -- Dannelor DELETE FROM `npc_trainer` WHERE `ID`=4211; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (4211, -350000); - +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (4211, -350000); -- Batllemasters DELETE FROM `creature` WHERE `id1` IN (907, 2302, 5118); @@ -49,3 +44,23 @@ INSERT INTO `creature` (`guid`, `id1`, `map`, `position_x`, `position_y`, `posit (600907, 907, 1, 9975.14, 2324.34, 1330.87, 0.0698132, 600), -- Keras Wolfheart (602302, 2302, 1, 9977.6, 2313.53, 1330.87, 0.698132, 600), -- Aethalas (605118, 5118, 1, 9923.77, 2323.84, 1330.87, 1.6057, 600); -- Brogun Stoneshield + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (3516, 7999, 14378, 14379, 14380); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (3516, 7999, 14378, 14379, 14380); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(3516, 0, 0, 0, 0, 0, 100, 0, 25000, 25000, 30000, 30000, 0, 0, 11, 20699, 0, 0, 0, 0, 0, 24, 30, 0, 0, 0, 0, 0, 0, 0, 'Arch Druid Fandral Staghelm - Within 0-30 Range - Cast Entangling Roots'), +(3516, 0, 1, 0, 14, 0, 100, 0, 5000, 40, 15000, 15000, 0, 0, 11, 20701, 32, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Druid Fandral Staghelm - Friendly Missing Health - Cast Rejuvenation'), +(3516, 0, 2, 0, 0, 0, 100, 0, 15000, 15000, 25000, 25000, 0, 0, 11, 20702, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arch Druid Fandral Staghelm - In Combat - Cast Summon Treant Allies'), +(3516, 0, 3, 0, 0, 0, 100, 0, 27000, 27000, 30000, 30000, 0, 0, 11, 27530, 0, 0, 0, 0, 0, 24, 30, 0, 0, 0, 0, 0, 0, 0, 'Arch Druid Fandral Staghelm - Within 0-30 Range - Cast Hurricane'), +(3516, 0, 4, 0, 0, 0, 100, 0, 5000, 10000, 5000, 10000, 0, 0, 11, 20698, 0, 0, 0, 0, 0, 24, 45, 0, 0, 0, 0, 0, 0, 0, 'Arch Druid Fandral Staghelm - Within 0-45 Range - Cast Wrath'), +-- +(7999, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 4, 5885, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tyrande Whisperwind - On Aggro - Play Sound (No Repeat)'), +-- +(14378, 0, 0, 0, 9, 0, 100, 0, 3000, 4000, 12000, 13000, 0, 5, 11, 15572, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Huntress Skymane - Within 0-5 Range - Cast Sunder Armor'), +(14379, 0, 0, 0, 9, 0, 100, 0, 3000, 4000, 12000, 13000, 0, 5, 11, 15572, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Huntress Ravenoak - Within 0-5 Range - Cast Sunder Armor'), +(14380, 0, 0, 0, 9, 0, 100, 0, 3000, 4000, 12000, 13000, 0, 5, 11, 15572, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Huntress Leafrunner - Within 0-5 Range - Cast Sunder Armor'); diff --git a/sql/world/base/zone_desolace.sql b/sql/world/base/zone_desolace.sql index 15b97cb..2ebd3ab 100644 --- a/sql/world/base/zone_desolace.sql +++ b/sql/world/base/zone_desolace.sql @@ -1,5 +1,37 @@ -/* Restore Rexxar in Desolace. Rokaro replaced him in TBC */ -UPDATE `creature_template` SET `name` = 'Rexxar', `AIName` = 'SmartAI' WHERE `entry` = 10182; +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (5402, 5602, 10182, 11787, 14225); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (5402, 5602, 10182, 11787, 14225); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(5402, 0, 0, 0, 0, 0, 100, 0, 1000, 3000, 30000, 30000, 0, 0, 11, 9128, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Khan Hratha - In Combat - Cast Battle Shout'), +(5402, 0, 1, 0, 9, 0, 100, 0, 7700, 11000, 7000, 11000, 0, 5, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Khan Hratha - Within 0-5 Range - Cast Cleave'), +-- +(5602, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 7165, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Khan Shaka - On Reset - Cast Battle Stance'), +(5602, 0, 1, 0, 9, 0, 100, 0, 3000, 4000, 17000, 23000, 0, 5, 11, 9080, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Khan Shaka - Within 0-5 Range - Cast Hamstring'), +(5602, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Khan Shaka - Between 0-15% Health - Flee For Assist (No Repeat)'), +-- +(10182, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 101820, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Respawn - Waypoint Start'), +(10182, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8876, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Reset - Cast Thrash'), +(10182, 0, 2, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 21911, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Reset - Cast Puncture'), +(10182, 0, 3, 0, 9, 0, 100, 0, 7000, 9000, 12000, 16000, 0, 10, 11, 18813, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - Within 0-10 Range - Cast Knock Away'), +(10182, 0, 4, 0, 9, 0, 100, 0, 4850, 18250, 4850, 18250, 0, 5, 11, 40504, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - Within 0-5 Range - Cast Cleave'), +(10182, 0, 5, 0, 9, 0, 100, 0, 3000, 5000, 8000, 12000, 0, 5, 11, 17963, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - Within 0-5 Range - Cast Sundering Cleave'), +(10182, 0, 6, 7, 2, 0, 100, 1, 0, 25, 0, 0, 0, 0, 11, 30485, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - Between 0-25% Health - Cast Enrage (No Repeat)'), +(10182, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Enrage - Say Line 0'), +(10182, 0, 8, 0, 74, 0, 100, 1, 0, 0, 0, 0, 20, 0, 11, 8602, 0, 0, 0, 0, 0, 9, 10204, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Misha Between 0-20% Health - Cast Vengeance (No Repeat)'), +(10182, 0, 9, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Agrro - Waypoint Pause'), +(10182, 0, 10, 0, 1, 0, 100, 0, 0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - OOC - Waypoint Resume'), +-- +(11787, 0, 0, 0, 9, 0, 100, 0, 7000, 12000, 7000, 12000, 0, 5, 11, 14120, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rock Borer - Within 0-5 Range - Cast Tunneler Acid'), +(14225, 0, 0, 0, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Prince Kellen - Between 0-30% Health - Cast Enrage'); + + +/* Restore Rexxar in Desolace. */ +UPDATE `creature_template` SET `name` = 'Rexxar', `flags_extra` = 2050 WHERE `entry` = 10182; +UPDATE `creature_template` SET `unit_flags` = 37440 WHERE `entry` IN (10182, 10204); UPDATE `quest_template` SET `LogDescription` = 'Seek out Rexxar. The Warchief has instructed you as to his whereabouts. Search the paths of Desolace, between the Stonetalon Mountains and Feralas.', @@ -31,13 +63,6 @@ UPDATE `broadcast_text_locale` SET `MaleText` = 'Salutations, $c. Je suis Rexxar UPDATE `creature_template_model` SET `CreatureDisplayID` = 11660 WHERE `CreatureID` = 10182; -DELETE FROM `smart_scripts` WHERE `entryorguid` = 10182; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, -`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, -`action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, -`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(10182, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 101820, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rexxar - On Respawn - Waypoint Start'); - DELETE FROM `creature` WHERE `guid` IN (29113, 610204); INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES @@ -50,8 +75,12 @@ INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `e DELETE FROM `creature_formations` WHERE `leaderGUID` = 29113; INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES -(29113, 29113, 0, 0, 2, 0, 0), -(29113, 610204, 4, 90, 516, 0, 0); +(29113, 29113, 0, 0, 519, 0, 0), +(29113, 610204, 4, 90, 519, 0, 0); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (10182); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10182, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 24144, 0, 'Rexxar enrage at 30%'); DELETE FROM `waypoint_data` WHERE `id` = 101820; INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES diff --git a/sql/world/base/zone_epl.sql b/sql/world/base/zone_eastern_plaguelands.sql similarity index 100% rename from sql/world/base/zone_epl.sql rename to sql/world/base/zone_eastern_plaguelands.sql diff --git a/sql/world/base/zone_felwood.sql b/sql/world/base/zone_felwood.sql new file mode 100644 index 0000000..0e5ccd1 --- /dev/null +++ b/sql/world/base/zone_felwood.sql @@ -0,0 +1,14 @@ +DELETE FROM `creature_text` WHERE `CreatureID` IN (14344); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(14344, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Mongress enrage at 30%'); + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (14344); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (14344); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(14344, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mongress - Between 0-30% Health - Cast Enrage'), +(14344, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mongress - On Enrage - Say Line 0'); diff --git a/sql/world/base/zone_feralas.sql b/sql/world/base/zone_feralas.sql index 4ee0610..407b9b3 100644 --- a/sql/world/base/zone_feralas.sql +++ b/sql/world/base/zone_feralas.sql @@ -1,7 +1,36 @@ +/* smart scripts */ +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (5287, 11447, 11497, 11498); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (5287, 11447, 11497, 11498); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(5287, 0, 0, 0, 2, 0, 100, 1, 0, 20, 0, 0, 0, 0, 39, 20, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Longtooth Howler - Between 0-20% Health - Call For Help (No Repeat)'), +-- +(11447, 0, 0, 0, 9, 0, 100, 0, 2000, 3000, 13000, 15000, 0, 30, 11, 22127, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Mushgog - Within 0-30 Range - Cast Entangling Roots'), +(11447, 0, 1, 0, 6, 0, 100, 1, 0, 0, 0, 0, 0, 0, 11, 22948, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mushgog - On Just Died - Cast Spore Cloud'), +(11447, 0, 2, 0, 0, 0, 100, 0, 7000, 10000, 8000, 12000, 0, 0, 11, 21749, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mushgog - In Combat - Cast Thorn Volley'), +(11447, 0, 3, 0, 0, 0, 100, 0, 12000, 16000, 14000, 17000, 0, 0, 11, 22951, 0, 0, 0, 0, 0, 17, 10, 40, 1, 0, 0, 0, 0, 0, 'Mushgog - In Combat - Cast Summon Player'), +(11447, 0, 4, 0, 5, 0, 50, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mushgog - On Player Kill - Say Line 0'), +-- +(11497, 0, 0, 0, 0, 0, 100, 0, 5000, 9000, 5000, 9000, 0, 5, 11, 22937, 0, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'The Razza - In Combat - Cast Poison Bolt'), +(11497, 0, 1, 0, 0, 0, 100, 0, 8000, 12000, 9000, 15000, 0, 0, 11, 16033, 0, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'The Razza - In Combat - Cast Chain Lightning'), +(11497, 0, 2, 0, 0, 0, 100, 0, 12000, 16000, 14000, 17000, 0, 0, 11, 22951, 0, 0, 0, 0, 0, 17, 10, 40, 1, 0, 0, 0, 0, 0, 'The Razza - In Combat - Cast Summon Player'), +-- +(11498, 0, 0, 0, 9, 0, 100, 0, 7000, 10000, 7000, 10000, 0, 5, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Skarr the Unbreakable - Within 0-5 Range - Cast Cleave'), +(11498, 0, 1, 0, 9, 0, 100, 0, 5000, 7000, 13000, 16000, 0, 5, 11, 11428, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Skarr the Unbreakable - Within 0-5 Range - Cast Knockdown'), +(11498, 0, 2, 0, 9, 0, 100, 0, 8000, 12000, 9000, 15000, 0, 5, 11, 15708, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Skarr the Unbreakable - Within 0-5 Range - Cast Mortal Strike'), +(11498, 0, 3, 0, 0, 0, 100, 0, 12000, 16000, 14000, 17000, 0, 0, 11, 22951, 0, 0, 0, 0, 0, 17, 10, 40, 1, 0, 0, 0, 0, 0, 'Skarr the Unbreakable - In Combat - Cast Summon Player'); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (11447); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(11447, 0, 0, 'That will teach you to lay off the herb, $r.', 12, 0, 100, 0, 0, 0, 9500, 0, 'Mushgog'); + /* fix Gordunni Orb drop rate. Was set to 100 */ UPDATE `creature_loot_template` SET `Chance` = 15 WHERE `Item` = 9371; - /* Quest - Testing the Vessel - now asks for Wildkin Muisek instead of Beast Muisek */ UPDATE `item_template` SET `name` = 'Wildkin Muisek', `displayid` = 18094 WHERE `entry` = 9594; UPDATE `item_template` SET `name` = 'Wildkin Muisek Vessel' WHERE `entry` = 9618; diff --git a/sql/world/base/zone_hillsbrad_foothills.sql b/sql/world/base/zone_hillsbrad_foothills.sql index f56a6c0..cdd71af 100644 --- a/sql/world/base/zone_hillsbrad_foothills.sql +++ b/sql/world/base/zone_hillsbrad_foothills.sql @@ -1,2 +1,13 @@ /* Drop chance for Humbert's Sword was incorrectly set to 100 - updated to 25 - value copied from VMangos */ UPDATE `creature_loot_template` SET `Chance` = 25 WHERE `Item` = 3693; + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7073); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7073); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + +(7073, 0, 0, 0, 14, 0, 100, 0, 3000, 30, 10000, 12000, 0, 0, 11, 15493, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Friendly Missing Health - Cast Holy Light'), +(7073, 0, 1, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 13874, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arados the Damned - Between 0-30% Health - Cast Divine Shield'); diff --git a/sql/world/base/zone_hinterlands.sql b/sql/world/base/zone_hinterlands.sql index 41feacf..de304e0 100644 --- a/sql/world/base/zone_hinterlands.sql +++ b/sql/world/base/zone_hinterlands.sql @@ -1,18 +1,21 @@ -/* Silvermane Stalker (2926) should have sneak spell 22766 */ -DELETE FROM `smart_scripts` WHERE `entryorguid` = 2926; +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (2707, 2926, 8215); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (2707, 2926, 8215); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(2926, 0, 0, 0, 0, 0, 100, 0, 4000, 5000, 17000, 19000, 0, 0, 11, 7367, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Silvermane Stalker - In Combat - Cast Infected Bite'), -(2926, 0, 1, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 11, 22766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Silvermane Stalker - Out of Combat - Cast \'Sneak\''); +(2707, 0, 0, 0, 9, 0, 100, 0, 8000, 8000, 15000, 25000, 0, 5, 11, 3609, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadra - Within 0-5 Range - Cast Paralyzing Poison'), +(2707, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 13299, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadra - On Reset - Cast Poison Proc'), +(2926, 0, 0, 0, 9, 0, 100, 0, 4000, 5000, 17000, 19000, 0, 5, 11, 7367, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Silvermane Stalker - Within 0-5 Range - Cast Infected Bite'), +(2926, 0, 1, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 11, 22766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Silvermane Stalker - Out of Combat - Cast Sneak'), +(8215, 0, 0, 0, 0, 0, 100, 0, 3000, 12000, 9000, 14000, 0, 0, 11, 5568, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Grimungous - In Combat - Cast Trample'), +(8215, 0, 1, 0, 0, 0, 100, 0, 14000, 20000, 14000, 20000, 0, 0, 11, 11876, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Grimungous - In Combat - Cast War Stomp'); + -- Troll Necklace Bounty quest should be for Alliance only UPDATE `quest_template` SET `AllowableRaces` = 1101 WHERE `ID` = 2880; -- Shadra incorrect display scale and missing smart AI UPDATE `creature_template_model` SET `DisplayScale` = 5 WHERE `CreatureID` = 2707; -UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 2707; -DELETE FROM `smart_scripts` WHERE `entryorguid` = 2707; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(2707, 0, 0, 0, 0, 0, 100, 0, 8000, 8000, 15000, 25000, 0, 0, 11, 3609, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadra - In Combat - Cast Paralyzing Poison'), -(2707, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 13299, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadra - On Reset - Cast Poison Proc'); + + diff --git a/sql/world/base/zone_mulgore.sql b/sql/world/base/zone_mulgore.sql index dbbdc10..ac62324 100644 --- a/sql/world/base/zone_mulgore.sql +++ b/sql/world/base/zone_mulgore.sql @@ -1,139 +1,148 @@ --- Bristleback Quilboar -UPDATE `creature_template` SET `faction`=111 WHERE `entry`=2952; +UPDATE `creature_template` SET `faction` = 14 WHERE `entry` IN (2966, 8554); -- Battleboar, Chief Sharptusk Thornmantle +UPDATE `creature_template` SET `faction` = 57 WHERE `entry` IN (2989, 2990); -- Bael'dun Digger, Appraiser +UPDATE `creature_template` SET `faction` = 111 WHERE `entry` IN (2952, 2953, 2954); -- Bristleback Quilboar, Shaman, Battleboar --- Bristleback Shaman -UPDATE `creature_template` SET `faction`=111 WHERE `entry`=2953; +UPDATE `creature_template` SET `subname` = 'Journeyman Leatherworker' WHERE `entry` = 3069; -- Chaw Stronghide +UPDATE `creature_template` SET `subname` = 'Armorer and Shieldcrafter' WHERE `entry` = 3075; -- Bronk Steelrage +UPDATE `creature_template` SET `subname` = 'Fisherman' WHERE `entry` = 5938; -- Uthan Stillwater +UPDATE `creature_template` SET `subname` = 'Skinner' WHERE `entry` = 6290; -- Yonn Deepcut +UPDATE `creature_template` SET `subname` = 'Journeyman Engineer' WHERE `entry` = 10993; -- Twizwick Sprocketgrind --- Bristleback Battleboar -UPDATE `creature_template` SET `faction`=111 WHERE `entry`=2954; +UPDATE `creature_template` SET `minlevel` = 55, `maxlevel` = 55 WHERE `entry` IN (3210, 3211, 7975); -- guards --- Battleboar -UPDATE `creature_template` SET `faction`=14 WHERE `entry`=2966; --- Bael'dun Digger -UPDATE `creature_template` SET `faction`=57 WHERE `entry`=2989; +DELETE FROM `npc_trainer` WHERE `ID` IN (3069, 3690, 5938, 5939, 6290, 10993); +INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES +(3069, -380000), -- Chaw Stronghide +(3690, -450000), -- Kar Stormsinger +(5938, -360000), -- Uthan Stillwater +(5939, -350000), -- Vira Younghoof +(6290, -400000), -- Yonn Deepcut +(10993, -340000); -- Twizwick Sprocketgrind --- Bael'dun Appraiser -UPDATE `creature_template` SET `faction`=57 WHERE `entry`=2990; - --- Chaw Stronghide -UPDATE `creature_template` SET `subname`='Journeyman Leatherworker' WHERE `entry`=3069; - --- Bronk Steelrage -UPDATE `creature_template` SET `subname`='Armorer and Shieldcrafter' WHERE `entry`=3075; - --- Brave Proudsnout -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=3210; - --- Brave Lightninghorn -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=3211; - --- Uthan Stillwater -UPDATE `creature_template` SET `subname`='Fisherman' WHERE `entry`=5938; - --- Yonn Deepcut -UPDATE `creature_template` SET `subname`='Skinner' WHERE `entry`=6290; - --- Mulgore Protector -UPDATE `creature_template` SET `minlevel`=55, `maxlevel`=55 WHERE `entry`=7975; - --- Chief Sharptusk Thornmantle -UPDATE `creature_template` SET `faction`=14 WHERE `entry`=8554; - --- Twizwick Sprocketgrind -UPDATE `creature_template` SET `subname`='Journeyman Engineer' WHERE `entry`=10993; - --- Chaw Stronghide -DELETE FROM `npc_trainer` WHERE `ID`=3069; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3069, -380000); - --- Kar Stormsinger -DELETE FROM `npc_trainer` WHERE `ID`=3690; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (3690, -450000); - --- Uthan Stillwater -DELETE FROM `npc_trainer` WHERE `ID`=5938; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5938, -360000); - --- Vira Younghoof -DELETE FROM `npc_trainer` WHERE `ID`=5939; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (5939, -350000); - --- Yonn Deepcut -DELETE FROM `npc_trainer` WHERE `ID`=6290; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (6290, -400000); - --- Twizwick Sprocketgrind -DELETE FROM `npc_trainer` WHERE `ID`=10993; -INSERT INTO `npc_trainer` (`ID`, `SpellID`) VALUES (10993, -340000); - --- Wunna Darkmane -# DELETE FROM `npc_vendor` WHERE `entry`=3081 AND `item` IN (10648, 30817, 39354); -DELETE FROM `npc_vendor` WHERE `entry`=3081 AND `item` IN (30817); - --- Harb Clawhoof -DELETE FROM `npc_vendor` WHERE `entry`=3685 AND `item`=46100; -- The Hunt Begins -DELETE FROM `quest_offer_reward` WHERE `ID`=747; -INSERT INTO `quest_offer_reward` (`ID`, `RewardText`) VALUES (747, 'The tauren of Narache thank you, $n. You show much promise.'); +DELETE FROM `quest_offer_reward` WHERE `ID` = 747; +INSERT INTO `quest_offer_reward` (`ID`, `RewardText`) VALUES +(747, 'The tauren of Narache thank you, $n. You show much promise.'); -- The Hunter's Way -DELETE FROM `quest_offer_reward` WHERE `ID`=861; -INSERT INTO `quest_offer_reward` (`ID`, `RewardText`) VALUES (861, 'Skorn Whitecloud is a wise tauren. He has hunted for years and years, and although his body is old, his spirit burns fiercely. We are honored to have him with us.$B$BIf Skorn sent you to me, then you too must have the hunter\'s spirit. And to have gathered these claws shows your burgeoning skills.$B$BPerhaps you are ready to walk the path.'); +DELETE FROM `quest_offer_reward` WHERE `ID` = 861; +INSERT INTO `quest_offer_reward` (`ID`, `RewardText`) VALUES +(861, 'Skorn Whitecloud is a wise tauren. He has hunted for years and years, and although his body is old, his spirit burns fiercely. We are honored to have him with us.$B$B + If Skorn sent you to me, then you too must have the hunter\'s spirit. And to have gathered these claws shows your burgeoning skills.$B$BPerhaps you are ready to walk the path.'); -- The Hunt Begins -DELETE FROM `quest_request_items` WHERE `ID`=747; -INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES (747, 1, 'Providing meat and feathers for the tribe is the first step in proving yourself as a hunter before the Chief.'); +DELETE FROM `quest_request_items` WHERE `ID` = 747; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES +(747, 1, 'Providing meat and feathers for the tribe is the first step in proving yourself as a hunter before the Chief.'); -- Wildmane Cleansing -DELETE FROM `quest_request_items` WHERE `ID`=760; -INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES (760, 1, 'The last water well remains fetid and poisonous, $N. You must not delay!'); +DELETE FROM `quest_request_items` WHERE `ID` = 760; +INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `CompletionText`) VALUES +(760, 1, 'The last water well remains fetid and poisonous, $N. You must not delay!'); --- Rite of Strength -UPDATE `quest_template` SET `LogDescription`='Kill Bristlebacks in Brambleblade Ravine and bring 12 Bristleback Belts to Chief Hawkwind in Camp Narache.', `RequiredItemCount1`=12 WHERE `ID`=757; --- Call of Earth (Shaman) -UPDATE `quest_template` SET `Flags`=0 WHERE `ID`=1518; +UPDATE `quest_template` SET `Flags` = 0 WHERE `ID` = 1518; -- Call of Earth (Shaman) --- The Hunt Begins -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=747; +UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN ( +747, -- The Hunt Begins +750, -- The Hunt Continues +752, -- A Humble Task +753, -- A Humble Task +755, -- Rites of the Earthmother +757, -- Rite of Strength +763, -- Rites of the Earthmother +780, -- The Battleboars +1518, -- Call of Earth (Shaman) +1520, -- Call of Earth (Shaman) +1521, -- Call of Earth (Shaman) +1656, -- A Task Unfinished +3093, -- Rune-Inscribed Note +3376 -- Break Sharptusk! +); --- The Hunt Continues -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=750; +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (3058, 3068, 5807); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (3058, 3068, 5807); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(3058, 0, 0, 0, 9, 0, 100, 0, 11000, 15000, 11000, 15000, 0, 5, 11, 6730, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arra chea - Within 0-5 Range - Cast Head Butt'), +(3068, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 232, 269080, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Resspawn - Start Waypoint'), +(3068, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 10022, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Reset - Cast Deadly Poison'), +(3068, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 6268, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mazzranache - On Aggro - Cast Rushing Charge'), +(5807, 0, 0, 0, 9, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 5, 11, 12166, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rake - Within 0-5 Range - Cast Muscle Tear'); --- A Humble Task -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=752; + +DELETE FROM `creature_addon` WHERE `guid` = 26908; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(26908, 269080, 0, 0, 0, 0, 0, NULL); --- A Humble Task -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=753; - --- Rites of the Earthmother -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=755; - --- Rite of Strength -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=757; - --- Rites of the Earthmother -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=763; - --- The Battleboars -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=780; - --- Call of Earth (Shaman) -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1518; - --- Call of Earth (Shaman) -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1520; - --- Call of Earth (Shaman) -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1521; - --- A Task Unfinished -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=1656; - --- Rune-Inscribed Note -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3093; - --- Break Sharptusk! -UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=3376; +DELETE FROM `waypoint_data` WHERE `id` = 269080; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(269080, 1, -1722.14, -550.386, -14.7598, NULL, 0, 0, 0, 100, 0), +(269080, 2, -1705.61, -569.055, -19.4067, NULL, 0, 0, 0, 100, 0), +(269080, 3, -1682.04, -591.91, -25.4708, NULL, 0, 0, 0, 100, 0), +(269080, 4, -1662.63, -603.838, -30.1185, NULL, 0, 0, 0, 100, 0), +(269080, 5, -1639.97, -607.133, -35.8754, NULL, 0, 0, 0, 100, 0), +(269080, 6, -1616.22, -613.15, -42.4359, NULL, 0, 0, 0, 100, 0), +(269080, 7, -1595.86, -618.308, -47.3956, NULL, 0, 0, 0, 100, 0), +(269080, 8, -1574.93, -616.712, -51.7647, NULL, 0, 0, 0, 100, 0), +(269080, 9, -1550.95, -605.914, -55.6474, NULL, 0, 0, 0, 100, 0), +(269080, 10, -1537.55, -596.276, -56.3861, NULL, 0, 0, 0, 100, 0), +(269080, 11, -1532.89, -586.289, -56.2095, NULL, 0, 0, 0, 100, 0), +(269080, 12, -1532.3, -566.583, -55.7341, NULL, 0, 0, 0, 100, 0), +(269080, 13, -1536.28, -539.553, -55.2342, NULL, 0, 0, 0, 100, 0), +(269080, 14, -1533.07, -522.97, -54.4489, NULL, 0, 0, 0, 100, 0), +(269080, 15, -1522.68, -506.3, -54.3973, NULL, 0, 0, 0, 100, 0), +(269080, 16, -1519.62, -488.083, -52.5074, NULL, 0, 0, 0, 100, 0), +(269080, 17, -1524.13, -467.337, -48.9335, NULL, 0, 0, 0, 100, 0), +(269080, 18, -1526.95, -424.435, -45.2492, NULL, 0, 0, 0, 100, 0), +(269080, 19, -1531.14, -398.722, -43.8176, NULL, 0, 0, 0, 100, 0), +(269080, 20, -1538.91, -374.683, -42.8131, NULL, 0, 0, 0, 100, 0), +(269080, 21, -1545.47, -354.239, -39.0446, NULL, 0, 0, 0, 100, 0), +(269080, 22, -1552.81, -335.938, -35.917, NULL, 0, 0, 0, 100, 0), +(269080, 23, -1566.63, -312.613, -31.0947, NULL, 0, 0, 0, 100, 0), +(269080, 24, -1584.27, -296.213, -27.3011, NULL, 0, 0, 0, 100, 0), +(269080, 25, -1597.27, -278.386, -23.4966, NULL, 0, 0, 0, 100, 0), +(269080, 26, -1610.64, -257.862, -19.3983, NULL, 0, 0, 0, 100, 0), +(269080, 27, -1621, -236.845, -18.9327, NULL, 0, 0, 0, 100, 0), +(269080, 28, -1636.78, -206.561, -16.684, NULL, 0, 0, 0, 100, 0), +(269080, 29, -1648.04, -178.252, -12.0433, NULL, 0, 0, 0, 100, 0), +(269080, 30, -1656.17, -153.199, -9.43765, NULL, 0, 0, 0, 100, 0), +(269080, 31, -1657.82, -126.837, -8.72994, NULL, 0, 0, 0, 100, 0), +(269080, 32, -1668.55, -97.9253, -8.34947, NULL, 0, 0, 0, 100, 0), +(269080, 33, -1681.95, -76.5867, -9.11107, NULL, 0, 0, 0, 100, 0), +(269080, 34, -1700.51, -57.342, -5.64828, NULL, 0, 0, 0, 100, 0), +(269080, 35, -1719.51, -47.7012, -2.54774, NULL, 0, 0, 0, 100, 0), +(269080, 36, -1747.72, -46.3402, -5.4005, NULL, 0, 0, 0, 100, 0), +(269080, 37, -1772.79, -50.129, -7.08613, NULL, 0, 0, 0, 100, 0), +(269080, 38, -1798.4, -58.4037, -5.76034, NULL, 0, 0, 0, 100, 0), +(269080, 39, -1811.88, -70.5313, -7.68982, NULL, 0, 0, 0, 100, 0), +(269080, 40, -1820.73, -93.7355, -9.2501, NULL, 0, 0, 0, 100, 0), +(269080, 41, -1822.1, -112.172, -8.20732, NULL, 0, 0, 0, 100, 0), +(269080, 42, -1834.29, -123.408, -9.03176, NULL, 0, 0, 0, 100, 0), +(269080, 43, -1851.19, -129.656, -8.52712, NULL, 0, 0, 0, 100, 0), +(269080, 44, -1867.92, -137.048, -6.59658, NULL, 0, 0, 0, 100, 0), +(269080, 45, -1878.32, -150.986, -5.8911, NULL, 0, 0, 0, 100, 0), +(269080, 46, -1887.57, -173.195, -6.12971, NULL, 0, 0, 0, 100, 0), +(269080, 47, -1889.37, -196.466, -8.58793, NULL, 0, 0, 0, 100, 0), +(269080, 48, -1883.97, -217.889, -9.40669, NULL, 0, 0, 0, 100, 0), +(269080, 49, -1876.46, -244.283, -9.555, NULL, 0, 0, 0, 100, 0), +(269080, 50, -1864.45, -266.181, -7.23699, NULL, 0, 0, 0, 100, 0), +(269080, 51, -1850.99, -284.616, -4.7108, NULL, 0, 0, 0, 100, 0), +(269080, 52, -1830.57, -303.767, -6.94358, NULL, 0, 0, 0, 100, 0), +(269080, 53, -1815.14, -318.23, -9.07484, NULL, 0, 0, 0, 100, 0), +(269080, 54, -1800.89, -336.331, -9.26187, NULL, 0, 0, 0, 100, 0), +(269080, 55, -1782.61, -356.073, -9.42632, NULL, 0, 0, 0, 100, 0), +(269080, 56, -1756.99, -378.227, -12.8384, NULL, 0, 0, 0, 100, 0), +(269080, 57, -1745.2, -402.325, -16.7898, NULL, 0, 0, 0, 100, 0), +(269080, 58, -1740.74, -423.93, -14.3259, NULL, 0, 0, 0, 100, 0), +(269080, 59, -1723.81, -452.481, -10.9682, NULL, 0, 0, 0, 100, 0), +(269080, 60, -1706.64, -461.978, -10.5846, NULL, 0, 0, 0, 100, 0), +(269080, 61, -1701.38, -480.422, -10.4956, NULL, 0, 0, 0, 100, 0), +(269080, 62, -1709.83, -507.869, -12.8309, NULL, 0, 0, 0, 100, 0), +(269080, 63, -1729.44, -528.724, -13.8673, NULL, 0, 0, 0, 100, 0), +(269080, 64, -1731.65, -542.165, -13.1692, NULL, 0, 0, 0, 100, 0); diff --git a/sql/world/base/zone_orgrimmar.sql b/sql/world/base/zone_orgrimmar.sql index 9017407..ac4d0cc 100644 --- a/sql/world/base/zone_orgrimmar.sql +++ b/sql/world/base/zone_orgrimmar.sql @@ -582,3 +582,25 @@ UPDATE `quest_template` SET You'll find Neeru in the Cleft of Shadow." WHERE `ID` = 3121; UPDATE `creature_questender` SET `id` = 3216 WHERE `quest` = 3121; + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (10540, 14720); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (10540, 14720); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(10540, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 4, 5881, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Vol jin - On Aggro - Play Sound (No Repeat)'), +-- +(14720, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 9347, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - On Aggro - Cast Mortal Strike trigger'), +(14720, 0, 1, 2, 32, 0, 100, 0, 2000, 9999, 0, 0, 0, 0, 11, 26339, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - On receiving high damage - Cast Saurfang Rage'), -- should be critical damage +(14720, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - On Cast Power Saurfang Rage - Say Line 0'), +(14720, 0, 3, 0, 9, 0, 100, 0, 0, 0, 25000, 25000, 8, 25, 11, 15749, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - Within 8-25 Range - Cast Shield Charge'), +(14720, 0, 4, 0, 12, 0, 100, 0, 0, 20, 2500, 3500, 0, 0, 11, 7160, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - Target Between 0-20% Health - Cast Execute'), +(14720, 0, 5, 0, 5, 0, 100, 0, 5000, 5000, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saurfang - On Kill - Say Line 1'); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (14720); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(14720, 0, 0, '%s\'s eyes glow red for a brief moment.', 16, 0, 100, 0, 0, 0, 11563, 0, 'Saurfang Rage'), +(14720, 1, 0, 'Is that the best you can do?', 16, 0, 100, 0, 0, 0, 11564, 0, 'Saurfang on Kill'); diff --git a/sql/world/base/zone_silithus.sql b/sql/world/base/zone_silithus.sql new file mode 100644 index 0000000..bf73a48 --- /dev/null +++ b/sql/world/base/zone_silithus.sql @@ -0,0 +1,9 @@ +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (15634); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (15634); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(15634, 0, 0, 0, 14, 0, 100, 0, 1000, 200, 50000, 60000, 0, 0, 11, 25839, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Priestess of the Moon - On Friendly Health - Cast Mass Healing'); diff --git a/sql/world/base/zone_stormwind.sql b/sql/world/base/zone_stormwind.sql index 1e465fe..6579856 100644 --- a/sql/world/base/zone_stormwind.sql +++ b/sql/world/base/zone_stormwind.sql @@ -502,6 +502,26 @@ UPDATE `quest_template` SET `LogTitle` = 'Chillwind Point' WHERE `ID` = 8415; -- Devourer of Souls (Warlock) UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` = 1716; +DELETE FROM `creature_text` WHERE `CreatureID` IN (12739); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12739, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Onyxias Elite Guard enrage at 30%'); + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (1284, 12739); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (1284, 12739); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(1284, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 4, 5883, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archbishop Benedictus - On Aggro - Play Sound (No Repeat)'), +(1284, 0, 1, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 20697, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archbishop Benedictus - On Aggro - Cast Power word Shield'), +(1284, 0, 2, 0, 9, 0, 100, 0, 2000, 3500, 2000, 3500, 0, 40, 11, 20695, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Archbishop Benedictus - Within 0-40 Range - Cast Holy Smite'), +(1284, 0, 3, 0, 9, 0, 100, 0, 3400, 4800, 3400, 4800, 0, 10, 11, 23858, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Archbishop Benedictus - Within 0-10 Range - Cast Holy Nova'), +(1284, 0, 4, 0, 0, 0, 100, 0, 12000, 18000, 12000, 18000, 0, 0, 11, 20697, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archbishop Benedictus - In Combat - Cast Power Word: Shield'), +-- +(12739, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Onyxias Elite Guard - Between 0-30% Health - Cast Enrage'), +(12739, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Onyxias Elite Guard - On Enrage - Say Line 0'); -- this should probably go to vanilla_vendors -- Remove non-Vanilla food items from Stormwind vendors diff --git a/sql/world/base/zone_stranglethorn.sql b/sql/world/base/zone_stranglethorn.sql index db0776f..9439ca1 100644 --- a/sql/world/base/zone_stranglethorn.sql +++ b/sql/world/base/zone_stranglethorn.sql @@ -1,8 +1,31 @@ -/* Drop chance for Pristine Tigress Fang was incorrectly set to 100 - updated to 10 */ +-- Drop chance for Pristine Tigress Fang was incorrectly set to 100 - updated to 10 UPDATE `creature_loot_template` SET `Chance` = 10 WHERE `Item` = 3839; -/* Drop chance for Aged Gorilla Sinew was incorrectly set to 10 - updated to 4 */ +-- Drop chance for Aged Gorilla Sinew was incorrectly set to 10 - updated to 4 UPDATE `creature_loot_template` SET `Chance` = 4 WHERE `Item` = 3862; -/* Drop chance for Jungle Stalker Feather was incorrectly set to 80 - updated to 25 */ +-- Drop chance for Jungle Stalker Feather was incorrectly set to 80 - updated to 25 UPDATE `creature_loot_template` SET `Chance` = 25 WHERE `Item` = 3863; + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (675, 723); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(675, 0, 0, 'Work you dogs! Put your back into it!', 12, 0, 100, 0, 0, 0, 306, 0, 'Venture Co. Foreman'), +(723, 0, 0, 'I\'ll crush you!', 12, 0, 100, 0, 0, 0, 1925, 0, 'Mosh Ogg Butcher'), +(723, 0, 1, 'Me smash! You die!', 12, 0, 100, 0, 0, 0, 1926, 0, 'Mosh Ogg Butcher'), +(723, 0, 2, 'Raaaaaaaaaaaaaaaaaaaaaaaaaaaaaar!!! Me smash $R!', 12, 0, 100, 0, 0, 0, 1927, 0, 'Mosh Ogg Butcher'); + + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (675, 723); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (675, 723); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(675, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8258, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Venture Co. Foreman - On Aggro - Cast Devotion Aura'), +(675, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Venture Co. Foreman - Between 0-15% Health - Flee For Assist (No Repeat)'), +(675, 0, 2, 0, 1, 0, 100, 0, 60000, 120000, 60000, 120000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Venture Co. Foreman - Out of Combat - Say Line 0'), +(723, 0, 0, 0, 4, 0, 80, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mosh Ogg Butcher - On Aggro - Say Line 0'), +(723, 0, 1, 0, 9, 0, 100, 0, 4850, 18250, 4850, 18250, 0, 5, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Mosh Ogg Butcher - Within 0-5 Range - Cast Cleave'); diff --git a/sql/world/base/zone_swamp_of_sorrows.sql b/sql/world/base/zone_swamp_of_sorrows.sql new file mode 100644 index 0000000..b013180 --- /dev/null +++ b/sql/world/base/zone_swamp_of_sorrows.sql @@ -0,0 +1,17 @@ +DELETE FROM `creature_text` WHERE `CreatureID` IN (5399); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(5399, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Veyzhak the Cannibal enrage at 30%'); + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (5399, 14445); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (5399, 14445); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(5399, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - Between 0-30% Health - Cast Enrage'), +(5399, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - On Enrage - Say Line 0'), +(5399, 0, 2, 0, 9, 0, 100, 0, 9000, 12000, 21000, 26000, 0, 5, 11, 12054, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - Within 0-5 Range - Cast Rend'), +-- +(14445, 0, 4, 0, 9, 0, 100, 0, 5000, 8000, 5000, 8000, 0, 5, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lord Captain Wyrmak - Within 0-5 Range - Cast Cleave'); diff --git a/sql/world/base/zone_tanaris.sql b/sql/world/base/zone_tanaris.sql index eb2ad8e..0753cce 100644 --- a/sql/world/base/zone_tanaris.sql +++ b/sql/world/base/zone_tanaris.sql @@ -9,3 +9,23 @@ UPDATE `creature` SET `position_x` = -8175.67, `position_y` = -4718.28, `positio -- update Laden Dew Gland drop rate, was 100% UPDATE `creature_loot_template` SET `Chance` = 10 WHERE `Item` = 8428; + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (5465); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(5465, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Land Rager enrage at 30%'); + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (5452, 5465, 9397); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (5452, 5465, 9397); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(5452, 0, 0, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Hazzali Worker - Between 0-30% Health - Flee For Assist (No Repeat)'), +(5452, 0, 1, 0, 6, 0, 100, 513, 0, 0, 0, 0, 0, 0, 11, 11023, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hazzali Worker - On Just Died - Cast Summon Hazzali Parasites'), +-- +(5465, 0, 0, 1, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Land Rager - Between 0-50% Health - Cast Enrage (No Repeat)'), +(5465, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Land Rager - On Enrage - Say Line 0'), +(9397, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 11, 12550, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Living Storm - On Aggro - Cast Lightning Shield (No Repeat)'); diff --git a/sql/world/base/zone_thousand_needles.sql b/sql/world/base/zone_thousand_needles.sql new file mode 100644 index 0000000..75ee4fb --- /dev/null +++ b/sql/world/base/zone_thousand_needles.sql @@ -0,0 +1,9 @@ +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (5937, 10882); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (5937, 10882); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(5937, 0, 0, 0, 9, 0, 100, 0, 1000, 11000, 16000, 24000, 0, 5, 11, 8257, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Vile Sting - Within 0-5 Range - Cast Venom Sting'), +(10882, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 17213, 0, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Arikara - On Spawn - Cast Curse of Vengeance'); diff --git a/sql/world/base/zone_undercity.sql b/sql/world/base/zone_undercity.sql index caad164..a856a87 100644 --- a/sql/world/base/zone_undercity.sql +++ b/sql/world/base/zone_undercity.sql @@ -197,3 +197,17 @@ SET `LogDescription` = "Kill High Inquisitor Whitemane, Scarlet Commander Mogra `QuestDescription` = "One of my duties while I'm stationed here is to help the Forsaken take care of their borders, and that, $c, is exactly what you're going to do for me.$b$bI might live and breathe, but the Scarlet Crusade will cut down my people as quickly as they will one of the undead. They're a problem here, a big one, and you're going to do something about it.$b$bGo to the Monastery and slay High Inquisitor Whitemane and her lieutenants.", `QuestCompletionLog` = "Return to Varimathras at the Royal Quarter in the Undercity." WHERE `ID` = 14355; + +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (36273); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (36273); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(36273, 0, 0, 0, 54, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 7741, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Varimathras - On Just Summoned - Cast Summoned Demon'), +(36273, 0, 1, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 4, 5887, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Varimathras - On Aggro - Play Sound (No Repeat)'), +(36273, 0, 2, 0, 9, 0, 100, 0, 25000, 25000, 20000, 20000, 0, 30, 11, 20741, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Varimathras - Within 0-30 Range - Cast Shadow Bolt Volley'), +(36273, 0, 3, 0, 2, 0, 100, 0, 0, 30, 20000, 20000, 0, 0, 11, 20743, 1, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Varimathras - Between 0-30% Health - Cast Drain Life'), +(36273, 0, 4, 0, 9, 0, 100, 0, 20000, 20000, 15000, 25000, 0, 20, 11, 20740, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 'Varimathras - Within 0-20 Range - Cast Dominate Mind'); diff --git a/sql/world/base/zone_western_plaguelands.sql b/sql/world/base/zone_western_plaguelands.sql new file mode 100644 index 0000000..223a897 --- /dev/null +++ b/sql/world/base/zone_western_plaguelands.sql @@ -0,0 +1,35 @@ +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (1839, 1845, 1846, 1885, 10836, 10943); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (1839, 1845, 1846, 1885, 10836, 10943); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(1839, 0, 0, 0, 9, 0, 100, 0, 1000, 3000, 14000, 19000, 0, 30, 11, 17141, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet High Clerist - In Combat - Cast Holy Fire'), +(1839, 0, 1, 0, 2, 0, 100, 0, 0, 50, 15000, 21000, 0, 0, 11, 15586, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet High Clerist - Between 0-50% Health - Cast Heal'), +(1839, 0, 2, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 17139, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet High Clerist - Between 0-30% Health - Cast Power Word: Shield (No Repeat)'), +(1839, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet High Clerist - Between 0-15% Health - Flee For Assist (No Repeat)'), +-- +(1845, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8258, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Tarsen - On Aggro - Cast Devotion Aura'), +(1845, 0, 1, 0, 9, 0, 100, 0, 4000, 12000, 11000, 15000, 0, 5, 11, 10833, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Tarsen - Within 0-5 Range - Cast Arcane Blast'), +(1845, 0, 2, 0, 9, 0, 100, 0, 1000, 11000, 10000, 20000, 0, 5, 11, 8242, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Tarsen - Within 0-5 Range - Cast Shield Slam'), +(1845, 0, 3, 0, 9, 0, 100, 0, 2300, 3100, 8900, 9600, 0, 5, 11, 13953, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Tarsen - Within 0-5 Range - Cast Holy Strike'), +-- +(1846, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8990, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Lorik - On Aggro - Cast Retribution Aura'), +(1846, 0, 1, 0, 9, 0, 100, 0, 4000, 12000, 11000, 15000, 0, 5, 11, 10833, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Lorik - Within 0-5 Range - Cast Arcane Blast'), +(1846, 0, 2, 0, 9, 0, 100, 0, 1000, 11000, 10000, 20000, 0, 5, 11, 15655, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Lorik - Within 0-5 Range - Cast Shield Slam'), +(1846, 0, 3, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 13874, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Lorik - Between 0-30% Health - Cast Divine Shield (No Repeat)'), +(1846, 0, 4, 0, 14, 0, 100, 0, 3000, 30, 10000, 12000, 0, 0, 11, 15493, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'High Protector Lorik - Friendly Missing Health - Cast Holy Light'), +-- +(1885, 0, 0, 0, 9, 0, 100, 0, 4000, 7000, 11000, 14000, 0, 5, 11, 11428, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Smith - Within 0-5 Range - Cast Knockdown'), +(1885, 0, 1, 0, 9, 0, 100, 0, 3000, 6000, 5000, 8000, 0, 5, 11, 12057, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Smith - Within 0-5 Range - Cast Strike'), +(1885, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Smith - Between 0-15% Health - Flee For Assist (No Repeat)'), +-- +(10836, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 11, 8599, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farmer Dalson - On Aggro - Cast Enrage (No Repeat)'), +(10836, 0, 1, 0, 9, 0, 100, 0, 7000, 12000, 7000, 12000, 0, 5, 11, 16128, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Farmer Dalson - Within 0-5 Range - Cast Infected Bite'), +(10943, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Decrepit Guardian - On Aggro - Say Line 0'); + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (10943); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10943, 0, 0, 'You cannot save him!', 12, 0, 100, 0, 0, 0, 6282, 0, 'Decrepit Guardian'); diff --git a/sql/world/base/zone_winterspring.sql b/sql/world/base/zone_winterspring.sql index e04b2be..0857240 100644 --- a/sql/world/base/zone_winterspring.sql +++ b/sql/world/base/zone_winterspring.sql @@ -1,23 +1,35 @@ -/* Highborne undead in Winterspring missing smart AI */ -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (7523, 7524, 10684); -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -/* Suffering Highborne (7523) */ -(7523, 0, 2, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 0, 2, 124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - On Data Set 1 1 - Set Faction 124'), -(7523, 0, 3, 0, 38, 0, 100, 512, 2, 2, 0, 0, 0, 0, 2, 21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - On Data Set 2 2 - Set Faction 21'), -(7523, 0, 4, 0, 0, 0, 100, 0, 3000, 6000, 13000, 19000, 0, 0, 11, 14868, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - In Combat - Cast Curse of Agony'), -/* Anguished Highborne (7524) */ -(7524, 0, 2, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 0, 2, 124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - On Data Set 1 1 - Set Faction 124'), -(7524, 0, 3, 0, 38, 0, 100, 512, 2, 2, 0, 0, 0, 0, 2, 21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - On Data Set 2 2 - Set Faction 21'), -(7524, 0, 4, 0, 0, 0, 100, 0, 2200, 3400, 9800, 12700, 0, 0, 11, 13860, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - In Combat - Cast \'13860\''), -/* Remorseful Highborne (10684) */ -(10684, 0, 0, 0, 20, 0, 100, 0, 5248, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Remorseful Highborne - On Quest \'Tormented by the Past\' Finished - Say Line 0'), -(10684, 0, 1, 0, 0, 0, 100, 0, 2200, 3400, 9800, 12700, 0, 0, 11, 13860, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Remorseful Highborne - In Combat - Cast \'13860\''); +DELETE FROM `creature_text` WHERE `CreatureID` IN (7451, 10200); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7451, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Raging Owlbeast enrage at 30%'), +(10200, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Rak shiri enrage at 30%'); -/* Shy-Rotam summons Sian-Rotam too soon. Should be at 50% health */ -DELETE FROM `smart_scripts` WHERE `entryorguid` = 10737; -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES - -(10737, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 5000, 10000, 0, 0, 11, 14100, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - In Combat - Cast Terrifying Roar '), -(10737, 0, 1, 0, 0, 0, 100, 0, 7000, 9000, 22000, 27000, 0, 0, 11, 13443, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - In Combat - Cast Rend'), -(10737, 0, 2, 0, 0, 0, 100, 0, 2000, 3000, 15000, 20000, 0, 0, 11, 3604, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - In Combat - Cast Tendon Rip'), -(10737, 0, 3, 0, 2, 0, 100, 1, 25, 50, 0, 0, 0, 0, 12, 10741, 1, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 8074.84, -3840, 690.061, 4.6, 'Shy-Rotam - Between 25-50% health - Summon Creature Sian-Rotam (No Repeat)'); +-- smart scripts +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (7451, 7523, 7524, 10200, 10684, 10737, 14372); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (7451, 7523, 7524, 10200, 10684, 10737, 14372); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(7451, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raging Owlbeast - Between 0-30% Health - Cast Enrage'), +(7451, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Raging Owlbeast - On Enrage - Say Line 0'), +-- +(7523, 0, 2, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 0, 2, 124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - On Data Set 1 1 - Set Faction 124'), +(7523, 0, 3, 0, 38, 0, 100, 512, 2, 2, 0, 0, 0, 0, 2, 21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - On Data Set 2 2 - Set Faction 21'), +(7523, 0, 4, 0, 9, 0, 100, 0, 3000, 6000, 13000, 19000, 0, 30, 11, 14868, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Suffering Highborne - Within 0-30 Range - Cast Curse of Agony'), +(7524, 0, 2, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 0, 2, 124, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - On Data Set 1 1 - Set Faction 124'), +(7524, 0, 3, 0, 38, 0, 100, 512, 2, 2, 0, 0, 0, 0, 2, 21, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - On Data Set 2 2 - Set Faction 21'), +(7524, 0, 4, 0, 9, 0, 100, 0, 2200, 3400, 9800, 12700, 0, 30, 11, 13860, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Anguished Highborne - Within 0-30 Range - Cast Mind Blast'), +(10684, 0, 0, 0, 20, 0, 100, 0, 5248, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Remorseful Highborne - On Quest Tormented by the Past Finished - Say Line 0'), +(10684, 0, 1, 0, 9, 0, 100, 0, 2200, 3400, 9800, 12700, 0, 30, 11, 13860, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Remorseful Highborne - Within 0-30 Range - Cast Mind Blast'), +-- +(10200, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rak shiri - Between 0-30% Health - Cast Enrage'), +(10200, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rak shiri - On Enrage - Say Line 0'), +(10200, 0, 2, 0, 2, 0, 100, 0, 0, 60, 15000, 21000, 0, 0, 11, 7399, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Rak shiri - Between 0-60% Health - Cast Terrify'), +-- +(10737, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 5000, 10000, 0, 0, 11, 14100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - In Combat - Cast Terrifying Roar '), +(10737, 0, 1, 0, 9, 0, 100, 0, 7000, 9000, 22000, 27000, 0, 5, 11, 13443, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - Within 0-5 Range - Cast Rend'), +(10737, 0, 2, 0, 9, 0, 100, 0, 2000, 3000, 15000, 20000, 0, 5, 11, 3604, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shy-Rotam - Within 0-5 Range - Cast Tendon Rip'), +(10737, 0, 3, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 12, 10741, 1, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 8074.84, -3840, 690.061, 4.6, 'Shy-Rotam - Between 0-50% health - Summon Creature Sian-Rotam (No Repeat)'), +-- +(14372, 0, 0, 0, 1, 0, 100, 0, 4000, 4000, 4000, 4000, 0, 0, 11, 17205, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Winterfall Ambusher - OOC - Cast Winterfall Firewater');