Scripts/InstanceScript: Implement database framework for managing spawn groups based on boss state.
Port From (https://github.com/TrinityCore/TrinityCore/commit/608c9aaabfcdbaf09edd11cdf268c243b3e69478)
This commit is contained in:
@@ -113,7 +113,7 @@ namespace Framework.Constants
|
||||
AreaTrigger = 0x20,
|
||||
Conversation = 0x40,
|
||||
All = 0x7F,
|
||||
|
||||
|
||||
//GameObjects, Creatures(except pets), DynamicObject, Corpse(Bones), AreaTrigger
|
||||
AllGrid = GameObject | Creature | DynamicObject | Corpse | AreaTrigger | Conversation,
|
||||
|
||||
@@ -231,4 +231,13 @@ namespace Framework.Constants
|
||||
|
||||
All = (System | CompatibilityMode | ManualSpawn | DynamicSpawnRate | EscortQuestNpc)
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum InstanceSpawnGroupFlags
|
||||
{
|
||||
ActivateSpawn = 0x01,
|
||||
BlockSpawn = 0x02,
|
||||
|
||||
All = (ActivateSpawn | BlockSpawn)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user