Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Updated ProcFlags names and description

Back-to:World

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

SpellId74263881

int(11)

signed

PRI

NO

0

Unique


SchoolMask74263881

tinyint(3)

unsigned


NO

0



SpellFamilyName74263881

smallint(5)

unsigned


NO

0



SpellFamilyMask074263881

int(10)

unsigned


NO

0



SpellFamilyMask174263881

int(10)

unsigned


NO

0



SpellFamilyMask274263881

int(10)

unsigned


NO

0



ProcFlags74263881

int(10)

unsigned


NO

0



SpellTypeMask74263881

int(10)

unsigned


NO

0



SpellPhaseMask74263881

int(10)

unsigned


NO

0



HitMask74263881

int(10)

unsigned


NO

0



AttributesMask74263881

int(10)

unsigned


NO

0



DisableEffectsMask74263881int(10)unsigned
NO0

ProcsPerMinute

float



NO

0



Chance74263881

float



NO

0



Cooldown74263881

int(10)

unsigned


NO

0



Charges74263881

tinyint(3)

unsigned


NO

0



Description of the fields

...

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 (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
_AND_GET_XP
2

0x00000002

Kill
that yields experience or honor
target (in most cases need XP/Honor reward)
PROC_FLAG_
SUCCESSFUL
DONE_MELEE_AUTO_
HIT
ATTACK
4

0x00000004Melee

Done melee auto attack
hit successful
PROC_FLAG_TAKEN_MELEE_AUTO_
HIT
ATTACK
8

0x00000008Damage taken from melee hit

Taken melee auto attack
PROC_FLAG_DONE_
SUCCESSFUL
SPELL_MELEE_
SPELL
DMG_
HIT
CLASS
16

0x00000010Successful

Done attack by
spells that use a melee weapon
Spell that has dmg class melee
PROC_FLAG_TAKEN_SPELL_MELEE_
SPELL
DMG_
HIT
CLASS
32

0x00000020Damage taken from spells that use a melee weapon

Taken attack by Spell that has dmg class melee
PROC_FLAG_
SUCCESSFUL
DONE_RANGED_AUTO_
HIT
ATTACK
64

0x00000040Ranged

Done ranged auto attack
hit successful
PROC_FLAG_TAKEN_RANGED_AUTO_
HIT
ATTACK
128

0x00000080Damage taken from

Taken ranged auto attack
hit
PROC_FLAG_DONE_
SUCCESSFUL
SPELL_RANGED_
SPELL
DMG_
HIT
CLASS
256

0x00000100Successful Ranged

Done attack by
spells that use a ranged weapon
Spell that has dmg class ranged
PROC_FLAG_TAKEN_SPELL_RANGED_
SPELL
DMG_
HIT
CLASS
512

0x00000200Damage taken from spells that use a ranged weapon

Taken attack by Spell that has dmg class ranged
PROC_FLAG_DONE_SPELL_
SUCCESSFUL
NONE_
POSITIVE
DMG_
AOE
CLASS_
HIT
POS
1024

0x00000400AoE spell hit successful (not 100% sure if unused)

Done positive spell that has dmg class none
PROC_FLAG_TAKEN
_POSITIVE_AOE
_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_
SUCCESSFUL
NONE_
AOE
DMG_
SPELL
CLASS_
HIT
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_
AOE
DMG_
SPELL
CLASS_
HIT
NEG
8192

0x00002000AoE damage spell hit taken (not 100% sure if unused)

Taken negative spell that has dmg class none
PROC_FLAG
_SUCCESSFUL_POSITIVE_SPELL
_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
_POSITIVE_SPELL
_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_
SUCCESSFUL
MAGIC_
NEGATIVE
DMG_
SPELL
CLASS_
HIT
NEG
65536

0x00010000Negative spell cast successful (by default only on damage)

Done negative spell that has dmg class magic
PROC_FLAG_TAKEN_SPELL_MAGIC_
NEGATIVE
DMG_
SPELL
CLASS_
HIT
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
_ANY
_DAMAGE
1048576

0x00100000

Any damage taken

PROC_FLAG_
ON
DONE_TRAP_ACTIVATION
2097152

0x00200000

On trap activation

PROC_FLAG_
TAKEN
DONE_
OFFHAND
MAINHAND_
HIT
ATTACK
4194304

0x00400000Off

Done main-hand melee attacks
taken
(
not used
spell and autoattack)
PROC_FLAG_
SUCCESSFUL
DONE_OFFHAND_
HIT
ATTACK
8388608

0x00800000Successful

Done off-hand melee attacks (spell and autoattack)

PROC_FLAG_DEATH

16777216

0x01000000

Died in any way

...

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
PROC_ATTR_CANT_PROC_FROM_ITEM_CAST2560x0000100do not allow aura proc if proc is caused by a spell casted by item

DisableEffectsMask

Disable proc of a effect (bitmask)

...