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 |
|
| |
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.
...
If left zero, will default to both normal and critical hits for damage taken, and for hit, crit and absorbs for damage done.
Event | Flag | Bit | Comment |
PROC_HIT_NONE | 0 | 0x00000000 |
(special see footnote) |
PROC_HIT_ |
NORMAL |
PROC_HIT_ABSORB for DONE
PROC_HIT_NORMAL
1 | 0x00000001 | only non-critical hits | |
PROC_HIT_CRITICAL | 2 | 0x00000002 | only critical hits |
PROC_HIT_MISS | 4 | 0x00000004 | self-explanatory |
PROC_HIT_FULL_RESIST | 8 | 0x00000008 | only on full resist (no partial) |
PROC_HIT_DODGE | 16 | 0x00000010 | self-explanatory |
PROC_HIT_PARRY | 32 | 0x00000020 | self-explanatory |
PROC_HIT_BLOCK | 64 | 0x00000040 | partial or full block |
PROC_HIT_EVADE | 128 | 0x00000080 | self-explanatory |
PROC_HIT_IMMUNE | 256 | 0x00000100 |
self-explanatory | ||
PROC_HIT_DEFLECT | 512 | 0x00000200 |
self-explanatory | |||
PROC_HIT_ABSORB | 1024 | 0x00000400 | partial or full absorb |
PROC_HIT_REFLECT | 2048 | 0x00000800 |
self-explanatory | |||
PROC_HIT_INTERRUPT | 4096 | 0x00001000 | (not used atm) |
PROC_HIT_FULL_BLOCK | 8192 | 0x00002000 | only on full block |
PROC_HIT_MASK_ALL | 12287 | 0x00002FFF | All masks combined |
PROC_HIT_NONE will trigger on:
- PROC_HIT_NORMAL+PROC_HIT_CRITICAL, when trigger is TAKEN
- PROC_HIT_NORMAL+PROC_HIT_CRITICAL+PROC_HIT_ABSORB, when trigger is DONE
AttributesMask
Adds special behaviour to the proc, spell might trigger proc only if these conditions are fullfilled
...