Skip to content

spell_enchant_proc_data

This table holds information how and when an enchantment proc can occur.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
EnchantIDintunsignedPRINO
ChancefloatNO0
ProcsPerMinutefloatNO0
HitMaskintunsignedNO0
AttributesMaskintunsignedNO0
 

Description of fields ​

EnchantID ​

references SpellItemEnchantment ID Any of the types (0 – 2) must be of ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL (1)  

Chance ​

Absolute chance per hit or spell cast. (Used when ProcsPerMinute is 0)  

ProcsPerMinute ​

Chance relative to delay of equipped weapon . chance = (ProcsPerMinute * delay) / 600  

HitMask ​

Used to add special conditions to spells, some spells might trigger only on critical strikes, for example.

ValueFlagNameComment
00x0000PROC_HIT_NONEprocs on:
PROC_HIT_NORMAL | PROC_HIT_CRITICAL for TAKEN proc type
PROC_HIT_NORMAL | PROC_HIT_CRITICAL | PROC_HIT_ABSORB for DONE
10x0001PROC_HIT_NORMALnon-critical hits
20x0002PROC_HIT_CRITICAL
40x0004PROC_HIT_MISS
80x0008PROC_HIT_FULL_RESIST
160x0010PROC_HIT_DODGE
320x0020PROC_HIT_PARRY
640x0040PROC_HIT_BLOCKpartial or full block
1280x0080PROC_HIT_EVADE
2560x0100PROC_HIT_IMMUNE
5120x0200PROC_HIT_DEFLECT
10240x0400PROC_HIT_ABSORBpartial or full absorb
20480x0800PROC_HIT_REFLECT
40960x1000PROC_HIT_INTERRUPT
81920x2000PROC_HIT_FULL_BLOCK

 

AttributesMask ​

Adds special behaviour to the proc, spell might trigger proc only if these conditions are fullfilled

ValueFlagNameComment
10x0001PROC_ATTR_REQ_EXP_OR_HONORrequires proc target to give exp or honor for aura proc
20x0002PROC_ATTR_TRIGGERED_CAN_PROCaura can proc even with triggered spells
40x0004PROC_ATTR_REQ_MANA_COSTrequires triggering spell to have a mana cost for aura proc
80x0008PROC_ATTR_REQ_SPELLMODrequires triggering spell to be affected by proccing aura to drop charges
1280x0080PROC_ATTR_REDUCE_PROC_60aura should have a reduced chance to proc if level of proc Actor > 60
2560x0100PROC_ATTR_CANT_PROC_FROM_ITEM_CASTdo not allow aura proc if proc is caused by a spell casted by item