Back to 'instance_encounters' Return to world Go to 'instance_template'
This table manages spawn groups in instances based on boss state.
A spawn group is activated if any of its FLAG_ACTIVATE_SPAWN conditions are met, unless any of its FLAG_BLOCK_SPAWN conditions are met - this allows for some neat complex management if necessary.
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| instanceMapId | smallint | unsigned | PRI | NO | |||
| bossStateId | tinyint | unsigned | PRI | NO | |||
| bossStates | tinyint | unsigned | PRI | NO | |||
| spawnGroupId | int | unsigned | PRI | NO | |||
| flags | tinyint | unsigned | NO |
Map ID the boss is on.
Data index of the boss set in its instance script header file.
bitmask, 1 << state for enum EncounterState values
| ID | state |
|---|---|
| 0 | NOT_STARTED |
| 1 | IN_PROGRESS |
| 2 | FAIL |
| 3 | DONE |
| 4 | SPECIAL |
groupId from spawn_group_template
| Value | Flag | Name | Comment |
|---|---|---|---|
| 1 | 0x01 | FLAG_ACTIVATE_SPAWN | |
| 2 | 0x02 | FLAG_BLOCK_SPAWN | |
| 4 | 0x04 | FLAG_ALLIANCE_ONLY | |
| 8 | 0x08 | FLAG_HORDE_ONLY |
Back to 'instance_encounters' Return to world Go to 'instance_template'