目录

gameobject_template_addon

This table holds additional information on gameobjects.

Structure

Field Type Attributes Key Null Default Extra Comment
entry INT UNSIGNED PRI NO 0
faction SMALLINT UNSIGNED NO 0
flags INT UNSIGNED NO 0
mingold INT UNSIGNED NO 0
maxgold INT UNSIGNED NO 0
artkit0 INT 0
artkit1 INT 0
artkit2 INT 0
artkit3 INT 0

Description of the fields

entry

ID of the game object, from gameobject_template.entry.

faction

Object's faction, if any. See FactionTemplate

flags

Value Flag Name Comment
1 0x00000001 GO_FLAG_IN_USE Gameobject in use - Disables interaction while being animated
2 0x00000002 GO_FLAG_LOCKED Makes the Gameobject Locked. Requires a key, spell, or event to be opened. “Locked” appears in tooltip
4 0x00000004 GO_FLAG_INTERACT_COND Untargetable, cannot interact (condition to interact - requires GO_DYNFLAG_LO_ACTIVATE to enable interaction clientside)
8 0x00000008 GO_FLAG_TRANSPORT Gameobject can transport (boat, elevator, car)
16 0x00000010 GO_FLAG_NOT_SELECTABLE Not selectable (Not even in GM-mode)
32 0x00000020 GO_FLAG_NODESPAWN Never despawns. Typical for gameobjects with on/off state (doors for example)
64 0x00000040 GO_FLAG_TRIGGERED (GO_FLAG_AI_OBSTACLE) makes the client register the object in something called AIObstacleMgr, unknown what it does
128 0x00000080 GO_FLAG_FREEZE_ANIMATION unused from AzerothCore
512 0x00000200 GO_FLAG_DAMAGED Gameobject has been siege damaged
1024 0x00000400 GO_FLAG_DESTROYED Gameobject has been destroyed

mingold

Minimum money, in copper, that the gameobject can drop when accessed / used.

maxgold

Maximum money, in copper, that the gameobject can drop when accessed / used.

artkit

GameObjectArtKit.dbc ID

Updates display if object is activated by SPELL_EFFCT_ACTIVATE_OBJECT with MiscValue 19 - 22.