Aura Flags: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Added Category.)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
This information is located in the source file of <u>"..src\server\game\Spells\Auras\SpellAuraDefines.h"</u>.
This information is located in the source file of <u>"..src\server\game\Spells\Auras\SpellAuraDefines.h"</u>.


== Aura Flags - 5.0.5 - 5.x ({{Template:Sandbox/PrettyVersion|expansionlevel=5}}) ==
== Aura Flags - 5.0.5 - 5.4.8 ({{Template:Sandbox/PrettyVersion|expansionlevel=5}}) ==
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 20: Line 20:
|}
|}


== Aura Flags - 10.1.0+ (Master Branch 6/30/23) ({{Template:Sandbox/PrettyVersion|expansionlevel=10}}) ==
== Aura Flags - 10.1.0+ (Updated 6/30/23) ({{Template:Sandbox/PrettyVersion|expansionlevel=10}}) ==
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 45: Line 45:
| 256 || AFLAG_MAW_POWER || 0x0100
| 256 || AFLAG_MAW_POWER || 0x0100
|}
|}
<br>
 
There is a good chance some unknown attributes may be directly linked to some of these flags.<br>
== AuraEffectHandleModes - 10.1.0+ (Updated 6/30/23) ({{Template:Sandbox/PrettyVersion|expansionlevel=10}}) ==
I will add more aura information to this page later; I just wanted to get up for now as a reference for AFLAGS. --[[User:Xiberion|Xiberion]] ([[User talk:Xiberion|talk]]) 11:17, 10 August 2023 (CEST)
{| class="wikitable sortable"
|-
! Flag !! String Name !! Bitmask !! Comments
|-
| 0 || AURA_EFFECT_HANDLE_DEFAULT || 0x00 || 0 - Default.
|-
| 1 || AURA_EFFECT_HANDLE_REAL || 0x01 || 1 - Handler applies/removes <b>effect from</b> unit.
|-
| 2 || AURA_EFFECT_HANDLE_SEND_FOR_CLIENT || 0x02 || 2 - Handler sends apply/remove <b>packet to</b> unit.
|-
| 4 || AURA_EFFECT_HANDLE_CHANGE_AMOUNT || 0x04 || 3 - Handler updates effect on target after <b>effect amount</b> change.
|-
| 8 || AURA_EFFECT_HANDLE_REAPPLY || 0x08 || 4 - Handler updates effect on target after <b>aura is reapplied</b> on target.
|-
| 16 || AURA_EFFECT_HANDLE_STAT || 0x10 || 5 - Handler updates effect on target when <b>stat</b> removal/apply is needed for calculations by core.
|-
| 32 || AURA_EFFECT_HANDLE_SKILL || 0x20 || 6 - Handler updates effect on target when <b>skill</b> removal/apply is needed for calculations by core.
|}
 
== Aura Masking Information - 10.1.0+ (Updated 6/30/23) ({{Template:Sandbox/PrettyVersion|expansionlevel=10}}) ==
{| class="wikitable sortable"
|-
! Aura Mask !! Result !! Comments
|-
| AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK || AURA_EFFECT_HANDLE_SEND_FOR_CLIENT & AURA_EFFECT_HANDLE_REAL || Any case handler need to send packet.
|-
| AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK || AURA_EFFECT_HANDLE_CHANGE_AMOUNT & AURA_EFFECT_HANDLE_REAL || Any case handler applies effect depending on amount.
|-
| AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK || AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK & AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK || No notes.
|-
| AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK || AURA_EFFECT_HANDLE_REAPPLY & AURA_EFFECT_HANDLE_REAL || No notes.
|}


[[Category:Auxiliary]]
[[Category:Auxiliary]]

Latest revision as of 10:24, 30 January 2024

These are aura flags, referenced as AFLAGS and are required for SPELL_ATTR8_AURA_SEND_AMOUNT which can be found at Spell Attributes. This information is located in the source file of "..src\server\game\Spells\Auras\SpellAuraDefines.h".

Aura Flags - 5.0.5 - 5.4.8 (Mists)

Flag String Name Bitmask
0 AFLAG_NONE 0x00
1 AFLAG_CASTER 0x01
2 AFLAG_POSITIVE 0x02
4 AFLAG_DURATION 0x04
8 AFLAG_ANY_EFFECT_AMOUNT_SENT 0x08
16 AFLAG_NEGATIVE 0x10

Aura Flags - 10.1.0+ (Updated 6/30/23) (DF)

Flag String Name Bitmask
0 AFLAG_NONE 0x0000
1 AFLAG_NOCASTER 0x0001
2 AFLAG_POSITIVE 0x0002
4 AFLAG_DURATION 0x0004
8 AFLAG_SCALABLE 0x0008
16 AFLAG_NEGATIVE 0x0010
32 AFLAG_UNK20 0x0020
64 AFLAG_UNK40 0x0040
128 AFLAG_UNK80 0x0080
256 AFLAG_MAW_POWER 0x0100

AuraEffectHandleModes - 10.1.0+ (Updated 6/30/23) (DF)

Flag String Name Bitmask Comments
0 AURA_EFFECT_HANDLE_DEFAULT 0x00 0 - Default.
1 AURA_EFFECT_HANDLE_REAL 0x01 1 - Handler applies/removes effect from unit.
2 AURA_EFFECT_HANDLE_SEND_FOR_CLIENT 0x02 2 - Handler sends apply/remove packet to unit.
4 AURA_EFFECT_HANDLE_CHANGE_AMOUNT 0x04 3 - Handler updates effect on target after effect amount change.
8 AURA_EFFECT_HANDLE_REAPPLY 0x08 4 - Handler updates effect on target after aura is reapplied on target.
16 AURA_EFFECT_HANDLE_STAT 0x10 5 - Handler updates effect on target when stat removal/apply is needed for calculations by core.
32 AURA_EFFECT_HANDLE_SKILL 0x20 6 - Handler updates effect on target when skill removal/apply is needed for calculations by core.

Aura Masking Information - 10.1.0+ (Updated 6/30/23) (DF)

Aura Mask Result Comments
AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK AURA_EFFECT_HANDLE_SEND_FOR_CLIENT & AURA_EFFECT_HANDLE_REAL Any case handler need to send packet.
AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK AURA_EFFECT_HANDLE_CHANGE_AMOUNT & AURA_EFFECT_HANDLE_REAL Any case handler applies effect depending on amount.
AURA_EFFECT_HANDLE_CHANGE_AMOUNT_SEND_FOR_CLIENT_MASK AURA_EFFECT_HANDLE_CHANGE_AMOUNT_MASK & AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK No notes.
AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK AURA_EFFECT_HANDLE_REAPPLY & AURA_EFFECT_HANDLE_REAL No notes.