The `instance_encounters` table
Definitions of instance encounters. Used by LFG.
Table Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
entry | INT | UNSIGNED | PRI | NO | 0 | Unique entry from DungeonEncounter.dbc | |
creditType | TINYINT | UNSIGNED | NO | 0 | |||
creditEntry | INT | UNSIGNED | NO | 0 | |||
lastEncounterDungeon | SMALLINT | UNSIGNED | NO | 0 | If not 0, LfgDungeon.dbc entry for the instance it is last encounter in | ||
comment | varchat(255) | SIGNED | NO | " |
Description of the fields
Unique entry from DungeonEncounter.dbc
See enum EncounterCreditType.
ENCOUNTER_CREDIT_KILL_CREATURE = 0
ENCOUNTER_CREDIT_CAST_SPELL = 1
If creditType = 0, then value for this field is creature entry. See creature_template.entry
If creditType = 1, then value for this field is a spell. See Spell.dbc.
Reference to LfgDungeon.dbc entry for the instance it which is this encounter last. If 0, encounter is not last one.
Instance encounter comment for easy identification. Encounter name used only.