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:
Ovahlord committed 2020-11-16 18:55:27 +01:00
1 parent 4a28a9d700
commit 4ff5b6189d
5 files changed
+41 -33

No files matched your search

+3 -2
View File
@@ -436,9 +436,10 @@ struct TC_GAME_API InstanceSpawnGroupInfo
{
FLAG_ACTIVATE_SPAWN = 0x01,
FLAG_BLOCK_SPAWN = 0x02,
FLAG_FORCE_DESPAWN = 0x04,
FLAG_ALLIANCE_ONLY = 0x04,
FLAG_HORDE_ONLY = 0x08,
FLAG_ALL = (FLAG_ACTIVATE_SPAWN | FLAG_BLOCK_SPAWN | FLAG_FORCE_DESPAWN)
FLAG_ALL = (FLAG_ACTIVATE_SPAWN | FLAG_BLOCK_SPAWN | FLAG_ALLIANCE_ONLY | FLAG_HORDE_ONLY)
};
uint8 BossStateId;
uint8 BossStates;