Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Repair more links.

This table contains the description of creatures. Each spawned creature is an instance of a template present in this table, this means every creature MUST be defined in this table.

...

FieldTypeNullKeyDefaultExtraComment

entry

mediumint(8) unsigned

NO

PRI

0

 

 

difficulty_entry_1

mediumint(8) unsigned

NO

 

0

 

 

difficulty_entry_2

mediumint(8) unsigned

NO

 

0

 

 

difficulty_entry_3

mediumint(8) unsigned

NO

 

0

 

 

KillCredit1

int(10) unsigned

NO

 

0

 

 

KillCredit2

int(10) unsigned

NO

 

0

 

 

modelid1

mediumint(8) unsigned

NO

 

0

 

 

modelid2

mediumint(8) unsigned

NO

 

0

 

 

modelid3

mediumint(8) unsigned

NO

 

0

 

 

modelid4

mediumint(8) unsigned

NO

 

0

 

 

name

char(100)

NO

MUL

0

 

 

subname

char(100)

YES

 

(NULL)

 

 

IconName

char(100)

YES

 

(NULL)

 

 

gossip_menu_id

mediumint(8) unsigned

NO

 

0

 

 

minlevel

tinyint(3) unsigned

NO

 

1

 

 

maxlevel

tinyint(3) unsigned

NO

 

1

 

 

exp

smallint(6)

NO

 

0

 

 

faction

smallint(5) unsigned

NO

 

0

 

 

npcflag

int(10) unsigned

NO

 

0

 

 

speed_walk

float

NO

 

1

 

Result of 2.5/2.5, most common value

speed_run

float

NO

 

1.14286

 

Result of 8.0/7.0, most common value

scale

float

NO

 

1

 

 

rank

tinyint(3) unsigned

NO

 

0

 

 

dmgschool

tinyint(4)

NO

 

0

 

 

BaseAttackTime

int(10) unsigned

NO

 

0

 

 

RangeAttackTime

int(10) unsigned

NO

 

0

 

 

BaseVariance

float

NO

 

1

 

 

RangeVariance

float

NO

 

1

 

 

unit_class

tinyint(3) unsigned

NO

 

0

 

 

unit_flags

int(10) unsigned

NO

 

0

 

 

unit_flags2

int(10) unsigned

NO

 

0

 

 

dynamicflags

int(10) unsigned

NO

 

0

 

 

family

tinyint(4)

NO

 

0

 

 

trainer_type

tinyint(4)

NO

 

0

 

 

trainer_spell

mediumint(8) unsigned

NO

 

0

 

 

trainer_class

tinyint(3) unsigned

NO

 

0

 

 

trainer_race

tinyint(3) unsigned

NO

 

0

 

 

type

tinyint(3) unsigned

NO

 

0

 

 

type_flags

int(10) unsigned

NO

 

0

 

 

lootid

mediumint(8) unsigned

NO

 

0

 

 

pickpocketloot

mediumint(8) unsigned

NO

 

0

 

 

skinloot

mediumint(8) unsigned

NO

 

0

 

 

resistance1

smallint(6)

NO

 

0

 

 

resistance2

smallint(6)

NO

 

0

 

 

resistance3

smallint(6)

NO

 

0

 

 

resistance4

smallint(6)

NO

 

0

 

 

resistance5

smallint(6)

NO

 

0

 

 

resistance6

smallint(6)

NO

 

0

 

 

spell1

mediumint(8) unsigned

NO

 

0

 

 

spell2

mediumint(8) unsigned

NO

 

0

 

 

spell3

mediumint(8) unsigned

NO

 

0

 

 

spell4

mediumint(8) unsigned

NO

 

0

 

 

spell5

mediumint(8) unsigned

NO

 

0

 

 

spell6

mediumint(8) unsigned

NO

 

0

 

 

spell7

mediumint(8) unsigned

NO

 

0

 

 

spell8

mediumint(8) unsigned

NO

 

0

 

 

PetSpellDataId

mediumint(8) unsigned

NO

 

0

 

 

VehicleId

mediumint(8) unsigned

NO

 

0

 

 

mingold

mediumint(8) unsigned

NO

 

0

 

 

