Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: removed redundant line

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.

...

Used to add special conditions to spells, some spells might trigger only on critical strikes, for example.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

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

...