Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

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

SpellId

int(11)

signed

PRI

NO

0

Unique


SchoolMask

tinyint(3)

unsigned


NO

0



SpellFamilyName

smallint(5)

unsigned


NO

0



SpellFamilyMask0

int(10)

unsigned


NO

0



SpellFamilyMask1

int(10)

unsigned


NO

0



SpellFamilyMask2

int(10)

unsigned


NO

0



ProcFlags

int(10)

unsigned


NO

0



SpellTypeMask

int(10)

unsigned


NO

0



SpellPhaseMask

int(10)

unsigned


NO

0



HitMask

int(10)

unsigned


NO

0



AttributesMask

int(10)

unsigned


NO

0



ProcsPerMinute

float



NO

0



Chance

float



NO

0



Cooldown

int(10)

unsigned


NO

0



Charges

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

15Death Knight
53Monk
107Demon Hunter

SpellFamilyMask0

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

...

Event

Flag

Bit

Comment

PROC_ATTR_REQ_EXP_OR_HONOR

1

0x0000001

requires proc target to give exp or honor

PROC_ATTR_TRIGGERED_CAN_PROC20x0000002aura can proc even when spell is triggered by another
PROC_ATTR_REQ_MANA_COST40x0000004requires triggering spell to have a mana cost
PROC_ATTR_REQ_SPELLMOD80x0000008requires triggering spell to be affected by aura SpellId (only for mod drops)
PROC_ATTR_DISABLE_EFF_0160x0000010explicitly disables aura proc effect 0
PROC_ATTR_DISABLE_EFF_!1320x0000020explicitly disables aura proc effect 1
PROC_ATTR_DISABLE_EFF_2640x0000040explicitly disables aura proc effect 2
PROC_ATTR_REDUCE_PROC_601280x0000080aura has a reduced chance to proc if level of proc actor > 60

...