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

  • Sign in to follow this  

    creature_linking


    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 'creature_linking' table for MaNGOSZero

    This table holds details of how creatures linked to a master creature should act in combat and non-combat situations.

    Table Notes

    This table uses the 'MyISAM' DB Engine

    The Field definitions follow:

    Field Name Field Type Nullable Key Default Value Attributes Notes
    guid int(10) unsigned NO PRI NULL   This references the "creature" table tables unique ID.
    master_guid int(10) unsigned NO NULL   This references the "creature" table tables unique ID.
    flag mediumint(8) unsigned NO NULL   This flag determines how a linked creature will act.

    Description of the fields

    guid int(10) unsigned

    This references the "creature" table tables unique ID for which the entry is valid [See creature.entry].
    This is a creature spawn bound to the master creature.

    master_guid int(10) unsigned

    This references the "creature" table tables unique ID for which the entry is valid [See creature.entry].
    This is the master creature which defines behaviour for the linked creature.

    flag mediumint(8) unsigned

    This flag determines how a linked creature will act, when the master is changing it's combat state.
    Flags provide support for combat state, non combat state and life state.

    The following flags determine the behaviour if the master is in combat state.

    Value Hex FlagName Description
    1 0x1 FLAG_AGGRO_ON_AGGRO The "slave" aggroes when the "master" aggroes
    2 0x2 FLAG_TO_AGGRO_ON_AGGRO The master aggroes when the slave aggroes
    4 0x4 FLAG_RESPAWN_ON_EVADE The slave respawns when the master evades
    8 0x8 FLAG_TO_RESPAWN_ON_EVADE the master respawns when the slave evades
    16 0x10 FLAG_DESPAWN_ON_DEATH the slave despawns when the master dies
    32 0x20 FLAG_SELFKILL_ON_DEATH the slave goes suicide when the master dies
    64 0x40 FLAG_RESPAWN_ON_DEATH the slave respawn when the master dies
    128 0x80 FLAG_RESPAWN_ON_RESPAWN the slave respawns on master respawn
    256 0x100 FLAG_DESPAWN_ON_RESPAWN the slave despawns on master respawn (TODO: check for slave != master)
    512 0x200 FLAG_FOLLOW the slave follows the master, very basic, see TODO notes in commit, or post below
    1024 0x400 FLAG_CANT_SPAWN_IF_BOSS_DEAD the slave cannot respawn while boss is dead
    2048 0x800 FLAG_CANT_SPAWN_IF_BOSS_ALIVE the slave cannot respawn while boss is alive
    4096 0x1000 FLAG_DESPAWN_ON_EVADE the slave despawn after the master evade
    8192 0x2000 FLAG_DESPAWN_ON_DESPAWN the slave despawn after the master despawns



    auto-generated by the getMaNGOS.eu MAGNET dbdocs module

    Edited by Antz

    Sign in to follow this  


    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

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • 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