Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Spell group tc2id

int(11)

unsigned

PRI

NO

0

 

 Spell group tc2

spell_id

int(11)

signed

PRI

NO

0

 

 

Description of the fields

id

Group identifier
Rules of assigning id:

  • if group is going to be used in core code, use first avalible entry below 1000 and add enum value to SpellGroup enum in SpellMgr.h
  • if group is not going to be used in core code, use lowest avalible entry higher than 1000

spell_id

SpellId from Spell.dbc or spell_group id prefixed with "-". If spell is added to spell_ranks, spell_id has to be first rank of that spell.