aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-10-28 17:52:50 +0300
committeroffl <offl@users.noreply.github.com>2021-10-28 17:52:50 +0300
commitba1a0f7c476f7ce701f3d4113498b7df8115471b (patch)
treeb04c87e3a740ef358405ca867be369941eda2d1b
parent1403de8dafbadb92dfd16c47b63156f9216a2bdd (diff)
DB/Creature: Fix some stealth auras
Closes #27185 Closes #27195 Closes #27182
-rw-r--r--sql/updates/world/3.3.5/2021_10_28_00_world.sql22
1 files changed, 22 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_10_28_00_world.sql b/sql/updates/world/3.3.5/2021_10_28_00_world.sql
new file mode 100644
index 00000000000..4e04893fb75
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_10_28_00_world.sql
@@ -0,0 +1,22 @@
+--
+UPDATE `creature_addon` SET `bytes1` = `bytes1` &~ 131072;
+UPDATE `creature_template_addon` SET `bytes1` = `bytes1` &~ 131072;
+
+UPDATE `creature_template_addon` SET `bytes2` = 1, `auras` = '8279 30991' WHERE `entry` = 23090;
+UPDATE `creature_addon` SET `auras` = '8279 30991' WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` = 23090);
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 23090 AND `source_type` = 0;
+UPDATE `creature_template` SET `AIName` = '' WHERE `entry` = 23090;
+
+-- Credit: vmangos
+UPDATE `creature_template_addon` SET `auras` = '20540' WHERE `entry` = 12856;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 12856 AND `source_type` = 0 AND `id` = 3;
+
+UPDATE `creature_template_addon` SET `auras` = '7939 22766 8601' WHERE `entry` = 7110;
+UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 7110;
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 7110 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`,`event_param5`,`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
+(7110,0,0,0,0,0,100,0,6000,9000,16000,19000,0,11,13578,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Jadefire Shadowstalker - In Combat - Cast 'Jadefire'");
+
+-- They may be not applied to all of them
+DELETE FROM `smart_scripts` WHERE `entryorguid` = 938 AND `source_type` = 0 AND `id` = 0;
+UPDATE `creature_template_addon` SET `auras` = '7939 22766' WHERE `entry` = 938;