aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2022-06-05 01:22:57 +0300
committerShauren <shauren.trinity@gmail.com>2022-06-10 19:22:08 +0200
commitba89ca2444e74d46600c7c1e20c9cf1b0bcd744b (patch)
tree55a1a4aa7c357141be2ac7749adf8497c4f0a1d8
parent4a3182fc96c529873aec552b804a9eb92ad1d5a9 (diff)
DB/Creature: Add missing PvP flag to some creatures
(cherry picked from commit 222a0ba8ee68c83c8063f1b5eb4287a2c3a515cd)
-rw-r--r--sql/updates/world/master/2022_06_10_15_world_2022_06_05_01_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_06_10_15_world_2022_06_05_01_world.sql b/sql/updates/world/master/2022_06_10_15_world_2022_06_05_01_world.sql
new file mode 100644
index 00000000000..87aa484bf94
--- /dev/null
+++ b/sql/updates/world/master/2022_06_10_15_world_2022_06_05_01_world.sql
@@ -0,0 +1,12 @@
+--
+DELETE FROM `creature_addon` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (12429,12430));
+UPDATE `creature_addon` SET `bytes2` = `bytes2` |256 WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (5484,26044));
+
+UPDATE `creature_template_addon` SET `bytes2` = `bytes2` |256 WHERE `entry` IN (739,927,1182,1444,5661,8140,12423,12427,12428,12429,12430);
+DELETE FROM `creature_template_addon` WHERE `entry` IN (1351,5484,5489,12336,26044);
+INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `MountCreatureID`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
+(1351,0,0,0,0,257,0,0,''),
+(5484,0,0,0,0,257,0,0,''),
+(5489,0,0,0,0,257,0,0,''),
+(12336,0,0,0,0,257,0,0,''),
+(26044,0,0,0,0,257,0,0,'');