From 1413267c7996d56fa29ed1772e9f23042f280563 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 8 Jan 2021 20:45:30 -0500 Subject: [PATCH] DB Updates Port From (https://github.com/TrinityCore/TrinityCore) --- ...021_01_05_00_world_2017_10_15_00_world.sql | 116 ++++++++++++++++++ ...021_01_05_01_world_2017_10_16_01_world.sql | 83 +++++++++++++ ...021_01_05_02_world_2017_10_16_02_world.sql | 31 +++++ ...021_01_05_03_world_2017_10_16_03_world.sql | 19 +++ ...021_01_05_04_world_2017_10_19_00_world.sql | 14 +++ ...021_01_05_05_world_2017_10_19_01_world.sql | 29 +++++ ...021_01_05_06_world_2017_10_19_02_world.sql | 3 + ...021_01_06_00_world_2017_10_19_03_world.sql | 3 + ...021_01_06_01_world_2017_10_19_04_world.sql | 91 ++++++++++++++ ...021_01_06_02_world_2017_10_19_05_world.sql | 5 + ...021_01_06_03_world_2017_10_19_09_world.sql | 4 + ...021_01_06_04_world_2017_10_19_10_world.sql | 9 ++ ...01_06_06_world_2017_10_21_01_world_335.sql | 15 +++ ...01_07_00_world_2017_10_21_02_world_335.sql | 65 ++++++++++ ...021_01_07_01_world_2017_10_21_03_world.sql | 38 ++++++ ...021_01_07_02_world_2017_10_21_04_world.sql | 7 ++ ...01_07_03_world_2017_10_21_06_world_335.sql | 17 +++ ...021_01_07_04_world_2017_10_21_08_world.sql | 11 ++ ...021_01_07_05_world_2017_10_21_09_world.sql | 19 +++ ...021_01_07_06_world_2017_10_21_11_world.sql | 15 +++ ...021_01_07_07_world_2017_10_21_14_world.sql | 36 ++++++ 21 files changed, 630 insertions(+) create mode 100644 sql/updates/world/master/2021_01_05_00_world_2017_10_15_00_world.sql create mode 100644 sql/updates/world/master/2021_01_05_01_world_2017_10_16_01_world.sql create mode 100644 sql/updates/world/master/2021_01_05_02_world_2017_10_16_02_world.sql create mode 100644 sql/updates/world/master/2021_01_05_03_world_2017_10_16_03_world.sql create mode 100644 sql/updates/world/master/2021_01_05_04_world_2017_10_19_00_world.sql create mode 100644 sql/updates/world/master/2021_01_05_05_world_2017_10_19_01_world.sql create mode 100644 sql/updates/world/master/2021_01_05_06_world_2017_10_19_02_world.sql create mode 100644 sql/updates/world/master/2021_01_06_00_world_2017_10_19_03_world.sql create mode 100644 sql/updates/world/master/2021_01_06_01_world_2017_10_19_04_world.sql create mode 100644 sql/updates/world/master/2021_01_06_02_world_2017_10_19_05_world.sql create mode 100644 sql/updates/world/master/2021_01_06_03_world_2017_10_19_09_world.sql create mode 100644 sql/updates/world/master/2021_01_06_04_world_2017_10_19_10_world.sql create mode 100644 sql/updates/world/master/2021_01_06_06_world_2017_10_21_01_world_335.sql create mode 100644 sql/updates/world/master/2021_01_07_00_world_2017_10_21_02_world_335.sql create mode 100644 sql/updates/world/master/2021_01_07_01_world_2017_10_21_03_world.sql create mode 100644 sql/updates/world/master/2021_01_07_02_world_2017_10_21_04_world.sql create mode 100644 sql/updates/world/master/2021_01_07_03_world_2017_10_21_06_world_335.sql create mode 100644 sql/updates/world/master/2021_01_07_04_world_2017_10_21_08_world.sql create mode 100644 sql/updates/world/master/2021_01_07_05_world_2017_10_21_09_world.sql create mode 100644 sql/updates/world/master/2021_01_07_06_world_2017_10_21_11_world.sql create mode 100644 sql/updates/world/master/2021_01_07_07_world_2017_10_21_14_world.sql diff --git a/sql/updates/world/master/2021_01_05_00_world_2017_10_15_00_world.sql b/sql/updates/world/master/2021_01_05_00_world_2017_10_15_00_world.sql new file mode 100644 index 000000000..f459673ba --- /dev/null +++ b/sql/updates/world/master/2021_01_05_00_world_2017_10_15_00_world.sql @@ -0,0 +1,116 @@ +-- The boar hunter requires 12 kills, not 8 +-- UPDATE `quest_template` SET `LogDescription`="Talin Keeneye would like you to kill 12 Small Crag Boars.", `RequiredNpcOrGoCount1` = 12 WHERE `ID`=183; + +-- Quest Westbrook Garrison Needs Help! has The Jasperlode Mine as prequest +-- DELETE FROM `quest_template_addon` WHERE `ID` = 239; +-- INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`) VALUES (239, 76); + +-- The Everstill Bridge has The Lost Tools as prequest +-- DELETE FROM `quest_template_addon` WHERE `ID` = 89; +-- INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`) VALUES (89, 125); + +-- Flesh Eating Worm and Rotting Worm adjustment +-- UPDATE `creature_template` SET `DamageModifier` = 0.5, `Scale`=0.4 WHERE `Entry` IN (2462,10925); + +-- Kurzen Jungle Fighter also drops Jungle Remedy +-- DELETE FROM `creature_loot_template` WHERE `Entry` = 937 AND `Item` = 2633; +-- INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`) VALUES (937,2633,33); + +-- Blue Pearls only drop from Vile Reef,STV giant clams game objects. +-- DELETE FROM `gameobject_loot_template` WHERE `Item` = 4611 AND `Entry` IN (2954, 2959); +-- DELETE FROM `creature_loot_template` WHERE `Item` = 4611 AND `Entry` IN (871, 873, 875, 877, 879, 2744); +-- DELETE FROM `spell_loot_template` WHERE `Item` = 4611 AND `Entry` IN (58168, 58172); + +-- Spirits of the Stonemaul Hold follows The Essence of Enmity +-- UPDATE `quest_template_addon` SET `PrevQuestId` = 11161 WHERE `ID` = 11159; + +-- Bungle in the jungle follows March of the Silithid (alliance: 4493, horde:4494), which follow Rise of the Silithid (alliance: 162, horde: 32) +-- DELETE FROM `quest_template_addon` WHERE `ID` IN (4493,4494); +-- INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`) VALUES +-- (4493, 162, 4496, 4493), +-- (4494, 32, 4496, 4493); + +-- Salve via hunting first time quest for alliance was not rewarding money or xp +-- UPDATE `quest_template` SET RewardXPDifficulty = 4, RewardBonusMoney = 3600 WHERE ID = 4103; +-- Salve via hunting repeatable quest for horde WAS! +-- UPDATE `quest_template` SET RewardXPDifficulty = 0, RewardBonusMoney = 0 WHERE ID = 5887; + +-- Atal'ai Artifacts (and 1 mithril deposit) are underground +-- UPDATE `gameobject` SET `position_z`=-15.29 WHERE `guid`=30371; +-- UPDATE `gameobject` SET `position_z`= 14.5 WHERE `guid`=30374; +-- UPDATE `gameobject` SET `position_z`= 31.63 WHERE `guid`=30380; +-- UPDATE `gameobject` SET `position_z`=-16.75 WHERE `guid`=30381; +-- UPDATE `gameobject` SET `position_z`= 19.57 WHERE `guid`=30383; +-- UPDATE `gameobject` SET `position_z`= 10.58 WHERE `guid`=30541; +-- UPDATE `gameobject` SET `position_z`=-19 WHERE `guid`=30542; +-- UPDATE `gameobject` SET `position_z`=-16.9 WHERE `guid`=30543; +-- UPDATE `gameobject` SET `position_z`= 20.2 WHERE `guid`=30546; +-- UPDATE `gameobject` SET `position_z`=-2.2 WHERE `guid`=30547; +-- UPDATE `gameobject` SET `position_z`= 10.5 WHERE `guid`=30550; +-- UPDATE `gameobject` SET `position_z`=-11.9 WHERE `guid`=30551; +-- UPDATE `gameobject` SET `position_z`= 10.91 WHERE `guid`=30554; +-- UPDATE `gameobject` SET `position_z`=-3.56 WHERE `guid`=30556; +-- UPDATE `gameobject` SET `position_z`= 18.70 WHERE `guid`=30558; +-- UPDATE `gameobject` SET `position_z`= 19.1 WHERE `guid`=30559; +-- UPDATE `gameobject` SET `position_z`= 18.66 WHERE `guid`=30561; +-- UPDATE `gameobject` SET `position_z`=-19 WHERE `guid`=30643; +-- UPDATE `gameobject` SET `position_z`=-6 WHERE `guid`=30646; +-- UPDATE `gameobject` SET `position_z`=-10.4 WHERE `guid`=30375; +-- UPDATE `gameobject` SET `position_z`=-8.5 WHERE `guid`=30378; +-- UPDATE `gameobject` SET `position_z`= 19 WHERE `guid`=31029; + +-- Atal'ai Artifact twin spawn +-- DELETE FROM `gameobject` WHERE `guid` IN (30593,30594,30587); +-- DELETE FROM `gameobject_addon` WHERE `guid` IN (30593,30594,30587); + +-- Trouble in Winterspring! is a breadcrumb quest, not prequest. +-- UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` = 5082; + +-- Raising the drop rate of Thick Yeti Fur +-- UPDATE `creature_loot_template` SET `Chance` = 71 WHERE `Entry` = 7457 AND `Item` = 12366; +-- UPDATE `creature_loot_template` SET `Chance` = 41 WHERE `Entry` = 7458 AND `Item` = 12366; +-- UPDATE `creature_loot_template` SET `Chance` = 43 WHERE `Entry` = 7459 AND `Item` = 12366; +-- UPDATE `creature_loot_template` SET `Chance` = 45 WHERE `Entry` = 7460 AND `Item` = 12366; + +-- Raising the drop rate on Forked Mudrock Tongues +-- UPDATE `creature_loot_template` SET `Chance` = 40 WHERE `Entry` = 4397 AND `Item` = 5883; + +-- Crimson Crysal Shard is a guaranteed drop +UPDATE `creature_loot_template` SET `Chance` = 100 WHERE `Entry` = 19188 AND `Item` = 29476; + +-- Diaphanous wing droprate +UPDATE `creature_loot_template` SET `Chance` = 40 WHERE `Item` = 24372 AND `Entry` IN (18132, 18133, 20197, 20198, 18283); + +-- Greater and Young Sporebat also drop eyes. +DELETE FROM `creature_loot_template` WHERE `Entry` IN (20387, 18129) AND `Item` = 24426; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`) VALUES +(18129,24426,20), +(20387,24426,20); + +-- Escaping the Tomb was missing its goal +-- UPDATE `quest_template` SET `AreaDescription` = 'Escort Akuno' WHERE `ID` = 10887; + +-- Redone Slain Auchenai Warrior +-- Redone Slain Sha'tar Vindicator +DELETE FROM `creature` WHERE `id` IN (21859,21846); +DELETE FROM `creature` WHERE `guid` IN (27590,27591,27592,27593,27594,27595,27596,27597,27598,27599,27600,36904,36907,36924,36938,36942); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`PhaseId`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES +(27590,21859,530,0,0,'0',0,0,1,-3736, 5333.73,-12.50,2.1171,150,0,0,6986,0,0,0,0,0), +(27591,21859,530,0,0,'0',0,0,1,-3750.4, 5301.33,-17.10,3.6650,150,0,0,6986,0,0,0,0,0), +(27592,21859,530,0,0,'0',0,0,1,-3649.6, 5322.93,-18.15,5.3430,150,0,0,6986,0,0,0,0,0), +(27593,21859,530,0,0,'0',0,0,1,-3779.2, 5225.73,-22.75,2.7725,150,0,0,6986,0,0,0,0,0), +(27594,21859,530,0,0,'0',0,0,1,-3714.4, 5214.93,-21.00,4.2144,150,0,0,6986,0,0,0,0,0), +(27595,21859,530,0,0,'0',0,0,1,-3750.4, 5171.73,-22.15,2.0036,150,0,0,6986,0,0,0,0,0), +(27596,21859,530,0,0,'0',0,0,1,-3764.8, 5128.53,-22.30,3.0938,150,0,0,6986,0,0,0,0,0), +(27597,21859,530,0,0,'0',0,0,1,-3750.4, 5085.33,-18.40,0.6098,150,0,0,6986,0,0,0,0,0), +(27598,21846,530,0,0,'0',0,0,1,-3714.4, 5290.53,-18.75,3.3858,150,0,0,6986,0,0,0,0,0), +(27599,21846,530,0,0,'0',0,0,1,-3714.4, 5225.73,-22.60,4.8247,150,0,0,6986,0,0,0,0,0), +(27600,21846,530,0,0,'0',0,0,1,-3692.8, 5344.53,-13.85,4.8579,150,0,0,6986,0,0,0,0,0), +(36904,21846,530,0,0,'0',0,0,1,-3642.4, 5290.53,-21.35,1.1159,150,0,0,6986,0,0,0,0,0), +(36907,21846,530,0,0,'0',0,0,1,-3750.4, 5268.93,-15.30,0.4874,150,0,0,6986,0,0,0,0,0), +(36924,21846,530,0,0,'0',0,0,1,-3772, 5214.93,-22.70,2.7571,150,0,0,6986,0,0,0,0,0), +(36938,21846,530,0,0,'0',0,0,1,-3736, 5160.93,-22.25,2.7343,150,0,0,6986,0,0,0,0,0), +(36942,21846,530,0,0,'0',0,0,1,-3764.8, 5106.93,-19.80,0.6078,150,0,0,6986,0,0,0,0,0); + +-- Drop chance howling wind +UPDATE `creature_loot_template` SET `Chance` = 20 WHERE `Item` = 24504 AND `Entry` IN (17158,17159,17160); diff --git a/sql/updates/world/master/2021_01_05_01_world_2017_10_16_01_world.sql b/sql/updates/world/master/2021_01_05_01_world_2017_10_16_01_world.sql new file mode 100644 index 000000000..0a9eb397d --- /dev/null +++ b/sql/updates/world/master/2021_01_05_01_world_2017_10_16_01_world.sql @@ -0,0 +1,83 @@ +-- Feral Tender +SET @ENTRY := 15294; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,2,0,2,0,100,0,0,45,16000,18000,11,31325,0,0,0,0,0,1,0,0,0,0,0,0,0,"Feral Tender - Between 0-45% Health - Cast 'Renew'"); + +-- Arcane Wraith +SET @ENTRY := 15273; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,2,0,0,0,100,0,6000,15000,6000,15000,11,37361,0,0,0,0,0,2,0,0,0,0,0,0,0,"Arcane Wraith - In Combat - Cast 'Arcane Bolt'"); + +-- Tainted Arcane Wraith +SET @ENTRY := 15298; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,2,0,0,0,100,0,8000,16000,8000,16000,11,25603,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tainted Arcane Wraith - In Combat - Cast 'Slow'"); + +-- Felendren the Banished +SET @ENTRY := 15367; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,1,0,0,0,100,0,6000,9000,9000,12000,11,16568,0,0,0,0,0,2,0,0,0,0,0,0,0,"Felendren the Banished - In Combat - Cast 'Mind Flay'"); + +-- Correct Felendren's respawn time +UPDATE `creature` SET `spawntimesecs`=60 WHERE `guid`=55165; + +-- Slain by the Wretched requires Aiding the Outrunners +UPDATE `quest_template_addon` SET `PrevQuestID`=8347 WHERE `ID`=9704; + +-- Felendren the Banished rewards Aiding the Outrunners +UPDATE `quest_template` SET `RewardNextQuest`=8347 WHERE `ID`=8335; + +-- Package Recovery rewards Completing the Delivery +UPDATE `quest_template` SET `RewardNextQuest`=8350 WHERE `ID`=9705; + +-- Tainted Arcane Sliver is refusable +UPDATE `quest_template_addon` SET `SpecialFlags`=0 WHERE `ID`=8338; + +-- Reclaiming Sunstrider Isle +-- Talk on accept +DELETE FROM `quest_details` WHERE `ID`=8325; +INSERT INTO `quest_details` (`ID`, `Emote1`) VALUES (8325, 1); + +-- Solanian's Belongings +-- Talk when incomplete. Clap on turn in +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=1 WHERE `ID`=8330; +UPDATE `quest_offer_reward` SET `Emote1`=21 WHERE `ID`=8330; + +-- The Shrine of Dath'Remar +-- Talk and point on accept. Bow and talk on turn in +DELETE FROM `quest_details` WHERE `ID`=8345; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`) VALUES (8345, 1, 25); +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=8345; + +-- Felendren the Banished +-- Bow and talk on turn in +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=8335; + +-- Thirst Unending +-- Point when incomplete +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25 WHERE `ID`=8346; + +-- Report to Lanthan Perlion +-- Bow and talk on turn in +UPDATE `quest_offer_reward` SET `Emote1`=2, `Emote2`=1 WHERE `ID`=8327; + +-- Aggression +-- Talk and point on offer. Point when incomplete. Talk on turn in. +DELETE FROM `quest_details` WHERE `ID`=8334; +INSERT INTO `quest_details` (`ID`, `Emote1`, `Emote2`) VALUES (8334, 1, 25); +UPDATE `quest_request_items` SET `EmoteOnIncomplete`=25 WHERE `ID`=8334; +UPDATE `quest_offer_reward` SET `Emote1`=1 WHERE `ID`=8334; + +-- Lynx collars (quest item) always drop +UPDATE `creature_loot_template` SET `Chance`=100 WHERE `Item`=20797; +-- Incorrect ref loot table on all NPCs +DELETE FROM `creature_loot_template` WHERE `Entry` IN (15271,15273,15274,15294,15298,15366,15372) AND `Reference`=44007; + +-- Random movement on some Mana Wyrms +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (15274) AND `MovementType`=0; +-- Fix Mana Wyrm spawning underground +UPDATE `creature` SET `position_z`=30.85 WHERE `guid`=54934; diff --git a/sql/updates/world/master/2021_01_05_02_world_2017_10_16_02_world.sql b/sql/updates/world/master/2021_01_05_02_world_2017_10_16_02_world.sql new file mode 100644 index 000000000..30ea73d93 --- /dev/null +++ b/sql/updates/world/master/2021_01_05_02_world_2017_10_16_02_world.sql @@ -0,0 +1,31 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` IN (25967,23483,23484); + +DELETE FROM `gossip_menu` WHERE `MenuID` = 8752 AND `TextID` = 11085; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(8752,11085,0); + +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (8751,8752); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(8751, 0, 1, 'I have marks to redeem.', 21915, 3, 128, 0), +(8752, 0, 1, 'I have marks to redeem.', 21915, 3, 128, 0); + +DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 25967); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25967, 0, 0, 0, 62, 0, 100, 0, 9205, 0, 0, 0, 11, 37778, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Zephyr - On Gossip Option 0 Selected - Cast \'Quest - Teleport: Caverns of Time\''); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup` IN (8751,8752,9205); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 9205, 0, 0, 0, 5, 0, 989, 192, 0, 0, 0, 0, '', 'Show gossip menu 9205 option id 0 if player is Revered or Exalted with faction Keepers of Time.'), +(14, 8751, 11085, 0, 1, 5, 0, 932, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 text id 11085 if player is Exalted with faction The Aldor.'), +(14, 8751, 11085, 0, 1, 5, 0, 935, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 text id 11085 if player is Exalted with faction The Sha\'tar.'), +(14, 8751, 11085, 0, 1, 5, 0, 942, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 text id 11085 if player is Exalted with faction Cenarion Expedition.'), +(14, 8752, 11085, 0, 1, 5, 0, 934, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 text id 11085 if player is Exalted with faction The Scryers.'), +(14, 8752, 11085, 0, 1, 5, 0, 935, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 text id 11085 if player is Exalted with faction The Sha\'tar.'), +(14, 8752, 11085, 0, 1, 5, 0, 942, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 text id 11085 if player is Exalted with faction Cenarion Expedition.'), +(15, 8751, 0, 0, 1, 5, 0, 932, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 option id 0 if player is Exalted with faction The Aldor.'), +(15, 8751, 0, 0, 1, 5, 0, 935, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 option id 0 if player is Exalted with faction The Sha\'tar.'), +(15, 8751, 0, 0, 1, 5, 0, 942, 128, 0, 0, 0, 0, '', 'Show gossip menu 8751 option id 0 if player is Exalted with faction Cenarion Expedition.'), +(15, 8752, 0, 0, 1, 5, 0, 934, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 option id 0 if player is Exalted with faction The Scryers.'), +(15, 8752, 0, 0, 1, 5, 0, 935, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 option id 0 if player is Exalted with faction The Sha\'tar.'), +(15, 8752, 0, 0, 1, 5, 0, 942, 128, 0, 0, 0, 0, '', 'Show gossip menu 8752 option id 0 if player is Exalted with faction Cenarion Expedition.'); diff --git a/sql/updates/world/master/2021_01_05_03_world_2017_10_16_03_world.sql b/sql/updates/world/master/2021_01_05_03_world_2017_10_16_03_world.sql new file mode 100644 index 000000000..fd1154922 --- /dev/null +++ b/sql/updates/world/master/2021_01_05_03_world_2017_10_16_03_world.sql @@ -0,0 +1,19 @@ +-- Update boss Toravon the Ice Watcher +UPDATE `creature_template` SET `InhabitType`=11, `ScriptName`='' WHERE `entry`=38461; +-- UPDATE `spell_dbc` SET `Effect1`=3, `EffectImplicitTargetA1`=22, `EffectImplicitTargetB1`=15, `EffectRadiusIndex1`=28, `MaxAffectedTargets`=1 WHERE `Id`=46523; +DELETE FROM `spelleffect_dbc` WHERE `Id`=155917; +INSERT INTO `spelleffect_dbc` (`Id`, `Effect`, `EffectValueMultiplier`, `EffectApplyAuraName`, `EffectAmplitude`, `EffectBasePoints`, `EffectBonusMultiplier`, `EffectDamageMultiplier`, `EffectChainTarget`, `EffectDieSides`, `EffectItemType`, `EffectMechanic`, `EffectMiscValue`, `EffectMiscValueB`, `EffectRadiusIndex`, `EffectRadiusIndexMax`, `EffectRealPointsPerLevel`, `EffectSpellClassMaskA`, `EffectSpellClassMaskB`, `EffectSpellClassMaskC`, `EffectTriggerSpell`, `EffectImplicitTargetA`, `EffectImplicitTargetB`, `EffectSpellId`, `EffectIndex`) VALUES +(155917, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 22, 15, 46523, 0); +UPDATE `spell_dbc` SET `SpellTargetRestrictionsId`=872 WHERE `Id`=46523; + +DELETE FROM `creature_template_addon` WHERE `entry`=38461; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(38461,0,0,0,1,0,72094); + +DELETE FROM `spell_proc` WHERE `SpellId`=71993; +INSERT INTO `spell_proc` (`SpellId`,`ProcFlags`,`HitMask`,`Cooldown`) VALUES +(71993,4,12287,4000); + +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_toravon_random_aggro'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(46523,'spell_toravon_random_aggro'); diff --git a/sql/updates/world/master/2021_01_05_04_world_2017_10_19_00_world.sql b/sql/updates/world/master/2021_01_05_04_world_2017_10_19_00_world.sql new file mode 100644 index 000000000..c7f2e7c3c --- /dev/null +++ b/sql/updates/world/master/2021_01_05_04_world_2017_10_19_00_world.sql @@ -0,0 +1,14 @@ +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=25522; +DELETE FROM `smart_scripts` WHERE `entryorguid`=25522 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25522, 0, 0, 0, 4, 0, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Skadir Raider - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=25522; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25522, 0, 0, "I shall draw your soul into the mist!", 12, 0, 100, 0, 0, 0, 24846, 0, "Skadir Raider"), +(25522, 0, 1, "YAAARRRGH!", 12, 0, 100, 0, 0, 0, 24847, 0, "Skadir Raider"), +(25522, 0, 2, "Be consumed by the mist!", 12, 0, 100, 0, 0, 0, 24848, 0, "Skadir Raider"), +(25522, 0, 3, "Look what's lost its way...", 12, 0, 100, 0, 0, 0, 24849, 0, "Skadir Raider"), +(25522, 0, 4, "I will heave your carcass into the ocean myself!", 12, 0, 100, 0, 0, 0, 24850, 0, "Skadir Raider"), +(25522, 0, 5, "You're not even fit to be fed to Leviroth.", 12, 0, 100, 0, 0, 0, 24851, 0, "Skadir Raider"), +(25522, 0, 6, "You've strayed too far from your comfortable soil, $r.", 12, 0, 100, 0, 0, 0, 24852, 0, "Skadir Raider"); diff --git a/sql/updates/world/master/2021_01_05_05_world_2017_10_19_01_world.sql b/sql/updates/world/master/2021_01_05_05_world_2017_10_19_01_world.sql new file mode 100644 index 000000000..031c116fe --- /dev/null +++ b/sql/updates/world/master/2021_01_05_05_world_2017_10_19_01_world.sql @@ -0,0 +1,29 @@ +DELETE FROM `creature_addon` WHERE `guid`=95560; +DELETE FROM `waypoint_data` WHERE `id`=955600; +DELETE FROM `waypoints` WHERE `entry`=24576; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(24576, 1, 1904.01, 6088.15, -0.689379, "Riplash Myrmidon"), +(24576, 2, 1903.87, 6078.13, 3.32637, "Riplash Myrmidon"), +(24576, 3, 1894.83, 6048.11, 4.13374, "Riplash Myrmidon"), +(24576, 4, 1893.75, 6027.49, 5.05886, "Riplash Myrmidon"), +(24576, 5, 1903.62, 6023.29, 7.5437, "Riplash Myrmidon"); +UPDATE `creature` SET `MovementType`=0, `spawndist`=0, `spawntimesecs`=60 WHERE `guid`=95560; + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (24576, 25521, 25636); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-95560, 25521, 25636, 2563600) AND `source_type` IN (0, 9); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-95560, 0, 0, 1, 11, 0, 100, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On Spawn - Set UnitFlag IMMUNE_TO_PC+NPC"), +(-95560, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 53, 1, 24576, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On Spawn - Start WP"), +(-95560, 0, 2, 3, 40, 0, 100, 0, 4, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On WP 4 Reached - Remove UnitFlag IMMUNE_TO_PC+NPC"), +(-95560, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25521, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On WP 4 Reached - Say text (Skadir Longboatsman)"), +(-95560, 0, 4, 0, 61, 0, 100, 0, 00, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 25636, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On WP 4 Reached - Attack Captured Tuskarr Prisoner"), +(-95560, 0, 5, 6, 6, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 25521, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On Death - Say text (Skadir Longboatsman)"), +(-95560, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 2563600, 2, 0, 0, 0, 0, 19, 25636, 0, 0, 0, 0, 0, 0, "Riplash Myrmidon - On Death - action list (Captured Tuskarr Prisoner)"), +(25636, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Captured Tuskarr Prisoner - On Spawn - Remove Questgiver Npcflag"), +(2563600, 9, 0, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Captured Tuskarr Prisoner - On Script - Add Questgiver Npcflag"), +(2563600, 9, 1, 0, 0, 0, 100, 0, 60000, 60000, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Captured Tuskarr Prisoner - On Script - Remove Questgiver Npcflag"); + +DELETE FROM `creature_text` WHERE `CreatureID`=25521; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25521, 0, 0, "Send in the next pair of prisoners, let them fight to see who lives!", 14, 0, 100, 0, 0, 0, 24823, 0, "Skadir Longboatsman"), +(25521, 1, 0, "You may have survived for our amusement, but now, you shall die at our hands!", 14, 0, 100, 0, 0, 0, 24819, 0, "Skadir Longboatsman"); diff --git a/sql/updates/world/master/2021_01_05_06_world_2017_10_19_02_world.sql b/sql/updates/world/master/2021_01_05_06_world_2017_10_19_02_world.sql new file mode 100644 index 000000000..9566bafcd --- /dev/null +++ b/sql/updates/world/master/2021_01_05_06_world_2017_10_19_02_world.sql @@ -0,0 +1,3 @@ +-- DB/Quest: Call the Headless Horseman +UPDATE `quest_offer_reward` SET `RewardText` = 'Will you lay the candle down and call the Headless Horseman from his doomed rest?' WHERE `ID` = 11405; +UPDATE `quest_request_items` SET `CompletionText` = 'This dirt has been recently disturbed. Earthworms lie in the topsoil, squirming to escape the dark depths beneath them.' WHERE `ID` = 11405; diff --git a/sql/updates/world/master/2021_01_06_00_world_2017_10_19_03_world.sql b/sql/updates/world/master/2021_01_06_00_world_2017_10_19_03_world.sql new file mode 100644 index 000000000..0a88f0956 --- /dev/null +++ b/sql/updates/world/master/2021_01_06_00_world_2017_10_19_03_world.sql @@ -0,0 +1,3 @@ +-- +UPDATE `creature` SET `position_x`=9715.041, `position_y`=-7311.676, `position_z`=24.84278, `orientation`=4.869469 WHERE `id`=18232; +UPDATE `creature` SET `position_x`=9714.112, `position_y`=-7313.333, `position_z`=24.8485, `orientation`=1.134464 WHERE `id`=18231; diff --git a/sql/updates/world/master/2021_01_06_01_world_2017_10_19_04_world.sql b/sql/updates/world/master/2021_01_06_01_world_2017_10_19_04_world.sql new file mode 100644 index 000000000..69c7c5b1e --- /dev/null +++ b/sql/updates/world/master/2021_01_06_01_world_2017_10_19_04_world.sql @@ -0,0 +1,91 @@ +-- +SET @GUID := 52124; +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+14; +INSERT INTO `creature` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `MovementType`, `spawntimesecs`) VALUES +(@GUID , 24014, 571, 2822.969, -3821.093, 250.2894, 5.283523, 2, 180), +(@GUID+1 , 23991, 571, 2827.572, -3878.741, 244.6476, 0.5759587, 0, 180), +(@GUID+2 , 23991, 571, 2860.433, -3828.301, 244.6628, 3.700098, 0, 180), +(@GUID+3 , 23991, 571, 2873.868, -3847.195, 244.6476, 3.857178, 0, 180), +(@GUID+4 , 23989, 571, 2841.556, -3848.825, 250.2405, 2.234021, 0, 180), +(@GUID+5 , 23991, 571, 2815.462, -3858.984, 244.6625, 0.5934119, 0, 180), +(@GUID+6 , 24014, 571, 2793.005, -3798.1, 255.5297, 1.850049, 0, 180), +(@GUID+7 , 24014, 571, 2811.807, -3785.855, 255.2564, 2.426008, 0, 180), +(@GUID+8 , 23992, 571, 2770.91, -3814.297, 255.1113, 0.6981317, 0, 180), +(@GUID+9 , 23992, 571, 2834.249, -3770.08, 255.1043, 3.630285, 0, 180), +(@GUID+10, 23990, 571, 2896.34, -3891.98, 248.537, 2.16955, 0, 180), +(@GUID+11, 23990, 571, 2861.66, -3916.08, 248.537, 2.15934, 0, 180), +(@GUID+12, 24014, 571, 2864.88, -3898.45, 248.492, 5.31899, 0, 180), +(@GUID+13, 24014, 571, 2879.18, -3888.82, 248.493, 5.32292, 0, 180), +(@GUID+14, 23989, 571, 2887.71, -3881.55, 248.53, 5.3025, 2, 180); + +DELETE FROM `creature_addon` WHERE `guid` IN (@GUID, @GUID+14); +INSERT INTO `creature_addon` (`guid`, `path_id`) VALUES +(@GUID, 521240), +(@GUID+14, 521380); + +DELETE FROM `waypoint_data` WHERE `id` IN (521380, 521240); +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES +(521380, 1, 2892.08, -3887.31, 248.54), +(521380, 2, 2859.36, -3909.38, 248.54), +(521380, 3, 2855.12, -3903.63, 248.53), +(521380, 4, 2859.36, -3909.38, 248.54), +(521380, 5, 2892.08, -3887.31, 248.54), +(521380, 6, 2887.71, -3881.55, 248.53), +(521240, 1, 2822.969, -3821.093, 250.2894), +(521240, 2, 2836.028, -3838.971, 244.5654), +(521240, 3, 2860.475, -3838.368, 244.5757), +(521240, 4, 2870.012, -3852.968, 244.5758), +(521240, 5, 2875.005, -3861.569, 244.5763), +(521240, 6, 2858.624, -3839.253, 244.5774), +(521240, 7, 2836.028, -3838.971, 244.5654); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (24023, 2402300, -74518, -74519, -74520, 2401400, 24014) AND `source_type` IN (0, 9); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(24023, 0, 0, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 11, 44473, 0, 0, 0, 0, 0, 19, 29393, 0, 0, 0, 0, 0, 0, "Queen Angerboda - OOC - Cast 'Queen Angerboda: Soul Beam'"), +(24023, 0, 1, 2, 4, 0, 100, 0, 0, 0, 0, 0, 92, 0, 44473, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - On Aggro - Interupt Cast"), +(24023, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 11, 42808, 0, 0, 0, 0, 0, 19, 24014, 17, 0, 0, 0, 0, 0, "Queen Angerboda - On Aggro - Cast 'Queen Angerboda's On Reaction 2 Beam'"), +(24023, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - On Aggro - Say Line 0"), +(24023, 0, 4, 5, 6, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - On Death - Say Line 1"), +(24023, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 29394, 1, 60000, 0, 0, 0, 8, 0, 0, 0, 2850.26, -3872.01, 248.613, 1.41372, "Queen Angerboda - On Death - Summon 'The Lich King'"), +(24023, 0, 6, 7, 25, 0, 100, 512, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 10, 74518, 24014, 0, 0, 0, 0, 0, "Queen Angerboda - On Reset - Respawn Necrolord 1"), +(24023, 0, 7, 8, 61, 0, 100, 512, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 10, 74519, 24014, 0, 0, 0, 0, 0, "Queen Angerboda - On Reset - Respawn Necrolord 2"), +(24023, 0, 8, 0, 61, 0, 100, 512, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 10, 74520, 24014, 0, 0, 0, 0, 0, "Queen Angerboda - On Reset - Respawn Necrolord 3"), +(24023, 0, 10, 0, 1, 0, 100, 0, 0, 45000, 45000, 90000, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - OOC - Say Line 2"), +(24023, 0, 11, 0, 0, 0, 100, 0, 2000, 2000, 3000, 3500, 11, 9053, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - IC - Cast Fireball"), +(24023, 0, 12, 0, 0, 0, 100, 0, 4000, 5000, 12000, 15000, 11, 43560, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - IC - Cast Anger of Gjalerbron"), +(24023, 0, 13, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 11831, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Queen Angerboda - IC - Cast Frost Nova"), +(-74518, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Respawn - Set Root On"), +(-74518, 0, 1, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Aggro - Say Line 0"), +(-74518, 0, 2, 0, 1, 0, 100, 0, 0, 0, 3000, 3000, 11, 44473, 0, 0, 0, 0, 0, 19, 29393, 0, 0, 0, 0, 0, 0, "Necrolord - OOC - Cast Queen Angerboda: Soul Beam"), +(-74518, 0, 3, 0, 8, 0, 100, 1, 42808, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Data Set - Die"), +(-74518, 0, 4, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"), +(-74518, 0, 5, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"), +(-74518, 0, 6, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"), +(-74519, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Respawn - Set Root On"), +(-74519, 0, 1, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Aggro - Say Line 0"), +(-74519, 0, 2, 0, 1, 0, 100, 0, 0, 0, 3000, 3000, 11, 44473, 0, 0, 0, 0, 0, 19, 29393, 0, 0, 0, 0, 0, 0, "Necrolord - OOC - Cast Queen Angerboda: Soul Beam"), +(-74519, 0, 3, 0, 8, 0, 100, 1, 42808, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Data Set - Die"), +(-74519, 0, 4, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"), +(-74519, 0, 5, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"), +(-74519, 0, 6, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"), +(-74520, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Respawn - Set Root On"), +(-74520, 0, 1, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Aggro - Say Line 0"), +(-74520, 0, 2, 0, 1, 0, 100, 0, 0, 0, 3000, 3000, 11, 44473, 0, 0, 0, 0, 0, 19, 29393, 0, 0, 0, 0, 0, 0, "Necrolord - OOC - Cast Queen Angerboda: Soul Beam"), +(-74520, 0, 3, 0, 8, 0, 100, 1, 42808, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On Data Set - Die"), +(-74520, 0, 4, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"), +(-74520, 0, 5, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"), +(-74520, 0, 6, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"), +(24014, 0, 0, 0, 4, 0, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Necrolord - On aggro - Say text 0"), +(24014, 0, 1, 0, 0, 0, 100, 0, 2000, 3000, 3000, 3500, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Cast Shadow Bolt"), +(24014, 0, 2, 0, 0, 0, 100, 0, 3000, 7000, 10000, 20000, 11, 17173, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Drain Life"), +(24014, 0, 3, 0, 0, 0, 100, 0, 5000, 8000, 25000, 30000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Necrolord - IC - Curse of Weakness"); + +DELETE FROM `creature_template_addon` WHERE `entry`=29393; +INSERT INTO `creature_template_addon` (`entry`, `emote`) VALUES +(29393, 417); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN(42808); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 42808, 0, 0, 31, 0, 3, 24014, 74518, 0, 0, 0, '', 'Queen Angerbodas On Reaction 2 Beam - Targets Necrolord'), +(13, 1, 42808, 0, 1, 31, 0, 3, 24014, 74519, 0, 0, 0, '', 'Queen Angerbodas On Reaction 2 Beam - Targets Necrolord'), +(13, 1, 42808, 0, 2, 31, 0, 3, 24014, 74520, 0, 0, 0, '', 'Queen Angerbodas On Reaction 2 Beam - Targets Necrolord'); diff --git a/sql/updates/world/master/2021_01_06_02_world_2017_10_19_05_world.sql b/sql/updates/world/master/2021_01_06_02_world_2017_10_19_05_world.sql new file mode 100644 index 000000000..d36e89ddc --- /dev/null +++ b/sql/updates/world/master/2021_01_06_02_world_2017_10_19_05_world.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25596) AND `source_type` IN (0) AND `id`>7; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25596, 0, 8, 0, 27, 0, 100, 512, 0, 0, 0, 0, 19, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Infected Kodo Beast - On passenger boarded - remove immune to npc"), +(25596, 0, 9, 0, 28, 0, 100, 512, 0, 0, 0, 0, 18, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Infected Kodo Beast - On passenger removed - Set immune to npc"); diff --git a/sql/updates/world/master/2021_01_06_03_world_2017_10_19_09_world.sql b/sql/updates/world/master/2021_01_06_03_world_2017_10_19_09_world.sql new file mode 100644 index 000000000..2e02d084a --- /dev/null +++ b/sql/updates/world/master/2021_01_06_03_world_2017_10_19_09_world.sql @@ -0,0 +1,4 @@ +-- DB/Spell: Spell 58152, Arcane Lightning should also target NPCs 29321, Ichor Globule +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=58152 AND `ElseGroup`=18; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,58152,0,18,31,0,3,29321,0,0,0,0,'','Defense System - Arcane Lightning'); diff --git a/sql/updates/world/master/2021_01_06_04_world_2017_10_19_10_world.sql b/sql/updates/world/master/2021_01_06_04_world_2017_10_19_10_world.sql new file mode 100644 index 000000000..c87ee3acc --- /dev/null +++ b/sql/updates/world/master/2021_01_06_04_world_2017_10_19_10_world.sql @@ -0,0 +1,9 @@ +-- Advisor Sunsworn +DELETE FROM `gossip_menu` WHERE `MenuID`=7362 AND `TextID`=8795; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(7362,8795,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7362; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,7362,8794,0,0,16,0,512,0,0,1,0,0,"","Show gossip text if player is not a Blood Elf"), +(14,7362,8795,0,0,16,0,512,0,0,0,0,0,"","Show gossip text if player is a Blood Elf"); diff --git a/sql/updates/world/master/2021_01_06_06_world_2017_10_21_01_world_335.sql b/sql/updates/world/master/2021_01_06_06_world_2017_10_21_01_world_335.sql new file mode 100644 index 000000000..ffd396839 --- /dev/null +++ b/sql/updates/world/master/2021_01_06_06_world_2017_10_21_01_world_335.sql @@ -0,0 +1,15 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 2530; + +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 2530; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2530, 0, 0, 1, 8, 0, 100, 0, 3607, 0, 0, 0, 17, 64, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Spellhit \'Yenniku\'s Release\' - Set Emote State Stun'), +(2530, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 2, 83, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Spellhit \'Yenniku\'s Release\' - Set Faction Horde'), +(2530, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 67, 0, 60000, 60000, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Spellhit \'Yenniku\'s Release\' - Create Timed Event'), +(2530, 0, 3, 4, 59, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Timed Event 0 Triggered - Evade'), +(2530, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 2, 28, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Timed Event 0 Triggered - Set Faction Bloodscalp Trolls'), +(2530, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 17, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Yenniku - On Timed Event 0 Triggered - Set Emote State Default'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup` IN (1,7) AND `SourceEntry`=2530 AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 2530, 0, 0, 9, 0, 592, 0, 0, 0, 0, 0, '', 'Yenniku SAI event 0 will execute if quest Saving Yenniku has been taken.'); diff --git a/sql/updates/world/master/2021_01_07_00_world_2017_10_21_02_world_335.sql b/sql/updates/world/master/2021_01_07_00_world_2017_10_21_02_world_335.sql new file mode 100644 index 000000000..d9fb48c4c --- /dev/null +++ b/sql/updates/world/master/2021_01_07_00_world_2017_10_21_02_world_335.sql @@ -0,0 +1,65 @@ +UPDATE `creature_template` SET `AIName`="SmartAI", `ScriptName`="" WHERE `entry` IN (11056, 11057); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (3223, 3224, 3225, 3226, 3227, 3228); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 3223, 0, 0, 0, 8, 0, 5230, 0, 0, 0, 0, 0, "", "Gossip option 0 requires quest 'Return to the Bulwark' rewarded"), +(15, 3223, 1, 0, 0, 8, 0, 5230, 0, 0, 0, 0, 0, "", "Gossip option 1 requires quest 'Return to the Bulwark' rewarded"), +(15, 3223, 2, 0, 0, 8, 0, 5232, 0, 0, 0, 0, 0, "", "Gossip option 2 requires quest 'Return to the Bulwark' rewarded"), +(15, 3223, 3, 0, 0, 8, 0, 5234, 0, 0, 0, 0, 0, "", "Gossip option 3 requires quest 'Return to the Bulwark' rewarded"), +(15, 3223, 4, 0, 0, 8, 0, 5236, 0, 0, 0, 0, 0, "", "Gossip option 4 requires quest 'Return to the Bulwark' rewarded"), +(15, 3228, 0, 0, 0, 8, 0, 5217, 0, 0, 0, 0, 0, "", "Gossip option 0 requires quest 'Return to Chillwind Camp' rewarded"), +(15, 3228, 1, 0, 0, 8, 0, 5217, 0, 0, 0, 0, 0, "", "Gossip option 1 requires quest 'Return to Chillwind Camp' rewarded"), +(15, 3228, 2, 0, 0, 8, 0, 5220, 0, 0, 0, 0, 0, "", "Gossip option 2 requires quest 'Return to Chillwind Camp' rewarded"), +(15, 3228, 3, 0, 0, 8, 0, 5223, 0, 0, 0, 0, 0, "", "Gossip option 3 requires quest 'Return to Chillwind Camp' rewarded"), +(15, 3228, 4, 0, 0, 8, 0, 5226, 0, 0, 0, 0, 0, "", "Gossip option 4 requires quest 'Return to Chillwind Camp' rewarded"), +(15, 3224, 0, 0, 0, 2, 0, 13370, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Vitreous Focuser' not in inventory or bank"), +(15, 3225, 0, 0, 0, 2, 0, 13370, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Vitreous Focuser' not in inventory or bank"), +(15, 3226, 0, 0, 0, 2, 0, 13370, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Vitreous Focuser' not in inventory or bank"), +(15, 3227, 0, 0, 0, 2, 0, 13370, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Vitreous Focuser' not in inventory or bank"); + +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (3223, 3224, 3225, 3226, 3227, 3228, 3229); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(3223, 0, 1, "I wish to purchase arcane quickener from you.", 6513, 3, 1, 0), +(3223, 1, 0, "What's needed for the cauldron at Felstone Field?", 6516, 1, 1, 0), +(3223, 2, 0, "What's needed for the cauldron at Dalson's Tears?", 6517, 1, 1, 0), +(3223, 3, 0, "What's needed for the cauldron at the Writhing Haunt?", 6518, 1, 1, 0), +(3223, 4, 0, "What's needed for the cauldron at Gahrron's Withering?", 6519, 1, 1, 0), +(3228, 0, 1, "I wish to purchase arcane quickener from you.", 6513, 3, 1, 0), +(3228, 1, 0, "What's needed for the cauldron at Felstone Field?", 6516, 1, 1, 0), +(3228, 2, 0, "What's needed for the cauldron at Dalson's Tears?", 6517, 1, 1, 0), +(3228, 3, 0, "What's needed for the cauldron at the Writhing Haunt?", 6518, 1, 1, 0), +(3228, 4, 0, "What's needed for the cauldron at Gahrron's Withering?", 6519, 1, 1, 0), +(3224, 0, 0, "I need a Vitreous Focuser.", 6531, 1, 1, 0), +(3225, 0, 0, "I need a Vitreous Focuser.", 6531, 1, 1, 0), +(3226, 0, 0, "I need a Vitreous Focuser.", 6531, 1, 1, 0), +(3227, 0, 0, "I need a Vitreous Focuser.", 6531, 1, 1, 0); + + +DELETE FROM `gossip_menu_option_action` WHERE `MenuId` IN (3223, 3228); +INSERT INTO `gossip_menu_option_action` (`MenuId`, `OptionIndex`, `ActionMenuId`, `ActionPoiId`) VALUES +(3223, 1, 3224, 0), +(3223, 2, 3225, 0), +(3223, 3, 3226, 0), +(3223, 4, 3227, 0), +(3228, 1, 3224, 0), +(3228, 2, 3225, 0), +(3228, 3, 3226, 0), +(3228, 4, 3227, 0); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (11056, 11057) AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(11056, 0, 0, 1, 62, 0, 100, 0, 3224, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Close Gossip"), +(11056, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11056, 0, 2, 3, 62, 0, 100, 0, 3225, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Close Gossip"), +(11056, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11056, 0, 4, 5, 62, 0, 100, 0, 3226, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Close Gossip"), +(11056, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11056, 0, 6, 7, 62, 0, 100, 0, 3227, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Close Gossip"), +(11056, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Alchemist Arbington - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11057, 0, 0, 1, 62, 0, 100, 0, 3224, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Close Gossip"), +(11057, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11057, 0, 2, 3, 62, 0, 100, 0, 3225, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Close Gossip"), +(11057, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11057, 0, 4, 5, 62, 0, 100, 0, 3226, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Close Gossip"), +(11057, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Cast 'Vitreous Focuser'"), +(11057, 0, 6, 7, 62, 0, 100, 0, 3227, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Close Gossip"), +(11057, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 17529, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Apothecary Dithers - On Gossip Option Selected - Cast 'Vitreous Focuser'"); diff --git a/sql/updates/world/master/2021_01_07_01_world_2017_10_21_03_world.sql b/sql/updates/world/master/2021_01_07_01_world_2017_10_21_03_world.sql new file mode 100644 index 000000000..34176d346 --- /dev/null +++ b/sql/updates/world/master/2021_01_07_01_world_2017_10_21_03_world.sql @@ -0,0 +1,38 @@ +-- Raliq the Drunk +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 18585; + +DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 18585); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18585, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 15000, 15000, 11, 10966, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - In Combat - Cast \'Uppercut\''), +(18585, 0, 1, 2, 62, 0, 100, 0, 7729, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Close Gossip'), +(18585, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 2, 45, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Set Faction Ogre'), +(18585, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Say Line 0'), +(18585, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Gossip Option 0 Selected - Start Attacking'), +(18585, 0, 5, 0, 25, 0, 100, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Raliq the Drunk - On Reset - Set Default Faction'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup` = 7729; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 7729, 9440, 0, 0, 9, 0, 10009, 0, 0, 0, 0, 0, '', 'Show gossip menu 7729 text id 9440 if quest Crackin\' Some Skulls has been taken.'), +(15, 7729, 0, 0, 0, 9, 0, 10009, 0, 0, 0, 0, 0, '', 'Show gossip menu 7729 option id 0 if quest Crackin\' Some Skulls has been taken.'); + +-- Sal\'salabim +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 18584; + +-- Table smart_scripts +DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 18584); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18584, 0, 0, 0, 0, 0, 100, 0, 15000, 15000, 15000, 15000, 11, 31705, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - In Combat - Cast \'Magnetic Pull\''), +(18584, 0, 1, 2, 62, 0, 100, 0, 7725, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Close Gossip'), +(18584, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 2, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Set Faction Demon'), +(18584, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Say Line 0'), +(18584, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Start Attacking'), +(18584, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 42, 0, 19, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Gossip Option 0 Selected - Set Invincibility Hp 19%'), +(18584, 0, 6, 7, 2, 0, 100, 1, 0, 20, 0, 0, 15, 10004, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Health Below 20% - Quest Credit \'Patience and Understanding\''), +(18584, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Health Below 20% - Evade'), +(18584, 0, 8, 0, 25, 0, 100, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sal\'salabim - On Reset - Set Default Faction'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup` = 7725; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` = 6 AND `SourceEntry` = 18584; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 7725, 9435, 0, 0, 9, 0, 10004, 0, 0, 0, 0, 0, '', 'Show gossip menu 7725 text id 9440 if quest Patience and Understanding has been taken.'), +(15, 7725, 0, 0, 0, 9, 0, 10004, 0, 0, 0, 0, 0, '', 'Show gossip menu 7725 option id 0 if quest Patience and Understanding has been taken.'); diff --git a/sql/updates/world/master/2021_01_07_02_world_2017_10_21_04_world.sql b/sql/updates/world/master/2021_01_07_02_world_2017_10_21_04_world.sql new file mode 100644 index 000000000..e2996ee08 --- /dev/null +++ b/sql/updates/world/master/2021_01_07_02_world_2017_10_21_04_world.sql @@ -0,0 +1,7 @@ +-- +-- UPDATE `quest_template_addon` SET `PrevQuestID`=364 WHERE `ID`=3096; +-- UPDATE `quest_template_addon` SET `PrevQuestID`=415 WHERE `ID`=413; +-- UPDATE `quest_request_items` SET `CompletionText`='Welcome to Camp Narache, $n. I hear good things about you. Your bloodline is strong, and many of the elders consider you skilled already. But that we will test.$b$bThe plains of Mulgore will be your home for sometime--you should do your best to learn it very well. One day you will travel to unfamilar lands to master greater skills. You must be ready.' WHERE `ID`=3092; +-- UPDATE `quest_offer_reward` SET `RewardText`='And it is my job to make sure you are prepared by teaching you the basics of our profession--how to tame your pet, how to fire your rifle, and many other skills that will become necessary.$b$bHunters are a strong part of our tradition and history, $n. You would do well to remember how important you are to the tribe. You will be respected and revered if you serve our people well.' WHERE `ID`=3092; +UPDATE `quest_offer_reward` SET `RewardText`='Just in time, $N! I was about ready to start digging a hole for our friend here.$B$BMy potion seems to be working; he\'s coming to.$B$BHey, I think he\'s trying to get your attention. Why don\'t you talk to him?' WHERE `ID`=9147; +UPDATE `quest_offer_reward` SET `RewardText`='It was just horrible! Night elves! They conjured their moon crystal here for some nefarious plot, but I snuck away and gathered a larger group of our scouts and casters from the nearby Sanctum of the Sun. We killed most of them and the rest of the group is hunting down the remnants!$B$BI\'m glad that you\'re here now; I was only left a couple of scouts for protection! It\'s not safe out here!$B$BGive me a moment and I\'ll read through these plans to see what the night elves are up to.' WHERE `ID`=9166; diff --git a/sql/updates/world/master/2021_01_07_03_world_2017_10_21_06_world_335.sql b/sql/updates/world/master/2021_01_07_03_world_2017_10_21_06_world_335.sql new file mode 100644 index 000000000..371b0a113 --- /dev/null +++ b/sql/updates/world/master/2021_01_07_03_world_2017_10_21_06_world_335.sql @@ -0,0 +1,17 @@ +-- +-- Remove unique items from reference table 24076 +DELETE FROM `reference_loot_template` WHERE `Item` IN (826, 1211, 1287, 1394, 1926, 1927, 1933, 2088, 4767, 4768, 4771); +-- Add former items from reference table 24076 to their proper NPCs +DELETE FROM `creature_loot_template` WHERE `Item` IN (826, 1211, 1287, 1394, 1926, 1927, 1933, 2088, 4767, 4768, 4771); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`) VALUES +(124, 826, 0.1, 0), +(423, 1211, 0.1, 0), +(442, 1287, 0.1, 0), +(171, 1394, 0.1, 0), +(824, 1926, 0.1, 0), +(594, 1927, 0.1, 0), +(619, 1933, 0.1, 0), +(831, 2088, 0.1, 0), +(3578, 4767, 3, 0), +(3270, 4768, 3, 2), +(3270, 4771, 3, 2); diff --git a/sql/updates/world/master/2021_01_07_04_world_2017_10_21_08_world.sql b/sql/updates/world/master/2021_01_07_04_world_2017_10_21_08_world.sql new file mode 100644 index 000000000..78c3173a5 --- /dev/null +++ b/sql/updates/world/master/2021_01_07_04_world_2017_10_21_08_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 10618; + +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 3130; +-- TODO check against live for what the actual gossip menu is. Didn't find anything helpful searching the broadcast_text table. +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(3130, 0, 1, "I would like to buy from you.", 2583, 3, 128, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 3130; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 3130, 0, 0, 0, 5, 0, 589, 128, 0, 0, 0, 0, '', 'Show gossip menu 3130 option id 0 if player is Exalted with faction Wintersaber Trainers.'); diff --git a/sql/updates/world/master/2021_01_07_05_world_2017_10_21_09_world.sql b/sql/updates/world/master/2021_01_07_05_world_2017_10_21_09_world.sql new file mode 100644 index 000000000..756f75a6c --- /dev/null +++ b/sql/updates/world/master/2021_01_07_05_world_2017_10_21_09_world.sql @@ -0,0 +1,19 @@ +-- Stillpine Hold overhaul +DELETE FROM `creature` WHERE `guid` IN (31934,36944,36956,36957,36958); +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(31934, 17432, 530, 0, 0, '0', 0, 0, 1, -3359.00, -12295.73, 21.895, 3.4643, 300, 0, 0, 176, 0, 0, 0, 0, 0, 0), +(36944, 17432, 530, 0, 0, '0', 0, 0, 1, -3362.50, -12403.92, 24.512, 2.2446, 300, 0, 0, 176, 0, 0, 0, 0, 0, 0), +(36956, 17432, 530, 0, 0, '0', 0, 0, 1, -3380.84, -12411.39, 19.330, 2.4017, 300, 0, 0, 176, 0, 0, 0, 0, 0, 0), +(36957, 17437, 530, 0, 0, '0', 0, 0, 1, -3339.58, -12352.24, 22.844, 5.8677, 300, 0, 0, 176, 0, 0, 0, 0, 0, 0), +(36958, 17438, 530, 0, 0, '0', 0, 0, 0, -3336.31, -12352.47, 23.182, 3.6591, 300, 0, 0, 176, 0, 0, 0, 0, 0, 0); + +-- Update NPC movement, delete wrong models and ranged weapons, correct angle/distance of formation +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (62912, 62911, 62913, 62914, 62878, 62877, 62895, 62893, 62894, 62875, 62874, 62885); +UPDATE `creature_formations` SET `dist`=5, `angle`=270 WHERE `memberGUID`=62891; +-- UPDATE `creature_template` SET `modelid2`=6802, `modelid3`=0, `modelid4`=0 WHERE `entry` IN (17432, 17439, 17437); +UPDATE `creature_addon` SET `bytes2`=4097 WHERE `guid`=62892; +UPDATE `creature_equip_template` SET `ItemID3`=0 WHERE `CreatureID` IN (17432, 17443, 17446, 17445, 17444, 17440, 17442, 17441) AND `ID`=1; + +-- Delete four NPCs and all Stillpine Raiders +DELETE FROM `creature` WHERE `guid` IN (62884, 62883, 60792, 60777); +DELETE FROM `creature` WHERE `id`=17495; diff --git a/sql/updates/world/master/2021_01_07_06_world_2017_10_21_11_world.sql b/sql/updates/world/master/2021_01_07_06_world_2017_10_21_11_world.sql new file mode 100644 index 000000000..004109cad --- /dev/null +++ b/sql/updates/world/master/2021_01_07_06_world_2017_10_21_11_world.sql @@ -0,0 +1,15 @@ +-- Shy-Rotam +DELETE FROM `smart_scripts` WHERE `entryorguid`=10737 AND `source_type`=0 AND `id` IN (3, 4); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10737,0,3,0,2,0,100,1,0,50,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shy-Rotam - Between 0-50% Health - Say Line 0"), +(10737,0,4,0,2,0,100,1,0,50,0,0,12,10741,1,180000,0,0,0,8,0,0,0,8074.84,-3840,690.061,4.6,"Shy-Rotam - Between 0-50% Health - Summon Creature 'Sian-Rotam'"); -- I deleted/re-added this line to change the order of events + +-- Sian-Rotam +DELETE FROM `smart_scripts` WHERE `entryorguid`=10741 AND `source_type`=0 AND `id`=4; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10741,0,4,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sian-Rotam - Just Summoned - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (10737, 10741); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10737,0,0,"%s roars out for her mate!",16,0,100,0,0,648,6039,0,"Shy-Rotam"), +(10741,0,0,"%s answers the call of Shy-Rotam.",16,0,100,0,0,0,6040,0,"Sian-Rotam"); diff --git a/sql/updates/world/master/2021_01_07_07_world_2017_10_21_14_world.sql b/sql/updates/world/master/2021_01_07_07_world_2017_10_21_14_world.sql new file mode 100644 index 000000000..76b87cd5e --- /dev/null +++ b/sql/updates/world/master/2021_01_07_07_world_2017_10_21_14_world.sql @@ -0,0 +1,36 @@ +-- Eldara Dawnrunner +DELETE FROM `creature_text` WHERE `CreatureID`=25032; +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +(25032,0,0,"$n, it's very good to see you again!", 12,0,100,0,0,0,24086,0,'Eldara Dawnrunner'), +(25032,0,1,"Everyone look, it's $n!", 12,0,100,0,0,0,24087,0,'Eldara Dawnrunner'), +(25032,0,2,"Dawnblade, demons and naga beware, $n is back.", 12,0,100,0,0,0,24088,0,'Eldara Dawnrunner'), +(25032,0,3,"$G Milord : Milady;, $n, we are fortunate to have you here with us.", 12,0,100,0,0,0,24089,0,'Eldara Dawnrunner'), +(25032,0,4,"The Shattered Sun Offensive is lucky to have $n on our side.", 12,0,100,0,0,0,24098,0,'Eldara Dawnrunner'), +(25032,0,5,"If it weren't for $n, we'd all be long dead.", 12,0,100,0,0,0,24099,0,'Eldara Dawnrunner'), +(25032,0,6,"$n, thank you again for helping us. We couldn't have achieved any of this without you.", 12,0,100,0,0,0,24100,0,'Eldara Dawnrunner'), +(25032,0,7,"$Three cheers for $n!", 12,0,100,0,0,0,24102,0,'Eldara Dawnrunner'), +(25032,0,8,"It's an honor to serve with you, $n.", 12,0,100,0,0,0,24103,0,'Eldara Dawnrunner'), +(25032,0,9,"If I were one of those Dawnblade blood elves, I'd be swimming away from the island now that $n is here.", 12,0,100,0,0,0,24106,0,'Eldara Dawnrunner'), +(25032,0,10,"How many wretched do you think $n has put out of their misery?", 12,0,100,0,0,0,24107,0,'Eldara Dawnrunner'), +(25032,0,11,"Snap to attention, $n, one of our finest, is here!", 12,0,100,0,0,0,24108,0,'Eldara Dawnrunner'), +(25032,0,12,"Welcome back, $n.", 12,0,100,0,0,0,24110,0,'Eldara Dawnrunner'), +(25032,0,13,"There's our $g hero : heroine; right there! How are you doing, $n?", 12,0,100,0,0,0,24111,0,'Eldara Dawnrunner'), +(25032,0,14,"I guarantee that without $n, this whole offensive would have been a failure.", 12,0,100,0,0,0,24112,0,'Eldara Dawnrunner'), +(25032,0,15,"No matter what, your efforts will always be exalted here, $n!", 12,0,100,0,0,0,24113,0,'Eldara Dawnrunner'), +(25032,0,16,"Lay waste to the demons on the Dead Scar lately, $n?", 12,0,100,0,0,0,24115,0,'Eldara Dawnrunner'), +(25032,0,17,"$n, one of these days I want to buy you a drink.", 12,0,100,0,0,0,24116,0,'Eldara Dawnrunner'), +(25032,0,18,"$n, you have no idea what a relief it is to see you!", 12,0,100,0,0,0,24119,0,'Eldara Dawnrunner'), +(25032,0,19,"What a coincidence... we were just talking about you, $n!", 12,0,100,0,0,0,24120,0,'Eldara Dawnrunner'), +(25032,0,20,"Who needs sentries? $n is here!", 12,0,100,0,0,0,24121,0,'Eldara Dawnrunner'), +(25032,0,21,"Hey, $n, try to leave some of the glory for us, would ya?", 12,0,100,0,0,0,24122,0,'Eldara Dawnrunner'), +(25032,0,22,"Do not fight the enemy unprepared, $n. I can provide you with very powerful items... provided you have proven yourself to us.", 12,0,100,0,0,0,24302,0,'Eldara Dawnrunner'), +(25032,0,23,"I don't even want to think about what'll happen here if $n ever decides not to come back.", 12,0,100,0,0,0,24117,0,'Eldara Dawnrunner'); + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry`=25032; +DELETE FROM `smart_scripts` WHERE (`source_type`=0 AND `entryorguid`=25032); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25032,0,0,0,10,0,100,0,1,20,120000,120000,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Eldara Dawnrunner - OOC LOS - Say Line'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=25032; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 25032, 0, 0, 5, 0, 1077, 128, 0, 0, 0, 0, '', 'Smart event 0 for Eldara Dawnrunner will execute if the payer is exalted with Shattered Sun');