Core/Maps: implement new flags for instance spawn groups to allow to restrict spawn groups to horde or alliance only
*use the new flags to restrict the Scarlet Monastery Alliance spawns to alliance players only
This commit is contained in:
1 parent
4a28a9d700
commit
4ff5b6189d
5 files changed
+41
-33
No files matched your search
@@ -0,0 +1,13 @@
|
||||
SET @CGUID := 396548;
|
||||
SET @GROUPID := 453;
|
||||
DELETE FROM `spawn_group_template` WHERE `groupId`= @GROUPID;
|
||||
INSERT INTO `spawn_group_template` (`groupId`, `groupName`, `groupFlags`) VALUES
|
||||
(@GROUPID, 'Scarlet Monastery - Alliance Spawns', 4);
|
||||
|
||||
DELETE FROM `spawn_group` WHERE `groupId`= @GROUPID;
|
||||
INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`)
|
||||
SELECT @GROUPID, 0, `guid` FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+20 AND `guid` NOT IN (@CGUID+5, @CGUID+15, @CGUID+16);
|
||||
|
||||
DELETE FROM `instance_spawn_groups` WHERE `spawnGroupId`= @GROUPID;
|
||||
INSERT INTO `instance_spawn_groups` (`instanceMapId`, `bossStateId`, `bossStates`, `spawnGroupId`, `flags`) VALUES
|
||||
(189, 0, 0, @GROUPID, 0x1 | 0x4);
|
||||
Reference in new issue
Block a user