diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2020-04-30 13:06:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 13:06:53 +0200 |
| commit | 0dcac1ff55255e8f90743809568d482adea3dcf6 (patch) | |
| tree | eb9b56ab3d5833e47eae3bca62ee41099feda382 | |
| parent | 383bff9b0b2230ec0e1a8af5ad17948303384786 (diff) | |
| download | wiki-0dcac1ff55255e8f90743809568d482adea3dcf6.tar.gz wiki-0dcac1ff55255e8f90743809568d482adea3dcf6.tar.bz2 wiki-0dcac1ff55255e8f90743809568d482adea3dcf6.zip | |
chore(spell_group_stack_rules): Update the stack rules (#216)
* Add AC stack rules
| -rw-r--r-- | docs/spell_group_stack_rules.md | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/docs/spell_group_stack_rules.md b/docs/spell_group_stack_rules.md index c449954..32c284e 100644 --- a/docs/spell_group_stack_rules.md +++ b/docs/spell_group_stack_rules.md @@ -8,11 +8,12 @@ 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](#spell_group_stack_rules-group_id) | int(11) | unsigned | PRI | NO | 0 | | | -| [stack\_rule](#spell_group_stack_rules-stack_rule) | tinyint(3) | signed | | NO | 0 | | | +| | | | | | | | | +|----------------------------------------------------|-------------|----------------|---------|----------|-------------|-----------|-------------| +| **Field** | **Type** | **Attributes** | **Key** | **Null** | **Default** | **Extra** | **Comment** | +| [group\_id](#spell_group_stack_rules-group_id) | int(11) | unsigned | PRI | NO | 0 | | | +| [stack\_rule](#spell_group_stack_rules-stack_rule) | tinyint(3) | signed | | NO | 0 | | | +| [description](#description) | varchar(150)| | | NO | | | | **Description of the fields** @@ -22,14 +23,21 @@ Id of group in [spell\_group](spell_group#id) table. The spell\_group may contai ### stack\_rule -Enum SpellGroupStackRule in core: +Enum SpellGroupStackFlags in core: -| Id | Stack Rule Name | Description | -|-----|----------------------------------------------------------|--------------------------------------------------------------------------| -| 0 | SPELL\_GROUP\_STACK\_RULE\_DEFAULT | No stacking rule defined - placeholder | -| 1 | SPELL\_GROUP\_STACK\_RULE\_EXCLUSIVE | Auras from group can't stack with each other | -| 2 | SPELL\_GROUP\_STACK\_RULE\_EXCLUSIVE\_FROM\_SAME\_CASTER | Auras from group can't stack with each other when cast by same caster | -| 3 | SPELL\_GROUP\_STACK\_RULE\_EXCLUSIVE\_SAME\_EFFECT | Same effects of spells will not stack, yet auras will remain on a target | -| 4 | SPELL\_GROUP\_STACK\_RULE\_EXCLUSIVE\_HIGHEST | Only Highest effect will remain on target | +| 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 | | -A spell should be in only 1 group with this stack rule. +### description + +A short description of what type of spells are in the group and what rule is applied. |
