Tabelle: 'spell_linked_spell'
The `spell_linked_spell` tableThis table provides data for spell linking system, telling it what spells trigger what, and under what conditions. Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|
spell_trigger | mediumint(8) | vorzeichenbehaftet | | nein | NULL | | | spell_effect | mediumint(8) | vorzeichenbehaftet | | nein | 0 | | | type | smallint(3) | vorzeichenlos | | nein | 0 | | | comment | text | vorzeichenbehaftet | | nein | NULL | | |
Description of the fieldsspell_triggerThe spell that when cast will trigger the spell listed in spell_effect spell_ effectThe spell that you want to be triggered. How this spell acts is determined by the type field. typeThree values are possible (0,1,2). See below. Optional comment to explain the link. Description of the linking effectstype h1. 0 (CAST)Trigger mode
*spell_trigger > 0: "When spell_trigger is casted..." *spell_trigger < 0: "When the aura due to spell_trigger is removed..."
Effect
*spell_effect > 0: spell_effect is also casted (with triggered flag) on the same targets, on the caster if spell_trigger has no target. *spell_effect < 0: Auras due to spell_effect are removed.
type 1 (HIT)Trigger modeFor this mode spell_trigger must be positive. Effect is executed when spell_trigger hits a target. I suppose that if the spell_trigger hits more than one target, the effect is executed for each target hit. Effect
*spell_effect > 0: spell_effect is casted (with triggered flag) on the same target. *spell_effect < 0: Auras due to spell_effect are removed.
type == 2 (AURA)Trigger modeFor this mode spell_trigger must be positive. Effect is executed when the aura spell_trigger is applyed AND when it is removed from a target. Effect
*spell_effect > 0 (ADD/REMOVE AURA)
- ON APPLY: Adds aura spell_effect on the same target.
- ON REMOVE: Clears target immunity to spell_effect.
|