Core/Creature: Allow creature table to override npc- and unitflags to 0
This commit is contained in:
1 parent
74345972e6
commit
d4804d609d
5 files changed
+99
-51
No files matched your search
@@ -0,0 +1,11 @@
|
||||
--
|
||||
ALTER TABLE `creature`
|
||||
MODIFY COLUMN `npcflag` bigint UNSIGNED NULL DEFAULT NULL AFTER `MovementType`,
|
||||
MODIFY COLUMN `unit_flags` int UNSIGNED NULL DEFAULT NULL AFTER `npcflag`,
|
||||
ADD `unit_flags2` int UNSIGNED NULL DEFAULT NULL AFTER `unit_flags`,
|
||||
MODIFY COLUMN `dynamicflags` int UNSIGNED NULL DEFAULT NULL AFTER `unit_flags2`;
|
||||
|
||||
UPDATE `creature` SET `npcflag`= NULL WHERE `npcflag`=0;
|
||||
UPDATE `creature` SET `unit_flags`= NULL WHERE `unit_flags`=0;
|
||||
UPDATE `creature` SET `unit_flags2`= NULL WHERE `unit_flags2`=0;
|
||||
UPDATE `creature` SET `dynamicflags`= NULL WHERE `dynamicflags`=0;
|
||||
Reference in new issue
Block a user