maxgold

mediumint(8) unsigned

NO

 

0

 

 

AIName

char(64)

NO

 

 

 

 

MovementType

tinyint(3) unsigned

NO

 

0

 

 

InhabitType

tinyint(3) unsigned

NO

 

3

 

 

HoverHeight

float

NO

 

1

 

 

HealthModifier

float

NO

 

1

 

 

ManaModifier

float

NO

 

1

 

 

ArmorModifier

float

NO

 

1

 

 

DamageModifier

float

NO

 

1

 

 

ExperienceModifier

float

NO

 

1

 

 

RacialLeader

tinyint(3) unsigned

NO

 

0

 

 

movementId

int(11) unsigned

NO

 

0

 

 

RegenHealth

tinyint(3) unsigned

NO

 

1

 

 

mechanic_immune_mask

int(10) unsigned

NO

 

0

 

 

flags_extra

int(10) unsigned

NO

 

0

 

 

ScriptName

char(64)

NO

 

 

 

 

VerifiedBuild

smallint(5)

YES

 

0

 

 

...

ID, found in CreatureSpellData.dbc, that displays what spells the pet has in the client.

Ancla

...

VehicleId

...

VehicleId
VehicleId

Entry of vehicle if creature is/has a vehicle entry. This field determines how the player appears on the vehicle, how the vehicle moves, and whether or not the vehicle action bar is shown. For example, a vehicleID of 292 will make the player invisible, prevent the vehicle from strafing left/right (but will allow forwards/backwards), and will show the vehicle action bar spells (which are defined in spell1-8). An npc_spellclick_spells entry must be made for this creature entry in order for this to work.

...

flags_extra

DecimalHexadecimalNameType
10x00000001CREATURE_FLAG_EXTRA_INSTANCE_BINDcreature kill binds instance to killer and killer's group
20x00000002CREATURE_FLAG_EXTRA_CIVILIANcreature does not aggro (ignore faction/reputation hostility)
40x00000004CREATURE_FLAG_EXTRA_NO_PARRYcreature does not parry
80x00000008CREATURE_FLAG_EXTRA_NO_PARRY_HASTENcreature does not counter-attack at parry
160x00000010CREATURE_FLAG_EXTRA_NO_BLOCKcreature does not block
320x00000020CREATURE_FLAG_EXTRA_NO_CRUSHcreature does not do crush-attacks
640x00000040CREATURE_FLAG_EXTRA_NO_XP_AT_KILLcreature kill does not give XP
1280x00000080CREATURE_FLAG_EXTRA_TRIGGERcreature is trigger-NPC (invisible to players only)
2560x00000100CREATURE_FLAG_EXTRA_NO_TAUNTcreature is immune to taunt-auras and "attack me"-effects
5120x00000200CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATEcreature won't update movement flags
10240x00000400CREATURE_FLAG_EXTRA_GHOST_VISIBILITY creature will be only visible for dead players
163840x00004000CREATURE_FLAG_EXTRA_WORLDEVENTcustom flag for world events (left room for merging)
327680x00008000CREATURE_FLAG_EXTRA_GUARDcreature is a guard (Will ignore feign death and vanish)
1310720x00020000CREATURE_FLAG_EXTRA_NO_CRITcreature does not do critical strikes
2621440x00040000CREATURE_FLAG_EXTRA_NO_SKILLGAINcreature won't increase weapon skills
5242880x00080000CREATURE_FLAG_EXTRA_TAUNT_DIMINISHcreature taunt is subject to diminishing returns
10485760x00100000CREATURE_FLAG_EXTRA_ALL_DIMINISHCreature is subject to all diminishing returns
20971520x00200000CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ

NPCs can help with killing this creature and player will still be credited if he tags the creature

2684354560x10000000CREATURE_FLAG_EXTRA_DUNGEON_BOSS

Creature is a dungeon boss. This flag is generically set by core during runtime. Setting this in database will give you startup error.

5368709120x20000000CREATURE_FLAG_EXTRA_IGNORE_PATHFINDINGCreature will ignore pathfinding. This is like disabling Mmaps, only for one creature.
10737418240x40000000CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACKcreature will immune all knockback effects

...