Back to 'spell_custom_attr' Return to world Go to 'spell_group'
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| EnchantID | int | unsigned | PRI | NO | |||
| Chance | float | NO | 0 | ||||
| ProcsPerMinute | float | NO | 0 | ||||
| HitMask | int | unsigned | NO | 0 | |||
| AttributesMask | int | unsigned | NO | 0 |
references SpellItemEnchantment ID
Any of the types (0 � 2) must be of ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL (1)
Absolute chance per hit or spell cast. (Used when ProcsPerMinute is 0)
Chance relative to delay of equipped weapon .
chance = (ProcsPerMinute * delay) / 600
Used to add special conditions to spells, some spells might trigger only on critical strikes, for example.
| Value | Flag | Name | Comment |
|---|---|---|---|
| 0 | 0x0000 | PROC_HIT_NONE | procs on: PROC_HIT_NORMAL | PROC_HIT_CRITICAL for TAKEN proc type PROC_HIT_NORMAL | PROC_HIT_CRITICAL | PROC_HIT_ABSORB for DONE |
| 1 | 0x0001 | PROC_HIT_NORMAL | non-critical hits |
| 2 | 0x0002 | PROC_HIT_CRITICAL | |
| 4 | 0x0004 | PROC_HIT_MISS | |
| 8 | 0x0008 | PROC_HIT_FULL_RESIST | |
| 16 | 0x0010 | PROC_HIT_DODGE | |
| 32 | 0x0020 | PROC_HIT_PARRY | |
| 64 | 0x0040 | PROC_HIT_BLOCK | partial or full block |
| 128 | 0x0080 | PROC_HIT_EVADE | |
| 256 | 0x0100 | PROC_HIT_IMMUNE | |
| 512 | 0x0200 | PROC_HIT_DEFLECT | |
| 1024 | 0x0400 | PROC_HIT_ABSORB | partial or full absorb |
| 2048 | 0x0800 | PROC_HIT_REFLECT | |
| 4096 | 0x1000 | PROC_HIT_INTERRUPT | |
| 8192 | 0x2000 | PROC_HIT_FULL_BLOCK |
Adds special behaviour to the proc, spell might trigger proc only if these conditions are fullfilled
| Value | Flag | Name | Comment |
|---|---|---|---|
| 1 | 0x0001 | PROC_ATTR_REQ_EXP_OR_HONOR | requires proc target to give exp or honor for aura proc |
| 2 | 0x0002 | PROC_ATTR_TRIGGERED_CAN_PROC | aura can proc even with triggered spells |
| 4 | 0x0004 | PROC_ATTR_REQ_MANA_COST | requires triggering spell to have a mana cost for aura proc |
| 8 | 0x0008 | PROC_ATTR_REQ_SPELLMOD | requires triggering spell to be affected by proccing aura to drop charges |
| 128 | 0x0080 | PROC_ATTR_REDUCE_PROC_60 | aura should have a reduced chance to proc if level of proc Actor > 60 |
| 256 | 0x0100 | PROC_ATTR_CANT_PROC_FROM_ITEM_CAST | do not allow aura proc if proc is caused by a spell casted by item |
Back to 'spell_custom_attr' Return to world Go to 'spell_group'