The `spell_proc` table
This table holds information on what events (or Back-to:World
The `spell_proc` table
This table holds information on what events (or procs) certain spells are activated. All spells in this table must have apply a SPELL_AURA_PROC_TRIGGER_SPELL (42) aura. Any entries in this table will overwrite the existing proc settings in the spell's DBC entry.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
int(11) | signed | PRI | NO | 0 | Unique | ||
tinyint(3) | unsigned | NO | 0 | ||||
smallint(5) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
int(10) | unsigned | NO | 0 | ||||
74263881 | int(10) | unsigned | NO | 0 | |||
float | NO | 0 | |||||
float | NO | 0 | |||||
int(10) | unsigned | NO | 0 | ||||
tinyint(3) | unsigned | NO | 0 |
...
ID | Family Name |
---|---|
0 | Generic |
3 | Mage |
4 | Warrior |
5 | Warlock |
6 | Priest |
7 | Druid |
8 | Rogue |
9 | Hunter |
10 | Paladin |
11 | Shaman |
13 | Potion |
15 | Death Knight |
53 | Monk |
107 | Demon Hunter |
SpellFamilyMask0
This field controls what spells' family flags can proc the triggered spell (you can find SpellFamilyFlags of some spell, using SpellWork).
...
Event | Flag | Bit value | Comment | |
---|---|---|---|---|
PROC_FLAG_NONE | 0 | 0x00000000 | ||
PROC_FLAG_KILLED | 1 | 0x00000001 | Killed by agressor | |
PROC_FLAG_KILL | 2 | 0x00000002 | Kill target (in most cases need XP/Honor reward) | |
PROC_FLAG_ DONE_MELEE_AUTO_ ATTACK | 4 | 0x00000004Melee | Done melee auto attack | |
PROC_FLAG_TAKEN_MELEE_AUTO_ ATTACK | 8 | 0x00000008Damage taken from melee hit | Taken melee auto attack | |
PROC_FLAG_DONE_ SPELL_MELEE_ DMG_ CLASS | 16 | 0x00000010Successful | Done attack by Spell that has dmg class melee | |
PROC_FLAG_TAKEN_SPELL_MELEE_ DMG_ CLASS | 32 | 0x00000020Damage taken from spells that use a melee weapon | Taken attack by Spell that has dmg class melee | |
PROC_FLAG_ DONE_RANGED_AUTO_ ATTACK | 64 | 0x00000040Ranged | Done ranged auto attack | |
PROC_FLAG_TAKEN_RANGED_AUTO_ ATTACK | 128 | 0x00000080Damage taken from | Taken ranged auto attack | |
PROC_FLAG_DONE_ SPELL_RANGED_ DMG_ CLASS | 256 | 0x00000100Successful Ranged | Done attack by Spell that has dmg class ranged | |
PROC_FLAG_TAKEN_SPELL_RANGED_ DMG_ CLASS | 512 | 0x00000200 | Damage taken from spells that use a ranged weapon | PROC_FLAG_SUCCESSFUL_POSITIVE_AOE_HIT Taken attack by Spell that has dmg class ranged |
PROC_FLAG_DONE_SPELL_NONE_DMG_CLASS_POS | 1024 | 0x00000400AoE spell hit successful (not 100% sure if unused) | Done positive spell that has dmg class none | |
PROC_FLAG_TAKEN _SPELL_NONE_DMG_CLASS_POS | 2048 | 0x00000800Positive AoE spell hit taken (not 100% sure if unused) | Taken positive spell that has dmg class none | |
PROC_FLAG_DONE_SPELL_ NONE_ DMG_ CLASS_ NEG | 4096 | 0x00001000AoE damage spell hit successful (not 100% sure if unused) | Done negative spell that has dmg class none | |
PROC_FLAG_TAKEN_SPELL_NONE_ DMG_ CLASS_ NEG | 8192 | 0x00002000AoE damage spell hit taken (not 100% sure if unused) | Taken negative spell that has dmg class none | |
PROC_FLAG _DONE_SPELL_MAGIC_DMG_CLASS_POS | 16384 | 0x00004000Positive spell cast successful (by default only on healing) | Done positive spell that has dmg class magic | |
PROC_FLAG_TAKEN _SPELL_MAGIC_DMG_CLASS_POS | 32768 | 0x00008000Positive spell hit taken (by default only on healing) | Taken positive spell that has dmg class magic | |
PROC_FLAG_DONE_SPELL_ MAGIC_ DMG_ CLASS_ NEG | 65536 | 0x00010000Negative spell cast successful (by default only on damage) | Done negative spell that has dmg class magic | |
PROC_FLAG_TAKEN_SPELL_MAGIC_ DMG_ CLASS_ NEG | 131072 | 0x00020000Negative spell hit taken (by default only on damage) | Taken negative spell that has dmg class magic | |
PROC_FLAG_DONE_PERIODIC | 262144 | 0x00040000 | Periodic damage / healing done, determined from flags 14-17 | |
PROC_FLAG_TAKEN_PERIODIC | 524288 | 0x00080000 | Periodic damage / healing taken, determined from flags 14-17 | |
PROC_FLAG_TAKEN _DAMAGE | 1048576 | 0x00100000 | Any damage taken | |
PROC_FLAG_ DONE_TRAP_ACTIVATION | 2097152 | 0x00200000 | On trap activation | |
PROC_FLAG_ DONE_ MAINHAND_ ATTACK | 4194304 | 0x00400000Off | Done main-hand melee attacks ( spell and autoattack) | |
PROC_FLAG_ DONE_OFFHAND_ ATTACK | 8388608 | 0x00800000Successful | Done off-hand melee attacks (spell and autoattack) | |
PROC_FLAG_DEATH | 16777216 | 0x01000000 | Died in any way |
...