From 8a1b5206a4d3c6a21094af3f5dd53d582849fd73 Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Thu, 21 Aug 2025 13:41:45 +0200 Subject: [PATCH] fixes in Sunken Temple (#660) many smart script fixes in Sunken Temple --- sql/world/base/dungeon_sunken_temple.sql | 167 +++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 sql/world/base/dungeon_sunken_temple.sql diff --git a/sql/world/base/dungeon_sunken_temple.sql b/sql/world/base/dungeon_sunken_temple.sql new file mode 100644 index 0000000..b68a3d8 --- /dev/null +++ b/sql/world/base/dungeon_sunken_temple.sql @@ -0,0 +1,167 @@ +/* smart scripts */ +UPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (8319); +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN +(1063, 5225, 5226, 5228, 5243, 5256, 5259, 5261, 5263, 5267, 5269, 5270, 5271, 5273, 5277, 5283, 5291, 5399, 5400, 5708, 5709, 5710, 5712, 5713, 5714, 5715, 5716, 5717, 5719, 5720, 5721, 5722, 8384, 8438, 8443, 8497, 8580); +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN +(1063, 5225, 5226, 5228, 5243, 5256, 5259, 5261, 5263, 5267, 5269, 5270, 5271, 5273, 5277, 5283, 5291, 5399, 5400, 5708, 5709, 5710, 5712, 5713, 5714, 5715, 5716, 5717, 5719, 5720, 5721, 5722, 8319, 8384, 8438, 8443, 8497, 8580); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, +`event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, +`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, +`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +-- +(1063, 0, 0, 0, 4, 0, 100, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jade - On Aggro - Say Line 0'), +(1063, 0, 1, 0, 9, 0, 100, 0, 0, 0, 45000, 50000, 0, 5, 11, 12533, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Jade - Within 0-5 Range - Cast Acid Breath'), +(5225, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2000, 4000, 0, 0, 11, 6917, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Murk Spitter - In Combat - Cast Venom Spit'), +(5226, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8601, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murk Worm - On Reset - Cast Slowing Poison Proc'), +(5228, 0, 0, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 11, 12018, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Saturated Ooze - Between 0-50% Health - Cast Summon Oozelin (No Repeat)'), +(5243, 0, 0, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 12020, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Cursed Atal\'ai - Between 0-30% Health - Cast Call of the Grave (No Repeat)'), +(5256, 0, 0, 0, 0, 0, 100, 0, 7000, 15000, 12000, 17000, 0, 0, 11, 13446, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Warrior - Within 0-5 Range - Cast Strike'), +(5256, 0, 1, 0, 0, 0, 100, 0, 7000, 16000, 19000, 20000, 0, 0, 11, 13445, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Warrior - Within 0-5 Range - Cast Rend'), +(5259, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 9532, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - In Combat - Cast Lightning Bolt'), +(5259, 0, 1, 0, 0, 0, 100, 0, 6000, 12000, 15000, 20000, 0, 0, 11, 12058, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - In Combat - Cast Chain Lightning'), +(5259, 0, 2, 0, 0, 0, 100, 0, 10000, 20000, 25000, 35000, 0, 0, 11, 11641, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - Within 0-20 Range - Cast Hex'), +(5259, 0, 3, 0, 14, 0, 100, 0, 1800, 30, 25000, 35000, 0, 0, 11, 11986, 65, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - Friendly Missing Health - Cast Healing Wave'), +(5259, 0, 4, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - Between 0-15% Health - Flee For Assist (No Repeat)'), +(5259, 0, 5, 0, 1, 0, 100, 0, 1000, 3000, 5000, 10000, 0, 0, 11, 32992, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Witch Doctor - Out of Combat - Cast Ice Cast Visual'), +(5261, 0, 0, 0, 0, 0, 100, 0, 5000, 12000, 18000, 25000, 0, 0, 11, 12021, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Enthralled Atal\'ai - Within 0-5 Range - Cast Fixate'), +(5263, 0, 0, 0, 0, 0, 100, 0, 6000, 11000, 4000, 10000, 0, 0, 11, 16186, 32, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Mummified Atal\'ai - In Combat - Cast Fevered Plague'), +(5267, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8876, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unliving Atal\'ai - On Reset - Cast Thrash Proc'), +(5267, 0, 1, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8247, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unliving Atal\'ai - On Reset - Cast Wandering Plague Proc'), +(5267, 0, 2, 3, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 8269, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unliving Atal\'ai - Between 0-30% Health - Cast Frenzy (No Repeat)'), +(5267, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unliving Atal\'ai - On Frenzy - Say Line 0'), +(5269, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 12040, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Priest - On Aggro - Cast Shadow Shield'), +(5269, 0, 1, 0, 74, 0, 100, 0, 0, 0, 10000, 20000, 50, 40, 11, 12039, 65, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Priest - Friendly Between 0-50% Health - Cast Heal'), +(5269, 0, 2, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Priest - In Combat - Cast Shadow Bolt'), +(5269, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Priest - Between 0-15% Health - Flee For Assist (No Repeat)'), +(5270, 0, 0, 0, 2, 0, 100, 0, 0, 30, 12000, 12000, 0, 0, 11, 12134, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Corpse Eater - Between 0-30% Health - Cast Atal\'ai Corpse Eat'), +(5271, 0, 0, 0, 0, 0, 100, 0, 5000, 9000, 7000, 12000, 0, 0, 11, 11639, 0, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Deathwalker - In Combat - Cast Shadow Word: Pain'), +(5271, 0, 1, 0, 0, 0, 100, 0, 10000, 15000, 14000, 20000, 0, 0, 11, 12096, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Deathwalker - In Combat - Cast Fear'), +(5271, 0, 2, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 12095, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Deathwalker - On Death - Cast Summon Atal\'ai Deathwalker\'s Spirit'), +(5271, 0, 3, 0, 1, 0, 100, 512, 5000, 5000, 5000, 5000, 0, 0, 19, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai Deathwalker - Out of Combat - Remove Unit Flags'), +(5273, 0, 0, 0, 74, 0, 100, 0, 0, 0, 4000, 10000, 40, 40, 11, 8362, 64, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - Friendly Between 0-40% Health - Cast Renew'), +(5273, 0, 1, 0, 74, 0, 100, 0, 0, 0, 5000, 8000, 20, 40, 11, 12039, 65, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - Friendly Between 0-20% Health - Cast Heal'), +(5273, 0, 2, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 9613, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - In Combat - Cast Shadow Bolt'), +(5273, 0, 3, 0, 2, 0, 100, 1, 0, 30, 0, 0, 0, 0, 11, 12040, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - In Combat - Cast Shadow Shield (No Repeat)'), +(5273, 0, 4, 0, 0, 0, 100, 0, 10000, 20000, 60000, 75000, 0, 0, 11, 12151, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - In Combat - Cast Summon Atal\'ai Skeleton'), +(5273, 0, 5, 0, 1, 0, 100, 512, 5000, 5000, 5000, 5000, 0, 0, 19, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - Out of Combat - Remove Unit Flags'), +(5273, 0, 6, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'ai High Priest - Between 0-15% Health - Flee For Assist (No Repeat)'), +(5277, 0, 0, 0, 0, 0, 100, 0, 2000, 4000, 9000, 11000, 0, 0, 11, 3248, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Scalebane - In Combat - Cast Improved Blocking'), +(5283, 0, 0, 0, 0, 0, 100, 0, 13000, 16000, 12000, 19000, 0, 0, 11, 11976, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Wanderer - Within 0-5 Range - Cast Strike'), +(5283, 0, 1, 0, 9, 0, 100, 0, 0, 0, 23800, 38200, 0, 5, 11, 12097, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Wanderer - Within 0-5 Range - Cast Pierce Armor'), +(5291, 0, 0, 0, 9, 0, 100, 0, 0, 0, 8000, 17800, 0, 5, 11, 5708, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Frostwing - Within 0-5 Range - Cast Swoop'), +(5291, 0, 1, 0, 0, 0, 100, 0, 5000, 9000, 15000, 32000, 0, 0, 11, 8398, 64, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Frostwing - In Combat - Cast Frostbolt Volley'), +(5291, 0, 2, 0, 106, 0, 100, 0, 0, 0, 16000, 29000, 0, 8, 11, 11831, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Frostwing - Within 0-8 Range - Cast Frost Nova'), +(5399, 0, 0, 1, 2, 0, 100, 0, 0, 30, 0, 0, 0, 0, 11, 8599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - Between 0-30% Health - Cast Enrage'), +(5399, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - On Enrage - Say Line 0'), +(5400, 0, 0, 0, 0, 0, 100, 0, 0, 5000, 60000, 60000, 0, 0, 11, 8282, 64, 0, 0, 0, 0, 21, 20, 0, 0, 0, 0, 0, 0, 0, 'Zekkis - Within 0-20 Range - Cast Curse of Blood'), +(5400, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 120000, 120000, 0, 0, 11, 7102, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Zekkis - Within 0-5 Range - Cast Contagion of Rot'), +(5399, 0, 2, 0, 9, 0, 100, 0, 0, 0, 7000, 14000, 0, 5, 11, 11977, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Veyzhak the Cannibal - Within 0-5 Range - Cast Rend'), +(5708, 0, 0, 0, 0, 0, 100, 0, 1000, 3000, 1000, 6000, 0, 0, 11, 12280, 96, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0, 'Spawn of Hakkar - In Combat - Cast Acid of Hakkar'), +-- +(5709, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 12535, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - On Reset - Cast Shade of Eranikus Passive Visual'), +(5709, 0, 1, 0, 0, 0, 10, 0, 1000, 1000, 1000, 1000, 0, 0, 11, 3391, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - On Reset - Cast Thrash'), +(5709, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - On Aggro - Say Line 0'), +(5709, 0, 3, 0, 0, 0, 100, 0, 14000, 20000, 20000, 30000, 0, 0, 11, 11876, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - In Combat - Cast War Stomp'), +(5709, 0, 4, 0, 0, 0, 100, 0, 5000, 6000, 20000, 25000, 0, 0, 11, 12890, 35, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - In Combat - Cast Deep Slumber'), +(5709, 0, 5, 0, 9, 0, 100, 0, 0, 0, 8000, 18000, 0, 5, 11, 12891, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - In Combat - Cast Acid Breath'), +(5709, 0, 6, 0, 1, 0, 100, 512, 5000, 5000, 5000, 5000, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - Out of Combat - Remove Unit Flags'), +(5709, 0, 7, 0, 4, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shade of Eranikus - On Aggro - Set Instance Data 12'), +-- +(5710, 0, 0, 0, 0, 0, 100, 0, 4000, 10000, 30000, 30000, 0, 0, 11, 8376, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - In Combat - Cast Earthgrab Totem'), +(5710, 0, 1, 0, 0, 0, 100, 0, 2000, 8000, 13000, 18000, 0, 0, 11, 12468, 0, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - In Combat - Cast Flamestrike'), +(5710, 0, 2, 0, 2, 0, 100, 0, 0, 80, 5000, 15000, 40, 40, 11, 12492, 65, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - Between 0-80% Health - Cast Healing Wave'), +(5710, 0, 3, 0, 14, 0, 100, 0, 1000, 40, 3000, 10000, 0, 0, 11, 12492, 64, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - Friendly Missing 1000 Health - Cast Healing Wave'), +(5710, 0, 4, 5, 0, 0, 100, 0, 7000, 12000, 20000, 25000, 0, 0, 11, 12479, 0, 0, 0, 0, 0, 5, 30, 1, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - In Combat - Cast Hex of Jammal\'an'), +(5710, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Hex of Jammal\'an- Say Line 1'), +(5710, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Aggro - Say Line 2'), +(5710, 0, 7, 0, 5, 0, 100, 0, 5000, 5000, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Kill - Say Line 1'), +(5710, 0, 8, 0, 2, 0, 100, 1, 0, 10, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - Between Health 0-10% - Say Line 4'), +(5710, 0, 9, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Aggro - Call For Help'), +(5710, 0, 10, 11, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 28, 12479, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Death - Remove Aura'), +(5710, 0, 11, 12, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 28, 12480, 0, 0, 0, 0, 0, 18, 100, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Death - Remove Aura'), +(5710, 0, 12, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 1, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Death - Set Instance Data 1 to 3'), +(5710, 0, 13, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 13540, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Respawn - Cast Green Channeling'), +(5710, 0, 14, 0, 21, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 13540, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - On Reached Home - Cast Green Channeling'), +(5710, 0, 15, 0, 1, 0, 100, 512, 5000, 5000, 5000, 5000, 0, 0, 19, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Jammal\'an the Prophet - Out of Combat - Remove Unit Flags'), +-- +(5712, 0, 0, 0, 0, 0, 100, 0, 2000, 3000, 6000, 10000, 0, 0, 11, 12058, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Zolo - In Combat - Cast Chain Lightning'), +(5712, 0, 1, 0, 0, 0, 100, 0, 8000, 10000, 10000, 12000, 0, 0, 11, 12506, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zolo - In Combat - Cast Atal\'ai Skeleton Totem'), +(5712, 0, 2, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zolo - On Death - Set Instance Data 11'), +(5713, 0, 0, 0, 9, 0, 100, 0, 0, 0, 4000, 6000, 0, 0, 11, 15580, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Gasher - Within 0-5 Range - Cast Strike'), +(5713, 0, 1, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gasher - On Death - Set Instance Data 11'), +(5714, 0, 0, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 0, 0, 11, 3639, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Loro - In Combat - Cast Improved Blocking'), +(5714, 0, 1, 0, 0, 0, 100, 0, 8000, 10000, 10000, 12000, 0, 0, 11, 15655, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Loro - In Combat - Cast Shield Slam'), +(5714, 0, 2, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Loro - On Death - Set Instance Data 11'), +(5715, 0, 0, 0, 0, 0, 100, 0, 8000, 10000, 15000, 18000, 0, 0, 11, 12790, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hukku - In Combat - Cast Hukku\'s Guardians'), +(5715, 0, 1, 0, 0, 0, 100, 0, 0, 0, 3000, 4000, 0, 0, 11, 12471, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Hukku - In Combat - Cast Shadow Bolt'), +(5715, 0, 2, 0, 0, 0, 100, 0, 10000, 12000, 10000, 12000, 0, 0, 11, 9081, 65, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hukku - In Combat - Cast Shadow Bolt Volley'), +(5715, 0, 3, 0, 0, 0, 100, 0, 4000, 6000, 8000, 10000, 0, 0, 11, 12279, 34, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Hukku - In Combat - Cast Curse of Blood'), +(5715, 0, 4, 5, 25, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 8656, 100, 0, 0, 0, 0, 0, 0, 'Hukku - On Reset - Despawn'), +(5715, 0, 5, 6, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 8657, 100, 0, 0, 0, 0, 0, 0, 'Hukku - On Reset - Despawn'), +(5715, 0, 6, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 8658, 100, 0, 0, 0, 0, 0, 0, 'Hukku - On Reset - Despawn'), +(5715, 0, 7, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hukku - On Death - Set Instance Data 11'), +(5716, 0, 0, 0, 9, 0, 100, 0, 0, 0, 8000, 12000, 0, 5, 11, 40505, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Zul\'Lor - Within 0-5 Range - Cast Cleave'), +(5716, 0, 1, 0, 0, 0, 100, 0, 8000, 10000, 14000, 16000, 0, 0, 11, 12530, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zul\'Lor - In Combat - Cast Frailty'), +(5716, 0, 2, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zul\'Lor - On Death - Set Instance Data 11'), +(5717, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 8148, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mijan - On Aggro - Cast Thorns Aura'), +(5717, 0, 1, 0, 74, 0, 100, 0, 3000, 5000, 10000, 12000, 90, 40, 11, 8362, 64, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mijan - Friendly Missing Health - Cast Renew'), +(5717, 0, 2, 0, 0, 0, 100, 0, 6000, 8000, 15000, 20000, 0, 0, 11, 11899, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mijan - In Combat - Cast Healing Ward'), +(5717, 0, 3, 0, 74, 0, 100, 0, 0, 0, 15000, 20000, 50, 40, 11, 12492, 65, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mijan - Friendly Between 0-50% Health - Cast Healing Wave'), +(5717, 0, 4, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mijan - On Death - Set Instance Data 11'), +-- +(5719, 0, 0, 0, 0, 0, 100, 0, 8000, 13000, 19000, 34000, 0, 0, 11, 12882, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morphaz - In Combat - Cast Wing Flap'), +(5719, 0, 1, 0, 9, 0, 100, 0, 0, 0, 8000, 17000, 0, 5, 11, 12884, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Morphaz - Within 0-5 Range - Cast Acid Breath'), +(5719, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morphaz - On Aggro - Call For Help'), +(5720, 0, 0, 0, 0, 0, 100, 0, 8000, 13000, 19000, 34000, 0, 0, 11, 12882, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Weaver - In Combat - Cast Wing Flap'), +(5720, 0, 1, 0, 9, 0, 100, 0, 0, 0, 6000, 21000, 0, 5, 11, 12884, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Weaver - Within 0-5 Range - Cast Acid Breath'), +(5720, 0, 2, 0, 60, 0, 100, 769, 0, 0, 3000, 3000, 0, 0, 44, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Weaver - On Update - Set Ingame Phase Mask'), +(5720, 0, 3, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Weaver - On Aggro - Call For Help'), +(5721, 0, 0, 0, 0, 0, 100, 0, 8000, 13000, 19000, 34000, 0, 0, 11, 12882, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - In Combat - Cast Wing Flap'), +(5721, 0, 1, 0, 9, 0, 100, 0, 0, 0, 8000, 17000, 0, 5, 11, 12884, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - Within 0-5 Range - Cast Acid Breath'), +(5721, 0, 2, 3, 60, 0, 100, 769, 0, 0, 3000, 3000, 0, 0, 44, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - On Update - Set Ingame Phase Mask'), +(5721, 0, 3, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - On Update - Say Line 1'), +(5721, 0, 4, 5, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - On Aggro - Say Line 0'), +(5721, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Dreamscythe - On Aggro - Call For Help'), +(5722, 0, 0, 0, 0, 0, 100, 0, 8000, 13000, 19000, 34000, 0, 0, 11, 12882, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hazzas - In Combat - Cast Wing Flap'), +(5722, 0, 1, 0, 9, 0, 100, 0, 0, 0, 8000, 17000, 0, 5, 11, 12884, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Hazzas - Within 0-5 Range - Cast Acid Breath'), +(5722, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 39, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hazzas - On Aggro - Call For Help'), +-- +(8384, 0, 0, 0, 0, 0, 100, 0, 6000, 15000, 10000, 24000, 0, 0, 11, 5568, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deep Lurker - In Combat - Cast Trample'), +(8438, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 7741, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Bloodkeeper - On Respawn - Cast Summoned Demon'), +(8438, 0, 1, 0, 1, 0, 100, 1, 1000, 1000, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 40, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Bloodkeeper - Out of Combat - Attack Start'), +(8438, 0, 2, 0, 0, 0, 100, 0, 0, 0, 2000, 2000, 0, 0, 11, 12471, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Bloodkeeper - In Combat - Cast Shadow Bolt'), +(8438, 0, 3, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 0, 0, 11, 11671, 32, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Hakkari Bloodkeeper - In Combat - Cast Corruption'), +-- +(8443, 0, 0, 1, 1, 0, 100, 513, 10000, 10000, 0, 0, 0, 0, 34, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Out of Combat - Set Instance Data 2 to NOT_STARTED'), +(8443, 0, 1, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Out of Combat - Despawn'), +(8443, 0, 2, 3, 1, 0, 100, 769, 3000, 3000, 0, 0, 0, 0, 19, 33555200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Out of Combat - Remove Unit Flags'), +(8443, 0, 3, 4, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 11, 12948, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Out of Combat - Cast Avatar of Hakkar is summoned'), +(8443, 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 40, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Out of Combat - Attack Start'), +(8443, 0, 5, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 2, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - On Death - Set Instance Data 2 to DONE'), +(8443, 0, 6, 0, 25, 0, 100, 769, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - On Reset - Set Active'), +(8443, 0, 7, 0, 0, 0, 100, 0, 9000, 18000, 9000, 18000, 0, 0, 11, 6607, 32, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - Within 0-5 Range - Cast Lash'), +(8443, 0, 8, 0, 0, 0, 100, 0, 6000, 14000, 14000, 22000, 0, 0, 11, 12889, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - In Combat - Cast Curse of Tongues'), +(8443, 0, 9, 0, 0, 0, 100, 0, 9000, 10000, 9000, 10000, 0, 0, 11, 12888, 32, 0, 0, 0, 0, 6, 30, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - In Combat - Cast Cause Insanity'), +(8443, 0, 10, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Hakkar - On Aggro - Say Line 0'), +-- +(8497, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 7741, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Suppressor - On Respawn - Cast Summoned Demon'), +(8497, 0, 1, 0, 60, 0, 100, 257, 1000, 1000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Suppressor - On Update - Say Line 0'), +(8497, 0, 2, 0, 1, 0, 100, 1, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -451.12, 275.37, -90.55, 0, 'Nightmare Suppressor - Out of Combat - Move To Pos'), +(8497, 0, 3, 0, 1, 0, 100, 1, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -482.84, 273.66, -90.63, 0, 'Nightmare Suppressor - Out of Combat - Move To Pos'), +(8497, 0, 4, 0, 1, 0, 100, 1, 4000, 4000, 0, 0, 0, 0, 11, 12623, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Suppressor - Out of Combat - Cast Suppression'), +(8497, 0, 5, 0, 1, 0, 100, 512, 4000, 4000, 1000, 1000, 0, 0, 63, 2, 1, 0, 0, 0, 0, 19, 8440, 40, 0, 0, 0, 0, 0, 0, 'Nightmare Suppressor - Out of Combat - Set Counter'), +(8497, 0, 6, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 0, 0, 11, 11671, 32, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Nightmare Suppressor - In Combat - Cast Corruption'), +-- +(8580, 0, 1, 2, 60, 0, 100, 769, 0, 0, 3000, 3000, 0, 0, 44, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - On Update - Set Ingame Phase Mask'), +(8580, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - On Update - Say Line 0'), +(8580, 0, 3, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - On Aggro - Say Line 1'), +(8580, 0, 4, 0, 0, 0, 100, 0, 10000, 14000, 21000, 41000, 0, 0, 11, 12887, 0, 0, 0, 0, 0, 21, 10, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - In Combat - Cast Sweeping Slam'), +(8580, 0, 5, 0, 0, 0, 100, 0, 9000, 18000, 20000, 32000, 0, 0, 11, 6524, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - In Combat - Cast Ground Tremor'), +(8580, 0, 6, 7, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 104, 0, 0, 0, 0, 0, 0, 20, 148838, 100, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - On Death - Set Gameobject Flags'), +(8580, 0, 7, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Atal\'alarion - On Death - Set Instance Data 0 to 3'); + + +DELETE FROM `creature_text` WHERE `CreatureID` IN (5399); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(5399, 0, 0, '$s becomes enraged!', 16, 0, 100, 0, 0, 0, 10677, 0, 'Veyzhak the Cannibal enrage at 30%');