Back to 'spell_learn_spell' Return to world Go to 'spell_loot_template'
This table provides data for spell linking system, telling it which spells trigger what, and under which conditions.
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 |
The Spell ID, which when cast, will trigger the spell listed in spell_effect.
The Spell ID that you want to be triggered. How this spell acts is determined by the type field.
Describes how both spells are linked
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. |
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 - |
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 - |
Optional comment to explain the link.
Back to 'spell_learn_spell' Return to world Go to 'spell_loot_template'