Skip to content
Schmoozerd edited this page Apr 14, 2013 · 1 revision

Back to world database list of tables.

The `spell_proc_event` 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 Null Key Default Extra
entry smallint(6) unsigned NO PRI 0
SchoolMask tinyint(4) NO 0
Category smallint(6) NO 0
SkillID smallint(6) NO 0
SpellFamilyName smallint(6) unsigned NO 0
SpellFamilyMask bigint(40) unsigned NO 0
procFlags int(11) unsigned NO 0
ppmRate float NO 0

Description of the fields

entry

The spell ID that is capable to proc on an event.

SchoolMask

This field contains a bitmask that controls on what types of spell damages the proc can be triggered. For example if an aura procs only when the unit it is casted upon is hit by shadow spells (spell 34914). To combine spell schools, just add the bit values.

School ID Bit Name
0 1 Physical
1 2 Holy
2 4 Fire
3 8 Nature
4 16 Frost
5 32 Shadow
6 64 Arcane

Category

This field controls what spell categories can proc the aura’s triggered spell.

SkillID

This field controls what spells’ skill IDs can proc the triggered spell. For example all talent spells in a tab share a certain skill ID. See SkillLine.dbc

SpellFamilyName

This field controls what family name spells can proc the triggered spell.

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

SpellFamilyMask

This field controls what spells’ family flags can proc the triggered spell.

procFlags

A bitmask controlling what events trigger the spell. To combine possible events, add the proc bits together.

Proc Name Bit Comments
0 PROC_FLAG_NONE None
1 PROC_FLAG_HIT_MELEE On melee hit
2 PROC_FLAG_STRUCK_MELEE On being hit by melee damage
4 PROC_FLAG_KILL_XP_GIVER On kill target giving XP or honor
8 PROC_FLAG_SPECIAL_DROP
16 PROC_FLAG_DODGE On dodge melee attack
32 PROC_FLAG_PARRY On parry melee attack
64 PROC_FLAG_BLOCK On block attack
128 PROC_FLAG_TOUCH On being touched (for bombs, probably?)
256 PROC_FLAG_TARGET_LOW_HEALTH On deal damage to enemy with 20% or less health
512 PROC_FLAG_LOW_HEALTH On health dropped below 20%
1024 PROC_FLAG_STRUCK_RANGED On being struck ranged
2048 PROC_FLAG_HIT_SPECIAL (!)Removed, may be reassigned in future
4096 PROC_FLAG_CRIT_MELEE On crit melee
8192 PROC_FLAG_STRUCK_CRIT_MELEE On being critically struck in melee
16384 PROC_FLAG_CAST_SPELL On spell cast
32768 PROC_FLAG_TAKE_DAMAGE On damage taken
65536 PROC_FLAG_CRIT_SPELL On spell critical hit
131072 PROC_FLAG_HIT_SPELL On spell hit
262144 PROC_FLAG_STRUCK_CRIT_SPELL On being critically struck by a spell
524288 PROC_FLAG_HIT_RANGED On getting ranged hit
1048576 PROC_FLAG_STRUCK_SPELL On being struck by a spell
2097152 PROC_FLAG_TRAP On trap activation
4194304 PROC_FLAG_CRIT_RANGED On getting ranged crit
8388608 PROC_FLAG_STRUCK_CRIT_RANGED On being critically struck by a ranged attack
16777216 PROC_FLAG_RESIST_SPELL On resist enemy spell
33554432 PROC_FLAG_TARGET_RESISTS On enemy resisted spell
67108864 PROC_FLAG_TARGET_AVOID_ATTACK On enemy blocks/dodges/parries
134217728 PROC_FLAG_HEAL On heal of someone
268435456 PROC_FLAG_CRIT_HEAL On critical healing effect
536870912 PROC_FLAG_HEALED On healed by someone
1073741824 PROC_FLAG_TARGET_BLOCK On enemy blocks
2147483648 PROC_FLAG_MISS On miss melee attack

ppmRate

This field controls the times per minute that the spell should proc. If zero, then the value is taken from the DBC entry.

Clone this wiki locally