====== spell_group 表 ====== ---- [[数据库:world数据库:首页|<-返回:World 数据库]] Table used to group spells for varius checks in the core. One spell may be added to many groups, but can occur in one group only once. **表结构** ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ |[[#id|id]]|INT|UNSIGNED|PRI|NO|0| | | |[[#spell_id|spell_id]]|INT|SIGNED|PRI|NO|0| | | ===== 字段说明 ===== ---- ==== 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.