spell_group
Table used to group spells for various checks in the core. One spell may be added to many groups, but can occur in one group only once.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| id | int | unsigned | PRI | NO | 0 | ||
| spell_id | int | signed | PRI | NO | 0 | ||
Description of fields
id
Arbitrary ID defining a group of spells. For custom made DB groups, it is required to be higher than 1000, as defined in SpellMgr.h.
#define SPELL_GROUP_DB_RANGE_MIN 1000
spell_id
- spell_id > 0: Spell ID associated to this group. If the spell has multiple ranks it must be the first_spell_id.
- spell_id < 0: References another spell_group id.
