====== spell_group_stack_rules 表 ====== ---- [[数据库:world数据库:首页|<-返回:World 数据库]] Table defines if auras in one spell_group can't stack with each other. Notes: The table doesn't affect persistent area auras stacking or passive auras stacking (they can stack always) or spells belonging to same spell_rank (they are always subject of SPELL_GROUP_STACK_RULE_EXCLUSIVE rule) **表结构** ^Field^Type^Attributes^Key^Null^Default^Extra^Comment^ |[[#group_id|group_id]]|INT|UNSIGNED|PRI|NO|0| | | |[[#stack_rule|stack_rule]]|TINYINT|SIGNED| |NO|0| | | |[[#description|description]]|VARCHAR(150)| | |NO| | | | ===== 字段说明 ===== ---- ==== group_id ==== Id of group in spell_group table. The spell_group may contain another spell_groups inside, if so stacking rule needs to be defined for these groups separately. ==== stack_rule ==== Enum SpellGroupStackFlags in core: ^Id^ ^Stack Rule Name^Description^ |0|0x00|SPELL_GROUP_STACK_RULE_DEFAULT|No stacking rule defined - placeholder| |1|0x01|SPELL_GROUP_STACK_RULE_EXCLUSIVE|Auras from group can't stack with each other| |2|0x02|SPELL_GROUP_STACK_FLAG_NOT_SAME_CASTER| | |4|0x04|SPELL_GROUP_STACK_FLAG_FLAGGED| | |8|0x08|SPELL_GROUP_STACK_FLAG_NEVER_STACK| | |10|0x10|SPELL_GROUP_STACK_FLAG_EFFECT_EXCLUSIVE| | |20|0x20|SPELL_GROUP_STACK_FLAG_MAX| | | | |Internal use| | |100|0x100|SPELL_GROUP_STACK_FLAG_FORCED_STRONGEST| | |200|0x200|SPELL_GROUP_STACK_FLAG_FORCED_WEAKEST| | ==== description ==== A short description of what type of spells are in the group and what rule is applied.