Aura Flags: Difference between revisions
Jump to navigation
Jump to search
m (Added Category.) |
(Added more to page. Still some more I would like as well; will add later.) |
||
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. | == Aura Flags - 5.0.5 - 5.4.8 ({{Template:Sandbox/PrettyVersion|expansionlevel=5}}) == | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 45: | Line 45: | ||
| 256 || AFLAG_MAW_POWER || 0x0100 | | 256 || AFLAG_MAW_POWER || 0x0100 | ||
|} | |} | ||
< | |||
== AuraEffectHandleModes - 10.1.0+ (Master Branch 6/30/23) ({{Template:Sandbox/PrettyVersion|expansionlevel=10}}) == | |||
{| class="wikitable sortable" | |||
|- | |||
! Flag !! String Name !! Bitmask !! Comments | |||
|- | |||
| 0 || SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE || 0x00 || 0 - Default. | |||
|- | |||
| 1 || SPELL_ATTR0_USES_RANGED_SLOT || 0x01 || 1 - Handler applies/removes <b>effect from</b> unit. | |||
|- | |||
| 2 || SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE || 0x02 || 2 - Handler sends apply/remove <b>packet to</b> unit. | |||
|- | |||
| 4 || SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES || 0x04 || 3 - Handler updates effect on target after <b>effect amount</b> change. | |||
|- | |||
| 8 || SPELL_ATTR0_IS_ABILITY || 0x08 || 4 - Handler updates effect on target after <b>aura is reapplied</b> on target. | |||
|- | |||
| 16 || SPELL_ATTR0_IS_TRADESKILL || 0x10 || 5 - Handler updates effect on target when <b>stat</b> removal/apply is needed for calculations by core. | |||
|- | |||
| 32 || SPELL_ATTR0_IS_TRADESKILL || 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+ (Master Branch 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]] |
Revision as of 11:06, 13 August 2023
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 ()
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+ (Master Branch 6/30/23) ()
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+ (Master Branch 6/30/23) ()
Flag | String Name | Bitmask | Comments |
---|---|---|---|
0 | SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE | 0x00 | 0 - Default. |
1 | SPELL_ATTR0_USES_RANGED_SLOT | 0x01 | 1 - Handler applies/removes effect from unit. |
2 | SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE | 0x02 | 2 - Handler sends apply/remove packet to unit. |
4 | SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES | 0x04 | 3 - Handler updates effect on target after effect amount change. |
8 | SPELL_ATTR0_IS_ABILITY | 0x08 | 4 - Handler updates effect on target after aura is reapplied on target. |
16 | SPELL_ATTR0_IS_TRADESKILL | 0x10 | 5 - Handler updates effect on target when stat removal/apply is needed for calculations by core. |
32 | SPELL_ATTR0_IS_TRADESKILL | 0x20 | 6 - Handler updates effect on target when skill removal/apply is needed for calculations by core. |
Aura Masking Information - 10.1.0+ (Master Branch 6/30/23) ()
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. |