diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-04-26 22:32:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-26 22:32:17 +0200 |
commit | b5ce4a66df0c76583c662056e46619c8fe98f297 (patch) | |
tree | 52e564422cac836f4e85e9ab0462f8f54d96e787 /sql | |
parent | a361d3f5870a2b43f200c579314143a3bd219bab (diff) |
Core/Creature: implement overriding creature static flags based on spawnId and difficultyId (#29940)
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/master/2024_04_26_00_world.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/master/2024_04_26_00_world.sql b/sql/updates/world/master/2024_04_26_00_world.sql new file mode 100644 index 00000000000..b0546695d1e --- /dev/null +++ b/sql/updates/world/master/2024_04_26_00_world.sql @@ -0,0 +1,14 @@ +DROP TABLE IF EXISTS `creature_static_flags_override`; +CREATE TABLE `creature_static_flags_override` ( + `SpawnId` BIGINT UNSIGNED NOT NULL, + `DifficultyId` TINYINT UNSIGNED NOT NULL DEFAULT 0, + `StaticFlags1` INT UNSIGNED, + `StaticFlags2` INT UNSIGNED, + `StaticFlags3` INT UNSIGNED, + `StaticFlags4` INT UNSIGNED, + `StaticFlags5` INT UNSIGNED, + `StaticFlags6` INT UNSIGNED, + `StaticFlags7` INT UNSIGNED, + `StaticFlags8` INT UNSIGNED, + PRIMARY KEY (`SpawnId`, `DifficultyId`) +); |