spell_linked_spell

字段介绍

spell_linked_spell

  • spell_trigger
    • 当施放此法术时,将触发 spell_effect 中列出的法术,取值参考 Spell.dbc | Spell.db2
  • spell_effect
    • 要触发的法术 ID,此法术的作用方式由 type 字段决定,取值参考 Spell.dbc | Spell.db2
  • type
    • 上述两个法术的链接类型
      • 0(SPELL_LINK_CAST)
      • 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.
      • 1(SPELL_LINK_HIT)
      • 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 -
      • 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 -

应用举例

spell_trigger = 法术 A
spell_effect = 法术 B
type = 2
效果:施放法术 A,就获得法术 B 效果,移除法术A同时也会移除法术 B 效果。

你可能感兴趣的:(数据表,功能实现,TrinityCore,开源)