Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Spell linked spell tc2_trigger

mediumint(8)

signed

 

NO

NULL

 

 

Spell linked spell tc2_effect

mediumint(8)

signed

 

NO

0

 

 

Spell linked spell tc2type

smallint(3)

unsigned

 

NO

0

 

 

Spell linked spell tc2comment

text

signed

 

NO

NULL

 

 

Description of the fields

spell_trigger

The spell that when cast will trigger the spell listed in Spell linked spell tc2_effect

spell_ effect

The spell that you want to be triggered. How this spell acts is determined by the Spell linked spell tc2 type field.

type

Three values are possible (0,1,2). See below.

comment

Optional comment to explain the link.

Description of the linking effects

type h1. 0 (CAST)

Trigger mode

Panel

*spell_trigger > 0: "When spell_trigger is casted..."
*spell_trigger < 0: "When the aura due to spell_trigger is removed..."

...

Panel

*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 mode

For 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.

...

Panel

*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 mode

For 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.

...