Core/Creatures: implement overriding static flags by spawnId and difficulty

This commit is contained in:
Ovahlord committed 2025-03-11 18:47:37 +01:00
1 parent 5d8b7367ef
commit 40b206991f
7 files changed
+113 -1

No files matched your search

@@ -0,0 +1,11 @@
DROP TABLE IF EXISTS `creature_static_flags_override`;
CREATE TABLE `creature_static_flags_override` (
`SpawnId` INT 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,
PRIMARY KEY (`SpawnId`, `DifficultyId`)
);