From 372d72fa707685fe59f709a9bd3f03a211eccaea Mon Sep 17 00:00:00 2001 From: Stifler82 Date: Sun, 11 Apr 2021 11:01:30 +0100 Subject: [PATCH] fix(DB/Creatures): Npc Minions not Engaging (#5166) --- .../pending_db_world/rev_1617732568440189700.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1617732568440189700.sql diff --git a/data/sql/updates/pending_db_world/rev_1617732568440189700.sql b/data/sql/updates/pending_db_world/rev_1617732568440189700.sql new file mode 100644 index 000000000..a3b3e1f4c --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1617732568440189700.sql @@ -0,0 +1,16 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1617732568440189700'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 8996); +INSERT INTO `smart_scripts` VALUES +(8996, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - Out of Combat - Set Reactstate Aggressive (No Repeat)'), +(8996, 0, 1, 0, 0, 0, 100, 0, 2000, 5000, 4000, 6000, 0, 11, 33914, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - In Combat - Cast \'Shadowstrike\''), +(8996, 0, 2, 3, 74, 0, 100, 0, 1, 99, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 3198, 5, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - On Friendly Between 1-99% Health - Start Attacking'), +(8996, 0, 3, 0, 61, 0, 100, 0, 1, 99, 0, 0, 0, 49, 1, 0, 0, 0, 0, 0, 18, 32, 0, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - On Friendly Between 1-99% Health - Start Attacking'), +(8996, 0, 4, 3, 74, 0, 100, 0, 1, 99, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 3728, 5, 0, 0, 0, 0, 0, 0, 'Voidwalker Minion - On Friendly Between 1-99% Health - Start Attacking'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 12922); +INSERT INTO `smart_scripts` VALUES +(12922, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 2300, 2800, 0, 11, 20801, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Imp Minion - In Combat - Cast \'Firebolt\''), +(12922, 0, 1, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Imp Minion - On Just Summoned - Set Reactstate Aggressive'), +(12922, 0, 2, 3, 74, 0, 100, 0, 1, 99, 100, 20000, 0, 49, 0, 0, 0, 0, 0, 0, 19, 3725, 5, 0, 0, 0, 0, 0, 0, 'Imp Minion - On Friendly Between 1-99% Health - Start Attacking'), +(12922, 0, 3, 0, 61, 0, 100, 0, 1, 99, 100, 20000, 0, 49, 0, 0, 0, 0, 0, 0, 18, 33, 0, 0, 0, 0, 0, 0, 0, 'Imp Minion - On Friendly Between 1-99% Health - Start Attacking');