-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Include the affected by information in a spell. Primarily after this to see if something has a hasted cooldown.
Example: The Priest aura 137030 has an effect 1 179714 which affects hasted CDs spells:
Class : Priest
School : Physical
Spell Type : None
Attributes : ....x.xx x....... ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ ........ ........ ........ ........
: ........ ........ ........ ........ x....... ........ ........ ........
: ........ ........ ........ ........
: Passive (6), Hidden (7)
Effects :
#1 (id=179714) : Apply Aura (6) | Hasted Cooldown Duration (416)
Base Value: 100 | Scaled Value: 100 | PvP Coefficient: 1.00000 | Target: Self (1)
Affected Spells: Prayer of Mending (33076), Power Word: Solace (129250), Circle of Healing (204883), Void Bolt (205448), Void Bolt (343355)
Family Flags: 86, 106, 108, 118
This is stored in the ClassFlags uint, and can be compared (as long as the class family is the same between the two) against the other spell to see if it's affected.
In this example, the class flags value for the Priest spell: { 0, 0, 4194304, 4199424 }
CoH: { 0, 0, 4194304, 1073741824 }
PoM: { 0, 32, 0, 4194304 }
If we & these values together we'll get true, so it affects. Compared to FH where this isn't the case: { 2048, 0, 0, 1073741824 }
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request