From 8eef2688680a0e8805bb7cd05dc88f8ef985b215 Mon Sep 17 00:00:00 2001 From: Dan <83884799+elthehablo@users.noreply.github.com> Date: Sun, 12 Nov 2023 16:20:58 +0100 Subject: [PATCH] fix(DB/BladesEdgeMountains): several SAI fixes for the mobs in the upper forge camps (#17686) initial commit --- .../several-SAI-fixes-CMANGOS.sql | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 data/sql/updates/pending_db_world/several-SAI-fixes-CMANGOS.sql diff --git a/data/sql/updates/pending_db_world/several-SAI-fixes-CMANGOS.sql b/data/sql/updates/pending_db_world/several-SAI-fixes-CMANGOS.sql new file mode 100644 index 000000000..6b1115fa8 --- /dev/null +++ b/data/sql/updates/pending_db_world/several-SAI-fixes-CMANGOS.sql @@ -0,0 +1,59 @@ +-- +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (19973, 22204, 22281, 23353, 23354, 23355); +INSERT INTO `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 +(19973, 0, 0, 0, 8, 0, 100, 513, 40825, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Abyssal Flamebringer - On Spellhit \'Banishment\' - Set Event Phase 1 (Phase 1) (No Repeat)'), +(19973, 0, 1, 0, 6, 1, 100, 512, 0, 0, 0, 0, 0, 0, 33, 23327, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Abyssal Flamebringer - On Just Died - Quest Credit \'Banish the Demons\' (Phase 1) (No Repeat)'), +(19973, 0, 2, 0, 0, 0, 100, 0, 6000, 15000, 18000, 28000, 0, 0, 11, 37633, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Abyssal Flamebringer - IC - Cast Abyssal Strike'), +(22204, 0, 0, 0, 8, 0, 100, 513, 40825, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fear Fiend - On Spellhit \'Banishment\' - Set Event Phase 1'), +(22204, 0, 1, 0, 6, 1, 100, 512, 0, 0, 0, 0, 0, 0, 33, 23327, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Fear Fiend - On Just Died - Quest Credit \'Banish the Demons\''), +(22204, 0, 2, 0, 0, 0, 100, 0, 9000, 20000, 13000, 27000, 0, 0, 11, 38356, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fear Fiend - IC - Cast Fel Flames'), +(22281, 0, 0, 0, 1, 0, 100, 513, 3000, 3000, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galvanoth - OOC - Set Faction'), +(22281, 0, 1, 0, 1, 0, 100, 513, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, 0, 'Galvanoth - OOC - Random Yell'), +(22281, 0, 2, 0, 9, 0, 100, 0, 0, 0, 8000, 11000, 0, 30, 11, 39139, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Galvanoth - On Range - Cast Fel Flamestike'), +(22281, 0, 3, 0, 106, 0, 100, 0, 13000, 23000, 13000, 23000, 0, 10, 11, 38750, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galvanoth - On Range - Cast War Stomp'), +(22281, 0, 4, 0, 9, 0, 100, 0, 0, 0, 11000, 18000, 0, 5, 11, 15708, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Galvanoth - On Range - Cast Mortal Strike'), +(23353, 0, 0, 0, 1, 0, 100, 513, 3000, 3000, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Braxxus - OOC - Set Faction'), +(23353, 0, 1, 0, 1, 0, 100, 513, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, 0, 'Braxxus - OOC - Random Yell'), +(23353, 0, 2, 0, 9, 0, 100, 0, 0, 0, 12000, 18000, 0, 5, 11, 41437, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Braxxus - On Range - Cast Double Breath'), +(23353, 0, 3, 0, 9, 0, 100, 512, 0, 0, 7000, 8000, 0, 10, 11, 41439, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Braxxus - On Range - Cast Mangle'), +(23353, 0, 4, 0, 0, 0, 100, 0, 9000, 15000, 15000, 25000, 0, 0, 11, 41436, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Braxxus - IC - Cast Panic'), +(23354, 0, 0, 0, 1, 0, 100, 513, 3000, 3000, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mo arg Incinerator - OOC - Set Faction'), +(23354, 0, 1, 0, 1, 0, 100, 513, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, 0, 'Mo arg Incinerator - OOC - Random Yell'), +(23354, 0, 2, 0, 9, 0, 100, 0, 0, 0, 5000, 8000, 0, 40, 11, 44431, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mo arg Incinerator - On Range - Cast Acid Geyser'), +(23354, 0, 3, 0, 9, 0, 100, 0, 0, 0, 10000, 15000, 10, 60, 11, 36606, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mo arg Incinerator - On Range - Cast Mighty Charge'), +(23354, 0, 4, 0, 9, 0, 100, 512, 0, 0, 15000, 25000, 0, 5, 11, 25174, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Mo arg Incinerator - On Range - Cast Sundering Cleave'), +(23355, 0, 0, 0, 1, 0, 100, 513, 3000, 3000, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zarcsin - OOC - Set Faction'), +(23355, 0, 1, 0, 1, 0, 100, 513, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 50, 0, 0, 0, 0, 0, 0, 0, 'Zarcsin - OOC - Random Yell'), +(23355, 0, 2, 0, 9, 0, 100, 0, 0, 0, 5000, 8000, 0, 5, 11, 41444, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Zarcsin - On Range - Cast Fel Flames'), +(23355, 0, 3, 0, 2, 0, 100, 1, 0, 50, 5000, 8000, 0, 0, 11, 41447, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Zarcsin - 50% HP - Cast Enrage'); + +DELETE FROM `creature_text` WHERE `GroupID` = 0 AND `CreatureID` IN (22281, 23353, 23354, 23355); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(22281, 0, 0, 'I am older than you can fathom. Show some respect!', 14, 0, 100, 0, 0, 0, 21688, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 1, 'As I shall consume your flesh, so too shall the Burning Legion consume your people!', 14, 0, 100, 0, 0, 0, 21689, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 2, 'I will make your death a quick one, $n.', 14, 0, 100, 0, 0, 0, 21692, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 3, 'May whatever god you believe in have mercy on you. For I will show you none.', 14, 0, 100, 0, 0, 0, 21694, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 4, 'Eager to die, are we?', 14, 0, 100, 0, 0, 0, 21697, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 5, 'Your death is at hand, $n. Savor these last moments.', 14, 0, 100, 0, 0, 0, 21702, 0, 'Galvanoth - Random Yell on Spawn'), +(22281, 0, 6, 'You dare summon me? Your insolence will be punished.', 14, 0, 100, 0, 0, 0, 21721, 0, 'Galvanoth - Random Yell on Spawn'), +(23353, 0, 0, 'I am older than you can fathom. Show some respect!', 14, 0, 100, 0, 0, 0, 21688, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 1, 'As I shall consume your flesh, so too shall the Burning Legion consume your people!', 14, 0, 100, 0, 0, 0, 21689, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 2, 'I will make your death a quick one, $n.', 14, 0, 100, 0, 0, 0, 21692, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 3, 'May whatever god you believe in have mercy on you. For I will show you none.', 14, 0, 100, 0, 0, 0, 21694, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 4, 'Eager to die, are we?', 14, 0, 100, 0, 0, 0, 21697, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 5, 'Your death is at hand, $n. Savor these last moments.', 14, 0, 100, 0, 0, 0, 21702, 0, 'Braxxus - Random Yell on Spawn'), +(23353, 0, 6, 'You dare summon me? Your insolence will be punished.', 14, 0, 100, 0, 0, 0, 21721, 0, 'Braxxus - Random Yell on Spawn'), +(23354, 0, 0, 'I am older than you can fathom. Show some respect!', 14, 0, 100, 0, 0, 0, 21688, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 1, 'As I shall consume your flesh, so too shall the Burning Legion consume your people!', 14, 0, 100, 0, 0, 0, 21689, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 2, 'I will make your death a quick one, $n.', 14, 0, 100, 0, 0, 0, 21692, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 3, 'May whatever god you believe in have mercy on you. For I will show you none.', 14, 0, 100, 0, 0, 0, 21694, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 4, 'Eager to die, are we?', 14, 0, 100, 0, 0, 0, 21697, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 5, 'Your death is at hand, $n. Savor these last moments.', 14, 0, 100, 0, 0, 0, 21702, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23354, 0, 6, 'You dare summon me? Your insolence will be punished.', 14, 0, 100, 0, 0, 0, 21721, 0, 'Mo arg Incinerator - Random Yell on Spawn'), +(23355, 0, 0, 'I am older than you can fathom. Show some respect!', 14, 0, 100, 0, 0, 0, 21688, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 1, 'As I shall consume your flesh, so too shall the Burning Legion consume your people!', 14, 0, 100, 0, 0, 0, 21689, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 2, 'I will make your death a quick one, $n.', 14, 0, 100, 0, 0, 0, 21692, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 3, 'May whatever god you believe in have mercy on you. For I will show you none.', 14, 0, 100, 0, 0, 0, 21694, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 4, 'Eager to die, are we?', 14, 0, 100, 0, 0, 0, 21697, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 5, 'Your death is at hand, $n. Savor these last moments.', 14, 0, 100, 0, 0, 0, 21702, 0, 'Zarcsin - Random Yell on Spawn'), +(23355, 0, 6, 'You dare summon me? Your insolence will be punished.', 14, 0, 100, 0, 0, 0, 21721, 0, 'Zarcsin - Random Yell on Spawn');