Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Add "67108864" to unit_flags2 but cant find the optino to add a new cell to this 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.


OUTDATED - New Version here: creature_template (3.3.5a)


  lootid     
FieldTypeNullKeyDefaultExtraComment

entry74684811

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

 

 



KillCredit174684811

int(10) unsigned

NO 


0 



74684811

 

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

 

 



name74684811

char(100)

NO

MUL

0

 



74684811

subname

char(100)

YES 


(NULL) 



74684811

 

IconName

char(100)

YES

 


(NULL)

 

 



gossip_menu_id74684811

mediumint(8) unsigned

NO

 


0

 



74684811

minlevel

tinyint(3) unsigned

NO

 


1 



74684811

 

maxlevel

tinyint(3) unsigned

NO 


1

 

 



exp74684811

smallint(6)

NO 


0 



74684811

 

faction

smallint(5) unsigned

NO

 


0

 

 



npcflag74684811

int(10) unsigned

NO 


0

 

 



speed_walk

74684811

float

NO 


1

 


Result of 2.5/2.5, most common value

speed_run74684811

float

NO 


1.14286 


Result of 8.0/7.0, most common value

scale74684811

float

NO 


1 



74684811

 

rank

tinyint(3) unsigned

NO 


0 



74684811

 

dmgschool

tinyint(4)

NO

 


0

 

 



BaseAttackTime74684811

int(10) unsigned

NO 


0 



74684811

 

RangeAttackTime

int(10) unsigned

NO 


0 



74684811

 

BaseVariance

float

NO

 


1 



74684811

 

RangeVariance

float

NO

 


1

 

 



unit_class

74684811

tinyint(3) unsigned

NO

 


0

 

 

unit_flags



74684811

int(10) unsigned

NO 


0

 

 

unit_flags2



74684811

int(10) unsigned

NO

 


0

 

 



dynamicflags74684811

int(10) unsigned

NO 


0

 

 



family74684811

tinyint(4)

NO 


0

 

 

trainer_type



74684811

tinyint(4)

NO

 


0

 

 

trainer_spell



74684811

mediumint(8) unsigned

NO 


0

 

 

trainer_class



74684811

tinyint(3) unsigned

NO

 


0

 

 

trainer_race



74684811

tinyint(3) unsigned

NO 


0

 

 



type74684811

tinyint(3) unsigned

NO 


0

 

 

type_flags



74684811

int(10) unsigned

NO

 

0

 

 


0



74684811

mediumint(8) unsigned

NO 


0

 

 



pickpocketloot74684811

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

 



74684811

PetSpellDataId

mediumint(8) unsigned

NO 


0

 

 



VehicleId74684811

mediumint(8) unsigned

NO 


0

 



74684811

mingold

mediumint(8) unsigned

NO 


0

 

 



maxgold74684811

mediumint(8) unsigned

NO 


0 



74684811

 

AIName

char(64)

NO

 

 

 

 





MovementType74684811

tinyint(3) unsigned

NO 


0

 



74684811

InhabitType

tinyint(3) unsigned

NO 


3

 

 



HoverHeight74684811

float

NO

 


1

 

 



HealthModifier74684811

float

NO 


1

 

 



ManaModifier74684811

float

NO

 


1

 

 



ArmorModifier74684811

float

NO 


1

 



74684811

DamageModifier

float

NO 


1

 

 



ExperienceModifier74684811

float

NO 


1

 

 



RacialLeader74684811

tinyint(3) unsigned

NO

 


0

 



74684811

movementId

int(11) unsigned

NO

 


0

 

 



RegenHealth74684811

tinyint(3) unsigned

NO 


1

 

 



mechanic_immune_mask

74684811

int(10) unsigned

NO 


0

 

 

flags_extra



74684811

int(10) unsigned

NO 


0

 

 



ScriptName74684811

char(64)

NO

 

 

 

 





VerifiedBuild

74684811

smallint(5)

YES

 


0

 

 




Description of the fields

...

Allows additional application of unit flags to creatures. Again, this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are:

unit_flags2

DecimalHexadecimalNameComments
10x0000 0001UNIT_FLAG2_FEIGN_DEATH
20x0000 0002UNIT_FLAG2_UNK1Hide unit model (show only player equip)
40x0000 0004UNIT_FLAG2_IGNORE_REPUTATION
80x0000 0008UNIT_FLAG2_COMPREHEND_LANG
160x0000 0010UNIT_FLAG2_MIRROR_IMAGE
320x0000 0020UNIT_FLAG2_INSTANTLY_APPEAR_MODELUnit model instantly appears when summoned (does not fade in)
640x0000 0040UNIT_FLAG2_FORCE_MOVEMENT
1280x0000 0080UNIT_FLAG2_DISARM_OFFHAND
2560x0000 0100UNIT_FLAG2_DISABLE_PRED_STATSPlayer has disabled predicted stats (Used by raid frames)
10240x0000 0400UNIT_FLAG2_DISARM_RANGEDthis does not disable ranged weapon display (maybe additional flag needed?)
20480x0000 0800UNIT_FLAG2_REGENERATE_POWER
40960x0000 1000UNIT_FLAG2_RESTRICT_PARTY_INTERACTIONRestrict interaction to party or raid
81920x0000 2000UNIT_FLAG2_PREVENT_SPELL_CLICKPrevent spellclick
163840x0000 4000UNIT_FLAG2_ALLOW_ENEMY_INTERACT
327680x0000 8000UNIT_FLAG2_DISABLE_TURN
655360x0001 0000UNIT_FLAG2_UNK2
1310720x0002 0000UNIT_FLAG2_PLAY_DEATH_ANIMPlays special death animation upon death
2621440x0004 0000UNIT_FLAG2_ALLOW_CHEAT_SPELLS

allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL


67108864 → 0X0400 0000 not select able but shows mouse over information's




Ancla
dynamicflags
dynamicflags
dynamicflags

...

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

...