UpdateFields

  • General

Block Value 2: OBJECT_FIELD_TYPE:

  • 3 - Item
  • 7 - Bag
  • 9 - Unit (creature)
  • 25 - Player
  • 33 - GameObject
  • 65 - DynamicObject(spells)
  • 129 - Corpse

Block Value 3: OBJECT_FIELD_ENTRY: creature_template.entry, gameobject_template.entry

Block Value 4: OBJECT_FIELD_SCALE_X: creature_template.size, gameobject_template.size

 

  • Creatures
NameIndexDB Field Name
UNIT_FIELD_CHARM6-7 
UNIT_FIELD_SUMMON8-9 
UNIT_FIELD_CRITTER10-11 
UNIT_FIELD_CHARMEDBY12-13 
UNIT_FIELD_SUMMONEDBY14-15 
UNIT_FIELD_CREATEDBY16-17 
UNIT_FIELD_TARGET18-19 
UNIT_FIELD_CHANNEL_OBJECT20-21 
UNIT_CHANNEL_SPELL22 
UNIT_FIELD_BYTES_023 
UNIT_FIELD_HEALTH24 
UNIT_FIELD_POWER125 
UNIT_FIELD_POWER226 
UNIT_FIELD_POWER327 
UNIT_FIELD_POWER428 
UNIT_FIELD_POWER529 
UNIT_FIELD_POWER630 
UNIT_FIELD_POWER731 
UNIT_FIELD_MAXHEALTH32 
UNIT_FIELD_MAXPOWER133 
UNIT_FIELD_MAXPOWER234 
UNIT_FIELD_MAXPOWER335 
UNIT_FIELD_MAXPOWER436 
UNIT_FIELD_MAXPOWER537 
UNIT_FIELD_MAXPOWER638 
UNIT_FIELD_MAXPOWER739 
UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER40-46 
UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER47-53 
UNIT_FIELD_LEVEL54creature_template.minlevel OR maxlevel
UNIT_FIELD_FACTIONTEMPLATE55creature_template.faction_X
UNIT_VIRTUAL_ITEM_SLOT_ID56,57,58creature_equip_template.equipentry1,equipentry2,equipentry3
UNIT_FIELD_FLAGS59creature_template.unit_flags
UNIT_FIELD_FLAGS_260 
UNIT_FIELD_AURASTATE61 
UNIT_FIELD_BASEATTACKTIME62-63creature_template.baseattacktime
UNIT_FIELD_RANGEDATTACKTIME64creature_template.rangedattacktime
UNIT_FIELD_BOUNDINGRADIUS65 
UNIT_FIELD_COMBATREACH66 
UNIT_FIELD_DISPLAYID67creature_template.modelidX
UNIT_FIELD_NATIVEDISPLAYID68creature_template.modelidX
UNIT_FIELD_MOUNTDISPLAYID69 
UNIT_FIELD_MINDAMAGE70creature_template.mindmg
UNIT_FIELD_MAXDAMAGE71creature_template.maxdmg
UNIT_FIELD_MINOFFHANDDAMAGE72 
UNIT_FIELD_MAXOFFHANDDAMAGE73 
UNIT_FIELD_BYTES_174creature_addon.bytes1
UNIT_FIELD_PETNUMBER75 
UNIT_FIELD_PET_NAME_TIMESTAMP76 
UNIT_FIELD_PETEXPERIENCE77 
UNIT_FIELD_PETNEXTLEVELEXP78 
UNIT_DYNAMIC_FLAGS79creature_template.dynamicflags
UNIT_MOD_CAST_SPEED80 
UNIT_CREATED_BY_SPELL81 
UNIT_NPC_FLAGS82creature_template.npcflags
UNIT_NPC_EMOTESTATE83creature_addon.emote
UNIT_FIELD_STAT084 
UNIT_FIELD_STAT185 
UNIT_FIELD_STAT286 
UNIT_FIELD_STAT387 
UNIT_FIELD_STAT488 
UNIT_FIELD_POSSTAT089 
UNIT_FIELD_POSSTAT190 
UNIT_FIELD_POSSTAT291 
UNIT_FIELD_POSSTAT392 
UNIT_FIELD_POSSTAT493 
UNIT_FIELD_NEGSTAT094 
UNIT_FIELD_NEGSTAT195 
UNIT_FIELD_NEGSTAT296 
UNIT_FIELD_NEGSTAT397 
UNIT_FIELD_NEGSTAT498 
UNIT_FIELD_RESISTANCES99-105creature_template.resistance1,resistance2,(...)resistance6
UNIT_FIELD_RESISTANCEBUFFMODSPOSITIVE106 
UNIT_FIELD_RESISTANCEBUFFMODSNEGATIVE113 
UNIT_FIELD_BASE_MANA120 
UNIT_FIELD_BASE_HEALTH121 
UNIT_FIELD_BYTES_2122creature_addon.bytes2
UNIT_FIELD_ATTACK_POWER123creature_template.attackpower
UNIT_FIELD_ATTACK_POWER_MODS124 
UNIT_FIELD_ATTACK_POWER_MULTIPLIER125creature_template.dmg_multiplier
UNIT_FIELD_RANGED_ATTACK_POWER126creature_template.rangedattackpower
UNIT_FIELD_RANGED_ATTACK_POWER_MODS127 
UNIT_FIELD_RANGED_ATTACK_POWER_MULTIPLIER128 
UNIT_FIELD_MINRANGEDDAMAGE129creature_template.minrangedmg
UNIT_FIELD_MAXRANGEDDAMAGE130creature_template.maxrangedmg
UNIT_FIELD_POWER_COST_MODIFIER131 
UNIT_FIELD_POWER_COST_MULTIPLIER138-144 
UNIT_FIELD_MAXHEALTHMODIFIER145 
UNIT_FIELD_HOVERHEIGHT146creature_template.HoverHeight
UNIT_FIELD_PADDING147 

 

 

  • Gameobjects
NameIndexDB Field Name
GAMEOBJECT_DISPLAYID8gameobject_template.displayid
GAMEOBJECT_FLAGS9gameobject_template.flags
GAMEOBJECT_PARENTROTATION10-13gameobject.rotation1,rotation2,rotation3,
GAMEOBJECT_DYNAMIC14 
GAMEOBJECT_FACTION15gameobject_template.faction
GAMEOBJECT_LEVEL16 
GAMEOBJECT_BYTES_117