NOTE: This page is auto-generated from the MAGNET DBDocs module, Any changes made directly to this page will be lost when it is regenerated. |
Description of the 'spell_linked' table for MaNGOSZero
This table provides data for spell linking system, telling it what spells trigger what, and under what conditions.
Table Notes
This table uses the 'MyISAM' DB Engine
The Field definitions follow:
Field Name | Field Type | Nullable | Key | Default Value | Attributes | Notes |
---|---|---|---|---|---|---|
entry | int(10) unsigned | NO | PRI | NULL | Spell ID [See Spell.dbc]. | |
linked_entry | int(10) unsigned | NO | PRI | NULL | Spell ID [See Spell.dbc]. | |
type | int(10) unsigned | NO | PRI | '0' | Link type. | |
effect_mask | int(10) unsigned | NO | '0' | Effect mask. | ||
comment | varchar(255) | NO | {Blank String} | Textual comment. |
Description of the fields
entry int(10) unsigned
Spell ID [See Spell.dbc] of the triggering spell.
linked_entry int(10) unsigned
Spell ID [See Spell.dbc] of the triggered spell.
type int(10) unsigned
Type of spell link, see enum SpellLinkedType in SpellMgr.h.
Type name | Value | Meaning |
---|---|---|
SPELL_LINKED_TYPE_NONE | 0 | Ignored |
SPELL_LINKED_TYPE_BOOST | 1 | |
SPELL_LINKED_TYPE_PRECAST | 2 | Triggered before spellcast |
SPELL_LINKED_TYPE_TRIGGERED | 3 | Cast on cast, i.e. triggering |
SPELL_LINKED_TYPE_PROC | 4 | Cast on aura proc |
SPELL_LINKED_TYPE_REMOVEONCAST | 5 | Remove aura on cast |
SPELL_LINKED_TYPE_REMOVEONREMOVE | 6 | Remove aura on remove another aura |
SPELL_LINKED_TYPE_CASTONREMOVE | 7 | Cast on remove another aura |
effect_mask int(10) unsigned
The link may be limited to any or all spelleffects. The mask values are 1, 2, 4 for EFFECT_0, EFFECT_1, EFFECT_2 respectively. The values may be combined by adding.
comment varchar(255)
Textual comment, ignored by the core.
auto-generated by the getMaNGOS.eu MAGNET dbdocs module
Edited by Antz
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now