Skip to content

spell_linked_spell

This table provides data for spell linking system, telling it which spells trigger what, and under which conditions.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
spell_triggerintsignedPRINO
spell_effectintsignedPRINO0
typetinyintunsignedPRINO0
commentmediumtextNO

 

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 > 0spell_trigger < 0
    spell_effect > 0When 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 < 0When 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 > 0spell_trigger < 0
    spell_effect > 0When spell_trigger hits it's target
    spell_effect is cast (as triggered cast) on the same target.
    - invalid -
    spell_effect < 0When 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.