creature_template (3.3.5a)

creature_template (3.3.5a)

Back-to:World

The `creature_template` table

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.


Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Field

Type

Attributes

Key

Null

Default

Extra

Comment

entry

mediumint(8)

unsigned

PRI

NO

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(200)

signed

 

NO

0

 

 

subname

char(200)

signed

 

YES

NULL

 

 

IconName

char(100)

signed

 

YES

NULL

 

 

gossip_menu_id

mediumint(8)

unsigned

 

NO

0

 

 

minlevel

smallint(5)

signed

 

NO

1

 

 

maxlevel

smallint(5)

signed

 

NO

1

 

 

exp

smallint(6)

signed

 

NO

0

 

 

faction

smallint(5)

unsigned

 

NO

0

 

 

npcflag

int(10)

unsigned

 

NO

0

 

 

speed_walk

float

signed

 

NO

1

 

Result of 2.5/2.5, most common value

speed_run

float

signed

 

NO

1.14286

 

Result of 8.0/7.0, most common value

scale

float

signed

 

NO

1

 

 

rank

tinyint(3)

unsigned

 

NO

0

 

 

dmgschool

tinyint(4)

signed

 

NO

0

 

 

BaseAttackTime

int(10)

unsigned

 

NO

0

 

 

RangeAttackTime

int(10)

unsigned

 

NO

0

 

 

BaseVariance

float

signed

 

NO

1

 

 

RangeVariance

float

signed

 

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)

signed

 

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

 

 

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)

signed

 

NO

"

 

 

MovementType

tinyint(3)

unsigned

 

NO