Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • spell_script_target


    antz
     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_script_target' table for MaNGOSTwo

    Used to control SpellEffect with ImpliciteTargetA-B == 7|8|38|40|46|52. These spell effects require a specific target in either alive or dead state (for creatures).

    Table Notes

    This table uses the 'MyISAM' DB Engine

    The Field definitions follow:

    Field Name Field Type Nullable Key Default Value Attributes Notes
    entry mediumint(8) unsigned NO PRI NULL   Spell ID [See Spell.dbc].
    type tinyint(3) unsigned NO PRI '0'   Type of the target entry.
    targetEntry mediumint(8) unsigned NO PRI '0'   Creature ID or Gameobject ID.
    inverseEffectMask mediumint(8) unsigned NO '0'   Inverse effect mask.

    Description of the fields

    entry mediumint(8) unsigned

    Spell ID [See Spell.dbc] of the spell requiring external implicit target definition. The target type of a spelleffect has to be one of the following (look for the values at enum Targets in SharedDefines.h):
    TARGET_SCRIPT, TARGET_SCRIPT_COORDINATES, TARGET_FOCUS_OR_SCRIPTED_GAMEOBJECT, TARGET_AREAEFFECT_INSTANT, TARGET_AREAEFFECT_CUSTOM, TARGET_AREAEFFECT_GO_AROUND_SOURCE, TARGET_AREAEFFECT_GO_AROUND_DEST, TARGET_NARROW_FRONTAL_CONE

    type tinyint(3) unsigned

    Type of the target entry.

    Name Value
    SPELL_TARGET_TYPE_GAMEOBJECT 0
    SPELL_TARGET_TYPE_CREATURE 1
    SPELL_TARGET_TYPE_DEAD 2

    targetEntry mediumint(8) unsigned

    Creature ID (creature_template.entry) or Gameobject ID (gameobject_template.entry) dependently on the type.

    inverseEffectMask mediumint(8) unsigned

    The bitmask (bits 0, 1, 2 corresponding to values 1, 2, 4) of the spell effect numbers that do not use this mechanic.


    auto-generated by the getMaNGOS.eu MAGNET dbdocs module

    Edited by Antz


    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use