aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2017-05-21 14:15:04 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-05-21 14:17:47 +0200
commitb192c46b063d6b3b14b6b45f56ef6c4b03ee0839 (patch)
treedcef29c7e770685046d45c34fe07a4db83767153 /sql
parent7cc3d1387d12b9d128fd812b6548113eb883c098 (diff)
Core/Creature: Added UnitFlags3 to creature_template
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2017_05_21_01_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_05_21_01_world.sql b/sql/updates/world/master/2017_05_21_01_world.sql
new file mode 100644
index 00000000000..9da8535feb5
--- /dev/null
+++ b/sql/updates/world/master/2017_05_21_01_world.sql
@@ -0,0 +1,13 @@
+ALTER TABLE `creature`
+ ADD `unit_flags2` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `unit_flags`,
+ ADD `unit_flags3` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `unit_flags2`;
+
+ALTER TABLE `creature_template`
+ ADD `unit_flags3` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `unit_flags2`;
+
+DELETE FROM `trinity_string` WHERE `entry` IN (542, 5070, 5071, 5072);
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
+(542, 'Dynamic Flags: %u'),
+(5070, 'Unit Flags 2: %u'),
+(5071, 'Unit Flags 3: %u'),
+(5072, 'NPC Flags: %u');