DB/SpellAuraOptions: Difference between revisions
Jump to navigation
Jump to search
m (Marlamin moved page SpellAuraOptions.dbc to DB/SpellAuraOptions) |
mNo edit summary |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Sandbox/VersionRange|min_expansionlevel=4}} | |||
==7.0.1.21737== | |||
{| style="background:#FCFCFC; color:black" | {| style="background:#FCFCFC; color:black" | ||
|- | |- | ||
Line 17: | Line 11: | ||
|- style="background:#E0E0E0;" | |- style="background:#E0E0E0;" | ||
| 1 || ID || Integer || | | 1 || ID || Integer || | ||
|- | |- | ||
| 2 || StackAmount || Integer || | | 2 || [[DB/Spell|SpellID]] || iRefID || | ||
|- style="background:#E0E0E0;" | |||
| 3 || ProcCharges || Integer || | |||
|- | |||
| 4 || ProcFlags || Integer || | |||
|- style="background:#E0E0E0;" | |||
| 5 || unknown || Integer || Couldn't match values | |||
|- | |||
| 6 || StackAmount || Integer || | |||
|- style="background:#E0E0E0;" | |||
| 7 || unknown || Integer || Always 0 | |||
|- | |||
| 8 || ProcChance || Integer || | |||
|- style="background:#E0E0E0;" | |- style="background:#E0E0E0;" | ||
| | | 9 || unknown || Integer || Couldn't match values | ||
|- | |- | ||
| | | 10 || unknown || Integer || Always 0 | ||
|- style="background:#E0E0E0;" | |- style="background:#E0E0E0;" | ||
| | | 11 || unknown || Integer || Always 0 | ||
|- | |||
| 12 || unknown || Integer || Always 0 | |||
|} | |} | ||
[[User:Synric|Synric]] 12th July 2016 | |||
==6.0.1.18179== | ==6.0.1.18179== | ||
Line 39: | Line 48: | ||
uint32_t m_spellProcsPerMinuteID; | uint32_t m_spellProcsPerMinuteID; | ||
}; | }; | ||
==4.0.3.13329== | |||
{| style="background:#FCFCFC; color:black" | |||
|- | |||
! width="80" | Column | |||
! width="180" | Field | |||
! width="80" | Type | |||
! width="500" | Notes | |||
|- style="background:#E0E0E0;" | |||
| 1 || ID || Integer || | |||
|- | |||
| 2 || StackAmount || Integer || | |||
|- style="background:#E0E0E0;" | |||
| 3 || ProcChance || Integer || | |||
|- | |||
| 4 || ProcCharges || Integer || | |||
|- style="background:#E0E0E0;" | |||
| 5 || ProcFlags || Integer || | |||
|} | |||
<br> | |||
''' <u>See [[Spell.dbc/procFlags|Proc Flags]] for more proc flags, various other types of proc flags, and updated multiple versions.</u> | |||
<br> | |||
==enum PROC_FLAGS== | |||
PROC_FLAG_NONE = 0x00000000, | |||
PROC_FLAG_KILLED = 0x00000001, // 00 Killed by agressor - not sure about this flag | |||
PROC_FLAG_KILL = 0x00000002, // 01 Kill target (in most cases need XP/Honor reward) | |||
PROC_FLAG_DONE_MELEE_AUTO_ATTACK = 0x00000004, // 02 Done melee auto attack | |||
PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK = 0x00000008, // 03 Taken melee auto attack | |||
PROC_FLAG_DONE_SPELL_MELEE_DMG_CLASS = 0x00000010, // 04 Done attack by Spell that has dmg class melee | |||
PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS = 0x00000020, // 05 Taken attack by Spell that has dmg class melee | |||
PROC_FLAG_DONE_RANGED_AUTO_ATTACK = 0x00000040, // 06 Done ranged auto attack | |||
PROC_FLAG_TAKEN_RANGED_AUTO_ATTACK = 0x00000080, // 07 Taken ranged auto attack | |||
PROC_FLAG_DONE_SPELL_RANGED_DMG_CLASS = 0x00000100, // 08 Done attack by Spell that has dmg class ranged | |||
PROC_FLAG_TAKEN_SPELL_RANGED_DMG_CLASS = 0x00000200, // 09 Taken attack by Spell that has dmg class ranged | |||
PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_POS = 0x00000400, // 10 Done positive spell that has dmg class none | |||
PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_POS = 0x00000800, // 11 Taken positive spell that has dmg class none | |||
PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_NEG = 0x00001000, // 12 Done negative spell that has dmg class none | |||
PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_NEG = 0x00002000, // 13 Taken negative spell that has dmg class none | |||
PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS = 0x00004000, // 14 Done positive spell that has dmg class magic | |||
PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_POS = 0x00008000, // 15 Taken positive spell that has dmg class magic | |||
PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG = 0x00010000, // 16 Done negative spell that has dmg class magic | |||
PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_NEG = 0x00020000, // 17 Taken negative spell that has dmg class magic | |||
PROC_FLAG_DONE_PERIODIC = 0x00040000, // 18 Successful do periodic (damage / healing) | |||
PROC_FLAG_TAKEN_PERIODIC = 0x00080000, // 19 Taken spell periodic (damage / healing) | |||
PROC_FLAG_TAKEN_DAMAGE = 0x00100000, // 20 Taken any damage | |||
PROC_FLAG_DONE_TRAP_ACTIVATION = 0x00200000, // 21 On trap activation (possibly needs name change to ON_GAMEOBJECT_CAST or USE) | |||
PROC_FLAG_DONE_MAINHAND_ATTACK = 0x00400000, // 22 Done main-hand melee attacks (spell and autoattack) | |||
PROC_FLAG_DONE_OFFHAND_ATTACK = 0x00800000, // 23 Done off-hand melee attacks (spell and autoattack) | |||
PROC_FLAG_DEATH = 0x01000000, // 24 Died in any way | |||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Cataclysm]] | [[Category:DBC_Cataclysm]] | ||
Line 44: | Line 107: | ||
[[Category:4.0.3.13329]] | [[Category:4.0.3.13329]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] | ||
[[Category:DBC_Legion]][[Category:7.0.1.21737]] | |||
[[Category:SpellData|Spell Data]] |
Latest revision as of 12:42, 27 July 2023
7.0.1.21737
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | SpellID | iRefID | |
3 | ProcCharges | Integer | |
4 | ProcFlags | Integer | |
5 | unknown | Integer | Couldn't match values |
6 | StackAmount | Integer | |
7 | unknown | Integer | Always 0 |
8 | ProcChance | Integer | |
9 | unknown | Integer | Couldn't match values |
10 | unknown | Integer | Always 0 |
11 | unknown | Integer | Always 0 |
12 | unknown | Integer | Always 0 |
Synric 12th July 2016
6.0.1.18179
struct SpellAuraOptionsRec { uint32_t m_ID; uint32_t m_spellID; uint32_t m_difficultyID; uint32_t m_cumulativeAura; uint32_t m_procChance; uint32_t m_procCharges; uint32_t m_procTypeMask; uint32_t m_procCategoryRecovery; uint32_t m_spellProcsPerMinuteID; };
4.0.3.13329
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | StackAmount | Integer | |
3 | ProcChance | Integer | |
4 | ProcCharges | Integer | |
5 | ProcFlags | Integer |
See Proc Flags for more proc flags, various other types of proc flags, and updated multiple versions.
enum PROC_FLAGS
PROC_FLAG_NONE = 0x00000000, PROC_FLAG_KILLED = 0x00000001, // 00 Killed by agressor - not sure about this flag PROC_FLAG_KILL = 0x00000002, // 01 Kill target (in most cases need XP/Honor reward) PROC_FLAG_DONE_MELEE_AUTO_ATTACK = 0x00000004, // 02 Done melee auto attack PROC_FLAG_TAKEN_MELEE_AUTO_ATTACK = 0x00000008, // 03 Taken melee auto attack PROC_FLAG_DONE_SPELL_MELEE_DMG_CLASS = 0x00000010, // 04 Done attack by Spell that has dmg class melee PROC_FLAG_TAKEN_SPELL_MELEE_DMG_CLASS = 0x00000020, // 05 Taken attack by Spell that has dmg class melee PROC_FLAG_DONE_RANGED_AUTO_ATTACK = 0x00000040, // 06 Done ranged auto attack PROC_FLAG_TAKEN_RANGED_AUTO_ATTACK = 0x00000080, // 07 Taken ranged auto attack PROC_FLAG_DONE_SPELL_RANGED_DMG_CLASS = 0x00000100, // 08 Done attack by Spell that has dmg class ranged PROC_FLAG_TAKEN_SPELL_RANGED_DMG_CLASS = 0x00000200, // 09 Taken attack by Spell that has dmg class ranged PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_POS = 0x00000400, // 10 Done positive spell that has dmg class none PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_POS = 0x00000800, // 11 Taken positive spell that has dmg class none PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_NEG = 0x00001000, // 12 Done negative spell that has dmg class none PROC_FLAG_TAKEN_SPELL_NONE_DMG_CLASS_NEG = 0x00002000, // 13 Taken negative spell that has dmg class none PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_POS = 0x00004000, // 14 Done positive spell that has dmg class magic PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_POS = 0x00008000, // 15 Taken positive spell that has dmg class magic PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_NEG = 0x00010000, // 16 Done negative spell that has dmg class magic PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_NEG = 0x00020000, // 17 Taken negative spell that has dmg class magic PROC_FLAG_DONE_PERIODIC = 0x00040000, // 18 Successful do periodic (damage / healing) PROC_FLAG_TAKEN_PERIODIC = 0x00080000, // 19 Taken spell periodic (damage / healing) PROC_FLAG_TAKEN_DAMAGE = 0x00100000, // 20 Taken any damage PROC_FLAG_DONE_TRAP_ACTIVATION = 0x00200000, // 21 On trap activation (possibly needs name change to ON_GAMEOBJECT_CAST or USE) PROC_FLAG_DONE_MAINHAND_ATTACK = 0x00400000, // 22 Done main-hand melee attacks (spell and autoattack) PROC_FLAG_DONE_OFFHAND_ATTACK = 0x00800000, // 23 Done off-hand melee attacks (spell and autoattack) PROC_FLAG_DEATH = 0x01000000, // 24 Died in any way