From 184915abc22aa968490bf7fec1d532023f1204d6 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Tue, 22 Sep 2020 16:22:39 -0400 Subject: [PATCH] Misc DB updates Port From (https://github.com/TrinityCore/TrinityCore) --- .../world/master/2017_10_02_02_world.sql | 18 + ...020_09_12_00_world_2017_09_25_00_world.sql | 62 ++++ ...020_09_12_01_world_2017_09_25_01_world.sql | 6 + ...020_09_12_02_world_2017_09_26_00_world.sql | 6 + ...020_09_12_03_world_2017_09_26_01_world.sql | 3 + ...020_09_12_04_world_2017_09_26_02_world.sql | 11 + ...09_12_05_world_2017_09_26_05_world_335.sql | 2 + ...020_09_12_06_world_2017_09_26_03_world.sql | 22 ++ ...09_12_07_world_2017_09_26_04_world_335.sql | 2 + ...09_12_08_world_2017_09_26_08_world_335.sql | 21 ++ ...020_09_12_09_world_2017_09_26_13_world.sql | 8 + ...020_09_12_10_world_2017_09_26_14_world.sql | 8 + ...09_12_11_world_2017_09_26_15_world_335.sql | 300 +++++++++++++++ ...09_12_12_world_2017_09_26_16_world_335.sql | 328 +++++++++++++++++ ...09_13_00_world_2017_09_26_17_world_335.sql | 283 ++++++++++++++ ...09_13_01_world_2017_09_26_20_world_335.sql | 29 ++ ...09_13_02_world_2017_09_27_03_world_335.sql | 8 + ...09_13_03_world_2017_09_27_04_world_335.sql | 25 ++ ...09_13_04_world_2017_09_27_05_world_335.sql | 6 + ...020_09_13_05_world_2017_09_27_06_world.sql | 13 + ...020_09_13_06_world_2017_09_27_07_world.sql | 9 + ...020_09_13_07_world_2017_09_28_01_world.sql | 36 ++ ...020_09_13_08_world_2017_09_30_00_world.sql | 6 + ...020_09_13_09_world_2017_09_30_01_world.sql | 6 + ...020_09_13_10_world_2017_09_30_03_world.sql | 7 + ...020_09_13_11_world_2017_09_30_04_world.sql | 5 + ...020_09_13_12_world_2017_09_30_05_world.sql | 9 + ...020_09_13_13_world_2017_09_30_06_world.sql | 6 + ...020_09_13_14_world_2017_09_30_07_world.sql | 10 + ...09_13_15_world_2017_09_30_08_world_335.sql | 6 + ...020_09_13_16_world_2017_09_30_09_world.sql | 9 + ...020_09_13_17_world_2017_09_30_10_world.sql | 2 + ...020_09_13_18_world_2017_09_30_11_world.sql | 12 + ...09_13_19_world_2017_09_30_12_world_335.sql | 7 + ...09_13_20_world_2017_09_30_13_world_335.sql | 8 + ...09_13_21_world_2017_09_30_14_world_335.sql | 10 + ...09_13_22_world_2017_09_30_16_world_335.sql | 33 ++ ...09_13_23_world_2017_09_30_21_world_335.sql | 47 +++ ...09_13_24_world_2017_09_30_23_world_335.sql | 346 ++++++++++++++++++ ...020_09_13_25_world_2017_10_02_00_world.sql | 15 + ...020_09_13_26_world_2017_10_02_01_world.sql | 17 + ...020_09_13_27_world_2017_10_02_03_world.sql | 7 + ...09_13_28_world_2017_10_02_04_world_335.sql | 30 ++ ...020_09_13_29_world_2017_10_02_06_world.sql | 8 + ...020_09_14_00_world_2017_10_02_07_world.sql | 8 + ...020_09_14_01_world_2017_10_02_08_world.sql | 24 ++ ...020_09_14_02_world_2017_10_02_09_world.sql | 2 + ...020_09_14_03_world_2017_10_02_10_world.sql | 23 ++ ...020_09_14_04_world_2017_10_03_00_world.sql | 32 ++ ...020_09_14_05_world_2017_10_03_01_world.sql | 6 + ...020_09_14_06_world_2017_10_03_02_world.sql | 8 + ...020_09_14_07_world_2017_10_03_03_world.sql | 9 + ...020_09_14_08_world_2017_10_03_04_world.sql | 21 ++ ...020_09_14_09_world_2017_10_03_05_world.sql | 81 ++++ ...09_14_10_world_2017_10_03_11_world_335.sql | 12 + ...09_15_00_world_2017_10_03_17_world_335.sql | 147 ++++++++ ...020_09_15_01_world_2017_10_03_18_world.sql | 27 ++ ...020_09_15_02_world_2017_10_05_00_world.sql | 9 + 58 files changed, 2221 insertions(+) create mode 100644 sql/updates/world/master/2017_10_02_02_world.sql create mode 100644 sql/updates/world/master/2020_09_12_00_world_2017_09_25_00_world.sql create mode 100644 sql/updates/world/master/2020_09_12_01_world_2017_09_25_01_world.sql create mode 100644 sql/updates/world/master/2020_09_12_02_world_2017_09_26_00_world.sql create mode 100644 sql/updates/world/master/2020_09_12_03_world_2017_09_26_01_world.sql create mode 100644 sql/updates/world/master/2020_09_12_04_world_2017_09_26_02_world.sql create mode 100644 sql/updates/world/master/2020_09_12_05_world_2017_09_26_05_world_335.sql create mode 100644 sql/updates/world/master/2020_09_12_06_world_2017_09_26_03_world.sql create mode 100644 sql/updates/world/master/2020_09_12_07_world_2017_09_26_04_world_335.sql create mode 100644 sql/updates/world/master/2020_09_12_08_world_2017_09_26_08_world_335.sql create mode 100644 sql/updates/world/master/2020_09_12_09_world_2017_09_26_13_world.sql create mode 100644 sql/updates/world/master/2020_09_12_10_world_2017_09_26_14_world.sql create mode 100644 sql/updates/world/master/2020_09_12_11_world_2017_09_26_15_world_335.sql create mode 100644 sql/updates/world/master/2020_09_12_12_world_2017_09_26_16_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_00_world_2017_09_26_17_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_01_world_2017_09_26_20_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_02_world_2017_09_27_03_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_03_world_2017_09_27_04_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_04_world_2017_09_27_05_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_05_world_2017_09_27_06_world.sql create mode 100644 sql/updates/world/master/2020_09_13_06_world_2017_09_27_07_world.sql create mode 100644 sql/updates/world/master/2020_09_13_07_world_2017_09_28_01_world.sql create mode 100644 sql/updates/world/master/2020_09_13_08_world_2017_09_30_00_world.sql create mode 100644 sql/updates/world/master/2020_09_13_09_world_2017_09_30_01_world.sql create mode 100644 sql/updates/world/master/2020_09_13_10_world_2017_09_30_03_world.sql create mode 100644 sql/updates/world/master/2020_09_13_11_world_2017_09_30_04_world.sql create mode 100644 sql/updates/world/master/2020_09_13_12_world_2017_09_30_05_world.sql create mode 100644 sql/updates/world/master/2020_09_13_13_world_2017_09_30_06_world.sql create mode 100644 sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql create mode 100644 sql/updates/world/master/2020_09_13_15_world_2017_09_30_08_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_16_world_2017_09_30_09_world.sql create mode 100644 sql/updates/world/master/2020_09_13_17_world_2017_09_30_10_world.sql create mode 100644 sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql create mode 100644 sql/updates/world/master/2020_09_13_19_world_2017_09_30_12_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_20_world_2017_09_30_13_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_21_world_2017_09_30_14_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_22_world_2017_09_30_16_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_23_world_2017_09_30_21_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_24_world_2017_09_30_23_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_25_world_2017_10_02_00_world.sql create mode 100644 sql/updates/world/master/2020_09_13_26_world_2017_10_02_01_world.sql create mode 100644 sql/updates/world/master/2020_09_13_27_world_2017_10_02_03_world.sql create mode 100644 sql/updates/world/master/2020_09_13_28_world_2017_10_02_04_world_335.sql create mode 100644 sql/updates/world/master/2020_09_13_29_world_2017_10_02_06_world.sql create mode 100644 sql/updates/world/master/2020_09_14_00_world_2017_10_02_07_world.sql create mode 100644 sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql create mode 100644 sql/updates/world/master/2020_09_14_02_world_2017_10_02_09_world.sql create mode 100644 sql/updates/world/master/2020_09_14_03_world_2017_10_02_10_world.sql create mode 100644 sql/updates/world/master/2020_09_14_04_world_2017_10_03_00_world.sql create mode 100644 sql/updates/world/master/2020_09_14_05_world_2017_10_03_01_world.sql create mode 100644 sql/updates/world/master/2020_09_14_06_world_2017_10_03_02_world.sql create mode 100644 sql/updates/world/master/2020_09_14_07_world_2017_10_03_03_world.sql create mode 100644 sql/updates/world/master/2020_09_14_08_world_2017_10_03_04_world.sql create mode 100644 sql/updates/world/master/2020_09_14_09_world_2017_10_03_05_world.sql create mode 100644 sql/updates/world/master/2020_09_14_10_world_2017_10_03_11_world_335.sql create mode 100644 sql/updates/world/master/2020_09_15_00_world_2017_10_03_17_world_335.sql create mode 100644 sql/updates/world/master/2020_09_15_01_world_2017_10_03_18_world.sql create mode 100644 sql/updates/world/master/2020_09_15_02_world_2017_10_05_00_world.sql diff --git a/sql/updates/world/master/2017_10_02_02_world.sql b/sql/updates/world/master/2017_10_02_02_world.sql new file mode 100644 index 000000000..dd059964a --- /dev/null +++ b/sql/updates/world/master/2017_10_02_02_world.sql @@ -0,0 +1,18 @@ +-- Out of combat script for Instructor Ciel +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18629; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18629) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (1862900) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18629, 0, 0, 0, 1, 0, 100, 0, 200, 1000, 12000, 12000, 80, 1862900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Instructor Ciel - Out Of Combat - Run Script"), +(1862900, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Laugh'"), +(1862900, 9, 1, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 54, 0, 0, 0, 0, 0, 19, 18626, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'SpecialAttack1H' (Trainee Alcor)"), +(1862900, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 54, 0, 0, 0, 0, 0, 19, 18627, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'SpecialAttack1H' (Trainee Firea)"), +(1862900, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Point'"), +(1862900, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 35, 0, 0, 0, 0, 0, 19, 18626, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'AttackUnarmed' (Trainee Alcor)"), +(1862900, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 35, 0, 0, 0, 0, 0, 19, 18627, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'AttackUnarmed' (Trainee Firea)"), +(1862900, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 274, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'No'"), +(1862900, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 60, 0, 0, 0, 0, 0, 19, 18626, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Kick' (Trainee Alcor)"), +(1862900, 9, 8, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 60, 0, 0, 0, 0, 0, 19, 18627, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Kick' (Trainee Firea)"), +(1862900, 9, 9, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Point'"), +(1862900, 9, 10, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 36, 0, 0, 0, 0, 0, 19, 18626, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Attack1H' (Trainee Alcor)"), +(1862900, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 5, 36, 0, 0, 0, 0, 0, 19, 18627, 0, 0, 0, 0, 0, 0, "Instructor Ciel - On Script - Emote 'Attack1H' (Trainee Firea)"); diff --git a/sql/updates/world/master/2020_09_12_00_world_2017_09_25_00_world.sql b/sql/updates/world/master/2020_09_12_00_world_2017_09_25_00_world.sql new file mode 100644 index 000000000..5836a7ff7 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_00_world_2017_09_25_00_world.sql @@ -0,0 +1,62 @@ +UPDATE `creature_template` SET `unit_flags`=33587264, `InhabitType`=4 WHERE `entry` IN (29310,31465); -- Jedoga +UPDATE `creature` SET `MovementType`=0, `spawndist`=0 WHERE `guid`=131953; +UPDATE `creature_addon` SET `auras`='56075 56327' WHERE `guid`=131953; -- Jedoga +UPDATE `creature_template` SET `ScriptName`='npc_twilight_volunteer' WHERE `entry`=30385; +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry` IN(30114,30181); +DELETE FROM `creature` WHERE `id` IN(30114,30181); +DELETE FROM `creature_addon` WHERE `guid` IN (132063,132066,132067,132068,132069,132070,132071,132072,132065); +DELETE FROM `linked_respawn` WHERE `guid` IN (131997,131998,131999,132000,132001,132002,132003,132004,132005,132006,132007,132008,132009,132010,132011); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (56312); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,56312,0,0,31,0,3,29310,0,0,0,'','Spell \'Beam Visual\' targets Jedoga Shadowseeker'); + +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_random_lightning_visual_effect'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(56328,'spell_random_lightning_visual_effect'); + +DELETE FROM `creature_text` WHERE `CreatureID`=30385; +INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES +(30385,0,0,'I have been chosen!',14,0,100,0,0,0,31179,0,'SAY_CHOSEN'), +(30385,1,0,'I give myself to the master!',14,0,100,0,0,0,30863,0,'SAY_SACRIFICED'); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=29310 AND `groupId`=1; +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(29310,0,1,30114, 362.458, -714.166, -16.0964, 0.977384,6,3000), +(29310,0,1,30114, 368.781, -713.932, -16.0964, 1.46608,6,3000), +(29310,0,1,30114, 364.937, -716.11, -16.0964, 1.25664,6,3000), +(29310,0,1,30114, 362.02, -719.828, -16.0964, 1.20428,6,3000), +(29310,0,1,30114, 368.151, -719.763, -16.0964, 1.53589,6,3000), +(29310,0,1,30114, 392.276, -695.895, -16.0964, 3.40339,6,3000), +(29310,0,1,30114, 387.224, -698.006, -16.0964, 3.36848,6,3000), +(29310,0,1,30114, 389.626, -702.3, -16.0964, 3.07178,6,3000), +(29310,0,1,30114, 383.812, -700.41, -16.0964, 3.15905,6,3000), +(29310,0,1,30114, 385.693, -694.376, -16.0964, 3.59538,6,3000), +(29310,0,1,30114, 379.204, -716.697, -16.0964, 2.1293,6,3000), +(29310,0,1,30114, 375.4, -711.434, -16.0964, 2.09439,6,3000), +(29310,0,1,30114, 382.583, -711.713, -16.0964, 2.53073,6,3000), +(29310,0,1,30114, 379.049, -712.899, -16.0964, 2.28638,6,3000), +(29310,0,1,30114, 378.424, -708.388, -16.0964, 2.58309,6,3000); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=29310 AND `groupId`=2; +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(29310,0,2,30111,427.3021,-717.3993,-17.95177,2.70526,7,0), +(29310,0,2,30111,429.7342,-712.1823,-17.95688,2.86234,7,0), +(29310,0,2,30111,434.4365,-709.4752,-17.96144,2.949606,7,0), +(29310,0,2,30111,434.0043,-702.8975,-17.95797,3.124139,7,0), +(29310,0,2,30111,439.9826,-699.0701,-17.95278,3.193953,7,0), +(29310,0,2,30111,381.8384,-773.3898,-17.95301,1.762783,7,0), +(29310,0,2,30111,387.0695,-770.9496,-17.95761,1.972222,7,0), +(29310,0,2,30111,392.5775,-765.6364,-17.95891,2.251475,7,0), +(29310,0,2,30111,394.3542,-760.8108,-17.95462,2.443461,7,0), +(29310,0,2,30111,388.3078,-766.784,-17.96076,2.094395,7,0); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=29308 AND `groupId`=1; +INSERT INTO `creature_summon_groups` (`summonerId`,`summonerType`,`groupId`,`entry`,`position_x`,`position_y`,`position_z`,`orientation`,`summonType`,`summonTime`) VALUES +(29308,0,1,30181,519.146,-792.274,49.4627,4.15388,8,0), +(29308,0,1,30181,542.994,-762.115,36.0509,1.32645,8,0), +(29308,0,1,30181,599.617,-762.315,35.3111,1.71042,8,0), +(29308,0,1,30181,506.573,-890.563,45.1763,3.35103,8,0), +(29308,0,1,30181,632.232,-774.304,34.0595,0.750492,8,0), +(29308,0,1,30181,489.944,-851.356,52.09,4.95674,8,0), +(29308,0,1,30181,655.409,-814.264,35.2257,0.436332,8,0); diff --git a/sql/updates/world/master/2020_09_12_01_world_2017_09_25_01_world.sql b/sql/updates/world/master/2020_09_12_01_world_2017_09_25_01_world.sql new file mode 100644 index 000000000..4fefad6c6 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_01_world_2017_09_25_01_world.sql @@ -0,0 +1,6 @@ +UPDATE `creature` SET `position_x`=340.1726, `position_y`=-878.5924, `position_z`=-74.86385, `orientation`=0.3316126 WHERE `id`=30258; +UPDATE `creature_template` SET `InhabitType`=12, `flags_extra`=0 WHERE `entry` IN(30391,31461,30435,31462); + +DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_amanitar_potent_fungus'; +INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES +(56648,'spell_amanitar_potent_fungus'); diff --git a/sql/updates/world/master/2020_09_12_02_world_2017_09_26_00_world.sql b/sql/updates/world/master/2020_09_12_02_world_2017_09_26_00_world.sql new file mode 100644 index 000000000..dd0910457 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_02_world_2017_09_26_00_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `id`=31786; +DELETE FROM `creature_template_addon` WHERE `entry`=31786; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(31786, 0, 0, 0, 0, 0, "35357 46011"); +UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `entry`=31776; diff --git a/sql/updates/world/master/2020_09_12_03_world_2017_09_26_01_world.sql b/sql/updates/world/master/2020_09_12_03_world_2017_09_26_01_world.sql new file mode 100644 index 000000000..623c9e267 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_03_world_2017_09_26_01_world.sql @@ -0,0 +1,3 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=3296 AND `source_type`=0 AND `id`=1; +DELETE FROM `creature_text` WHERE `CreatureID`=3296 AND `GroupID`=0; diff --git a/sql/updates/world/master/2020_09_12_04_world_2017_09_26_02_world.sql b/sql/updates/world/master/2020_09_12_04_world_2017_09_26_02_world.sql new file mode 100644 index 000000000..29161f183 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_04_world_2017_09_26_02_world.sql @@ -0,0 +1,11 @@ +-- +-- Fix gossip texts for Shawn +DELETE FROM `gossip_menu` WHERE `MenuID`=1622; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(1622,2276,25881), +(1622,2277,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup` IN (1622); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 1622, 2276, 0, 0, 8, 0, 26508, 0, 0, 1, 0, 0, "", "Show gossip text 2276 if quest 'Nida's Necklace' is NOT rewarded"), +(14, 1622, 2277, 0, 0, 8, 0, 26508, 0, 0, 0, 0, 0, "", "Show gossip text 2277 if quest 'Nida's Necklace' is rewarded"); diff --git a/sql/updates/world/master/2020_09_12_05_world_2017_09_26_05_world_335.sql b/sql/updates/world/master/2020_09_12_05_world_2017_09_26_05_world_335.sql new file mode 100644 index 000000000..2f359074d --- /dev/null +++ b/sql/updates/world/master/2020_09_12_05_world_2017_09_26_05_world_335.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `event_type`=19, `event_param1`=4442, `comment`="Eridan Bluewind - On Quest \'Purified!'\ Taken - Run Script" WHERE `entryorguid`=9116 AND `source_type`=0; diff --git a/sql/updates/world/master/2020_09_12_06_world_2017_09_26_03_world.sql b/sql/updates/world/master/2020_09_12_06_world_2017_09_26_03_world.sql new file mode 100644 index 000000000..cf4dfd641 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_06_world_2017_09_26_03_world.sql @@ -0,0 +1,22 @@ +-- Improve completion event for quest "Seeking Spiritual Aid" +UPDATE `creature_text` SET `Type`=12 WHERE `CreatureID`=5901 AND `GroupID`=0; +UPDATE `creature_text` SET `Emote`=2 WHERE `CreatureID`=5901 AND `GroupID`=1; + +DELETE FROM `creature_text` WHERE `CreatureID`=11256; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(11256,0,0,"We have heard your requests, and we agree... it is noble in intent. We will purify your waters. Go with our blessing, shaman.",12,12,100,0,0,0,6607,0,"Manifestation of Water"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=590100 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(590100,9,0,0,0,0,100,0,0,0,0,0,83,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Islen Waterseer - On Script - Remove Npc Flag Gossip+Questgiver"), +(590100,9,1,0,0,0,100,0,1000,1000,0,0,69,0,0,0,0,0,0,8,0,0,0,-1345.16,-4065.02,-0.49,4.73,"Islen Waterseer - On Script - Move To Position"), +(590100,9,2,0,0,0,100,0,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Islen Waterseer - On Script - Say Line 0"), +(590100,9,3,0,0,0,100,0,7000,7000,0,0,12,11256,3,20000,0,0,0,8,0,0,0,-1346.59,-4076.39,-1.23,1.6,"Islen Waterseer - On Script - Summon Creature \'Manifestation of Water\'"), +(590100,9,4,0,0,0,100,0,9000,9000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Islen Waterseer - On Script - Say Line 1"), +(590100,9,5,0,0,0,100,0,4000,4000,0,0,69,0,0,0,0,0,0,8,0,0,0,-1345,-4048,6.09,4.34,"Islen Waterseer - On Script - Move To Position"), +(590100,9,6,0,0,0,100,0,5000,5000,0,0,82,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Islen Waterseer - On Script - Add Npc Flag Gossip+Questgiver"), +(590100,9,7,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Islen Waterseer - On Script - Set Orientation"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=11256 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 +(11256,0,0,0,1,0,100,1,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Manifestation of Water - Out of Combat - Say Line 0"); diff --git a/sql/updates/world/master/2020_09_12_07_world_2017_09_26_04_world_335.sql b/sql/updates/world/master/2020_09_12_07_world_2017_09_26_04_world_335.sql new file mode 100644 index 000000000..2d8151f3c --- /dev/null +++ b/sql/updates/world/master/2020_09_12_07_world_2017_09_26_04_world_335.sql @@ -0,0 +1,2 @@ +-- +UPDATE `quest_offer_reward` SET `RewardText`="You gather the paladin\'s remains as carefully as you can, recalling that at least his spirit has been released from any pain or suffering that might have been forced upon him." WHERE `ID`=5204; diff --git a/sql/updates/world/master/2020_09_12_08_world_2017_09_26_08_world_335.sql b/sql/updates/world/master/2020_09_12_08_world_2017_09_26_08_world_335.sql new file mode 100644 index 000000000..5d874b121 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_08_world_2017_09_26_08_world_335.sql @@ -0,0 +1,21 @@ +-- Fix gossip menu for Aurora Skycaller +DELETE FROM `gossip_menu` WHERE `MenuID` IN (4743, 4744, 4745); +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(4743,5795,0), +(4743,5816,0), +(4743,5817,0), +(4743,5818,0), +(4744,5796,0), +(4745,5797,0); + +DELETE FROM `gossip_menu_option_action` WHERE `MenuId`=4743 AND `OptionIndex` IN (0,1); +INSERT INTO `gossip_menu_option_action` (`MenuId`,`OptionIndex`,`ActionMenuId`) VALUES +(4743,0,4744), +(4743,1,4745); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`= 14 AND `SourceGroup`= 4743; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,4743,5816,0,0,8,0,5245,0,0,1,0,0,'',"Aurora Skycaller - Show Gossip Menu Text 5816 if Quest 5245 is NOT rewarded"), +(14,4743,5795,0,0,6,0,67,0,0,0,0,0,'',"Aurora Skycaller - Show Gossip Menu Text 5795 if Player is Horde"), +(14,4743,5817,0,0,8,0,5245,0,0,0,0,0,'',"Aurora Skycaller - Show Gossip Menu Text 5817 if Quest 5245 is rewarded"), +(14,4743,5818,0,0,8,0,5247,0,0,0,0,0,'',"Aurora Skycaller - Show Gossip Menu Text 5818 if Quest 5247 is rewarded"); diff --git a/sql/updates/world/master/2020_09_12_09_world_2017_09_26_13_world.sql b/sql/updates/world/master/2020_09_12_09_world_2017_09_26_13_world.sql new file mode 100644 index 000000000..dfa45c93a --- /dev/null +++ b/sql/updates/world/master/2020_09_12_09_world_2017_09_26_13_world.sql @@ -0,0 +1,8 @@ +-- Ol' Beasley --> Add more texts +DELETE FROM `creature_text` WHERE `CreatureID`=1395 AND `GroupID`=0 AND `ID`>2; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1395,0,3,"Could ye spare some coin?",12,7,100,0,0,0,179,0,"Ol\' Beasley"), +(1395,0,4,"Help a poor bloke out?",12,7,100,0,0,0,183,0,"Ol\' Beasley"), +(1395,0,5,"Shine yer armor for a copper.",12,7,100,0,0,0,185,0,"Ol\' Beasley"), +(1395,0,6,"It\'s all their fault, stupid orcs. Had to burn my farm to the ground.",12,7,100,0,0,0,187,0,"Ol\' Beasley"), +(1395,0,7,"Alms for the poor?",12,7,100,0,0,0,181,0,"Ol\' Beasley"); diff --git a/sql/updates/world/master/2020_09_12_10_world_2017_09_26_14_world.sql b/sql/updates/world/master/2020_09_12_10_world_2017_09_26_14_world.sql new file mode 100644 index 000000000..3824b54c6 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_10_world_2017_09_26_14_world.sql @@ -0,0 +1,8 @@ +-- Morris Lawry --> Add more texts +DELETE FROM `creature_text` WHERE `CreatureID`=1405 AND `GroupID`=0 AND `ID`>2; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1405,0,3,"It\'s all their fault, stupid Alliance army. Just had to build their towers right behind my farm.",12,7,100,0,0,0,186,0,"Morris Lawry"), +(1405,0,4,"Spare some change for a poor blind man? ...What do you mean I\'m not blind? ...I\'M NOT BLIND! I CAN SEE!! It\'s a miracle!",12,7,100,0,0,0,184,0,"Morris Lawry"), +(1405,0,5,"I will gladly pay you Tuesday for a hamburger today.",12,7,100,0,0,0,182,0,"Morris Lawry"), +(1405,0,6,"It\'s all their fault, stupid orcs. Had to burn my farm to the ground.",12,7,100,0,0,0,187,0,"Morris Lawry"), +(1405,0,7,"Alms for the poor?",12,7,100,0,0,0,181,0,"Morris Lawry"); diff --git a/sql/updates/world/master/2020_09_12_11_world_2017_09_26_15_world_335.sql b/sql/updates/world/master/2020_09_12_11_world_2017_09_26_15_world_335.sql new file mode 100644 index 000000000..3021b6a1f --- /dev/null +++ b/sql/updates/world/master/2020_09_12_11_world_2017_09_26_15_world_335.sql @@ -0,0 +1,300 @@ +-- Felpaw Wolf +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8959; +DELETE FROM `smart_scripts` WHERE `entryorguid`=8959 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 +(8959,0,0,0,9,0,100,0,0,5,8000,14000,11,3427,32,0,0,0,0,2,0,0,0,0,0,0,0,"Felpaw Wolf - Within 0-5 Range - Cast Infected Wound"); + +-- Felpaw Scavenger +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8960; +DELETE FROM `smart_scripts` WHERE `entryorguid`=8960 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 +(8960,0,0,0,9,0,100,0,0,5,8000,14000,11,3427,32,0,0,0,0,2,0,0,0,0,0,0,0,"Felpaw Scavenger - Within 0-5 Range - Cast Infected Wound"), +(8960,0,1,0,9,0,100,0,0,5,20000,25000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Felpaw Scavenger - Within 0-5 Range - Cast Tendon Rip"); + +-- Felpaw Ravager +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=8961; +DELETE FROM `smart_scripts` WHERE `entryorguid`=8961 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 +(8961,0,0,0,0,0,100,0,8000,12000,15000,20000,11,3391,0,0,0,0,0,2,0,0,0,0,0,0,0,"Felpaw Ravager - In Combat - Cast Thrash"), +(8961,0,1,0,9,0,100,0,0,5,8000,14000,11,3427,32,0,0,0,0,2,0,0,0,0,0,0,0,"Felpaw Ravager - Within 0-5 Range - Cast Infected Wound"); + +-- Death Howl +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14339; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14339 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 +(14339,0,0,0,9,0,100,0,0,5,12000,15000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Death Howl - Within 0-5 Range - Cast Tendon Rip"), +(14339,0,1,0,0,0,100,0,7000,11000,35000,39000,11,75355,0,0,0,0,0,1,0,0,0,0,0,0,0,"Death Howl - In Combat - Cast Horrifying Howl"), +(14339,0,2,0,0,0,100,0,4000,6000,8000,14000,11,3427,32,0,0,0,0,2,0,0,0,0,0,0,0,"Death Howl - In Combat - Cast Infected Wound"); + +-- Ironbeak Owl +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7097; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7097 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 +(7097,0,0,0,9,0,100,0,0,5,8000,11000,11,5708,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ironbeak Owl - Within 0-5 Range - Cast Swoop"); + +-- Ironbeak Screecher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7098; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7098 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 +(7098,0,0,0,9,0,100,0,0,10,13000,16000,11,3589,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ironbeak Screecher - Within 0-10 Range - Cast Deafening Screech"); + +-- Ironbeak Hunter +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7099; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7099 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 +(7099,0,0,0,9,0,100,0,0,5,21000,24000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ironbeak Hunter - Within 0-5 Range - Cast Rend"); + +-- Angerclaw Grizzly +DELETE FROM `smart_scripts` WHERE `entryorguid`=8957 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 +(8957,0,2,0,0,0,100,0,6000,8000,12000,16000,11,8716,0,0,0,0,0,2,0,0,0,0,0,0,0,"Angerclaw Grizzly - In Combat - Cast Low Swipe"); + +-- Angerclaw Mauler +DELETE FROM `smart_scripts` WHERE `entryorguid`=8958 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(8958,0,0,0,9,0,100,0,0,5,5000,8000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Angerclaw Mauler - Within 0-5 Range - Cast Maul"); + +-- Deadwood Warrior +DELETE FROM `smart_scripts` WHERE `entryorguid`=7153 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 +(7153,0,1,0,0,0,100,0,4000,11000,12000,15000,11,13583,32,0,0,0,0,2,0,0,0,0,0,0,0,"Deadwood Warrior - In Combat - Cast Curse of the Deadwood"); + +-- Deadwood Gardener +DELETE FROM `smart_scripts` WHERE `entryorguid`=7154 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7154,0,0,0,0,0,100,0,4000,11000,12000,15000,11,13583,32,0,0,0,0,2,0,0,0,0,0,0,0,"Deadwood Gardener - In Combat - Cast Curse of the Deadwood"); + +-- Overlord Ror +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9464; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9464 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 +(9464,0,0,0,9,0,100,0,0,5,5000,8000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Overlord Ror - Within 0-5 Range - Cast Maul"), +(9464,0,1,0,0,0,100,0,8000,12000,17000,21000,11,14100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Overlord Ror - In Combat - Cast Terrifying Roar"), +(9464,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Overlord Ror - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Ragepaw +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14342; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14342 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 +(14342,0,0,0,9,0,100,0,0,5,6000,9000,11,13584,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ragepaw - Within 0-5 Range - Cast Strike"), +(14342,0,1,0,0,0,100,0,4000,11000,12000,15000,11,13583,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ragepaw - In Combat - Cast Curse of the Deadwood"); + +-- Jadefire Satyr +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7105; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7105 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 +(7105,0,0,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Satyr - In Combat - Cast Jadefire"); + +-- Jadefire Rogue +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7106; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7106 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 +(7106,0,0,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Rogue - In Combat - Cast Jadefire"), +(7106,0,1,0,67,0,100,0,6000,11000,0,0,11,7159,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Rogue - On Behind Target - Cast Backstab"), +(7106,0,2,0,0,0,100,0,4000,7000,9000,12000,11,13579,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Rogue - In Combat - Cast Gouge"); + +-- Jadefire Trickster +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7107; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7107 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 +(7107,0,0,0,0,0,100,0,5000,9000,21000,25000,11,13338,0,0,0,0,0,4,0,0,0,0,0,0,0,"Jadefire Trickster - In Combat - Cast Curse of Tongues"), +(7107,0,1,0,9,0,100,0,0,30,120000,125000,11,11980,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Trickster - Within 0-30 Range - Cast Curse of Weakness"), +(7107,0,2,0,0,0,100,0,9000,14000,15000,18000,11,12888,0,0,0,0,0,5,0,0,0,0,0,0,0,"Jadefire Trickster - In Combat - Cast Cause Insanity"), +(7107,0,3,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Trickster - In Combat - Cast Jadefire"); + +-- Jadefire Betrayer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7108; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7108 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 +(7108,0,0,0,9,0,100,0,0,5,7000,11000,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Betrayer - Within 0-5 Range - Cast Cleave"), +(7108,0,1,0,0,0,100,0,5000,8000,18000,22000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Betrayer - In Combat - Cast Rend"), +(7108,0,2,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Betrayer - In Combat - Cast Jadefire"); + +-- Jadefire Felsworn +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7109; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7109 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 +(7109,0,0,0,0,0,100,0,0,0,3400,4700,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Felsworn - In Combat - Cast Shadow Bolt"), +(7109,0,1,0,0,0,100,0,6000,9000,16000,19000,11,13578,2,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Felsworn - In Combat - Cast Jadefire"), +(7109,0,2,0,0,0,100,0,7000,11000,21000,24000,11,11443,2,0,0,0,0,4,0,0,0,0,0,0,0,"Jadefire Felsworn - In Combat - Cast Cripple"); + +-- Jadefire Hellcaller +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7111; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7111 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 +(7111,0,0,0,0,0,100,0,0,0,3400,4800,11,20823,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jadefire Hellcaller - In Combat CMC - Cast Fireball"), +(7111,0,1,0,0,0,100,0,9000,13000,18000,22000,11,11990,1,0,0,0,0,4,0,0,0,0,0,0,0,"Jadefire Hellcaller - In Combat - Cast Rain of Fire"), +(7111,0,2,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jadefire Hellcaller - In Combat - Cast Jadefire"); + +-- Alshirr Banebreath +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14340; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14340 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 +(14340,0,0,0,0,0,100,0,0,0,3400,4700,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Alshirr Banebreath - In Combat - Cast Shadow Bolt"), +(14340,0,1,0,0,0,100,0,6000,9000,16000,19000,11,13578,2,0,0,0,0,1,0,0,0,0,0,0,0,"Alshirr Banebreath - In Combat - Cast Jadefire"), +(14340,0,2,0,0,0,100,0,9000,13000,19000,22000,11,11962,2,0,0,0,0,4,0,0,0,0,0,0,0,"Alshirr Banebreath - In Combat - Cast Immolate"); + +-- Tainted Ooze +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7092; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7092 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 +(7092,0,0,0,9,0,100,0,0,5,180000,180000,11,3335,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tainted Ooze - Within 0-5 Range - Cast Dark Sludge"); + +-- Vile Ooze +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7093; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7093 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 +(7093,0,0,0,0,0,100,0,0,0,3400,4700,11,21067,64,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Ooze - In Combat - Cast Poison Bolt"), +(7093,0,1,0,9,0,100,0,0,5,11000,14000,11,22595,2,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Ooze - Within 0-5 Range - Cast Poison Shock"); + +-- The Ongar +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14345; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14345 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 +(14345,0,0,0,9,0,100,0,0,5,180000,180000,11,3335,0,0,0,0,0,2,0,0,0,0,0,0,0,"The Ongar - Within 0-5 Range - Cast Dark Sludge"); + +-- Jaedenar Cultist +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7112; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7112 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 +(7112,0,0,0,0,0,100,0,0,0,3400,4700,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Cultist - In Combat - Cast Shadow Bolt"), +(7112,0,1,0,0,0,100,0,9000,14000,22000,25000,11,11639,2,0,0,0,0,4,0,0,0,0,0,0,0,"Jaedenar Cultist - In Combat - Cast Shadow Word: Pain"), +(7112,0,2,0,0,0,100,0,6000,9000,16000,19000,11,11980,2,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Cultist - In Combat - Cast Curse of Weakness"), +(7112,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jaedenar Cultist - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Jaedenar Adept +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7115; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7115 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 +(7115,0,0,0,0,0,100,0,0,0,3400,4700,11,20823,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Adept - In Combat - Cast Fireball"), +(7115,0,1,0,0,0,100,0,11000,15000,12000,16000,11,20832,2,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Adept - In Combat - Cast Fire Blast"), +(7115,0,2,0,9,0,100,0,0,5,16000,21000,11,14514,2,0,0,0,0,1,0,0,0,0,0,0,0,"Jaedenar Adept - Within 0-5 Range - Cast Blink"), +(7115,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jaedenar Adept - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Jaedenar Guardian +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7113; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7113 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 +(7113,0,0,0,9,0,100,0,0,5,9000,13000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Guardian - Within 0-5 Range - Cast Shield Bash"), +(7113,0,1,0,0,0,100,0,5000,9000,13000,17000,11,3248,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jaedenar Guardian - In Combat - Cast Improved Blocking"); + +-- Jaedenar Hound +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7125; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7125 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 +(7125,0,0,0,9,0,100,0,0,30,9000,15000,11,13321,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Hound - Within 0-30 Range - Cast Mana Burn"); + +-- Jaedenar Enforcer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7114; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7114 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 +(7114,0,0,0,9,0,100,0,0,5,17000,21000,11,11977,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Enforcer - Within 0-5 Range - Cast Rend"); + +-- Jaedenar Darkweaver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7118; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7118 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 +(7118,0,0,0,0,0,100,0,0,0,3400,4700,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Darkweaver - In Combat - Cast Shadow Bolt"), +(7118,0,1,0,0,0,100,0,9000,13000,21000,26000,11,11962,2,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Darkweaver - In Combat - Cast Immolate"), +(7118,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jaedenar Darkweaver - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Jaedenar Legionnaire +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9862; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9862 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 +(9862,0,0,0,9,0,100,0,0,8,12000,17000,11,10966,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jaedenar Legionnaire - Within 0-8 Range - Cast Uppercut"); + +-- Prince Xavalis +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9877; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9877 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 +(9877,0,0,0,0,0,100,0,9000,13000,19000,22000,11,11962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Prince Xavalis - In Combat - Cast Immolate"), +(9877,0,1,0,0,0,100,0,6000,9000,16000,19000,11,13578,0,0,0,0,0,2,0,0,0,0,0,0,0,"Prince Xavalis - In Combat - Cast Jadefire"); + +-- Rakaiah +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9518; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9518 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 +(9518,0,0,0,9,0,100,0,0,5,5000,9000,11,15968,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rakaiah - Within 0-5 Range - Cast Lash of Pain"), +(9518,0,1,0,0,0,100,0,5000,8000,14000,19000,11,17227,32,0,0,0,0,2,0,0,0,0,0,0,0,"Rakaiah - In Combat - Cast Curse of Weakness"); + +-- Shadow Lord Feldan +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9517; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9517 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 +(9517,0,0,0,0,0,100,0,0,0,3400,4700,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Shadow Lord Feldan - In Combat - Cast Shadow Bolt"), +(9517,0,1,0,0,0,100,0,9000,14000,11000,15000,11,9081,2,0,0,0,0,1,0,0,0,0,0,0,0,"Shadow Lord Feldan - In Combat - Cast Shadow Bolt Volley"), +(9517,0,2,0,0,0,100,0,12000,16000,10000,13000,11,16583,2,0,0,0,0,2,0,0,0,0,0,0,0,"Shadow Lord Feldan - In Combat - Cast Shadow Shock"); + +-- Ur'dan +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14522; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14522 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 +(14522,0,0,0,1,0,100,1,1000,1000,0,0,11,11939,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ur\'dan - Out of Combat - Cast Summon Imp (No Repeat)"), +(14522,0,1,0,0,0,100,0,0,0,2400,3800,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ur\'dan - In Combat CMC - Cast Shadow Bolt"), +(14522,0,2,0,2,0,100,1,0,30,0,0,11,8699,1,0,0,0,0,1,0,0,0,0,0,0,0,"Ur\'dan - Between 0-30% Health - Cast Unholy Frenzy (No Repeat)"), +(14522,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ur\'dan - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Entropic Beast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=9878; +DELETE FROM `smart_scripts` WHERE `entryorguid`=9878 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 +(9878,0,0,0,9,0,100,0,0,30,25000,28000,11,15661,0,0,0,0,0,2,0,0,0,0,0,0,0,"Entropic Beast - Within 0-30 Range - Cast Immolate"); + +-- Immolatus +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7137; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7137 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 +(7137,0,0,0,9,0,100,0,0,8,10000,14000,11,10101,0,0,0,0,0,2,0,0,0,0,0,0,0,"Immolatus - Within 0-8 Range - Cast Knock Away"); + +-- Toxic Horror +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7132; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7132 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 +(7132,0,0,0,9,0,100,0,0,5,8000,16000,11,7947,0,0,0,0,0,2,0,0,0,0,0,0,0,"Toxic Horror - Within 0-5 Range - Cast Localized Toxin"), +(7132,0,1,0,0,0,100,0,6000,9000,12000,18000,11,13582,0,0,0,0,0,2,0,0,0,0,0,0,0,"Toxic Horror - In Combat - Cast Deadly Poison"); + +-- Warpwood Moss Flayer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7100; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7100 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 +(7100,0,0,0,9,0,100,0,0,30,21000,25000,11,11922,0,0,0,0,0,4,0,0,0,0,0,0,0,"Warpwood Moss Flayer - Within 0-30 Range - Cast Entangling Roots"); + +-- Warpwood Shredder +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7101; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7101 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 +(7101,0,0,0,0,0,100,0,8000,12000,15000,20000,11,3391,0,0,0,0,0,2,0,0,0,0,0,0,0,"Warpwood Shredder - In Combat - Cast Thrash"), +(7101,0,1,0,9,0,100,0,0,5,8000,12000,11,13444,0,0,0,0,0,2,0,0,0,0,0,0,0,"Warpwood Shredder - Within 0-5 Range - Cast Sunder Armor"); + +-- Dessecus +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7104; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7104 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 +(7104,0,0,0,9,0,100,0,0,30,6000,10000,11,12058,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dessecus - Within 0-30 Range - Cast Chain Lightning"), +(7104,0,1,0,0,0,100,0,6000,11000,16000,21000,11,8293,0,0,0,0,0,4,0,0,0,0,0,0,0,"Dessecus - In Combat - Cast Lightning Cloud"); + +-- Deadwood Den Watcher +DELETE FROM `smart_scripts` WHERE `entryorguid`=7156 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7156,0,0,0,0,0,100,0,4000,11000,12000,15000,11,13583,32,0,0,0,0,2,0,0,0,0,0,0,0,"Deadwood Warrior - In Combat - Cast Curse of the Deadwood"); + +-- Deadwood Avenger +DELETE FROM `smart_scripts` WHERE `entryorguid`=7157 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7157,0,0,0,0,0,100,0,4000,11000,12000,15000,11,13583,32,0,0,0,0,2,0,0,0,0,0,0,0,"Deadwood Warrior - In Combat - Cast Curse of the Deadwood"); + +-- Deadwood Shaman +DELETE FROM `smart_scripts` WHERE `entryorguid`=7158 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 +(7158,0,0,0,0,0,100,0,0,0,3400,4700,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deadwood Shaman - In Combat - Cast Lightning Bolt"), +(7158,0,1,0,0,0,100,0,4000,11000,12000,15000,11,13583,2,0,0,0,0,4,0,0,0,0,0,0,0,"Deadwood Shaman - In Combat - Cast Curse of the Deadwood"), +(7158,0,2,0,0,0,100,0,5500,9500,6500,9500,11,12058,2,0,0,0,0,4,0,0,0,0,0,0,0,"Deadwood Shaman - In Combat - Cast Chain Lightning"), +(7158,0,3,0,1,0,100,0,500,1000,600000,600000,11,13585,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deadwood Shaman - Out of Combat - Cast Lightning Shield"), +(7158,0,4,0,16,0,100,0,13585,1,15000,30000,11,13585,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deadwood Shaman - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield"); + +-- Winterfall Runner +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10916; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10916 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 +(10916,0,0,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Runner - Out of Combat - Cast Winterfall Firewater"); diff --git a/sql/updates/world/master/2020_09_12_12_world_2017_09_26_16_world_335.sql b/sql/updates/world/master/2020_09_12_12_world_2017_09_26_16_world_335.sql new file mode 100644 index 000000000..a31c5d218 --- /dev/null +++ b/sql/updates/world/master/2020_09_12_12_world_2017_09_26_16_world_335.sql @@ -0,0 +1,328 @@ + +-- Winterfall Ursa +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7438; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7438 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 +(7438,0,0,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Ursa - Out of Combat - Cast Winterfall Firewater"); + +-- Winterfall Shaman +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7439; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7439 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 +(7439,0,0,0,0,0,100,0,0,0,3400,4700,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Winterfall Shaman - In Combat - Cast Lightning Bolt"), +(7439,0,1,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Shaman - Out of Combat - Cast Winterfall Firewater"), +(7439,0,2,0,1,0,100,0,500,1000,600000,600000,11,13585,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Shaman - Out of Combat - Cast Lightning Shield"), +(7439,0,3,0,16,0,100,0,13585,1,15000,30000,11,13585,1,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Shaman - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield"), +(7439,0,4,0,2,0,100,0,0,40,14000,21000,11,11431,1,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Shaman - Between 0-40% Health - Cast Healing Touch"), +(7439,0,5,0,14,0,100,0,800,40,15000,18000,11,11431,1,0,0,0,0,7,0,0,0,0,0,0,0,"Winterfall Shaman - Friendly At 800 Health - Cast Healing Touch"); + +-- Winterfall Den Watcher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7440; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7440 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 +(7440,0,0,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Den Watcher - Out of Combat - Cast Winterfall Firewater"); + +-- Winterfall Totemic +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7441; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7441 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 +(7441,0,0,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Totemic - Out of Combat - Cast Winterfall Firewater"), +(7441,0,1,0,0,0,100,0,6000,9000,45000,50000,11,15786,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Totemic - In Combat - Cast Earthbind Totem"), +(7441,0,2,0,0,0,100,0,6000,9000,22000,25000,11,15787,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Totemic - In Combat - Cast Moonflare Totem"); + +-- Winterfall Pathfinder +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7442; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7442 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 +(7442,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Winterfall Pathfinder - In Combat - Cast Shoot"), +(7442,0,1,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterfall Pathfinder - Out of Combat - Cast Winterfall Firewater"), +(7442,0,2,0,0,0,100,0,6000,8000,22000,25000,11,16498,0,0,0,0,0,2,0,0,0,0,0,0,0,"Winterfall Pathfinder - In Combat - Cast Faerie Fire"); + +-- High Chief Winterfall +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10738; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10738 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 +(10738,0,0,0,9,0,100,0,0,5,12000,17000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"High Chief Winterfall - Within 0-5 Range - Cast Maul"), +(10738,0,1,0,9,0,100,0,0,20,15000,25000,11,12548,0,0,0,0,0,2,0,0,0,0,0,0,0,"High Chief Winterfall - Within 0-20 Range - Cast Frost Shock"), +(10738,0,2,0,0,0,100,0,5000,7000,24000,25000,11,8364,0,0,0,0,0,4,0,0,0,0,0,0,0,"High Chief Winterfall - In Combat - Cast Blizzard"), +(10738,0,3,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"High Chief Winterfall - Out of Combat - Cast Winterfall Firewater"); + +-- Grizzle Snowpaw +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10199; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10199 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 +(10199,0,0,0,9,0,100,0,0,5,12000,17000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Grizzle Snowpaw - Within 0-5 Range - Cast Maul"), +(10199,0,1,0,9,0,100,0,0,20,15000,25000,11,12548,0,0,0,0,0,2,0,0,0,0,0,0,0,"Grizzle Snowpaw - Within 0-20 Range - Cast Frost Shock"), +(10199,0,2,0,0,0,100,0,5000,7000,24000,25000,11,8364,0,0,0,0,0,4,0,0,0,0,0,0,0,"Grizzle Snowpaw - In Combat - Cast Blizzard"), +(10199,0,3,0,1,0,100,0,1000,1000,1200000,1200000,11,17205,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grizzle Snowpaw - Out of Combat - Cast Winterfall Firewater"); + +-- Shardtooth Mauler +DELETE FROM `smart_scripts` WHERE `entryorguid`=7443 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 +(7443,0,0,0,0,0,100,0,4000,6000,8000,10000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shardtooth Mauler - In Combat - Cast Maul"); + +-- Shardtooth Bear +DELETE FROM `smart_scripts` WHERE `entryorguid`=7444 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 +(7444,0,0,0,0,0,100,0,5000,8000,9000,12000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shardtooth Bear - In Combat - Cast Tendon Rip"); + +-- Elder Shardtooth +DELETE FROM `smart_scripts` WHERE `entryorguid`=7445 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 +(7445,0,0,0,9,0,100,0,0,5,12000,19000,11,15971,0,0,0,0,0,1,0,0,0,0,0,0,0,"Elder Shardtooth - Within 0-5 Range - Cast Demoralizing Roar"); + +-- Ursius +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10806; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10806 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 +(10806,0,0,0,9,0,100,0,0,5,12000,17000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ursius - Within 0-5 Range - Cast Maul"), +(10806,0,1,0,0,0,100,0,6000,8000,33000,35000,11,15971,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ursius - In Combat - Cast Demoralizing Roar"); + +-- Rogue Ice Thistle +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7457; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7457 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 +(7457,0,0,0,9,0,100,0,0,5,3000,6000,11,3604,32,0,0,0,0,2,0,0,0,0,0,0,0,"Rogue Ice Thistle - Within 0-5 Range - Cast Tendon Rip"); + +-- Ice Thistle Yeti +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7458; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7458 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 +(7458,0,0,0,0,0,100,0,6000,12000,18000,21000,11,15878,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Thistle Yeti - In Combat - Cast Ice Blast"), +(7458,0,1,0,0,0,100,0,4000,6000,19000,26000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Thistle Yeti - In Combat - Cast Tendon Rip"); + +-- Ice Thistle Matriarch +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7459; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7459 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 +(7459,0,0,0,0,0,100,0,6000,12000,18000,21000,11,15878,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Thistle Matriarch - In Combat - Cast Ice Blast"), +(7459,0,1,0,4,0,100,1,0,0,0,0,11,6268,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ice Thistle Matriarch - On Aggro - Cast Rushing Charge"); + +-- Ice Thistle Patriarch +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7460; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7460 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 +(7460,0,0,0,0,0,100,0,8000,12000,18000,21000,11,15878,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Thistle Patriarch - In Combat - Cast Ice Blast"), +(7460,0,1,0,0,0,100,0,6000,8000,16000,24000,11,3131,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Thistle Patriarch - In Combat - Cast Frost Breath"); + +-- Mezzir the Howler +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10197; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10197 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 +(10197,0,0,0,9,0,100,0,0,5,31000,35000,11,15971,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mezzir the Howler - Within 0-5 Range - Cast Demoralizing Roar"), +(10197,0,1,0,0,0,100,0,7000,10000,14000,18000,11,3131,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mezzir the Howler - In Combat - Cast Frost Breath"), +(10197,0,2,0,2,0,100,0,0,40,18000,24000,11,14100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mezzir the Howler - Between 0-40% Health - Cast Terrifying Roar"); + +-- Fledgling Chillwind +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7447; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7447 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 +(7447,0,0,0,0,0,100,0,4000,6000,8000,12000,11,16552,0,0,0,0,0,2,0,0,0,0,0,0,0,"Fledgling Chillwind - In Combat - Cast Venom Spit"); + +-- Chillwind Chimaera +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7448; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7448 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 +(7448,0,0,0,0,0,100,0,6000,8000,14000,18000,11,15797,0,0,0,0,0,2,0,0,0,0,0,0,0,"Chillwind Chimaera - In Combat - Cast Lightning Breath"), +(7448,0,1,0,0,0,100,0,3000,5000,16000,20000,11,15850,0,0,0,0,0,2,0,0,0,0,0,0,0,"Chillwind Chimaera - In Combat - Cast Chilled"); + +-- Chillwind Ravager +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7449; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7449 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 +(7449,0,0,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chillwind Ravager - Between 0-30% Health - Cast Enrage (No Repeat)"); + +-- Winterspring Screecher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7456; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7456 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 +(7456,0,0,0,9,0,100,0,0,10,13000,16000,11,3589,0,0,0,0,0,1,0,0,0,0,0,0,0,"Winterspring Screecher - Within 0-10 Range - Cast Deafening Screech"); + +-- Suffering Highborne +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7523; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7523 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 +(7523,0,0,0,9,0,100,0,0,30,13000,20000,11,14868,32,0,0,0,0,2,0,0,0,0,0,0,0,"Suffering Highborne - Within 0-30 Range - Cast Curse of Agony"); + +-- Anguished Highborne +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7524; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7524 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 +(7524,0,0,0,0,0,100,0,0,0,3400,4800,11,13860,64,0,0,0,0,2,0,0,0,0,0,0,0,"Anguished Highborne - In Combat - Cast Mind Blast"); + +-- Watery Invader +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14458; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14458 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 +(14458,0,0,0,0,0,100,0,5000,7000,14000,18000,11,15089,0,0,0,0,0,2,0,0,0,0,0,0,0,"Watery Invader - In Combat - Cast Frost Shock"), +(14458,0,1,0,9,0,100,0,0,5,16000,24000,11,15850,2,0,0,0,0,2,0,0,0,0,0,0,0,"Watery Invader - Within 0-5 Range - Cast Chilled"); + +-- Frostsaber +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7431; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7431 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 +(7431,0,0,0,0,0,100,0,6000,9000,15000,18000,11,24331,0,0,0,0,0,2,0,0,0,0,0,0,0,"Frostsaber - In Combat - Cast Rake"); + +-- Frostsaber Huntress +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7433; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7433 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 +(7433,0,0,0,2,0,100,1,0,30,0,0,11,15716,0,0,0,0,0,1,0,0,0,0,0,0,0,"Frostsaber Huntress - Between 0-30% Health - Cast Enrage (No Repeat)"), +(7433,0,1,0,0,0,100,0,6000,9000,16000,21000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Frostsaber Huntress - In Combat - Cast Rend"); + +-- Sian-Rotam +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10741; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10741 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 +(10741,0,0,0,0,0,100,0,8000,11000,12000,18000,11,14100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sian-Rotam - In Combat - Cast Terrifying Roar"), +(10741,0,1,0,9,0,100,0,0,5,15000,20000,11,3604,32,0,0,0,0,2,0,0,0,0,0,0,0,"Sian-Rotam - Within 0-5 Range - Cast Tendon Rip"), +(10741,0,2,0,0,0,100,0,5000,9000,13000,16000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sian-Rotam - In Combat - Cast Rend"), +(10741,0,3,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,100,0,0,0,0,0,0,"Sian-Rotam - Just Summoned - Start Attacking"); + +-- Shy-Rotam +DELETE FROM `smart_scripts` WHERE `entryorguid`=10737 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 +(10737,0,0,0,0,0,100,0,8000,11000,12000,18000,11,14100,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shy-Rotam - In Combat - Cast Terrifying Roar"), +(10737,0,1,0,0,0,100,0,5000,9000,13000,16000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shy-Rotam - In Combat - Cast Rend"), +(10737,0,2,0,9,0,100,0,0,5,15000,20000,11,3604,32,0,0,0,0,2,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,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\'"); + +-- Ragged Owlbeast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7450; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7450 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 +(7450,0,0,0,9,0,100,0,0,5,4000,8000,11,15848,32,0,0,0,0,2,0,0,0,0,0,0,0,"Ragged Owlbeast - Within 0-5 Range - Cast Festering Rash"); + +-- Raging Owlbeast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7451; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7451 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 +(7451,0,0,0,9,0,100,0,0,5,13000,18000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Raging Owlbeast - Within 0-5 Range - Cast Rend"); + +-- Crazed Owlbeast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7452; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7452 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 +(7452,0,0,0,2,0,100,1,0,50,0,0,11,15716,0,0,0,0,0,1,0,0,0,0,0,0,0,"Crazed Owlbeast - Between 0-50% Health - Cast Enrage (No Repeat)"); + +-- Moontouched Owlbeast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7453; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7453 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 +(7453,0,0,0,2,0,100,0,0,50,18000,21000,11,12160,0,0,0,0,0,1,0,0,0,0,0,0,0,"Moontouched Owlbeast - Between 0-50% Health - Cast Rejuvenation"), +(7453,0,1,0,0,0,100,0,4000,6000,14000,16000,11,15798,0,0,0,0,0,2,0,0,0,0,0,0,0,"Moontouched Owlbeast - In Combat - Cast Moonfire"); + +-- Berserk Owlbeast +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7454; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7454 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 +(7454,0,0,0,2,0,100,1,0,30,0,0,11,5915,0,0,0,0,0,1,0,0,0,0,0,0,0,"Berserk Owlbeast - Between 0-30% Health - Cast Crazed (No Repeat)"); + +-- Cobalt Broodling +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10660; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10660 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 +(10660,0,0,0,0,0,100,0,0,0,3400,4800,11,9672,64,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Broodling - In Combat - Cast Frostbolt"), +(10660,0,1,0,9,0,100,0,0,10,10000,15000,11,17008,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Broodling - Within 0-10 Range - Cast Drain Mana"), +(10660,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cobalt Broodling - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Spell Eater +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10661; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10661 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 +(10661,0,0,0,0,0,100,0,6000,8000,14000,20000,11,16340,0,0,0,0,0,2,0,0,0,0,0,0,0,"Spell Eater - In Combat - Cast Frost Breath"); + +-- Cobalt Whelp +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10659; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10659 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 +(10659,0,0,0,0,0,100,0,4000,6000,12000,16000,11,15089,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Whelp - In Combat - Cast Frost Shock"), +(10659,0,1,0,0,0,100,0,7000,10000,18000,22000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Whelp - In Combat - Cast Rend"); + +-- Cobalt Wyrmkin +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7435; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7435 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 +(7435,0,0,0,0,0,100,0,6000,9000,7000,10000,11,15580,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Wyrmkin - In Combat - Cast Strike"), +(7435,0,1,0,0,0,100,0,4000,6000,14000,18000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Wyrmkin - In Combat - Cast Hamstring"); + +-- Cobalt Scalebane +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7436; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7436 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 +(7436,0,0,0,9,0,100,0,0,5,17000,21000,11,11977,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Scalebane - Within 0-5 Range - Cast Rend"), +(7436,0,1,0,9,0,100,0,0,5,9000,13000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Scalebane - Within 0-5 Range - Cast Disarm"), +(7436,0,2,0,13,0,100,1,0,0,0,0,11,15655,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Scalebane - Target Casting - Cast Shield Slam (No Repeat)"); + +-- Cobalt Mageweaver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7437; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7437 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 +(7437,0,0,0,0,0,100,0,0,0,3400,6200,11,15043,64,0,0,0,0,2,0,0,0,0,0,0,0,"Cobalt Mageweaver - In Combat - Cast Frostbolt"), +(7437,0,1,0,1,0,100,0,1000,1000,1800000,1800000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cobalt Mageweaver - Out of Combat - Cast Frost Armor"); + +-- Spellmaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=10662 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 +(10662,0,0,0,25,0,100,0,0,0,0,0,11,34304,0,0,0,0,0,1,0,0,0,0,0,0,0,"Spellmaw - On Reset - Cast Damage Immunity: Arcane"), +(10662,0,1,0,0,0,100,0,6000,8000,20000,24000,11,16099,0,0,0,0,0,2,0,0,0,0,0,0,0,"Spellmaw - In Combat - Cast Frost Breath"), +(10662,0,2,0,0,0,100,0,8000,10000,18000,21000,11,17012,0,0,0,0,0,2,0,0,0,0,0,0,0,"Spellmaw - In Combat - Cast Devour Magic"); + +-- General Colbatann +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10196; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10196 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 +(10196,0,0,0,4,0,100,1,0,0,0,0,11,9128,0,0,0,0,0,1,0,0,0,0,0,0,0,"General Colbatann - On Aggro - Cast Battle Shout"), +(10196,0,1,0,0,0,100,0,7000,10000,35000,44000,11,13730,0,0,0,0,0,1,0,0,0,0,0,0,0,"General Colbatann - In Combat - Cast Demoralizing Shout"), +(10196,0,2,0,9,0,100,0,0,5,15000,19000,11,11971,0,0,0,0,0,2,0,0,0,0,0,0,0,"General Colbatann - Within 0-5 Range - Cast Sunder Armor"); + +-- Manaclaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=10663 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 +(10663,0,0,0,25,0,100,0,0,0,0,0,11,34304,0,0,0,0,0,1,0,0,0,0,0,0,0,"Manaclaw - On Reset - Cast Damage Immunity: Arcane"), +(10663,0,1,0,0,0,100,0,6000,8000,16000,20000,11,16099,0,0,0,0,0,2,0,0,0,0,0,0,0,"Manaclaw - In Combat - Cast Frost Breath"); + +-- Scryer +DELETE FROM `smart_scripts` WHERE `entryorguid`=10664 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 +(10664,0,0,0,25,0,100,0,0,0,0,0,11,34304,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scryer - On Reset - Cast Damage Immunity: Arcane"), +(10664,0,1,0,0,0,100,0,6000,8000,20000,24000,11,16099,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scryer - In Combat - Cast Frost Breath"), +(10664,0,2,0,0,0,100,0,3000,6000,15000,20000,11,12738,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scryer - In Combat - Cast Amplify Damage"); + +-- Brumeran +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10807; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10807 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 +(10807,0,0,0,0,0,100,0,8000,10000,12000,15000,11,15797,0,0,0,0,0,2,0,0,0,0,0,0,0,"Brumeran - In Combat - Cast Lightning Breath"), +(10807,0,1,0,0,0,100,0,3000,6000,12000,15000,11,16552,0,0,0,0,0,2,0,0,0,0,0,0,0,"Brumeran - In Combat - Cast Venom Spit"), +(10807,0,2,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Brumeran - Between 0-30% Health - Cast Enrage (No Repeat)"); + +-- Frostmaul Preserver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7429; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7429 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 +(7429,0,0,0,2,0,100,0,0,40,19000,26000,11,9616,0,0,0,0,0,1,0,0,0,0,0,0,0,"Frostmaul Preserver - Between 0-40% Health - Cast Wild Regeneration"); + +-- Kashoch the Reaver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10198; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10198 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 +(10198,0,0,0,9,0,100,0,0,5,14000,16000,11,40504,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kashoch the Reaver - Within 0-5 Range - Cast Cleave"); + +-- Hederine Initiate +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7461; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7461 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 +(7461,0,0,0,0,0,100,0,0,0,3400,4800,11,12739,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hederine Initiate - In Combat - Cast Shadow Bolt"); + +-- Hederine Slayer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=7463; +DELETE FROM `smart_scripts` WHERE `entryorguid`=7463 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 +(7463,0,0,0,0,0,100,0,9000,12000,15000,18000,11,17547,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hederine Slayer - In Combat - Cast Mortal Strike"); + +-- Lady Hederine +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10201; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10201 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 +(10201,0,0,0,0,0,100,0,5000,7000,18000,24000,11,17146,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lady Hederine - In Combat - Cast Shadow Word: Pain"); diff --git a/sql/updates/world/master/2020_09_13_00_world_2017_09_26_17_world_335.sql b/sql/updates/world/master/2020_09_13_00_world_2017_09_26_17_world_335.sql new file mode 100644 index 000000000..fa7a2a05b --- /dev/null +++ b/sql/updates/world/master/2020_09_13_00_world_2017_09_26_17_world_335.sql @@ -0,0 +1,283 @@ +-- Young Scavenger +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1508; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1508 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 +(1508,0,0,1,1,0,100,0,30000,600000,120000,600000,4,1018,0,0,0,0,0,1,0,0,0,0,0,0,0,"Young Scavenger - Out of Combat - Play Sound 1018"), +(1508,0,1,0,61,0,100,0,0,0,0,0,5,393,0,0,0,0,0,1,0,0,0,0,0,0,0,"Young Scavenger - Out of Combat - Play Emote 393"); + +-- Night Web Matriarch +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1688; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1688 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 +(1688,0,0,0,9,0,100,0,0,5,3000,5000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Night Web Matriarch - Within 0-5 Range - Cast Poison"); + +-- Scarlet Warrior +DELETE FROM `smart_scripts` WHERE `entryorguid`=1535 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1535,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Warrior - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1535; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1535,0,0,"You carry the taint of the Scourge. Prepare to enter the Twisting Nether.",12,0,100,0,0,0,2625,0,"Scarlet Warrior"), +(1535,0,1,"There is no escape for you. The Crusade shall destroy all who carry the Scourge\'s taint.",12,0,100,0,0,0,2626,0,"Scarlet Warrior"), +(1535,0,2,"The Light condemns all who harbor evil. Now you will die!",12,0,100,0,0,0,2627,0,"Scarlet Warrior"), +(1535,0,3,"The Scarlet Crusade shall smite the wicked and drive evil from these lands!",12,0,100,0,0,0,2628,0,"Scarlet Warrior"); + +-- Tirisfal Farmhand +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1935; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1935 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 +(1935,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tirisfal Farmhand - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Farmer Solliden +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1936; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1936 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 +(1936,0,0,0,9,0,100,0,0,5,7000,10000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Farmer Solliden - Within 0-5 Range - Cast Strike"), +(1936,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farmer Solliden - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Greater Duskbat +DELETE FROM `smart_scripts` WHERE `entryorguid`=1553 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 +(1553,0,0,0,0,0,100,0,3000,5000,7000,12000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,"Greater Duskbat - In Combat - Cast Ravage"); + +-- Vampiric Duskbat +DELETE FROM `smart_scripts` WHERE `entryorguid`=1554 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 +(1554,0,0,0,0,0,100,0,3000,5000,7000,12000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vampiric Duskbat - In Combat - Cast Ravage"); + +-- Ressan the Needler +DELETE FROM `smart_scripts` WHERE `entryorguid`=10357 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 +(10357,0,0,0,9,0,100,0,0,8,12000,17000,11,8281,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ressan the Needler - In Combat - Cast Sonic Burst"); + +-- Rotting Dead +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1525; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1525 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 +(1525,0,0,0,0,0,100,0,3000,6000,9000,15000,11,3234,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rotting Dead - In Combat - Cast Disease Touch"); + +-- Ravaged Corpse +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1526; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1526 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 +(1526,0,0,0,0,0,100,0,3000,6000,9000,15000,11,3234,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ravaged Corpse - In Combat - Cast Disease Touch"); + +-- Lost Soul +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1531; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1531 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 +(1531,0,0,0,9,0,100,0,0,8,12000,18000,11,7713,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lost Soul - Within 0-8 Range - Cast Wailing Dead"); + +-- Rot Hide Gnoll +DELETE FROM `smart_scripts` WHERE `entryorguid`=1674 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 +(1674,0,0,0,0,0,100,0,4000,12000,30000,45000,11,3237,2,0,0,0,0,2,0,0,0,0,0,0,0,"Rot Hide Gnoll - In Combat - Cast Curse of Thule"), +(1674,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Rot Hide Gnoll - Between 0-15% Health - Flee For Assist (No Repeat)"), +(1674,0,2,0,4,0,15,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rot Hide Gnoll - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1674; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1674,0,0,"Grrrr... fresh meat!",12,0,100,0,0,0,1870,0,"Rot Hide Gnoll"), +(1674,0,1,"More bones to gnaw on...",12,0,100,0,0,0,1871,0,"Rot Hide Gnoll"); + +-- Rot Hide Mongrel +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1675; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1675 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 +(1675,0,0,0,0,0,100,0,7000,14000,30000,45000,11,3237,2,0,0,0,0,2,0,0,0,0,0,0,0,"Rot Hide Mongrel - In Combat - Cast Curse of Thule"), +(1675,0,1,0,4,0,15,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rot Hide Mongrel - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1675; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1675,0,0,"Grrrr... fresh meat!",12,0,100,0,0,0,1870,0,"Rot Hide Mongrel"), +(1675,0,1,"More bones to gnaw on...",12,0,100,0,0,0,1871,0,"Rot Hide Mongrel"); + +-- Rot Hide Graverobber +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1941; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1941 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 +(1941,0,0,0,0,0,100,0,2000,18000,30000,45000,11,3237,2,0,0,0,0,2,0,0,0,0,0,0,0,"Rot Hide Graverobber - In Combat - Cast Curse of Thule"), +(1941,0,1,0,4,0,15,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rot Hide Graverobber - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1941; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1941,0,0,"Grrrr... fresh meat!",12,0,100,0,0,0,1870,0,"Rot Hide Graverobber"), +(1941,0,1,"More bones to gnaw on...",12,0,100,0,0,0,1871,0,"Rot Hide Graverobber"); + +-- Maggot Eye +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1753; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1753 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 +(1753,0,0,0,2,0,100,0,0,75,7000,14000,11,3243,0,0,0,0,0,2,0,0,0,0,0,0,0,"Maggot Eye - Between 0-75% Health - Cast Life Harvest"), +(1753,0,1,0,0,0,100,0,4000,9000,30000,45000,11,3237,2,0,0,0,0,2,0,0,0,0,0,0,0,"Maggot Eye - In Combat - Cast Curse of Thule"); + +-- Wailing Ancestor +DELETE FROM `smart_scripts` WHERE `entryorguid`=1534 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 +(1534,0,0,0,0,0,100,0,6000,10000,12000,20000,11,7713,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wailing Ancestor - In Combat - Cast Wailing Dead"); + +-- Darkeye Bonecaster +DELETE FROM `smart_scripts` WHERE `entryorguid`=1522 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 +(1522,0,0,0,0,0,100,0,0,0,3400,4800,11,13322,64,0,0,0,0,2,0,0,0,0,0,0,0,"Darkeye Bonecaster - In Combat CMC - Cast Frostbolt"); + +-- Cracked Skull Soldier +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1523; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1523 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 +(1523,0,0,0,0,0,100,0,4000,5000,5000,6000,11,84282,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cracked Skull Soldier - In Combat - Cast Slice of the Scourge"); + +-- Bayne +DELETE FROM `smart_scripts` WHERE `entryorguid`=10356 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 +(10356,0,0,0,0,0,100,0,5000,8000,21000,25000,11,13443,0,0,0,0,0,5,0,0,0,0,0,0,0,"Bayne - In Combat - Cast Rend"), +(10356,0,1,0,9,0,100,0,0,5,20000,24000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bayne - Within 0-5 Range - Cast Tendon Rip"); + +-- Vile Fin Muckdweller +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1545; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1545 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 +(1545,0,0,0,67,0,100,0,9000,12000,0,0,11,7159,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Fin Muckdweller - On Behind Target - Cast Backstab"), +(1545,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vile Fin Muckdweller - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Vile Fin Minor Oracle +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1544; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1544 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 +(1544,0,0,0,8,0,100,512,73108,0,0,0,80,154400,2,0,0,0,0,1,0,0,0,0,0,0,0,'Vile Fin Minor Oracle - On SpellHit - Actionlist'), +(1544,0,1,0,0,0,100,0,0,0,3400,4800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Fin Minor Oracle - In Combat - Cast Lightning Bolt"), +(1544,0,2,0,1,0,100,0,500,1000,600000,600000,11,324,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vile Fin Minor Oracle - Out of Combat - Cast Lightning Shield"), +(1544,0,3,0,16,0,100,0,324,1,15000,30000,11,324,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vile Fin Minor Oracle - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield"), +(1544,0,4,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vile Fin Minor Oracle - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Muad +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1910; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1910 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 +(1910,0,0,0,9,0,100,0,0,20,5000,8000,11,11824,0,0,0,0,0,2,0,0,0,0,0,0,0,"Muad - Within 0-20 Range - Cast Shock"); + +-- Scarlet Missionary +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1536; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1536 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 +(1536,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Missionary - On Aggro - Say Line 0"), +(1536,0,1,0,0,0,100,0,0,0,3400,4800,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Missionary - In Combat - Cast Fireball"), +(1536,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Missionary - Between 0-15% Health - Flee For Assist (No Repeat)"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1536; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1536,0,0,"You carry the taint of the Scourge. Prepare to enter the Twisting Nether.",12,0,100,0,0,0,2625,0,"Scarlet Missionary"), +(1536,0,1,"There is no escape for you. The Crusade shall destroy all who carry the Scourge\'s taint.",12,0,100,0,0,0,2626,0,"Scarlet Missionary"), +(1536,0,2,"The Light condemns all who harbor evil. Now you will die!",12,0,100,0,0,0,2627,0,"Scarlet Missionary"), +(1536,0,3,"The Scarlet Crusade shall smite the wicked and drive evil from these lands!",12,0,100,0,0,0,2628,0,"Scarlet Missionary"); + +-- Scarlet Zealot +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1537; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1537 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 +(1537,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Zealot - On Aggro - Say Line 0"), +(1537,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Zealot - Between 0-15% Health - Flee For Assist (No Repeat)"), +(1537,0,2,0,0,0,100,0,5000,5000,5000,5000,11,84535,0,0,0,0,0,2,0,0,0,0,0,0,0,'Scarlet Zealot - In Combat - Cast Zealotry'); + +DELETE FROM `creature_text` WHERE `CreatureID`=1537; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1537,0,0,"You carry the taint of the Scourge. Prepare to enter the Twisting Nether.",12,0,100,0,0,0,2625,0,"Scarlet Zealot"), +(1537,0,1,"There is no escape for you. The Crusade shall destroy all who carry the Scourge\'s taint.",12,0,100,0,0,0,2626,0,"Scarlet Zealot"), +(1537,0,2,"The Light condemns all who harbor evil. Now you will die!",12,0,100,0,0,0,2627,0,"Scarlet Zealot"), +(1537,0,3,"The Scarlet Crusade shall smite the wicked and drive evil from these lands!",12,0,100,0,0,0,2628,0,"Scarlet Zealot"); + +-- Scarlet Vanguard +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1540; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1540 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 +(1540,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - Between 0-15% Health - Flee For Assist (No Repeat)"), +(1540,0,1,0,13,0,100,0,16000,24000,0,0,11,72,0,0,0,0,0,7,0,0,0,0,0,0,0,"Scarlet Vanguard - Target Casting - Cast Shield Bash"), +(1540,0,2,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - On Aggro - Say Line 0"), +(1540,0,3,0,0,0,100,1,1000,3000,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - In Combat - Cast Defensive Stance (No Repeat)"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1540; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1540,0,0,"You carry the taint of the Scourge. Prepare to enter the Twisting Nether.",12,0,100,0,0,0,2625,0,"Scarlet Vanguard"), +(1540,0,1,"There is no escape for you. The Crusade shall destroy all who carry the Scourge\'s taint.",12,0,100,0,0,0,2626,0,"Scarlet Vanguard"), +(1540,0,2,"The Light condemns all who harbor evil. Now you will die!",12,0,100,0,0,0,2627,0,"Scarlet Vanguard"), +(1540,0,3,"The Scarlet Crusade shall smite the wicked and drive evil from these lands!",12,0,100,0,0,0,2628,0,"Scarlet Vanguard"); + +-- Scarlet Neophyte +DELETE FROM `smart_scripts` WHERE `entryorguid`=1539 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1539,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Neophyte - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=1539; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1539,0,0,"You carry the taint of the Scourge. Prepare to enter the Twisting Nether.",12,0,100,0,0,0,2625,0,"Scarlet Neophyte"), +(1539,0,1,"There is no escape for you. The Crusade shall destroy all who carry the Scourge\'s taint.",12,0,100,0,0,0,2626,0,"Scarlet Neophyte"), +(1539,0,2,"The Light condemns all who harbor evil. Now you will die!",12,0,100,0,0,0,2627,0,"Scarlet Neophyte"), +(1539,0,3,"The Scarlet Crusade shall smite the wicked and drive evil from these lands!",12,0,100,0,0,0,2628,0,"Scarlet Neophyte"); + +-- Captain Melrache +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1665; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1665 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 +(1665,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Melrache - Between 0-15% Health - Flee For Assist (No Repeat)"), +(1665,0,1,0,9,0,100,0,0,5,7000,11000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Captain Melrache - Within 0-5 Range - Cast Strike"), +(1665,0,2,0,0,0,100,1,1000,3000,0,0,11,8258,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Melrache - In Combat - Cast Devotion Aura (No Repeat)"); + +-- Scarlet Bodyguard +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1660; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1660 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 +(1660,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Bodyguard - Between 0-15% Health - Flee For Assist (No Repeat)"), +(1660,0,1,0,0,0,100,0,1000,7000,5000,28000,11,12169,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Bodyguard - In Combat - Cast Shield Block"); + +-- Wandering Spirit +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1532; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1532 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 +(1532,0,0,0,0,0,100,0,6000,10000,12000,20000,11,7713,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wandering Spirit - In Combat - Cast Wailing Dead"); + +-- Fellicent's Shade +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10358; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10358 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 +(10358,0,0,0,0,0,100,0,0,0,3400,4700,11,13901,64,0,0,0,0,2,0,0,0,0,0,0,0,"Fellicent\'s Shade - In Combat - Cast Arcane Bolt"), +(10358,0,1,0,9,0,100,0,0,8,12000,17000,11,11975,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fellicent\'s Shade - Within 0-8 Range - Cast Arcane Explosion"), +(10358,0,2,0,0,0,100,0,5000,9000,22000,26000,11,7068,0,0,0,0,0,2,0,0,0,0,0,0,0,"Fellicent\'s Shade - In Combat - Cast Veil of Shadow"); + +-- Sri'skulk +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=10359; +DELETE FROM `smart_scripts` WHERE `entryorguid`=10359 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 +(10359,0,0,0,9,0,100,0,0,5,17000,20000,11,3583,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sri\'skulk - Within 0-5 Range - Cast Deadly Poison"); + +-- Scarlet Preserver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4280; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4280 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 +(4280,0,0,0,0,0,100,0,3000,5000,7000,12000,11,13953,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Preserver - In Combat - Cast Holy Strike"), +(4280,0,1,0,14,0,100,0,500,40,12000,18000,11,13952,0,0,0,0,0,7,0,0,0,0,0,0,0,"Scarlet Preserver - Friendly At 500 Health - Cast Holy Light"), +(4280,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Preserver - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Scarlet Scout +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4281; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4281 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 +(4281,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Scout - In Combat - Cast Shoot"), +(4281,0,1,0,9,0,100,0,5,30,9000,13000,11,6979,2,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Scout - Within 5-30 - Cast Fire Shot"), +(4281,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Scout - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Scarlet Magician +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4282; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4282 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 +(4282,0,0,0,0,0,100,0,0,0,3400,4700,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Magician - In Combat - Cast Fireball"), +(4282,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Magician - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Scarlet Disciple +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4285; +DELETE FROM `smart_scripts` WHERE `entryorguid`=4285 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 +(4285,0,0,0,0,0,100,0,0,0,3400,4700,11,9734,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Disciple - In Combat - Cast Holy Smite"), +(4285,0,1,0,14,0,100,0,600,40,11000,15000,11,11642,1,0,0,0,0,7,0,0,0,0,0,0,0,"Scarlet Disciple - Friendly At 600 Health - Cast Heal"), +(4285,0,2,0,2,0,100,1,0,50,0,0,11,11640,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Disciple - Between 0-50% Health - Cast Renew (No Repeat)"), +(4285,0,3,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Disciple - Between 0-15% Health - Flee For Assist (No Repeat)"); diff --git a/sql/updates/world/master/2020_09_13_01_world_2017_09_26_20_world_335.sql b/sql/updates/world/master/2020_09_13_01_world_2017_09_26_20_world_335.sql new file mode 100644 index 000000000..cfeda2c5f --- /dev/null +++ b/sql/updates/world/master/2020_09_13_01_world_2017_09_26_20_world_335.sql @@ -0,0 +1,29 @@ +-- +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry` IN (164871, 175080, 176495, 181689, 186238); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (164871, 175080, 176495, 181689, 186238, 17508000, 17649500) AND `source_type` IN (1, 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 +(175080, 1, 0, 0, 71, 0, 100, 0, 15322, 0, 0, 0, 80, 17508000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "The Iron Eagle - On Event 15322 Inform - Run Script"), +(17508000, 9, 0, 0, 0, 0, 100, 0, 21000, 21000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 12136, 100, 0, 0, 0, 0, 0, "The Iron Eagle - On Script - Say Line 0 (Snurk Bucksquick)"), +(175080, 1, 1, 0, 71, 0, 100, 0, 15324, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 3149, 100, 0, 0, 0, 0, 0, "The Iron Eagle - On Event 15324 Inform - Say Line 0 (Nez'raz)"), +(164871, 1, 0, 0, 71, 0, 100, 0, 15318, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 9564, 100, 0, 0, 0, 0, 0, "The Thundercaller - On Event 15318 Inform - Say Line 0 (Frezza)"), +(164871, 1, 1, 0, 71, 0, 100, 0, 15320, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 9566, 100, 0, 0, 0, 0, 0, "The Thundercaller - On Event 15320 Inform - Say Line 0 (Zapetta)"), +(176495, 1, 1, 0, 71, 0, 100, 0, 15312, 0, 0, 0, 80, 17649500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "The Purple Princess - On Event 15312 Inform - Run Script"), +(17649500, 9, 0, 0, 0, 0, 100, 0, 27000, 27000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 3150, 100, 0, 0, 0, 0, 0, "The Purple Princess - On Script - Say Line 0 (Squibby Overspeck)"), +(176495, 1, 0, 0, 71, 0, 100, 0, 15314, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 12137, 100, 0, 0, 0, 0, 0, "The Purple Princess - On Event 15314 Inform - Say Line 0 (Hin Denburg)"), +(181689, 1, 0, 0, 71, 0, 100, 0, 19126, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 26540, 100, 0, 0, 0, 0, 0, "Cloudkisser - On Event 19126 Inform - Say Line 0 (Drenk Spannerspark)"), +(181689, 1, 1, 0, 71, 0, 100, 0, 19127, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 26539, 100, 0, 0, 0, 0, 0, "Cloudkisser - On Event 19127 Inform - Say Line 0 (Meefi Farthrottle)"), +(186238, 1, 0, 0, 71, 0, 100, 0, 19137, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 26537, 100, 0, 0, 0, 0, 0, "The Mighty Wind - On Event 19137 Inform - Say Line 0 (Greeb Ramrocket)"), +(186238, 1, 1, 0, 71, 0, 100, 0, 19139, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 26538, 100, 0, 0, 0, 0, 0, "The Mighty Wind - On Event 19139 Inform - Say Line 0 (Nargo Screwbore)"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (3149, 3150, 9566, 12137, 26539, 26540, 26538); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3149, 0, 0, "The zeppelin to Orgrimmar has just arrived! All aboard for Durotar!", 14, 0, 100, 0, 0, 0, 29551, 0, "Nez'raz"), +(3150, 0, 0, "The zeppelin to Grom'gol has just arrived! All aboard for Stranglethorn!", 14, 0, 100, 0, 0, 0, 22097, 0, "Hin Denburg"), +(9566, 0, 0, "The zeppelin to Orgrimmar has just arrived! All aboard for Durotar!", 14, 0, 100, 0, 0, 0, 29551, 0, "Zapetta"), +(12137, 0, 0, "The zeppelin to Undercity has just arrived! All aboard for Tirisfal Glades!", 14, 0, 100, 0, 0, 0, 29545, 0, "Squibby Overspeck"), +(26539, 0, 0, "The zeppelin to Vengeance Landing has just arrived! All aboard for Howling Fjord!", 14, 0, 100, 0, 0, 0, 29540, 0, "Meefi Farthrottle"), +(26540, 0, 0, "The zeppelin to Undercity has just arrived! All aboard for Tirisfal Glades!", 14, 0, 100, 0, 0, 0, 29545, 0, "Drenk Spannerspark"), +(26538, 0, 0, "The zeppelin to Orgrimmar has just arrived! All aboard for Durotar!", 14, 0, 100, 0, 0, 0, 29551, 0, "Nargo Screwbore"); + +UPDATE `creature_template` SET `gossip_menu_id`=2441 WHERE `entry`=3149; +UPDATE `creature_template` SET `gossip_menu_id`=3842 WHERE `entry`=12137; diff --git a/sql/updates/world/master/2020_09_13_02_world_2017_09_27_03_world_335.sql b/sql/updates/world/master/2020_09_13_02_world_2017_09_27_03_world_335.sql new file mode 100644 index 000000000..e94615e8e --- /dev/null +++ b/sql/updates/world/master/2020_09_13_02_world_2017_09_27_03_world_335.sql @@ -0,0 +1,8 @@ +-- +UPDATE `creature_template` SET `flags_extra`=`flags_extra`|64 WHERE `entry`=17612; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (17190, 17191, 17192, 17475) AND `ConditionTypeOrReference` IN (9, 47) AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 17190, 0, 0, 47, 0, 9595, 10, 0, 0, 0, 0, "", "Smart Event 0 for creature Siltfin Murloc only executes if player has quest 'Control' incomplete or complete AND"), +(22, 4, 17191, 0, 0, 47, 0, 9595, 10, 0, 0, 0, 0, "", "Smart Event 3 for creature Siltfin Oracle only executes if player has quest 'Control' incomplete or complete AND"), +(22, 3, 17192, 0, 0, 47, 0, 9595, 10, 0, 0, 0, 0, "", "Smart Event 2 for creature Siltfin Hunter only executes if player has quest 'Control' incomplete or complete AND"), +(22, 1, 17475, 0, 0, 47, 0, 9595, 10, 0, 0, 0, 0, "", "Smart Event 0 for creature Murgurgula only executes if player has quest 'Control' incomplete or complete AND"); diff --git a/sql/updates/world/master/2020_09_13_03_world_2017_09_27_04_world_335.sql b/sql/updates/world/master/2020_09_13_03_world_2017_09_27_04_world_335.sql new file mode 100644 index 000000000..bcec84cb4 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_03_world_2017_09_27_04_world_335.sql @@ -0,0 +1,25 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (2956, 3244, 3246); +DELETE FROM `smart_scripts` WHERE (`entryorguid` IN (3244, 3246) OR (`entryorguid`=2956 AND `id`=2)) 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 +(2956, 0, 2, 0, 2, 0, 100, 1, 0, 25, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Adult Plainstrider - Between 0-25% Health - Run In Fear (No Repeat)"), +(3244, 0, 0, 0, 2, 0, 100, 1, 0, 25, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Greater Plainstrider - Between 0-25% Health - Run In Fear (No Repeat)"), +(3246, 0, 0, 0, 2, 0, 100, 1, 0, 25, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Fleeting Plainstrider - Between 0-25% Health - Run In Fear (No Repeat)"); + +UPDATE `smart_scripts` SET `link`=1 WHERE `entryorguid`=588 AND `source_type`=0 AND `id`=0; +UPDATE `smart_scripts` SET `link`=3 WHERE `entryorguid`=595 AND `source_type`=0 AND `id`=2; +UPDATE `smart_scripts` SET `link`=2 WHERE `entryorguid`=16863 AND `source_type`=0 AND `id`=1; +UPDATE `smart_scripts` SET `event_type`=25 WHERE `entryorguid`=16863 AND `source_type`=0 AND `id`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=588 AND `source_type`=0 AND `id`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=595 AND `source_type`=0 AND `id`=3; +DELETE FROM `smart_scripts` WHERE `entryorguid`=16863 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 +(588, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodscalp Scout - Between 0-30% Health - Say Line 0"), +(595, 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, "Bloodscalp Hunter - Between 0-30% Health - Say Line 0"), +(16863, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Deranged Helboar - Between 0-30% Health - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (588, 595, 16863); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(588, 0, 0, "%s goes into a frenzy!", 16, 0, 100, 0, 0, 0, 1191, 0, "Bloodscalp Scout"), +(595, 0, 0, "%s goes into a frenzy!", 16, 0, 100, 0, 0, 0, 1191, 0, "Bloodscalp Hunter"), +(16863, 0, 0, "%s goes into a frenzy!", 16, 0, 100, 0, 0, 0, 1191, 0, "Deranged Helboar"); diff --git a/sql/updates/world/master/2020_09_13_04_world_2017_09_27_05_world_335.sql b/sql/updates/world/master/2020_09_13_04_world_2017_09_27_05_world_335.sql new file mode 100644 index 000000000..f25ec9f3a --- /dev/null +++ b/sql/updates/world/master/2020_09_13_04_world_2017_09_27_05_world_335.sql @@ -0,0 +1,6 @@ +-- +SET @MENUID := 2421; +UPDATE `creature_template` SET `gossip_menu_id`=@MENUID WHERE `entry`=9273; +DELETE FROM `gossip_menu` WHERE `MenuID`=@MENUID; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(@MENUID, 3093, 0); diff --git a/sql/updates/world/master/2020_09_13_05_world_2017_09_27_06_world.sql b/sql/updates/world/master/2020_09_13_05_world_2017_09_27_06_world.sql new file mode 100644 index 000000000..54504ae8e --- /dev/null +++ b/sql/updates/world/master/2020_09_13_05_world_2017_09_27_06_world.sql @@ -0,0 +1,13 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=16880 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 +(16880, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 11, 33908, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Hulking Helboar - On Reset - Cast 'Burning Spikes'"), +(16880, 0, 1, 0, 2, 0, 100, 1, 34, 66, 0, 0, 11, 33909, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Hulking Helboar - Between 34-66% Health - Cast 'Hulk' (No Repeat)"), +(16880, 0, 2, 0, 2, 0, 100, 1, 1, 66, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Hulking Helboar - Between 1-66% Health - Say Line 0 (No Repeat)"), +(16880, 0, 3, 0, 2, 0, 100, 1, 1, 33, 0, 0, 11, 33909, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Hulking Helboar - Between 1-33% Health - Cast 'Hulk' (No Repeat)"), +(16880, 0, 4, 0, 8, 0, 100, 1, 34665, 0, 0, 0, 33, 16992, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Hulking Helboar - On Spellhit 'Administer Antidote' - Quest Credit 'Testing the Antidote' (No Repeat)"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (16880, 16992); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16880, 0, 0, "%s begins to grow stronger.", 16, 0, 100, 0, 0, 0, 16646, 0, "Hulking Helboar"), +(16992, 0, 0, "%s begins to grow stronger.", 16, 0, 100, 0, 0, 0, 16646, 0, "Dreadtusk"); diff --git a/sql/updates/world/master/2020_09_13_06_world_2017_09_27_07_world.sql b/sql/updates/world/master/2020_09_13_06_world_2017_09_27_07_world.sql new file mode 100644 index 000000000..093acf5e2 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_06_world_2017_09_27_07_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=16318 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 +(16318, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 1700, 2000, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Deatholme Darkmage - IC - Cast 'Shadow Bolt'"), +(16318, 0, 1, 0, 0, 0, 100, 0, 7000, 11000, 32000, 36000, 11, 18267, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Deatholme Darkmage - IC - Cast 'Curse of Weakness'"), +(16318, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Deatholme Darkmage - Between 0-15% Health - Flee For Assist (No Repeat)"); + +UPDATE `smart_scripts` SET `comment`="Felboar - On Reset - Cast 'Burning Spikes'" WHERE `entryorguid`=21878 AND `id`=0 AND `source_type`=0; +UPDATE `smart_scripts` SET `event_type`=25, `comment`="Deranged Helboar - On Reset - Cast 'Burning Spikes'" WHERE `entryorguid`=16863 AND `id`=0 AND `source_type`=0; diff --git a/sql/updates/world/master/2020_09_13_07_world_2017_09_28_01_world.sql b/sql/updates/world/master/2020_09_13_07_world_2017_09_28_01_world.sql new file mode 100644 index 000000000..3baf40920 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_07_world_2017_09_28_01_world.sql @@ -0,0 +1,36 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (25464, 25467, 25468); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25464, 25467, 25468) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=25470 AND `source_type`=0 AND `id` BETWEEN 2 AND 6; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2546700 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25464, 0, 0, 1, 4, 0, 100, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Moth - On Aggro - Store target"), +(25464, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 25470, 20, 0, 0, 0, 0, 0, "Bloodspore Moth - On Aggro - Send target to (Bloodspore Firestarter"), +(25464, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 25467, 20, 0, 0, 0, 0, 0, "Bloodspore Moth - On Aggro - Send target to (Bloodspore Harvester"), +(25464, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 25470, 20, 0, 0, 0, 0, 0, "Bloodspore Moth - On Aggro - Set Data 1 1 (Bloodspore Firestarter"), +(25464, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 25467, 20, 0, 0, 0, 0, 0, "Bloodspore Moth - On Aggro - Set Data 1 1 (Bloodspore Harvester"), +(25464, 0, 5, 0, 0, 0, 100, 0, 10000, 15000, 20000, 30000, 11, 45610, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Moth - In Combat - Cast Spell 'Pollen'"), +(25464, 0, 6, 0, 0, 0, 100, 0, 20000, 30000, 20000, 30000, 11, 32914, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Moth - In Combat - Cast Spell 'Wing Buffet'"), +(25467, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - On Reset - Set Event Phase 1"), +(25467, 0, 1, 2, 4, 1, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - On Aggro - Say Line 0 (Phase 1)"), +(25467, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - On Aggro - Set Event Phase 2"), +(25467, 0, 3, 0, 0, 0, 100, 0, 10000, 20000, 10000, 20000, 11, 50380, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - In Combat - Cast Spell 'Bloodspore Haze'"), +(25467, 0, 4, 5, 38, 1, 100, 0, 1, 1, 0, 0, 80, 2546700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - On Data 1 1 Set - Run Script (Phase 1)"), +(25467, 0, 5, 0, 61, 1, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester - On Data 1 1 Set - Set Event Phase 2 (Phase 1)"), +(25468, 0, 0, 0, 0, 0, 100, 0, 10000, 20000, 20000, 30000, 11, 50402, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Roaster - In Combat - Cast Spell 'Roast'"), +(25470, 0, 2, 0, 25, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Firestarter - On Reset - Set Event Phase 1"), +(25470, 0, 3, 4, 4, 1, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Firestarter - On Aggro - Say Line 0 (Phase 1)"), +(25470, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Firestarter - On Aggro - Set Event Phase 2"), +(25470, 0, 5, 6, 38, 1, 100, 0, 1, 1, 0, 0, 80, 2546700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Firestarter - On Data 1 1 Set - Run Script"), +(25470, 0, 6, 0, 61, 1, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Firestarter - On Data 1 1 Set - Set Event Phase 2 (Phase 1)"), +(2546700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 22, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester/Firestarter - On Script - Set Event Phase 3"), +(2546700, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester/Firestarter - On Script - Say Line 1"), +(2546700, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Bloodspore Harvester/Firestarter - On Script - Start attack"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (25467, 25470); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25467, 0, 0, "No hurt the lifegiver!", 12, 0, 100, 0, 0, 0, 24689, 0, "Bloodspore Harvester"), +(25467, 0, 1, "No touch spores!", 12, 0, 100, 0, 0, 0, 24690, 0, "Bloodspore Harvester"), +(25467, 1, 0, "Protect the lifegiver!", 14, 0, 100, 0, 0, 0, 24695, 0, "Bloodspore Harvester"), +(25470, 0, 0, "No hurt the lifegiver!", 12, 0, 100, 0, 0, 0, 24689, 0, "Bloodspore Firestarter"), +(25470, 1, 0, "Protect the lifegiver!", 14, 0, 100, 0, 0, 0, 24695, 0, "Bloodspore Firestarter"); diff --git a/sql/updates/world/master/2020_09_13_08_world_2017_09_30_00_world.sql b/sql/updates/world/master/2020_09_13_08_world_2017_09_30_00_world.sql new file mode 100644 index 000000000..6ddc40ea2 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_08_world_2017_09_30_00_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=25498; +DELETE FROM `smart_scripts` WHERE `entryorguid`=25498 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 +(25498, 0, 0, 0, 0, 0, 100, 0, 10000, 15000, 20000, 30000, 11, 45610, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Aspatha the Broodmother - In Combat - Cast Spell 'Pollen'"), +(25498, 0, 1, 0, 0, 0, 100, 0, 20000, 30000, 20000, 30000, 11, 32914, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Aspatha the Broodmother - In Combat - Cast Spell 'Wing Buffet'"); diff --git a/sql/updates/world/master/2020_09_13_09_world_2017_09_30_01_world.sql b/sql/updates/world/master/2020_09_13_09_world_2017_09_30_01_world.sql new file mode 100644 index 000000000..58b8f4976 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_09_world_2017_09_30_01_world.sql @@ -0,0 +1,6 @@ +-- +SET @MENUID := 7513; +UPDATE `creature_template` SET `gossip_menu_id`=@MENUID WHERE `entry`=17637; +DELETE FROM `gossip_menu` WHERE `MenuID`=@MENUID; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(@MENUID, 9110, 0); diff --git a/sql/updates/world/master/2020_09_13_10_world_2017_09_30_03_world.sql b/sql/updates/world/master/2020_09_13_10_world_2017_09_30_03_world.sql new file mode 100644 index 000000000..2e77cbece --- /dev/null +++ b/sql/updates/world/master/2020_09_13_10_world_2017_09_30_03_world.sql @@ -0,0 +1,7 @@ +-- +DELETE FROM `conditions` WHERE `SourceEntry`=53349 AND `SourceTypeOrReferenceId`=17; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 53349, 0, 0, 31, 1, 3, 29106, 0, 0, 0, 0, "", "Arrow Assault targets Death Knight Champion"), +(17, 0, 53349, 0, 1, 31, 1, 3, 29115, 0, 0, 0, 0, "", "Arrow Assault targets Rampaging Abomination"), +(17, 0, 53349, 0, 2, 31, 1, 3, 29136, 0, 0, 0, 0, "", "Arrow Assault targets Volatile Ghoul"), +(17, 0, 53349, 0, 3, 31, 1, 3, 28670, 0, 0, 0, 0, "", "Arrow Assault targets Frostbrood Vanquisher"); diff --git a/sql/updates/world/master/2020_09_13_11_world_2017_09_30_04_world.sql b/sql/updates/world/master/2020_09_13_11_world_2017_09_30_04_world.sql new file mode 100644 index 000000000..e7c46732f --- /dev/null +++ b/sql/updates/world/master/2020_09_13_11_world_2017_09_30_04_world.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9188; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 9188, 12485, 0, 0, 8, 0, 11892, 0, 0, 1, 0, 0, "", "Gossip text 12485 requires quest 'The Assassination of Harold Lane' NOT rewarded"), +(14, 9188, 12511, 0, 0, 8, 0, 11892, 0, 0, 0, 0, 0, "", "Gossip text 12511 requires quest 'The Assassination of Harold Lane' rewarded"); diff --git a/sql/updates/world/master/2020_09_13_12_world_2017_09_30_05_world.sql b/sql/updates/world/master/2020_09_13_12_world_2017_09_30_05_world.sql new file mode 100644 index 000000000..6757b20f3 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_12_world_2017_09_30_05_world.sql @@ -0,0 +1,9 @@ +-- Annie Bonn Gossip text conditions +DELETE FROM `gossip_menu` WHERE `MenuID`=9019 AND `TextID`=12186; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(9019, 12186, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9019; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 9019, 12186, 0, 0, 8, 0, 11471, 0, 0, 1, 0, 0, "", "Gossip text 12186 requires quest The Jig is Up NOT rewarded"), +(14, 9019, 12187, 0, 0, 8, 0, 11471, 0, 0, 0, 0, 0, "", "Gossip text 12187 requires quest The Jig is Up rewarded"); diff --git a/sql/updates/world/master/2020_09_13_13_world_2017_09_30_06_world.sql b/sql/updates/world/master/2020_09_13_13_world_2017_09_30_06_world.sql new file mode 100644 index 000000000..cb7286b43 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_13_world_2017_09_30_06_world.sql @@ -0,0 +1,6 @@ +-- DB/Gossip: fix gossip conditions for NPC Librarian Serrah +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14, 15) AND `SourceGroup`=9495; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 9495, 12780, 0, 0, 8, 0, 11912, 0, 0, 1, 0, 0, "", "Gossip text 12780 requires quest Nuts for Berries NOT rewarded"), +(14, 9495, 12781, 0, 0, 8, 0, 11912, 0, 0, 0, 0, 0, "", "Gossip text 12781 requires quest Nuts for Berries rewarded"), +(15, 9495, 0, 0, 0, 8, 0, 11912, 0, 0, 0, 0, 0, "", "Gossip option 0 requires quest Nuts for Berries rewarded"); diff --git a/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql b/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql new file mode 100644 index 000000000..7bd82697c --- /dev/null +++ b/sql/updates/world/master/2020_09_13_14_world_2017_09_30_07_world.sql @@ -0,0 +1,10 @@ +-- show gossip options for NPCs in Stillpine Hold only if The Prophecy of Akida rewarded +DELETE FROM `gossip_menu_option` WHERE `MenuID`=7431 AND `OptionIndex`=0; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(7431, 0, 1, "Hello, Parkat. I wish to purchase something.", 14161, 3, 128, 0); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (7428, 7429, 7430, 7431); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 7428, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"), +(15, 7429, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"), +(15, 7430, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"), +(15, 7431, 0, 0, 0, 8, 0, 9544, 0, 0, 0, 0, 0, "", "Show gossip option 0 if player has quest 9544 rewarded"); diff --git a/sql/updates/world/master/2020_09_13_15_world_2017_09_30_08_world_335.sql b/sql/updates/world/master/2020_09_13_15_world_2017_09_30_08_world_335.sql new file mode 100644 index 000000000..e1a56bb67 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_15_world_2017_09_30_08_world_335.sql @@ -0,0 +1,6 @@ +-- +SET @MENUID := 5817; +UPDATE `creature_template` SET `gossip_menu_id`=@MENUID WHERE `entry`=14436; +DELETE FROM `gossip_menu` WHERE `MenuID`=@MENUID; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(@MENUID, 6990, 0); diff --git a/sql/updates/world/master/2020_09_13_16_world_2017_09_30_09_world.sql b/sql/updates/world/master/2020_09_13_16_world_2017_09_30_09_world.sql new file mode 100644 index 000000000..939dde0ec --- /dev/null +++ b/sql/updates/world/master/2020_09_13_16_world_2017_09_30_09_world.sql @@ -0,0 +1,9 @@ +-- Fix gossip text for NPC Geirrvif +UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `entry`=31135; +DELETE FROM `gossip_menu` WHERE `TextID`=13918 AND `MenuID`=10034; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=10034; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 10034, 13921, 0, 0, 8, 0, 13142, 0, 0, 1, 0, 0, "", "Show gossip text 13921 if quest 'Banshee's Revenge' is NOT rewarded"), +(14, 10034, 13922, 0, 0, 8, 0, 13142, 0, 0, 0, 0, 0, "", "Show gossip text 13922 if quest 'Banshee's Revenge' is rewarded AND"), +(14, 10034, 13922, 0, 0, 8, 0, 13219, 0, 0, 1, 0, 0, "", "Show gossip text 13922 if quest 'Battle at Valhalas: Final Challenge' is NOT rewarded"), +(14, 10034, 13946, 0, 0, 8, 0, 13219, 0, 0, 0, 0, 0, "", "Show gossip text 13946 if quest 'Battle at Valhalas: Final Challenge' is rewarded"); diff --git a/sql/updates/world/master/2020_09_13_17_world_2017_09_30_10_world.sql b/sql/updates/world/master/2020_09_13_17_world_2017_09_30_10_world.sql new file mode 100644 index 000000000..6a9a0e407 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_17_world_2017_09_30_10_world.sql @@ -0,0 +1,2 @@ +-- Fix gossip for NPC Gjonner the Merciless +UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `entry`=31154; diff --git a/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql b/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql new file mode 100644 index 000000000..0b498f8e0 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_18_world_2017_09_30_11_world.sql @@ -0,0 +1,12 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=7273 AND `source_type`=0 AND `id` IN (3,4,5,6); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7273,0,3,0,54,0,100,0,0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - Just Summoned - Add Unit Flag Immune to PC"), +(7273,0,4,0,54,0,100,0,0,0,0,0,53,0,7273,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - Just Summoned - Start Waypoint"), +(7273,0,5,0,40,0,100,0,2,7273,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - On Waypoint 2 Reached - Start Random Movement"), +(7273,0,6,0,40,0,100,0,2,7273,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gahz'rilla - On Waypoint 2 Reached - Remove Unit Flag Immune to PC"); + +DELETE FROM `waypoints` WHERE `entry`=7273; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(7273,1,1686.55,1207.18,9.79578,"Gahz'rilla"), +(7273,2,1700.54,1220.82,8.87687,"Gahz'rilla"); diff --git a/sql/updates/world/master/2020_09_13_19_world_2017_09_30_12_world_335.sql b/sql/updates/world/master/2020_09_13_19_world_2017_09_30_12_world_335.sql new file mode 100644 index 000000000..1b76dcd21 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_19_world_2017_09_30_12_world_335.sql @@ -0,0 +1,7 @@ +-- Remove wrong aggro text for Volcor and add the correct ones +DELETE FROM `creature_text` WHERE `CreatureID`=3692 AND `GroupID`=4; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3692,4,0,"Here they come!",12,7,100,0,0,0,1250,0,"Volcor"), +(3692,4,1,"We can overcome these foul creatures!",12,7,100,0,0,0,1251,0,"Volcor"), +(3692,4,2,"We shall earn our deaths at the very least!",12,7,100,0,0,0,1252,0,"Volcor"), +(3692,4,3,"Don\'t give up! Fight to the death!",12,7,100,0,0,0,1253,0,"Volcor"); diff --git a/sql/updates/world/master/2020_09_13_20_world_2017_09_30_13_world_335.sql b/sql/updates/world/master/2020_09_13_20_world_2017_09_30_13_world_335.sql new file mode 100644 index 000000000..8190118df --- /dev/null +++ b/sql/updates/world/master/2020_09_13_20_world_2017_09_30_13_world_335.sql @@ -0,0 +1,8 @@ +-- Spirit of Sathrah +DELETE FROM `creature_text` WHERE `CreatureID`=7411; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(7411,0,0,"%s is once again at peace.",16,0,100,0,0,0,3494,0,"Spirit of Sathrah"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=7411 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 +(7411,0,2,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Spirit of Sathrah - Just Summoned - Say Line 0"); diff --git a/sql/updates/world/master/2020_09_13_21_world_2017_09_30_14_world_335.sql b/sql/updates/world/master/2020_09_13_21_world_2017_09_30_14_world_335.sql new file mode 100644 index 000000000..719533395 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_21_world_2017_09_30_14_world_335.sql @@ -0,0 +1,10 @@ +-- Gubber Blump +DELETE FROM `creature_text` WHERE `CreatureID`=10216; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10216,0,0,"Fishing is real easy. Just take a pole with a line on it, maybe put some bait on it, and cast it out in the water. Sure enough, them fish will start biting.",12,0,100,1,0,0,5531,0,"Gubber Blump"), +(10216,1,0,"I got some extras with me; if you pay me back what I paid for them, you can have one. I got some bait too.",12,0,100,0,0,0,5532,0,"Gubber Blump"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=10216 AND `source_type`=0 AND `id` IN (2, 3); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10216,0,2,0,62,0,100,0,2562,1,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Gubber Blump - On Gossip Option 1 Selected - Say Line 0"), +(10216,0,3,0,62,0,100,0,2562,2,0,0,1,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Gubber Blump - On Gossip Option 2 Selected - Say Line 1"); diff --git a/sql/updates/world/master/2020_09_13_22_world_2017_09_30_16_world_335.sql b/sql/updates/world/master/2020_09_13_22_world_2017_09_30_16_world_335.sql new file mode 100644 index 000000000..e38b89e38 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_22_world_2017_09_30_16_world_335.sql @@ -0,0 +1,33 @@ +-- Improve Quest "The Blackwood Corrupted" +-- Blackwood Fruit Stores +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=175330; +DELETE FROM `smart_scripts` WHERE `entryorguid`=175330 AND `source_type`=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 +(175330,1,0,0,70,0,100,1,2,0,0,0,12,2168,3,180000,0,0,0,8,0,0,0,6870.6,-527.736,40.364,1.04751,"Blackwood Fruit Stores - On Gameobject State Changed - Summon Creature \'Blackwood Warrior\'"), +(175330,1,1,0,70,0,100,1,2,0,0,0,1,0,0,0,0,0,0,19,2168,0,0,0,0,0,0,"Blackwood Fruit Stores - On Gameobject State Changed - Say Line 0 (Blackwood Warrior)"); + +-- Blackwood Grain Stores +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=175331; +DELETE FROM `smart_scripts` WHERE `entryorguid`=175331 AND `source_type`=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 +(175331,1,0,0,70,0,100,1,2,0,0,0,12,2168,3,180000,0,0,0,8,0,0,0,6805.47,-367.96,40.3136,4.99806,"Blackwood Grain Stores - On Gameobject State Changed - Summon Creature \'Blackwood Warrior\'"), +(175331,1,1,0,70,0,100,1,2,0,0,0,1,1,0,0,0,0,0,19,2168,0,0,0,0,0,0,"Blackwood Grain Stores - On Gameobject State Changed - Say Line 1 (Blackwood Warrior)"); + +-- Blackwood Warrior +DELETE FROM `creature_text` WHERE `CreatureID`=2168; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2168,0,0,"%s spies you tampering with the camp\'s fruit stores and attacks you!",16,0,100,0,0,0,5684,0,"Blackwood Warrior"), +(2168,1,0,"%s emerges from the log hovel and catches you tampering with the grain stores!",16,0,100,0,0,0,5685,0,"Blackwood Warrior"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=2168 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 +(2168,0,2,0,11,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,15,0,0,0,0,0,0,"Blackwood Warrior - On Respawn - Start Attacking"); + +-- Xabraxxis +DELETE FROM `creature_text` WHERE `CreatureID`=10373; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10373,0,0,"What the... nobody cleanses a furbolg in MY camp! Face the wrath of Xabraxxis!",14,0,100,0,0,0,5616,0,"Xabraxxis"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=10373 AND `source_type`=0 AND `id`=5; +INSERT INTO `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 +(10373,0,5,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Xabraxxis - Just Summoned - Say Line 0"); diff --git a/sql/updates/world/master/2020_09_13_23_world_2017_09_30_21_world_335.sql b/sql/updates/world/master/2020_09_13_23_world_2017_09_30_21_world_335.sql new file mode 100644 index 000000000..ecb997f95 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_23_world_2017_09_30_21_world_335.sql @@ -0,0 +1,47 @@ +-- Vile Sprite +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2189; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2189 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 +(2189,0,0,0,0,0,100,0,4000,9000,8000,17000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Vile Sprite - In Combat - Cast Poison"); + +-- Young Reef Crawler +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2234; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2234 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 +(2234,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Young Reef Crawler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Thistle Bear +DELETE FROM `smart_scripts` WHERE `entryorguid`=2163 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 +(2163,0,0,0,0,0,100,0,6000,9000,10000,16000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thistle Bear - In Combat - Cast Ravage"); + +-- Thistle Cub +DELETE FROM `smart_scripts` WHERE `entryorguid`=6789 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 +(6789,0,0,0,0,0,100,0,4000,12000,12000,20000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thistle Cub - In Combat - Cast Ravage"); + +-- Den Mother +DELETE FROM `smart_scripts` WHERE `entryorguid`=6788 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 +(6788,0,0,0,0,0,100,0,6000,8000,9000,13000,11,3242,0,0,0,0,0,2,0,0,0,0,0,0,0,"Den Mother - In Combat - Cast Ravage"); + +-- Marosh the Devious +DELETE FROM `smart_scripts` WHERE `entryorguid`=11714 AND `source_type`=0 AND `id` IN (2, 3); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(11714,0,2,0,0,0,100,0,6000,12000,30000,40000,11,6950,2,0,0,0,0,2,0,0,0,0,0,0,0,"Marosh the Devious - In Combat - Cast Faerie Fire"), +(11714,0,3,0,0,0,100,0,2000,5000,3000,12000,11,3391,0,0,0,0,0,2,0,0,0,0,0,0,0,"Marosh the Devious - In Combat - Cast Thrash"); + +-- Blackwood Tracker +DELETE FROM `smart_scripts` WHERE `entryorguid`=11713 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 +(11713,0,1,0,0,0,100,0,6000,12000,30000,40000,11,6950,32,0,0,0,0,2,0,0,0,0,0,0,0,"Blackwood Tracker - In Combat - Cast Faerie Fire"); + +-- Athrikus Narassin +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=3660; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3660 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 +(3660,0,0,0,5,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Athrikus Narassin - On Killed Unit - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=3660; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3660,0,0,"Athrikus points at you as he bellows forth words that scrape apart the inside of your ears. They are the last thing you hear.",16,0,100,0,0,0,1223,0,"Athrikus Narassin"); diff --git a/sql/updates/world/master/2020_09_13_24_world_2017_09_30_23_world_335.sql b/sql/updates/world/master/2020_09_13_24_world_2017_09_30_23_world_335.sql new file mode 100644 index 000000000..d457c1fa3 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_24_world_2017_09_30_23_world_335.sql @@ -0,0 +1,346 @@ +-- Sand Skitterer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11738; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11738 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 +(11738,0,0,0,0,0,100,0,4000,9000,10000,15000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Sand Skitterer - In Combat - Cast Poison"); + +-- Rock Stalker +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11739; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11739 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 +(11739,0,0,0,9,0,100,0,0,30,9000,11000,11,745,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rock Stalker - Within 0-30 Range - Cast Web"), +(11739,0,1,0,0,0,100,0,4000,9000,10000,15000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Rock Stalker - In Combat - Cast Poison"); + +-- Gretheer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14472; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14472 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 +(14472,0,0,0,9,0,100,0,0,5,18000,22000,11,21787,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gretheer - Within 0-5 Range - Cast Deadly Poison"), +(14472,0,1,0,9,0,100,0,0,30,9000,11000,11,745,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gretheer - Within 0-30 Range - Cast Web"); + +-- Stonelash Scorpid +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11735; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11735 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 +(11735,0,0,0,0,0,100,0,3000,8000,13000,18000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Scorpid - In Combat - Cast Venom Sting"); + +-- Stonelash Pincer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11736; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11736 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 +(11736,0,0,0,0,0,100,0,2000,6000,14000,22000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Pincer - In Combat - Cast Tendon Rip"), +(11736,0,1,0,0,0,100,0,3000,8000,13000,18000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Pincer - In Combat - Cast Venom Sting"); + +-- Stonelash Flayer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11737; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11737 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 +(11737,0,0,0,0,0,100,0,3000,8000,13000,18000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Flayer - In Combat - Cast Venom Sting"), +(11737,0,1,0,0,0,100,0,5000,10000,12000,18000,11,3391,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Flayer - In Combat - Cast Thrash"); + +-- Krellack +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14476; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14476 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 +(14476,0,0,0,9,0,100,0,0,5,17000,21000,11,17170,0,0,0,0,0,2,0,0,0,0,0,0,0,"Krellack - Within 0-5 Range - Cast Fatal Sting"); + +-- Dredge Crusher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11741; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11741 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 +(11741,0,0,0,0,0,100,0,6000,9000,13000,19000,11,6607,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dredge Crusher - In Combat - Cast Lash"); + +-- Grubthor +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14477; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14477 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 +(14477,0,0,0,9,0,100,0,0,5,12000,18000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grubthor - Within 0-5 Range - Cast Trample"); + +-- Dust Stormer +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11744; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11744 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 +(11744,0,0,0,0,0,100,0,6000,8000,20000,24000,11,19513,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dust Stormer - In Combat - Cast Lightning Cloud"), +(11744,0,1,0,1,0,100,0,500,1000,600000,600000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dust Stormer - Out of Combat - Cast Lightning Shield"), +(11744,0,2,0,16,0,100,0,19514,1,15000,30000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dust Stormer - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield"); + +-- Cyclone Warrior +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11745; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11745 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 +(11745,0,0,0,0,0,100,0,3000,6000,9000,15000,11,12553,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cyclone Warrior - In Combat - Cast Shock"), +(11745,0,1,0,0,0,100,0,7000,12000,18000,23000,11,15535,0,0,0,0,0,4,0,0,0,0,0,0,0,"Cyclone Warrior - In Combat - Cast Enveloping Winds"); + +-- Whirling Invader +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14455; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14455 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 +(14455,0,0,0,0,0,100,0,6000,12000,10000,16000,11,17207,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whirling Invader - In Combat - Cast Whirlwind"); + +-- Huricanian +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14478; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14478 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 +(14478,0,0,0,0,0,100,0,4000,5000,12000,14000,11,15659,0,0,0,0,0,4,0,0,0,0,0,0,0,"Huricanian - In Combat - Cast Chain Lightning"); + +-- Desert Rumbler +DELETE FROM `smart_scripts` WHERE `entryorguid`=11746 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 +(11746,0,0,0,0,0,100,0,5000,8000,18000,24000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Desert Rumbler - In Combat - Cast Trample"); + +-- Desert Rager +DELETE FROM `smart_scripts` WHERE `entryorguid`=11747 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 +(11747,0,0,0,0,0,100,0,3000,5000,12000,16000,11,13728,0,0,0,0,0,2,0,0,0,0,0,0,0,"Desert Rager - In Combat - Cast Earth Shock"), +(11747,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Desert Rager - Between 0-30% Health - Cast Enrage (No Repeat)"); + +-- Tortured Druid +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12178; +DELETE FROM `smart_scripts` WHERE `entryorguid`=12178 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 +(12178,0,0,0,2,0,100,1,0,25,0,0,11,23381,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Druid - Between 0-25% Health - Cast Healing Touch (No Repeat)"), +(12178,0,1,0,0,0,100,0,5000,8000,5000,8000,11,23380,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tortured Druid - In Combat - Cast Moonfire"), +(12178,0,2,3,6,0,75,0,0,0,0,0,11,21327,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Druid - On Just Died - Cast Summon Hive\'Ashi Drones"), +(12178,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,"Tortured Druid - On Just Died - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=12178; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12178,0,0,"%s\'s death wail has stirred the nearby silithid hive!",16,0,100,0,0,0,8619,0,"Tortured Druid"); + +-- Tortured Sentinel +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=12179; +DELETE FROM `smart_scripts` WHERE `entryorguid`=12179 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 +(12179,0,0,1,6,0,75,0,0,0,0,0,11,21327,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Sentinel - On Just Died - Cast Summon Hive\'Ashi Drones"), +(12179,0,1,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Sentinel - On Just Died - Say Line 0"); + +DELETE FROM `creature_text` WHERE `CreatureID`=12179; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12179,0,0,"%s\'s death wail has stirred the nearby silithid hive!",16,0,100,0,0,0,8620,0,"Tortured Sentinel"); + +-- Twilight Overlord +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15213; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15213 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 +(15213,0,0,0,0,0,100,0,0,0,3400,4800,11,9672,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Overlord - In Combat - Cast Frostbolt"), +(15213,0,1,0,9,0,100,0,0,8,13000,15000,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Within 0-8 Range - Cast Frost Nova"), +(15213,0,2,0,0,0,100,0,8000,9000,24000,25000,11,12058,1,0,0,0,0,4,0,0,0,0,0,0,0,"Twilight Overlord - In Combat - Cast Chain Lightning"), +(15213,0,3,0,0,0,100,0,5000,6000,15000,21000,11,13339,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Overlord - In Combat - Cast Fire Blast"); + +-- Twilight Master +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11883; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11883 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 +(11883,0,0,0,0,0,100,0,0,0,3400,4800,11,9672,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Master - In Combat - Cast Frostbolt"), +(11883,0,1,0,9,0,100,0,0,8,13000,15000,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Within 0-8 Range - Cast Frost Nova"), +(11883,0,2,0,0,0,100,0,8000,9000,24000,25000,11,12058,1,0,0,0,0,4,0,0,0,0,0,0,0,"Twilight Master - In Combat - Cast Chain Lightning"), +(11883,0,3,0,0,0,100,0,5000,6000,15000,21000,11,13339,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Master - In Combat - Cast Fire Blast"); + +-- Twilight Avenger +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11880; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11880 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 +(11880,0,0,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Avenger - Between 0-30% Health - Cast Enrage (No Repeat)"), +(11880,0,1,0,74,0,100,1,0,20,0,0,11,8602,0,0,0,0,0,9,0,0,0,0,0,0,0,"Twilight Avenger - On Friendly Between 0-20% Health - Cast Vengeance (No Repeat)"); + +-- Twilight Flamereaver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15201; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15201 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 +(15201,0,0,0,0,0,100,0,2000,5000,18000,22000,11,15732,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Flamereaver - In Combat - Cast Immolate"); + +-- Vyral the Vile +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15202; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15202 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 +(15202,0,0,0,0,0,100,0,0,40,3400,4700,11,19816,64,0,0,0,0,2,0,0,0,0,0,0,0,"Vyral the Vile - In Combat - Cast Fireball"), +(15202,0,1,0,9,0,100,0,0,20,12000,15000,11,17439,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vyral the Vile - Within 0-20 Range - Cast Shadow Shock"); + +-- Twilight Marauder Morna +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15541; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15541 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 +(15541,0,0,0,0,0,100,0,5000,8000,9000,13000,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast Mortal Strike"), +(15541,0,1,0,0,0,100,0,0,5,5000,9000,11,15572,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast Sunder Armor"), +(15541,0,2,0,0,0,100,0,9000,15000,14000,18000,11,23600,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast Piercing Howl"); + +-- Twilight Marauder +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15542; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15542 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 +(15542,0,0,0,4,0,100,0,0,0,0,0,11,22911,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder - On Aggro - Cast Charge"), +(15542,0,1,0,2,0,100,1,0,20,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Marauder - Between 0-20% Health - Cast Enrage (No Repeat)"), +(15542,0,2,0,0,0,100,0,9000,15000,14000,18000,11,23600,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder - In Combat - Cast Piercing Howl"); + +-- Twilight Geolord +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11881; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11881 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 +(11881,0,0,0,0,0,100,0,0,0,2400,3800,11,9483,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Geolord - In Combat - Cast Boulder"), +(11881,0,1,0,9,0,100,0,0,20,12000,15000,11,13728,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Geolord - Within 0-20 Range - Cast Earth Shock"); + +-- Twilight Stonecaller +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11882; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11882 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 +(11882,0,0,0,0,0,100,0,0,0,3400,4800,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Stonecaller - In Combat - Cast Fireball"), +(11882,0,1,0,1,0,100,1,1000,2000,0,0,11,19704,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Stonecaller - Out of Combat - Cast Summon Earth Elemental"), +(11882,0,2,0,9,0,100,0,0,5,12000,17000,11,11020,1,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Stonecaller - Within 0-5 Range - Cast Petrify"), +(11882,0,3,0,1,0,100,1,3000,5000,0,0,11,13236,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Stonecaller - Out of Combat - Cast Nature Channeling"); + +-- Twilight Prophet +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15308; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15308 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 +(15308,0,0,0,0,0,100,0,4000,4500,12000,15000,11,15305,0,0,0,0,0,4,0,0,0,0,0,0,0,"Twilight Prophet - In Combat - Cast Chain Lightning"), +(15308,0,1,0,0,0,100,0,8000,9000,25000,28000,11,22884,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - In Combat - Cast Psychic Scream"), +(15308,0,2,0,9,0,100,0,0,8,16000,19000,11,17366,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - Within 0-8 Range - Cast Fire Nova"), +(15308,0,3,0,9,0,100,0,0,8,16000,19000,11,15531,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - Within 0-8 Range - Cast Frost Nova"); + +-- Twilight Keeper Havunth +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11804; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11804 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 +(11804,0,0,0,9,0,100,0,0,8,10000,15000,11,17366,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Keeper Havunth - Within 0-8 Range - Cast Fire Nova"), +(11804,0,1,0,9,0,100,0,0,20,8000,13000,11,13339,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Havunth - Within 0-20 Range - Cast Fire Blast"); + +-- Twilight Keeper Mayna +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15200; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15200 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 +(15200,0,0,0,0,0,100,0,7000,8500,12000,14500,11,17165,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Mayna - In Combat - Cast Mind Flay"), +(15200,0,1,0,0,0,100,0,5000,6000,20000,27000,11,15654,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Mayna - In Combat - Cast Shadow Word: Pain"), +(15200,0,2,0,0,0,100,0,9000,12000,33000,35000,11,22884,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Keeper Mayna - In Combat - Cast Psychic Scream"); + +-- Twilight Lord Everun +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14479; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14479 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 +(14479,0,0,0,0,0,100,0,0,40,3400,4700,11,19816,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Lord Everun - In Combat - Cast Fireball"), +(14479,0,1,0,9,0,100,0,0,20,12000,15000,11,17439,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 0-20 Range - Cast Shadow Shock"); + +-- Twilight Keeper Exeter +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11803; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11803 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 +(11803,0,0,0,9,0,100,0,0,5,9000,12000,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Exeter - Within 0-5 Range - Cast Mortal Strike"), +(11803,0,1,0,0,0,100,0,5000,9000,18000,22000,11,22427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Exeter - In Combat - Cast Concussion Blow"); + +-- Setis +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14471; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14471 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 +(14471,0,0,0,0,0,100,0,8000,12000,18000,26000,11,16727,0,0,0,0,0,1,0,0,0,0,0,0,0,"Setis - In Combat - Cast War Stomp"), +(14471,0,1,0,0,0,100,0,14000,20000,15000,23000,11,10887,0,0,0,0,0,2,0,0,0,0,0,0,0,"Setis - In Combat - Cast Crowd Pummel"); + +-- Zora +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14474; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14474 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 +(14474,0,0,0,9,0,100,0,0,30,12000,18000,11,21067,0,0,0,0,0,2,0,0,0,0,0,0,0,"Zora - Within 0-30 Range - Cast Poison Bolt"); + +-- Lapress +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14473; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14473 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 +(14473,0,0,0,9,0,100,0,0,5,20000,27000,11,13445,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lapress - Within 0-5 Range - Cast Rend"); + +-- Rex Ashil +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14475; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14475 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 +(14475,0,0,0,9,0,100,0,0,5,18000,22000,11,12097,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rex Ashil - Within 0-5 Range - Cast Pierce Armor"); + +-- Hive'Ashi Defender +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11722; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11722 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 +(11722,0,0,0,0,0,100,0,3000,4500,12000,15000,11,11443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Ashi Defender - In Combat - Cast Cripple"), +(11722,0,1,0,0,0,100,0,6000,9000,22000,27000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Ashi Defender - In Combat - Cast Disarm"); + +-- Hive'Ashi Sandstalker +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11723; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11723 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 +(11723,0,0,0,25,0,100,0,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive\'Ashi Sandstalker - On Reset - Cast Sneak"); + +-- Hive'Zora Wasp +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11727; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11727 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 +(11727,0,0,0,0,0,100,0,5000,8000,15000,21000,11,19448,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Zora Wasp - In Combat - Cast Poison"); + +-- Hive'Zora Reaver +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11728; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11728 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 +(11728,0,0,0,0,0,100,0,6000,9000,20000,22000,11,16790,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Zora Reaver - In Combat - Cast Knockdown"), +(11728,0,1,0,9,0,100,0,0,5,16000,19000,11,40504,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Zora Reaver - Within 0-5 Range - Cast Cleave"); + +-- Hive'Zora Hive Sister +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11729; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11729 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 +(11729,0,0,0,0,0,100,0,3000,5000,12000,16000,11,7951,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Zora Hive Sister - In Combat - Cast Toxic Spit"); + +-- Hive'Regal Ambusher +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11730; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11730 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 +(11730,0,0,0,25,0,100,0,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive\'Regal Ambusher - On Reset - Cast Sneak"), +(11730,0,1,0,9,0,100,0,0,5,15000,24000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Regal Ambusher - Within 0-5 Range - Cast Poison"); + +-- Hive'Regal Spitfire +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=11732; +DELETE FROM `smart_scripts` WHERE `entryorguid`=11732 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 +(11732,0,0,0,0,0,100,0,2000,5000,16000,19000,11,21047,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Regal Spitfire - In Combat - Cast Corrosive Acid Spit"), +(11732,0,1,0,9,0,100,0,0,5,13000,15000,11,5708,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive\'Regal Spitfire - Within 0-5 Range - Cast Swoop"); + +-- Alliance Silithyst Sentinel +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17765; +DELETE FROM `smart_scripts` WHERE `entryorguid`=17765 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 +(17765,0,0,0,0,0,100,0,2000,4500,12000,14000,11,19643,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - In Combat - Cast Mortal Strike"), +(17765,0,1,0,9,0,100,1,0,30,0,0,11,18396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - Within 0-30 Range - Cast Dismounting Blast (No Repeat)"), +(17765,0,2,0,0,0,100,0,6000,8000,22000,24000,11,18328,0,0,0,0,0,1,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - In Combat - Cast Incapacitating Shout"), +(17765,0,3,0,13,0,100,0,20000,30000,0,0,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - On Victim Casting - Cast Shield Bash"); + +-- Ironforge Brigade Rifleman +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15441; +UPDATE `creature_template_addon` SET `bytes2`=4098 WHERE `entry`=15441; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15441 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 +(15441,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ironforge Brigade Rifleman - In Combat - Cast Shoot"); + +-- Horde Silithyst Sentinel +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17766; +DELETE FROM `smart_scripts` WHERE `entryorguid`=17766 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 +(17766,0,0,0,0,0,100,0,2000,4500,12000,14000,11,19643,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast Mortal Strike"), +(17766,0,1,0,9,0,100,1,0,30,0,0,11,18396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - Within 0-30 Range - Cast Dismounting Blast (No Repeat)"), +(17766,0,2,0,0,0,100,0,6000,8000,22000,24000,11,18328,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast Incapacitating Shout"), +(17766,0,3,0,13,0,100,0,20000,30000,0,0,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - On Victim Casting - Cast Shield Bash"); + +-- Orgrimmar Legion Axe Thrower +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15617; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15617 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 +(15617,0,0,0,0,0,100,0,0,0,2300,3900,11,10277,64,0,0,0,0,2,0,0,0,0,0,0,0,"Orgrimmar Legion Axe Thrower - In Combat - Cast Throw"); + +-- Mistress Natalia Mar'alith +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=15215; +DELETE FROM `smart_scripts` WHERE `entryorguid`=15215 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 +(15215,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - On Aggro - Say Line 0"), +(15215,0,1,0,0,0,100,0,2000,4000,10000,12000,11,44415,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - In Combat - Cast Blackout"), +(15215,0,2,0,2,0,100,0,0,60,12000,20000,11,27527,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - Between 0-60% Health - Cast Healing Touch"), +(15215,0,3,0,0,0,100,0,5000,7000,16000,24000,11,11639,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - In Combat - Cast Shadow Word: Pain"), +(15215,0,4,0,0,0,100,0,12000,15000,12000,17000,11,13704,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - In Combat - Cast Psychic Scream"), +(15215,0,5,0,0,0,100,0,8000,9000,16000,17000,11,16568,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - In Combat - Cast Mind Flay"), +(15215,0,6,0,6,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar\'alith - On Death - Say Line 1"); + +DELETE FROM `creature_text` WHERE `CreatureID`=15215; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(15215,0,0,"You will make a fitting sacrifice!",12,0,100,0,0,0,10742,0,"Mistress Natalia Mar\'alith"), +(15215,1,0,"C'Thun will retake this world!",14,0,100,0,0,0,10743,0,"Mistress Natalia Mar\'alith"); diff --git a/sql/updates/world/master/2020_09_13_25_world_2017_10_02_00_world.sql b/sql/updates/world/master/2020_09_13_25_world_2017_10_02_00_world.sql new file mode 100644 index 000000000..938007c6c --- /dev/null +++ b/sql/updates/world/master/2020_09_13_25_world_2017_10_02_00_world.sql @@ -0,0 +1,15 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=25836 AND `id`=1 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 +(25836, 0, 1, 0, 1, 0, 100, 0, 1000, 120000, 140000, 300000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Loot Crazed Diver - Out Of Combat - Say Line 0"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=25836; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 2, 25836, 0, 0, 30, 1, 187909, 5, 0, 0, 0, 0, "", "Run SAI script if invoker is nearby gameobject 'Coldrock Clam'"); + +DELETE FROM `creature_text` WHERE `creatureid`=25836; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25836, 0, 0, "Mother of pearl!", 12, 0, 100, 0, 0, 0, 25037, 0, "Loot Crazed Diver"), +(25836, 0, 1, "Clam skin dress shirt here I come!", 12, 0, 100, 0, 0, 0, 25038, 0, "Loot Crazed Diver"), +(25836, 0, 2, "The clam has given up the goods!", 12, 0, 100, 0, 0, 0, 25039, 0, "Loot Crazed Diver"), +(25836, 0, 3, "BAM!", 12, 0, 100, 0, 0, 0, 25040, 0, "Loot Crazed Diver"); diff --git a/sql/updates/world/master/2020_09_13_26_world_2017_10_02_01_world.sql b/sql/updates/world/master/2020_09_13_26_world_2017_10_02_01_world.sql new file mode 100644 index 000000000..1cb9730b8 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_26_world_2017_10_02_01_world.sql @@ -0,0 +1,17 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (25205, 25211); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (25205, 25211) 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 +(25205, 0, 0, 1, 19, 0, 100, 0, 11563, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Mrmrglmr - On Quest 'Grmmurggll Mrllggrl Glrggl!!!' Accepted - Store Target (Invoker)"), +(25205, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 25211, 0, 0, 0, 0, 0, 0, "Mrmrglmr - On Quest 'Grmmurggll Mrllggrl Glrggl!!!' Accepted - Send Stored Target (Cleaver Bmurglbrm)"), +(25205, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 25211, 0, 0, 0, 0, 0, 0, "Mrmrglmr - On Quest 'Grmmurggll Mrllggrl Glrggl!!!' Accepted - Set Data 1 1 (Cleaver Bmurglbrm)"), +(25211, 0, 0, 0, 1, 0, 100, 0, 0, 0, 3000, 3000, 11, 45264, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Cleaver Bmurglbrm - Out Of Combat - Cast Spell 'Cleaver Bmrglbrm's Whale Dissection'"), +(25211, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, "Cleaver Bmurglbrm - On Data 1 1 Set - Say Line 0 (Target Stored Target)"); + +DELETE FROM `creature_text` WHERE `creatureid`=25211; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25211, 0, 0, "Psst... $r, over here! Next to the dead whale.", 15, 0, 100, 0, 0, 0, 24450, 0, "Cleaver Bmurglbrm"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=45264; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 45264, 0, 0, 31, 0, 3, 23837, 0, 0, 0, 0, "", "Spell 'Cleaver Bmrglbrm's Whale Dissection' EFFECT_1 targets 'ELM General Purpose Bunny'"); diff --git a/sql/updates/world/master/2020_09_13_27_world_2017_10_02_03_world.sql b/sql/updates/world/master/2020_09_13_27_world_2017_10_02_03_world.sql new file mode 100644 index 000000000..6b8bb7e56 --- /dev/null +++ b/sql/updates/world/master/2020_09_13_27_world_2017_10_02_03_world.sql @@ -0,0 +1,7 @@ +-- +UPDATE `creature_equip_template` SET `ItemID3`=29010 WHERE `CreatureID`=23956; + +DELETE FROM `spell_custom_attr` WHERE `entry` IN (42772, 59685); +INSERT INTO `spell_custom_attr` (`entry`,`attributes`) VALUES +(42772, 0x80000), +(59685, 0x80000); diff --git a/sql/updates/world/master/2020_09_13_28_world_2017_10_02_04_world_335.sql b/sql/updates/world/master/2020_09_13_28_world_2017_10_02_04_world_335.sql new file mode 100644 index 000000000..2b028409e --- /dev/null +++ b/sql/updates/world/master/2020_09_13_28_world_2017_10_02_04_world_335.sql @@ -0,0 +1,30 @@ +-- +-- Quests Poison Water and Thunderhorn Totem +DELETE FROM `creature_text` WHERE `CreatureID`=2948; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2948, 0, 0, "%s begins a rite of creation...", 16, 0, 100, 0, 0, 0, 952, 0, "Mull Thunderhorn"), +(2948, 0, 1, "%s holds high the items $n gave him...", 16, 0, 100, 0, 0, 0, 955, 0, "Mull Thunderhorn"), +(2948, 0, 2, "%s enters a trance...", 16, 0, 100, 0, 0, 0, 999, 0, "Mull Thunderhorn"), +(2948, 0, 3, "%s uses $n's offering in a ritual...", 16, 0, 100, 0, 0, 0, 1000, 0, "Mull Thunderhorn"), +(2948, 0, 4, "%s accepts $n's offering, and begins to chant...", 16, 0, 100, 0, 0, 0, 1001, 0, "Mull Thunderhorn"), +(2948, 0, 5, "%s draws power to him...", 16, 0, 100, 0, 0, 0, 1002, 0, "Mull Thunderhorn"), +(2948, 0, 6, "%s transforms the items $n gave him into a totem of cleansing...", 16, 0, 100, 0, 0, 0, 1003, 0, "Mull Thunderhorn"), +(2948, 0, 7, "%s creates a new totem...", 16, 0, 100, 0, 0, 0, 1004, 0, "Mull Thunderhorn"), +(2948, 1, 0, "It is done.", 12, 3, 100, 0, 0, 0, 953, 0, "Mull Thunderhorn"), +(2948, 1, 1, "The totem is made, $n.", 12, 3, 100, 0, 0, 0, 954, 0, "Mull Thunderhorn"), +(2948, 1, 2, "I have the totem of cleansing, $n.", 12, 3, 100, 0, 0, 0, 1005, 0, "Mull Thunderhorn"), +(2948, 1, 3, "The totem is made. The well may now be cleansed.", 12, 3, 100, 0, 0, 0, 1006, 0, "Mull Thunderhorn"), +(2948, 1, 4, "$n, I have created the cleansing totem.", 12, 3, 100, 0, 0, 0, 1007, 0, "Mull Thunderhorn"), +(2948, 1, 5, "The deed is done. The totem is made.", 12, 3, 100, 0, 0, 0, 1008, 0, "Mull Thunderhorn"), +(2948, 1, 6, "I have created the totem. You, $n, must cleanse the well.", 12, 3, 100, 0, 0, 0, 1009, 0, "Mull Thunderhorn"), +(2948, 1, 7, "The items you offered were pure, $n. This new cleansing totem is strong.", 12, 3, 100, 0, 0, 0, 1010, 0, "Mull Thunderhorn"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2948; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2948) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (294800) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `COMMENT`) VALUES +(2948, 0, 0, 0, 20, 0, 100, 0, 20440, 0, 0, 0, 80, 294800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Mull Thunderhorn - On Quest 'Poison Water' Rewarded - Run Script"), +(2948, 0, 1, 0, 20, 0, 100, 0, 24441, 0, 0, 0, 80, 294800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Mull Thunderhorn - On Quest 'Thunderhorn Totem' Rewarded - Run Script"), +(294800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Mull Thunderhorn - On Script - Talk 0"), +(294800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 4983, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Mull Thunderhorn - On Script - Cast 'Create Cleansing Totem"), +(294800, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Mull Thunderhorn - On Script - Talk 1"); diff --git a/sql/updates/world/master/2020_09_13_29_world_2017_10_02_06_world.sql b/sql/updates/world/master/2020_09_13_29_world_2017_10_02_06_world.sql new file mode 100644 index 000000000..2d41fd94c --- /dev/null +++ b/sql/updates/world/master/2020_09_13_29_world_2017_10_02_06_world.sql @@ -0,0 +1,8 @@ +-- +UPDATE `quest_template_addon` SET `PrevQuestID`=12206 WHERE `ID`=12211; +UPDATE `quest_template_addon` SET `PrevQuestID`=12230 WHERE `ID`=12240; +DELETE FROM `quest_template_addon` WHERE `ID` IN (12230, 12234, 12214); +INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`) VALUES +(12230, 12211), +(12234, 12230), +(12214, 12209); diff --git a/sql/updates/world/master/2020_09_14_00_world_2017_10_02_07_world.sql b/sql/updates/world/master/2020_09_14_00_world_2017_10_02_07_world.sql new file mode 100644 index 000000000..0284cf5ee --- /dev/null +++ b/sql/updates/world/master/2020_09_14_00_world_2017_10_02_07_world.sql @@ -0,0 +1,8 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=24459; +DELETE FROM `creature_template_addon` WHERE `entry`=24459; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES +(24459, "28429"); +DELETE FROM `smart_scripts` WHERE `entryorguid`=24459 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 +(24459, 0, 0, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Chillmere Coastrunner - Between 0-15% Health - Flee For Assist (No Repeat)"); diff --git a/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql b/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql new file mode 100644 index 000000000..085a6c7fc --- /dev/null +++ b/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql @@ -0,0 +1,24 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4286, 4301) AND `id`=1 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4295, 4540) AND `id`=2 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4298, 4300, 10424) AND `id`=3 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 +(4540, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Monk - Between 0-15% Health - Flee For Assist (No Repeat)"), +(4301, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Centurion - Between 0-15% Health - Flee For Assist (No Repeat)"), +(4300, 0, 3, 0, 4, 0, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Scarlet Wizard - On Aggro - Say Line 0"), +(4286, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Soldier - Between 0-15% Health - Flee For Assist (No Repeat)"), +(4295, 0, 2, 0, 4, 0, 20, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Scarlet Myrmidon - On Aggro - Say Line 1"), +(4298, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Defender - Between 0-15% Health - Flee For Assist (No Repeat)"), +(10424, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Crimson Gallant - Between 0-15% Health - Flee For Assist (No Repeat)"); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (4295, 4300); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(4300, 0, 0, "You carry the taint of the Scourge. Prepare to enter the Twisting Nether.", 12, 7, 25, 0, 0, 0, 2625, 0, "Scarlet Wizard"), +(4300, 0, 1, "There is no escape for you. The Crusade shall destroy all who carry the Scourge's taint.", 12, 7, 25, 0, 0, 0, 2626, 0, "Scarlet Wizard"), +(4300, 0, 2, "The Light condemns all who harbor evil. Now you will die!", 12, 7, 25, 0, 0, 0, 2627, 0, "Scarlet Wizard"), +(4300, 0, 3, "The Scarlet Crusade shall smite the wicked and drive evil from these lands!", 12, 7, 25, 0, 0, 0, 2628, 0, "Scarlet Wizard"), +(4295, 0, 0, "%s goes into a frenzy!", 16, 0, 100, 0, 0, 0, 1191, 0, "Scarlet Myrmidon"), +(4295, 1, 0, "You carry the taint of the Scourge. Prepare to enter the Twisting Nether.", 12, 7, 25, 0, 0, 0, 2625, 0, "Scarlet Myrmidon"), +(4295, 1, 1, "There is no escape for you. The Crusade shall destroy all who carry the Scourge's taint.", 12, 7, 25, 0, 0, 0, 2626, 0, "Scarlet Myrmidon"), +(4295, 1, 2, "The Light condemns all who harbor evil. Now you will die!", 12, 7, 25, 0, 0, 0, 2627, 0, "Scarlet Myrmidon"), +(4295, 1, 3, "The Scarlet Crusade shall smite the wicked and drive evil from these lands!", 12, 7, 25, 0, 0, 0, 2628, 0, "Scarlet Myrmidon"); diff --git a/sql/updates/world/master/2020_09_14_02_world_2017_10_02_09_world.sql b/sql/updates/world/master/2020_09_14_02_world_2017_10_02_09_world.sql new file mode 100644 index 000000000..4dea5dd79 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_02_world_2017_10_02_09_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_text` SET `Language`=7 WHERE `BroadcastTextId` IN (2625, 2626, 2627, 2628); diff --git a/sql/updates/world/master/2020_09_14_03_world_2017_10_02_10_world.sql b/sql/updates/world/master/2020_09_14_03_world_2017_10_02_10_world.sql new file mode 100644 index 000000000..b6ca4d799 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_03_world_2017_10_02_10_world.sql @@ -0,0 +1,23 @@ +-- +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (8899, 8886); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(8899, 0, 0, "Please loan me that spyglass.", 22806, 1, 1, 0), +(8886, 0, 0, "Sergeant, loan me your spyglass.", 22774, 1, 1, 0); + +DELETE FROM `gossip_menu_option_action` WHERE `MenuID` IN (8899, 8886); +INSERT INTO `gossip_menu_option_action` (`MenuId`, `OptionIndex`, `ActionMenuId`, `ActionPoiId`) VALUES +(8899, 0, 8928, 0), +(8886, 0, 8928, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN (8899, 8886); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 8899, 0, 0, 0, 8, 0, 11256, 0, 0, 0, 0, 0, "", "Gossip option requires quest 'Skorn Must Fall!' rewarded AND"), +(15, 8899, 0, 0, 0, 2, 0, 33341, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Brave's Spyglass' NOT in inventory or bank"), +(15, 8886, 0, 0, 0, 8, 0, 11248, 0, 0, 0, 0, 0, "", "Gossip option requires quest 'Operation: Skornful Wrath' rewarded AND"), +(15, 8886, 0, 0, 0, 2, 0, 33336, 1, 1, 1, 0, 0, "", "Gossip option requires item 'Sergeant's Spyglass' NOT in inventory or bank"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (24130, 24060); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (24130, 24060) 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 +(24130, 0, 0, 0, 62, 0, 100, 512, 8899, 0, 0, 0, 85, 43103, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Winterhoof Brave - On Gossip Option Selected - Invoker Cast 'Loan Spyglass'"), +(24060, 0, 0, 0, 62, 0, 100, 512, 8886, 0, 0, 0, 85, 43084, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Westguard Sergeant - On Gossip Option Selected - Invoker Cast 'Loan Spyglass'"); diff --git a/sql/updates/world/master/2020_09_14_04_world_2017_10_03_00_world.sql b/sql/updates/world/master/2020_09_14_04_world_2017_10_03_00_world.sql new file mode 100644 index 000000000..041f15939 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_04_world_2017_10_03_00_world.sql @@ -0,0 +1,32 @@ +-- +UPDATE `smart_scripts` SET `action_type`=1, `comment`="Scarlet Onslaught Prisoner - On Spellhit 'Flask of Blight' - Say Line 0" WHERE `entryorguid`=27349 AND `id`=1 AND `source_type`=0; +UPDATE `smart_scripts` SET `event_param1`=3000, `event_param2`=3000 WHERE `entryorguid`=27250 AND `id`=3; +UPDATE `smart_scripts` SET `event_phase_mask`=1 WHERE `entryorguid`=27248 AND `id`=0 AND `source_type`=0; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=27248 AND `id`=1 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 +(27248, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - On reset - Set event phase 1"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=2724800 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2724800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Set event phase 2"), +(2724800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 10, 106544, 27250, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - respawn target"), +(2724800, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Set EmoteState 0"), +(2724800, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 27250, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Set Orientation"), +(2724800, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 1"), +(2724800, 9, 5, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 27250, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 1 (Junior Apothecary Schlemiel)"), +(2724800, 9, 6, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 2"), +(2724800, 9, 7, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 27250, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 2 (Junior Apothecary Schlemiel)"), +(2724800, 9, 8, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 3"), +(2724800, 9, 9, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 11, 48201, 0, 0, 0, 0, 0, 19, 27250, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Cast Throw Blight"), +(2724800, 9, 10, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 4"), +(2724800, 9, 11, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Say Line 5"), +(2724800, 9, 12, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 2.635450, "Apothecary Vicky Levine - Script - Reset Orientation"), +(2724800, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 17, 133, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Set EmoteState 133"), +(2724800, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Apothecary Vicky Levine - Script - Set event phase 1"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=48201; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=48188; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 48201, 0, 0, 31, 0, 3, 27250, 0, 0, 0, 0, "", "Spell 'Throw Blight' targets 'Junior Apothecary Schlemiel'"), +(17, 0, 48188, 0, 0, 29, 0, 27349, 3, 0, 0, 0, 0, "", "Spell 'Flask of Blight' can only be used within 3 yards of 'Scarlet Onslaught Prisoner'"); diff --git a/sql/updates/world/master/2020_09_14_05_world_2017_10_03_01_world.sql b/sql/updates/world/master/2020_09_14_05_world_2017_10_03_01_world.sql new file mode 100644 index 000000000..a8c6a3605 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_05_world_2017_10_03_01_world.sql @@ -0,0 +1,6 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=24638; +DELETE FROM `smart_scripts` WHERE `entryorguid`=24638 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 +(24638, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2000, 2800, 11, 43619, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Keeper Witherleaf - IC - Cast 'Wrath'"), +(24638, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Keeper Witherleaf - Between 0-15% Health - Run In Fear (No Repeat)"); diff --git a/sql/updates/world/master/2020_09_14_06_world_2017_10_03_02_world.sql b/sql/updates/world/master/2020_09_14_06_world_2017_10_03_02_world.sql new file mode 100644 index 000000000..66cd3973c --- /dev/null +++ b/sql/updates/world/master/2020_09_14_06_world_2017_10_03_02_world.sql @@ -0,0 +1,8 @@ +-- +UPDATE `quest_template` SET `RewardNextQuest`=11559 WHERE `ID`=11571; +DELETE FROM `smart_scripts` WHERE `entryorguid`=25197 AND `source_type`=0 AND `id`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2519700 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(25197, 0, 0, 0, 20, 0, 100, 0, 11571, 0, 0, 0, 80, 2519700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "King Mrgl-Mrgl - On Quest Reward (Learning to Communicate) - Run Script"), +(2519700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 45324, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "King Mrgl-Mrgl - On Script - Cast 'Imbue With Understanding'"), +(2519700, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "King Mrgl-Mrgl - On Script - Say Line 0"); diff --git a/sql/updates/world/master/2020_09_14_07_world_2017_10_03_03_world.sql b/sql/updates/world/master/2020_09_14_07_world_2017_10_03_03_world.sql new file mode 100644 index 000000000..53e6d6313 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_07_world_2017_10_03_03_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `gossip_menu` WHERE `MenuID`=8985 AND `TextID`=12124; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(8985, 12124, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=8985; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 8985, 12124, 0, 0, 8, 0, 11422, 0, 0, 1, 0, 0, "", "Show gossip text if quest 'Trident of the Son' is NOT rewarded"), +(14, 8985, 12130, 0, 0, 8, 0, 11422, 0, 0, 0, 0, 0, "", "Show gossip text if quest 'Trident of the Son' is rewarded"); diff --git a/sql/updates/world/master/2020_09_14_08_world_2017_10_03_04_world.sql b/sql/updates/world/master/2020_09_14_08_world_2017_10_03_04_world.sql new file mode 100644 index 000000000..1846bef62 --- /dev/null +++ b/sql/updates/world/master/2020_09_14_08_world_2017_10_03_04_world.sql @@ -0,0 +1,21 @@ +-- +UPDATE `smart_scripts` SET `event_type`=4, `event_chance`=80, `event_param2`=0, `event_param3`=0, `event_param4`=0, `comment`="Deranged Explorer - On Aggro - Say Line 0" WHERE `entryorguid`=23967 AND `source_type`=0 AND `id`=1; + +DELETE FROM `creature_text` WHERE `CreatureID`=23967; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23967, 0, 0, "Ahahaha! I must find the secrets!", 12, 7, 100, 0, 0, 0, 22495, 0, "Deranged Explorer"), +(23967, 0, 1, "I don't want to know anymore. Make me forget!", 12, 7, 100, 0, 0, 0, 22496, 0, "Deranged Explorer"), +(23967, 0, 2, "When one studies and digs, one reveals the truth.", 12, 7, 100, 0, 0, 0, 22497, 0, "Deranged Explorer"), +(23967, 0, 3, "We're safe; IT will never reach us here!", 12, 7, 100, 0, 0, 0, 22498, 0, "Deranged Explorer"), +(23967, 0, 4, "The end is nigh! That Which Must Not Be Named is almost free!", 12, 7, 100, 0, 0, 0, 22499, 0, "Deranged Explorer"), +(23967, 0, 5, "IT's coming! HIDE!", 12, 7, 100, 0, 0, 0, 22500, 0, "Deranged Explorer"), +(23967, 0, 6, "If only there were more time!", 12, 7, 100, 0, 0, 0, 22501, 0, "Deranged Explorer"), +(23967, 0, 7, "Forgive me oh great one. I did not mean to learn the truth!", 12, 7, 100, 0, 0, 0, 22502, 0, "Deranged Explorer"), +(23967, 0, 8, "The truth shall set you free. Like us, you will be with IT forever!", 12, 7, 100, 0, 0, 0, 22503, 0, "Deranged Explorer"), +(23967, 0, 9, "Now that you know the truth, I can't let you leave!", 12, 7, 100, 0, 0, 0, 22504, 0, "Deranged Explorer"), +(23967, 0, 10, "It'll all be over soon. Soon you will be in the embrace of That Which Must Not Be Named!", 12, 7, 100, 0, 0, 0, 22505, 0, "Deranged Explorer"), +(23967, 0, 11, "Intruder! You were sent to destroy us!", 12, 7, 100, 0, 0, 0, 22506, 0, "Deranged Explorer"), +(23967, 0, 12, "You cannot leave... IT mustn't find us!", 12, 7, 100, 0, 0, 0, 22507, 0, "Deranged Explorer"), +(23967, 0, 13, "If you're here, then IT might be close behind!", 12, 7, 100, 0, 0, 0, 22508, 0, "Deranged Explorer"), +(23967, 0, 14, "I will put an end to your life before you realize the horrible truth!", 12, 7, 100, 0, 0, 0, 22509, 0, "Deranged Explorer"), +(23967, 0, 15, "Now you'll have to join us... permanently!", 12, 7, 100, 0, 0, 0, 22510, 0, "Deranged Explorer"); diff --git a/sql/updates/world/master/2020_09_14_09_world_2017_10_03_05_world.sql b/sql/updates/world/master/2020_09_14_09_world_2017_10_03_05_world.sql new file mode 100644 index 000000000..ca91ecf8f --- /dev/null +++ b/sql/updates/world/master/2020_09_14_09_world_2017_10_03_05_world.sql @@ -0,0 +1,81 @@ +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=19477; +UPDATE `smart_scripts` SET `link`=4 WHERE `entryorguid`=17058 AND `source_type`=0 AND `id`=2; +DELETE FROM `smart_scripts` WHERE `entryorguid`=17058 AND `source_type`=0 AND `id` IN (4, 5); +DELETE FROM `smart_scripts` WHERE `entryorguid`=16938 AND `source_type`=0 AND `id` BETWEEN 1 AND 14; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (1693800, 1693801) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17058, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16938, 0, 0, 0, 0, 0, 0, "Illidari Taskmaster - On Aggro - Set Data 1 1 (Dreghood Brute)"), +(17058, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 16938, 0, 0, 0, 0, 0, 0, "Illidari Taskmaster - On Death - Set Data 2 2 (Dreghood Brute)"), +(16938, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 1 1 Set - Say Line 0"), +(16938, 0, 2, 3, 38, 0, 100, 0, 2, 2, 0, 0, 117, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Disable Evade"), +(16938, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 36, 19477, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Update Template To 'Dreghood Fleeing Warrior'"), +(16938, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Set ReactState Defensive"), +(16938, 0, 5, 6, 61, 0, 100, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Stop Combat"), +(16938, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 2, 94, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Set Faction 94"), +(16938, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 9, 16938, 0, 20, 0, 0, 0, 0, "Draghood Brute - On Data 2 2 Set - Set Data 3 3 (Nearby Dreghood Brutes)"), +(16938, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 1693800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 2 2 Set - Run Script"), +(16938, 0, 9, 10, 38, 0, 100, 0, 3, 3, 0, 0, 117, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Disable Evade"), +(16938, 0, 10, 11, 61, 0, 100, 0, 0, 0, 0, 0, 36, 19477, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Update Template To 'Dreghood Fleeing Warrior'"), +(16938, 0, 11, 12, 61, 0, 100, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Set ReactState Defensive"), +(16938, 0, 12, 13, 61, 0, 100, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Stop Combat"), +(16938, 0, 13, 14, 61, 0, 100, 0, 0, 0, 0, 0, 2, 94, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Set Faction 94"), +(16938, 0, 14, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 1693801, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Data 3 3 Set - Run Script"), +(1693800, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Script - Say Line 0"), +(1693800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 89, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Script - Random Movement"), +(1693800, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -613.50, 4800.21, 38.24, 0, "Dreghood Brute - On Script - Move To Pos"), +(1693800, 9, 3, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Script - Despawn"), +(1693801, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 89, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Script - Random Movement"), +(1693801, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, -613.50, 4800.21, 38.24, 0, "Dreghood Brute - On Script - Move To Pos"), +(1693801, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dreghood Brute - On Script - Despawn"); + +DELETE FROM `creature_text` WHERE `CreatureID`=16938 AND `ID`=2; +DELETE FROM `creature_text` WHERE `CreatureID`=19477; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16938, 0, 2, "I will do as you ask, demon. At least for now.", 12, 0, 100, 0, 0, 0, 16470, 0, "Dreghood Brute"), +(19477, 0, 0, "The taskmaster's dead! Quick, Dreghoods! Run!", 12, 0, 100, 0, 0, 0, 13372, 0, "Dreghood Fleeing Warrior"), +(19477, 0, 1, "Flee! Flee!", 12, 0, 100, 0, 0, 0, 13373, 0, "Dreghood Fleeing Warrior"), +(19477, 0, 2, "This is our chance! Run for it!", 12, 0, 100, 0, 0, 0, 13374, 0, "Dreghood Fleeing Warrior"); + +DELETE FROM `creature_formations` WHERE `leaderGUID` IN (59451, 59453, 59464, 59456, 59452, 59462, 59463, 59454, 59455, 59459, 59458, 59460, 59457); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(59451, 59451, 0, 0, 3, 0, 0), +(59451, 58906, 0, 0, 3, 0, 0), +(59451, 58907, 0, 0, 3, 0, 0), +(59453, 59453, 0, 0, 3, 0, 0), +(59453, 58911, 0, 0, 3, 0, 0), +(59453, 58910, 0, 0, 3, 0, 0), +(59464, 59464, 0, 0, 3, 0, 0), +(59464, 58905, 0, 0, 3, 0, 0), +(59464, 58904, 0, 0, 3, 0, 0), +(59456, 59456, 0, 0, 3, 0, 0), +(59456, 58915, 0, 0, 3, 0, 0), +(59456, 58921, 0, 0, 3, 0, 0), +(59452, 59452, 0, 0, 3, 0, 0), +(59452, 58908, 0, 0, 3, 0, 0), +(59452, 58909, 0, 0, 3, 0, 0), +(59462, 59462, 0, 0, 3, 0, 0), +(59462, 58920, 0, 0, 3, 0, 0), +(59462, 58932, 0, 0, 3, 0, 0), +(59463, 59463, 0, 0, 3, 0, 0), +(59463, 58934, 0, 0, 3, 0, 0), +(59463, 58933, 0, 0, 3, 0, 0), +(59454, 59454, 0, 0, 3, 0, 0), +(59454, 58913, 0, 0, 3, 0, 0), +(59454, 58919, 0, 0, 3, 0, 0), +(59455, 59455, 0, 0, 3, 0, 0), +(59455, 58916, 0, 0, 3, 0, 0), +(59455, 58917, 0, 0, 3, 0, 0), +(59455, 58918, 0, 0, 3, 0, 0), +(59459, 59459, 0, 0, 3, 0, 0), +(59459, 58929, 0, 0, 3, 0, 0), +(59459, 58928, 0, 0, 3, 0, 0), +(59458, 59458, 0, 0, 3, 0, 0), +(59458, 58927, 0, 0, 3, 0, 0), +(59458, 58926, 0, 0, 3, 0, 0), +(59460, 59460, 0, 0, 3, 0, 0), +(59460, 58930, 0, 0, 3, 0, 0), +(59460, 58925, 0, 0, 3, 0, 0), +(59457, 59457, 0, 0, 3, 0, 0), +(59457, 58924, 0, 0, 3, 0, 0), +(59457, 58923, 0, 0, 3, 0, 0); diff --git a/sql/updates/world/master/2020_09_14_10_world_2017_10_03_11_world_335.sql b/sql/updates/world/master/2020_09_14_10_world_2017_10_03_11_world_335.sql new file mode 100644 index 000000000..18717100b --- /dev/null +++ b/sql/updates/world/master/2020_09_14_10_world_2017_10_03_11_world_335.sql @@ -0,0 +1,12 @@ +-- Quest "Pamela's Doll" Completion Event +DELETE FROM `creature_text` WHERE `CreatureID`=10926 AND `GroupID` IN (4, 5); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10926,4,0,"Hurray! My doll!",12,0,100,0,0,0,6416,0,"Pamela"), +(10926,5,0,"You'll keep the bad people away, won't you?",12,0,100,1,0,0,6417,0,"Pamela"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=10926 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1092600 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(10926,0,0,0,20,0,100,0,27384,0,0,0,80,1092600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Pamela - On Quest \'Pamela\'s Doll\' Finished - Run Script"), +(1092600,9,0,0,0,0,100,0,0,0,0,0,1,4,0,0,0,0,0,7,0,0,0,0,0,0,0,"Pamela - On Script - Say Line 4"), +(1092600,9,1,0,0,0,100,0,3000,3000,0,0,1,5,0,0,0,0,0,7,0,0,0,0,0,0,0,"Pamela - On Script - Say Line 5"); diff --git a/sql/updates/world/master/2020_09_15_00_world_2017_10_03_17_world_335.sql b/sql/updates/world/master/2020_09_15_00_world_2017_10_03_17_world_335.sql new file mode 100644 index 000000000..6ac30812e --- /dev/null +++ b/sql/updates/world/master/2020_09_15_00_world_2017_10_03_17_world_335.sql @@ -0,0 +1,147 @@ +-- +-- Uruson +DELETE FROM `smart_scripts` WHERE `entryorguid`=14428 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 +(14428,0,0,0,0,0,100,0,10000,15000,30000,35000,11,15971,0,0,0,0,0,1,0,0,0,0,0,0,0,"Uruson - IC - Cast Demoralizing Roar"); + +-- Rageclaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=7318 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 +(7318,0,0,0,4,0,100,1,0,0,0,0,11,7090,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rageclaw - On Aggro - Cast Bear Form"), +(7318,0,1,0,0,0,100,0,5000,7000,7000,10000,11,12161,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rageclaw - IC - Cast Maul"); + +-- Greenpaw +DELETE FROM `smart_scripts` WHERE `entryorguid`=1993 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 +(1993,0,0,0,2,0,100,0,0,50,13000,19000,11,774,0,0,0,0,0,1,0,0,0,0,0,0,0,"Greenpaw - Between 0-50% Health - Cast Rejuvenation"), +(1993,0,1,0,0,0,100,0,3000,5000,7000,11000,11,2606,0,0,0,0,0,2,0,0,0,0,0,0,0,"Greenpaw - In Combat - Cast Shock"); + +-- Ursal the Mauler +DELETE FROM `smart_scripts` WHERE `entryorguid`=2039 AND `source_type`=0 AND `id`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2039,0,0,0,0,0,100,0,4000,7000,5000,8000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ursal the Mauler - In Combat - Cast Maul"); + +-- Grimmaw +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=14429; +DELETE FROM `smart_scripts` WHERE `entryorguid`=14429 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 +(14429,0,0,0,0,0,100,0,5000,7000,12000,20000,11,19319,0,0,0,0,0,2,0,0,0,0,0,0,0,"Grimmaw - IC - Cast Vicious Bite"); + +-- Feral Nightsaber +DELETE FROM `smart_scripts` WHERE `entryorguid`=2034 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 +(2034,0,0,0,0,0,100,0,5000,7000,10000,16000,11,12166,0,0,0,0,0,2,0,0,0,0,0,0,0,"Feral Nightsaber - IC - Cast Muscle Tear"); + +-- Duskstalker +DELETE FROM `smart_scripts` WHERE `entryorguid`=14430 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 +(14430,0,0,0,0,0,100,0,3000,5000,4000,6000,11,3604,32,0,0,0,0,2,0,0,0,0,0,0,0,"Duskstalker - In Combat - Cast Tendon Rip"); + +-- Webwood Lurker +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1998; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1998 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 +(1998,0,0,0,0,0,100,0,3000,7000,13000,17000,11,11918,0,0,0,0,0,2,0,0,0,0,0,0,0,"Webwood Lurker - In Combat - Cast Poison"); + +-- Webwood Venomfang +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1999; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1999 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 +(1999,0,0,0,0,0,100,0,3000,7000,13000,17000,11,11918,0,0,0,0,0,2,0,0,0,0,0,0,0,"Webwood Venomfang - In Combat - Cast Poison"); + +-- Webwood Silkspinner +DELETE FROM `smart_scripts` WHERE `entryorguid`=2000 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 +(2000,0,0,0,9,0,100,0,0,30,40000,60000,11,12023,0,0,0,0,0,2,0,0,0,0,0,0,0,"Webwood Silkspinner - Within 0-30 Range - Cast Web"), +(2000,0,1,0,0,0,100,0,3000,7000,13000,17000,11,11918,0,0,0,0,0,2,0,0,0,0,0,0,0,"Webwood Silkspinner - In Combat - Cast Poison"); + +-- Giant Webwood Spider +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2001; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2001 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 +(2001,0,0,0,0,0,100,0,3000,7000,13000,17000,11,11918,0,0,0,0,0,2,0,0,0,0,0,0,0,"Giant Webwood Spider - In Combat - Cast Poison"); + +-- Threggil +DELETE FROM `smart_scripts` WHERE `entryorguid`=14432 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 +(14432,0,0,0,0,0,100,0,5000,7000,5000,8000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Threggil - IC - Cast Strike"); + +-- Lord Melenas +DELETE FROM `smart_scripts` WHERE `entryorguid`=2038 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 +(2038,0,0,0,4,0,100,0,0,0,0,0,11,5759,2,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Melenas - On Aggro - Cast Cat Form"), +(2038,0,1,0,4,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Melenas - On Aggro - Set Event Phase 1"), +(2038,0,2,0,0,1,100,0,5000,7000,13000,18000,11,1822,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Melenas - IC - Cast Rake (Phase 1)"), +(2038,0,3,4,2,1,100,1,0,30,0,0,28,5759,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Melenas - Between 0-30% Health - Remove Aura Cat Form"), +(2038,0,4,0,61,1,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Melenas - Between 0-30% Health - Set Phase 2"), +(2038,0,5,0,2,2,100,0,0,30,12000,18000,11,774,2,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Melenas - Between 0-30% Health - Cast Rejuvenation (Phase 2)"); + +-- Timberling Bark Ripper +DELETE FROM `smart_scripts` WHERE `entryorguid`=2025 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 +(2025,0,0,0,0,0,100,0,5000,7000,22000,25000,11,6016,0,0,0,0,0,2,0,0,0,0,0,0,0,"Timberling Bark Ripper - IC - Cast Pierce Armor"); + +-- Timberling Trampler +DELETE FROM `smart_scripts` WHERE `entryorguid`=2027 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 +(2027,0,0,0,0,0,100,0,6000,11000,7000,12000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Timberling Trampler - In Combat - Cast Trample"); + +-- Timberling Mire Beast +DELETE FROM `smart_scripts` WHERE `entryorguid`=2029 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 +(2029,0,0,0,0,0,100,0,5000,7000,12000,17000,11,5567,0,0,0,0,0,2,0,0,0,0,0,0,0,"Timberling Mire Beast - IC - Cast Miring Mud"); + +-- Elder Timberling +DELETE FROM `smart_scripts` WHERE `entryorguid`=2030 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 +(2030,0,0,0,1,0,100,0,500,1000,600000,600000,11,324,0,0,0,0,0,1,0,0,0,0,0,0,0,"Elder Timberling - Out of Combat - Cast Lightning Shield"), +(2030,0,1,0,16,0,100,0,324,1,15000,30000,11,324,0,0,0,0,0,1,0,0,0,0,0,0,0,"Elder Timberling - On Friendly Unit Missing Buff Lightning Shield - Cast Lightning Shield"), +(2030,0,2,0,2,0,100,0,0,50,9000,15000,11,332,0,0,0,0,0,1,0,0,0,0,0,0,0,"Elder Timberling - Between 0-50% Health - Cast Healing Wave"); + +-- Fury Shelda +DELETE FROM `smart_scripts` WHERE `entryorguid`=14431 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 +(14431,0,0,0,0,0,100,0,5000,7000,13000,17000,11,3589,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fury Shelda - IC - Cast Deafening Screech"); + +-- Bloodfeather Harpy +DELETE FROM `smart_scripts` WHERE `entryorguid`=2015 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 +(2015,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bloodfeather Harpy - On Aggro - Say Line 0"), +(2015,0,1,0,0,0,100,0,5000,8000,9000,12000,11,6958,0,0,0,0,0,2,0,0,0,0,0,0,0,"Bloodfeather Harpy - In Combat - Cast Blood Leech"); + +-- Bloodfeather Fury +DELETE FROM `smart_scripts` WHERE `entryorguid`=2019 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 +(2019,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bloodfeather Fury - On Aggro - Say Line 0"), +(2019,0,1,0,2,0,100,0,0,50,14000,18000,11,5515,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bloodfeather Fury - Between 0-50% Health - Cast Savagery"); + +DELETE FROM `creature_text` WHERE `CreatureID`=2019; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2019,0,0,"A fine trophy your head will make, $r.",12,0,100,0,0,0,2229,0,"Bloodfeather Fury"), +(2019,0,1,"My talons will shred your puny body, $r.",12,0,100,0,0,0,2230,0,"Bloodfeather Fury"), +(2019,0,2,"You will be easy prey, $c.",12,0,100,0,0,0,2231,0,"Bloodfeather Fury"); + +-- Bloodfeather Wind Witch +DELETE FROM `smart_scripts` WHERE `entryorguid`=2020 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 +(2020,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bloodfeather Wind Witch - On Aggro - Say Line 0"), +(2020,0,1,0,0,0,100,0,5000,7000,11000,16000,11,6982,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bloodfeather Wind Witch - IC - Cast Gust of Wind"); + +DELETE FROM `creature_text` WHERE `CreatureID`=2020; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2020,0,0,"A fine trophy your head will make, $r.",12,0,100,0,0,0,2229,0,"Bloodfeather Wind Witch"), +(2020,0,1,"My talons will shred your puny body, $r.",12,0,100,0,0,0,2230,0,"Bloodfeather Wind Witch"), +(2020,0,2,"You will be easy prey, $c.",12,0,100,0,0,0,2231,0,"Bloodfeather Wind Witch"); + +-- Bloodfeather Matriarch +DELETE FROM `smart_scripts` WHERE `entryorguid`=2021 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 +(2021,0,0,0,4,0,15,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bloodfeather Matriarch - On Aggro - Say Line 0"), +(2021,0,1,0,0,0,100,0,0,0,3400,4800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Bloodfeather Matriarch - In Combat CMC - Cast Lightning Bolt"), +(2021,0,2,0,2,0,100,0,0,50,18000,24000,11,332,1,0,0,0,0,1,0,0,0,0,0,0,0,"Bloodfeather Matriarch - Between 0-50% Health - Cast Healing Wave"); + +DELETE FROM `creature_text` WHERE `CreatureID`=2021; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2021,0,0,"A fine trophy your head will make, $r.",12,0,100,0,0,0,2229,0,"Bloodfeather Matriarch"), +(2021,0,1,"My talons will shred your puny body, $r.",12,0,100,0,0,0,2230,0,"Bloodfeather Matriarch"), +(2021,0,2,"You will be easy prey, $c.",12,0,100,0,0,0,2231,0,"Bloodfeather Matriarch"); diff --git a/sql/updates/world/master/2020_09_15_01_world_2017_10_03_18_world.sql b/sql/updates/world/master/2020_09_15_01_world_2017_10_03_18_world.sql new file mode 100644 index 000000000..05b16a614 --- /dev/null +++ b/sql/updates/world/master/2020_09_15_01_world_2017_10_03_18_world.sql @@ -0,0 +1,27 @@ +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=31892; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (31892, 3189200) AND `source_type` IN (0, 9); +DELETE FROM smart_scripts WHERE entryorguid IN (-121628, -121627, -121626, -121625, -121624, -121623, -121622, -121621, -121620, -121619, -121618, -121617, -121616, -121615) 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 +(31892, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 24110, 0, 50, 0, 0, 0, 0, "Darkspeaker R'khem - On Respawn - Set Data 1 1 (ELM General Purpose Bunny Large)"), +(31892, 0, 1, 0, 20, 0, 100, 0, 13308, 0, 0, 0, 80, 3189200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Darkspeaker R'khem - On Quest 'Mind Tricks' Rewarded - Run Script"), +(3189200, 9, 0, 0, 0, 0, 100, 0, 500, 500, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Darkspeaker R'khem - On Script - Say Line 0"), +(3189200, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 11, 51347, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Darkspeaker R'khem - On Script - Cast 'Teleport Visual Only'"), +(3189200, 9, 2, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Darkspeaker R'khem - On Script - Despawn"), +(-121628, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59952, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Right Hand'"), +(-121627, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59951, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Left Hand'"), +(-121626, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59951, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Left Hand'"), +(-121625, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121624, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121623, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121622, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59951, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Left Hand'"), +(-121621, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59951, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Left Hand'"), +(-121620, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121619, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121618, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 5432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Torso Blood Back'"), +(-121617, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59952, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Right Hand'"), +(-121616, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59952, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Right Hand'"), +(-121615, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 11, 59952, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "ELM General Purpose Bunny Large - On Data 1 1 Set - Cast 'Mind Trick: Chains - Right Hand'"); + +DELETE FROM `creature_text` WHERE `CreatureID`=31892; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(31892, 0, 0, "%s makes a strange noise that translates as laughter in your mind.", 16, 0, 100, 0, 0, 0, 32533, 0, "Darkspeaker R'khem"); diff --git a/sql/updates/world/master/2020_09_15_02_world_2017_10_05_00_world.sql b/sql/updates/world/master/2020_09_15_02_world_2017_10_05_00_world.sql new file mode 100644 index 000000000..f2c61cc9b --- /dev/null +++ b/sql/updates/world/master/2020_09_15_02_world_2017_10_05_00_world.sql @@ -0,0 +1,9 @@ +-- +DELETE FROM `gossip_menu` WHERE `MenuID`=7162 AND `TextID`=8432; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(7162, 8432, 0); +UPDATE `gossip_menu_option` SET `OptionIcon` = 1 WHERE `MenuID` = 7162; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=7162; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 7162, 8431, 0, 0, 8, 0, 9152, 0, 0, 1, 0, 0, "", "Show gossip text if quest 'Tomber\'s Supplies' has not been rewarded."), +(14, 7162, 8432, 0, 0, 8, 0, 9152, 0, 0, 0, 0, 0, "", "Show gossip text if quest 'Tomber\'s Supplies' has been rewarded.");