Tabelle: 'spell_group_stack_rules'
The `spell_group_stack_rules` tableTable 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 | int(11) | vorzeichenlos | PRI | nein | 0 | | | stack_rule | tinyint(3) | vorzeichenbehaftet | | nein | 0 | | |
Description of the fieldsgroup_idId 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_ruleEnum SpellGroupStackRule in core: - SPELL_GROUP_STACK_RULE_DEFAULT = 0
No stacking rule defined - placeholder
- SPELL_GROUP_STACK_RULE_EXCLUSIVE = 1
Auras from group can't stack with each other
- SPELL_GROUP_STACK_RULE_EXCLUSIVE_FROM_SAME_CASTER = 2
Auras from group can't stack with each other when cast by same caster
- SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT = 3
Same effects of spells will not stack, yet auras will remain on a target.
A spell should be in only 1 group with this stack rule.
|