用户工具

站点工具


数据库:world数据库:spell_linked_spell

这是本文档旧的修订版!


spell_linked_spell 表


<-返回:World 数据库

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

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
spell_triggerMEDIUMINTSIGNED NO
spell_effectMEDIUMINTSIGNED NO
typeSMALLINTUNSIGNED NO
commenttext NO

字段说明


spell_trigger

The spell, which when cast, will trigger the spell listed in spell_effect

spell_effect

The spell that you want to be triggered. How this spell acts is determined by the 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

*spell_trigger > 0: “When spell_trigger is cast…” *spell_trigger < 0: “When the aura due to spell_trigger is removed…”

Effect

*spell_effect > 0: spell_effect is also cast (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.

Effect

*spell_effect > 0: spell_effect is cast (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 applied 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: Removes aura spell_effecton the same target.
  • spell_effect < 0 (IMMUNITY)
  • ON APPLY: Makes the target immune to spell_effect.
  • ON REMOVE: Clears target immunity to spell_effect.
数据库/world数据库/spell_linked_spell.1696345406.txt.gz · 最后更改: 2023/10/03 23:03 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki