spell_linked_spell
This table provides data for spell linking system, telling it which spells trigger what, and under which conditions.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| spell_trigger | int | signed | PRI | NO | |||
| spell_effect | int | signed | PRI | NO | 0 | ||
| type | tinyint | unsigned | PRI | NO | 0 | ||
| comment | mediumtext | NO |
Description of fields
spell_trigger
The Spell ID, which when cast, will trigger the spell listed in spell_effect.
spell_effect
The Spell ID that you want to be triggered. How this spell acts is determined by the type field.
type
Describes how both spells are linked
0: SPELL_LINK_CAST
spell_trigger > 0 spell_trigger < 0 spell_effect > 0 When spell_trigger is cast
spell_effect is also cast (as triggered cast) on the same targets, or caster.When the aura of spell_trigger is removed
spell_effect is also cast (as triggered cast) on the same targets, or caster.spell_effect < 0 When spell_trigger is cast
auras of spell_effect are removed.When the aura of spell_trigger is removed
auras of spell_effect are removed.1: SPELL_LINK_HIT
spell_trigger > 0 spell_trigger < 0 spell_effect > 0 When spell_trigger hits it's target
spell_effect is cast (as triggered cast) on the same target.- invalid - spell_effect < 0 When spell_trigger hits it's target
auras of spell_effect are removed.- invalid - 2: SPELL_LINK_AURA
| | spell_trigger > 0 | spell_trigger < 0 |
| -- | -- | -- | -- |
| spell_effect > 0 | While aura of spell_trigger is applied
aura of spell_effect is also applied on the same target. | - invalid - |
| spell_effect < 0 | While aura of spell_trigger is applied
target is immune to spell_effect. | - invalid - |
comment
Optional comment to explain the link.
