Skip to content

spell_group_stack_rules

Table defines if auras in one spell_group can't stack with each other.

Note: 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)

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
group_idintunsignedPRINO0
stack_ruletinyintsignedNO0
 

Description of fields ​

group_id ​

references spell_group  

stack_rule ​

Rule deciding which spell effect will prevail over the others as they are not stackable.

ValueNameDescription
0SPELL_GROUP_STACK_RULE_DEFAULTNo stacking rule defined - placeholder
1SPELL_GROUP_STACK_RULE_EXCLUSIVEAuras from group can't stack with each other
2SPELL_GROUP_STACK_RULE_EXCLUSIVE_FROM_SAME_CASTERAuras from group can't stack with each other when cast by same caster
3SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECTSame effects of spells will not stack, yet auras will remain on a target
4SPELL_GROUP_STACK_RULE_EXCLUSIVE_HIGHESTOnly highest effect will remain on target

A spell should be in only 1 group with this stack rule.