Skip to content

instance_spawn_groups

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
instanceMapIdsmallintunsignedPRINO
bossStateIdtinyintunsignedPRINO
bossStatestinyintunsignedPRINO
spawnGroupIdintunsignedPRINO
flagstinyintunsignedNO
 

Description of fields ​

instanceMapId ​

MapID, referenced in Map.db2  

bossStateId ​

Boss state id referenced in source code. You can find it in <instance_name>.h in the DataTypes enum. For example for the boss Leymor in Azure Vault you will find it in src/server/scripts/DragonIsles/AzureVault/azure_vault.h. In the code below Leymor has data 0 assigned, so we would use 0 as bossStateId here. For Azureblade 1, for Telash 2 or for Umbrelskul 3.

c
enum AVDataTypes
{
    // Encounters
    DATA_LEYMOR             = 0,
    DATA_AZUREBLADE,
    DATA_TELASH_GREYWING,
    DATA_UMBRELSKUL,
    [...]

 

bossStates ​

Mask based on EncounterState, you can combine multiple states by OR-ing them, also directly possible in SQL e.g. (0x08 | 0x10) for DONE and SPECIAL.

NameValue
NOT_STARTED0x01
IN_PROGRESS0x02
FAIL0x04
DONE0x08
SPECIAL0x10
TO_BE_DECIDED0x20
 

spawnGroupId ​

ID of the spawn group, referenced in spawn_group_template.groupId  

flags ​

NameValue
FLAG_ACTIVATE_SPAWN0x01
FLAG_BLOCK_SPAWN0x02
FLAG_ALLIANCE_ONLY0x04
FLAG_HORDE_ONLY0x08