diff options
| author | Shauren <none@none> | 2010-10-09 17:52:00 +0200 |
|---|---|---|
| committer | Shauren <none@none> | 2010-10-09 17:52:00 +0200 |
| commit | 91a97c7b831650c4a874f8fca29f57e89376991a (patch) | |
| tree | f3327998b8bbf381c76baf599856d3c96736d8dd /sql | |
| parent | 324de6fb4c6f56ac08a487d24e47e457bf11b5c3 (diff) | |
DB-Schema/World/creature: Added possibility to override npcflag, unit_flags, dynamicflags in creature table
Core/Player: Fixed bad query in previous revision
--HG--
branch : trunk
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/base/world_database.sql | 3 | ||||
| -rw-r--r-- | sql/updates/10192_world_creature.sql | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 4d2ffdcdd54..7cd6c80b1a5 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -781,6 +781,9 @@ CREATE TABLE `creature` ( `curmana` int(10) unsigned NOT NULL DEFAULT '0', `DeathState` tinyint(3) unsigned NOT NULL DEFAULT '0', `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', + `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`), KEY `idx_map` (`map`), KEY `idx_id` (`id`) diff --git a/sql/updates/10192_world_creature.sql b/sql/updates/10192_world_creature.sql new file mode 100644 index 00000000000..012ef06ad07 --- /dev/null +++ b/sql/updates/10192_world_creature.sql @@ -0,0 +1,4 @@ +ALTER TABLE `creature` + ADD COLUMN `npcflag` int(10) unsigned NOT NULL DEFAULT '0' AFTER `MovementType`, + ADD COLUMN `unit_flags` int(10) unsigned NOT NULL DEFAULT '0' AFTER `npcflag`, + ADD COLUMN `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0' AFTER `unit_flags`; |
