用户工具

站点工具


数据库:world数据库:item_template

item_template 表

表结构

游戏中存在的每个物品的信息。所有物品都是从存储在此表中的模板创建的。

(请参阅ItemPrototype.h文件中的其他信息。)

FieldTypeAttributesKeyNullDefaultextraComment
entryMEDIUMINTUNSIGNEDPRINO0
classTINYINTUNSIGNED NO0
subclassTINYINTUNSIGNED NO0
SoundOverrideSubclassTINYINTSIGNED NO-1
nameVARCHAR(255)SIGNED NONULL
displayidMEDIUMINTUNSIGNED NO0
QualityTINYINTUNSIGNED NO0
FlagsBIGINTSIGNED NO0
FlagsExtraINTUNSIGNED NO0
BuyCountTINYINTUNSIGNED NO1
BuyPriceBIGINTSIGNED NO0
SellPriceINTUNSIGNED NO0
InventoryTypeTINYINTUNSIGNED NO0
AllowableClassINTSIGNED NO-1
AllowableRaceINTSIGNED NO-1
ItemLevelSMALLINTUNSIGNED NO0
RequiredLevelTINYINTUNSIGNED NO0
RequiredSkillSMALLINTUNSIGNED NO0
RequiredSkillRankSMALLINTUNSIGNED NO0
requiredspellMEDIUMINTUNSIGNED NO0
requiredhonorrankMEDIUMINTUNSIGNED NO0
RequiredCityRankMEDIUMINTUNSIGNED NO0
RequiredReputationFactionSMALLINTUNSIGNED NO0
RequiredReputationRankSMALLINTUNSIGNED NO0
maxcountINTSIGNED NO0
stackableINTSIGNED NO1
ContainerSlotsSMALLINTUNSIGNED NO0
StatsCountTINYINTUNSIGNED NO0
stat_type1TINYINTUNSIGNED NO0
stat_value1SMALLINTSIGNED NO0
stat_type2TINYINTUNSIGNED NO0
stat_value2SMALLINTSIGNED NO0
stat_type3TINYINTUNSIGNED NO0
stat_value3SMALLINTSIGNED NO0
stat_type4TINYINTUNSIGNED NO0
stat_value4SMALLINTSIGNED NO0
stat_type5TINYINTUNSIGNED NO0
stat_value5SMALLINTSIGNED NO0
stat_type6TINYINTUNSIGNED NO0
stat_value6SMALLINTSIGNED NO0
stat_type7TINYINTUNSIGNED NO0
stat_value7SMALLINTSIGNED NO0
stat_type8TINYINTUNSIGNED NO0
stat_value8SMALLINTSIGNED NO0
stat_type9TINYINTUNSIGNED NO0
stat_value9SMALLINTSIGNED NO0
stat_type10TINYINTUNSIGNED NO0
stat_value10SMALLINTSIGNED NO0
ScalingStatDistributionSMALLINTSIGNED NO0
ScalingStatValueINTUNSIGNED NO0
dmg_min1FLOATSIGNED NO0
dmg_max1FLOATSIGNED NO0
dmg_type1TINYINTUNSIGNED NO0
dmg_min2FLOATSIGNED NO0
dmg_max2FLOATSIGNED NO0
dmg_type2TINYINTUNSIGNED NO0
armorSMALLINTUNSIGNED NO0
holy_resTINYINTUNSIGNED NO0
fire_resTINYINTUNSIGNED NO0
nature_resTINYINTUNSIGNED NO0
frost_resTINYINTUNSIGNED NO0
shadow_resTINYINTUNSIGNED NO0
arcane_resTINYINTUNSIGNED NO0
delaySMALLINTUNSIGNED NO1000
ammo_typeTINYINTUNSIGNED NO0
RangedModRangeFLOATSIGNED NO0
spellid_1MEDIUMINTSIGNED NO0
spelltrigger_1TINYINTUNSIGNED NO0
spellcharges_1SMALLINTSIGNED NO0
spellppmRate_1FLOATSIGNED NO0
spellcooldown_1INTSIGNED NO-1
spellcategory_1SMALLINTUNSIGNED NO0
spellcategorycooldown_1INTSIGNED NO-1
spellid_2MEDIUMINTSIGNED NO0
spelltrigger_2TINYINTUNSIGNED NO0
spellcharges_2SMALLINTSIGNED NO0
spellppmRate_2FLOATSIGNED NO0
spellcooldown_2INTSIGNED NO-1
spellcategory_2SMALLINTUNSIGNED NO0
spellcategorycooldown_2INTSIGNED NO-1
spellid_3MEDIUMINTSIGNED NO0
spelltrigger_3TINYINTUNSIGNED NO0
spellcharges_3SMALLINTSIGNED NO0
spellppmRate_3FLOATSIGNED NO0
spellcooldown_3INTSIGNED NO-1
spellcategory_3SMALLINTUNSIGNED NO0
spellcategorycooldown_3INTSIGNED NO-1
spellid_4MEDIUMINTSIGNED NO0
spelltrigger_4TINYINTUNSIGNED NO0
spellcharges_4SMALLINTSIGNED NO0
spellppmRate_4FLOATSIGNED NO0
spellcooldown_4INTSIGNED NO-1
spellcategory_4SMALLINTUNSIGNED NO0
spellcategorycooldown_4INTSIGNED NO-1
spellid_5MEDIUMINTSIGNED NO0
spelltrigger_5TINYINTUNSIGNED NO0
spellcharges_5SMALLINTSIGNED NO0
spellppmRate_5FLOATSIGNED NO0
spellcooldown_5INTSIGNED NO-1
spellcategory_5SMALLINTUNSIGNED NO0
spellcategorycooldown_5INTSIGNED NO-1
bondingTINYINTUNSIGNED NO0
descriptionVARCHAR(255)SIGNED NONULL
PageTextMEDIUMINTUNSIGNED NO0
LanguageIDTINYINTUNSIGNED NO0
PageMaterialTINYINTUNSIGNED NO0
startquestMEDIUMINTUNSIGNED NO0
lockidMEDIUMINTUNSIGNED NO0
MaterialTINYINTSIGNED NO0
sheathTINYINTUNSIGNED NO0
RandomPropertyMEDIUMINTSIGNED NO0
RandomSuffixMEDIUMINTUNSIGNED NO0
blockMEDIUMINTUNSIGNED NO0
itemsetMEDIUMINTUNSIGNED NO0
MaxDurabilitySMALLINTUNSIGNED NO0
areaMEDIUMINTUNSIGNED NO0
MapSMALLINTSIGNED NO0
BagFamilyMEDIUMINTSIGNED NO0
TotemCategoryMEDIUMINTSIGNED NO0
socketColor_1TINYINTSIGNED NO0
socketContent_1MEDIUMINTSIGNED NO0
socketColor_2TINYINTSIGNED NO0
socketContent_2MEDIUMINTSIGNED NO0
socketColor_3TINYINTSIGNED NO0
socketContent_3MEDIUMINTSIGNED NO0
socketBonusMEDIUMINTSIGNED NO0
GemPropertiesMEDIUMINTSIGNED NO0
RequiredDisenchantSkillSMALLINTSIGNED NO-1
ArmorDamageModifierFLOATSIGNED NO0
durationINTUNSIGNED NO0 Duration in seconds
ItemLimitCategorySMALLINTSIGNED NO0
HolidayIdINTUNSIGNED NO0
ScriptNameVARCHAR(64)SIGNED NONULL
DisenchantIDMEDIUMINTUNSIGNED NO0
FoodTypeTINYINTUNSIGNED NO0
minMoneyLootINTUNSIGNED NO0
maxMoneyLootINTUNSIGNED NO0
flagsCustomINTUNSIGNED NO0
VerifiedBuildSMALLINTSIGNED YES1 (WDBVerified)

字段说明

entry

物品的唯一 ID。

class

IDName
0消耗品
1容器
2武器
3宝石
4护甲
5药水
6Projectile
7贸易商品
8通用(已过时)
9配方
10钱(已过时)
11弹药袋
12任务物品
13钥匙
14永久(已过时)
15Miscellaneous
16Glyph

subclass

The following table lists all available subclass and class combinations and the subclass name.

Class IDSubclass IDSubclass NameComments
00消耗品Usability in combat is decided by the spell assigned.
01药水
02药剂
03瓶子
04卷轴
05食物与饮料
06物品强化
07绷带
08其他
10
11灵魂袋
12草药袋
13附魔袋
14工程包
15宝石袋
16矿石袋
17制皮包
18铭文袋
20单手
21双手
22
23
24单手
25双手
26长柄
27单手
28双手
29废弃的
210Staff
211Exotic
212Exotic
213拳套
214杂项(铁匠锤, 矿工镐, 等.)
215匕首
216投掷武器
217Spear
218Crossbow
219Wand
220Fishing Pole
30Red
31Blue
32Yellow
33Purple
34Green
35Orange
36Meta
37Simple
38Prismatic
40Miscellaneous
41Cloth
42Leather
43Mail
44Plate
45Buckler(OBSOLETE)
46Shield
47Libram
48Idol
49Totem
410Sigil
50Reagent
60Wand(OBSOLETE)
61Bolt(OBSOLETE)
62Arrow
63Bullet
64Thrown(OBSOLETE)
70Trade Goods
71Parts
72Explosives
73Devices
74Jewelcrafting
75Cloth
76Leather
77Metal & Stone
78Meat
79Herb
710Elemental
711Other
712Enchanting
713Materials
714Armor Enchantment
715Weapon Enchantment
80Generic(OBSOLETE)
90Book
91Leatherworking
92Tailoring
93Engineering
94Blacksmithing
95Cooking
96Alchemy
97First Aid
98Enchanting
99Fishing
910Jewelcrafting
100Money(OBSOLETE)
110Quiver(OBSOLETE)
111Quiver(OBSOLETE)
112QuiverCan hold arrows
113Ammo PouchCan hold bullets
120Quest
130Key
131Lockpick
140Permanent
150Junk
151Reagent
152Pet
153Holiday
154Other
155Mount
161Warrior
162Paladin
163Hunter
164Rogue
165Priest
166Death Knight
167Shaman
168Mage
169Warlock
1611Druid

SoundOverrideSubclass

Weapons have special sounds on impact. This column is used to override these sounds by specifying another subclass.

For example an item with misc subclass can sound like a stave on impact by overriding the subclass here.

name

The name of the item.

displayid

The model ID of the item. Each model has its own icon assigned so this field controls both the model appearance and the icon.

Quality

The quality of the item.

IDColorQuality
0GreyPoor
1WhiteCommon
2GreenUncommon
3BlueRare
4PurpleEpic
5OrangeLegendary
6RedArtifact
7GoldHeirlooms (or some Bind to Account items)

Flags

Bitmask field that contains flags that the item has on it. As all other such fields, just add the flags together to combine them. Possible flags are listed below.

Flag Comments
1 0x01ITEM_FLAG_NO_PICKUP (NOT IMPLEMENTED)
2 0x02Conjured item
4 0x04Openable (can be opened by right-click)
8 0x08ITEM_FLAG_HEROIC_TOOLTIP (NOT IMPLEMENTED) - Makes green “Heroic” text appear on item
16 0x010ITEM_FLAG_DEPRECATED (NOT IMPLEMENTED) - Deprecated Item
32 0x020Item can not be destroyed, except by using spell (item can be reagent for spell)
64 0x040ITEM_FLAG_PLAYERCAST (NOT IMPLEMENTED) - Item's spells are castable by players
128 0x080No default 30 seconds cooldown when equipped (for “On use” items)
256 0x0100ITEM_FLAG_MULTI_LOOT_QUEST (NOT IMPLEMENTED)
512 0x0200Wrapper : Item can wrap other items
1024 0x0400ITEM_FLAG_USES_RESOURCES (NOT IMPLEMENTED)
2048 0x0800Item is party loot and can be looted by all
4096 0x01000Item is refundable
8192 0x02000Charter (Arena or Guild)
16384 0x04000ITEM_FLAG_HAS_TEXT (NOT IMPLEMENTED) - Only readable items have this (but not all)
32768 0x08000ITEM_FLAG_NO_DISENCHANT (NOT IMPLEMENTED) - If enabled, prevent disenchanting. Implemented in another column聽RequiredDisenchantSkill
65536 0x010000ITEM_FLAG_REAL_DURATION (NOT IMPLEMENTED) - Probably real time duration. Implemented in another column聽flagsCustom
131072 0x020000ITEM_FLAG_NO_CREATOR (NOT IMPLEMENTED OR PARTIALLY) - Maybe to remove the “Made by XX” message on crafted/summoned item or for signing charters
262144 0x040000Item can be prospected
524288 0x080000Unique equipped (player can only have one equipped at the same time but as many as he wants in his bags, if maxcount = 1, it will still display Unique-Equipped)
1048576 0x0100000ITEM_FLAG_IGNORE_FOR_AURAS (NOT IMPLEMENTED) - ??
2097152 0x0200000Item can be used during arena match
4194304 0x0400000Throwable (for tooltip ingame)
8388608 0x0800000Item can be used in shapeshift forms
16777216 0x01000000ITEM_FLAG_HAS_QUEST_GLOW (NOT IMPLEMENTED)
33554432 0x02000000Profession recipes: can only be looted if you meet requirements and don't already know it
67108864 0x04000000Item cannot be used in arena
134217728 0x08000000Bind to Account (Requires to set Bonding > 0)
268435456 0x010000000Spell is cast with triggered flag (in code it's written聽Spell is cast ignoring reagents聽and the flag is called ITEM_FLAG_NO_REAGENT_COST)
536870912 0x020000000Millable
1073741824 0x040000000ITEM_FLAG_REPORT_TO_GUILD_CHAT (NOT IMPLEMENTED)
2147483648 0x080000000ITEM_FLAG_NO_PROGRESSIVE_LOOT (NOT IMPLEMENTED)

FlagsExtra

Flag 0xComments
1 0x01Horde Only
2 0x02Alliance Only
4 0x04When item uses ExtendedCost in npc_vendor, gold is also required
256 0x0100Makes need roll for this item disabled
512 0x0200NEED_ROLL_DISABLED
16384 0x04000HAS_NORMAL_PRICE
131072 0x020000BNET_ACCOUNT_BOUND (seems useless on 3.3.5a)
2097152 0x0200000CANNOT_BE_TRANSMOG
4194304 0x0400000CANNOT_TRANSMOG
8388608 0x0800000CAN_TRANSMOG

BuyCount

The size of the item stack when sold by vendors. Also if a vendor has limited copies of this item available, everytime the vendor list is refreshed (See npc_vendor.incrtime), the number of copies increases by this number.

BuyPrice

The price required to pay to buy this item from a vendor, in copper.

SellPrice

The price that the vendor will pay you for the item when you sell it and if it is possible to be sold, in copper. Put in 0 if the item cannot be sold to a vendor.

InventoryType

In what slot the item can be equipped.

IDSlot Name
0Non equipable
1Head
2Neck
3Shoulder
4Shirt
5Chest (see also Robe = 20)
6Waist
7Legs
8Feet
9Wrists
10Hands
11Finger
12Trinket
13One-Hand (not to confuse with Off-Hand = 22)
14Shield (class = armor, not weapon even if in weapon slot)
15Ranged (Bows) (see also Ranged right = 26)
16Back
17Two-Hand
18Bag
19Tabard
20Robe (see also Chest = 5)
21Main hand
22Off Hand weapons (see also One-Hand = 13)
23Held in Off-Hand (tome, cane, flowers, torches, orbs etc… See also Off-Hand = 22) (class = armor, not weapon even if in weapon slot)
24Ammo
25Thrown
26Ranged right (Wands, Guns) (see also Ranged = 15)
27Quiver
28Relic (class = armor, not weapon even if in weapon slot)

AllowableClass

Bitmask controlling which classes can use this item. Add ids together to combine class possibilities. Use -1 if all classes can use it.

See the ChrClasses DBC file for the IDs of the classes.

AllowableRace

Bitmask controlling which races can use this item. Add ids together to combine race possibilities. Use -1 for all races.

See the ChrRaces DBC file for the IDs of the races.

ItemLevel

Base item level.

RequiredLevel

The level that a player must be to equip the item.

RequiredSkill

The skill required to use this item. See the SkillLine DBC file for IDs which can be used here.

RequiredSkillRank

The required skill rank the player needs to have to use this item.

requiredspell

The required spell that the player needs to have to use this item.

requiredhonorrank

The honor rank the player needs to have to use this item.

RequiredCityRank

Its use is unknown. All items have 0.

RequiredReputationFaction

The faction template ID of the faction that the player has to have a certain ranking with. If this value is 0, the faction of the seller of the item is used.

See the Faction DBC file for the IDs of all of the factions.

RequiredReputationRank

The rank the player has to have with the faction from RequiredReputationFaction.

IDRank
0Hated
1Hostile
2Unfriendly
3Neutral
4Friendly
5Honored
6Revered
7Exalted

maxcount

Maximum number of copies of this item which a player can have. Use 0 for infinite.

stackable

The number of copies of this item that can be stacked in the same slot.

ContainerSlots

If the item is a bag, this field controls the number of slots the bag has.

StatsCount

When an item has entries in stat_type, this must be updated to display those entries (Unknown how this works)

stat_type

The type of stat to modify.

IDStat Type
0ITEM_MOD_MANA
1ITEM_MOD_HEALTH
3ITEM_MOD_AGILITY
4ITEM_MOD_STRENGTH
5ITEM_MOD_INTELLECT
6ITEM_MOD_SPIRIT
7ITEM_MOD_STAMINA
12ITEM_MOD_DEFENSE_SKILL_RATING
13ITEM_MOD_DODGE_RATING
14ITEM_MOD_PARRY_RATING
15ITEM_MOD_BLOCK_RATING
16ITEM_MOD_HIT_MELEE_RATING
17ITEM_MOD_HIT_RANGED_RATING
18ITEM_MOD_HIT_SPELL_RATING
19ITEM_MOD_CRIT_MELEE_RATING
20ITEM_MOD_CRIT_RANGED_RATING
21ITEM_MOD_CRIT_SPELL_RATING
22ITEM_MOD_HIT_TAKEN_MELEE_RATING
23ITEM_MOD_HIT_TAKEN_RANGED_RATING
24ITEM_MOD_HIT_TAKEN_SPELL_RATING
25ITEM_MOD_CRIT_TAKEN_MELEE_RATING
26ITEM_MOD_CRIT_TAKEN_RANGED_RATING
27ITEM_MOD_CRIT_TAKEN_SPELL_RATING
28ITEM_MOD_HASTE_MELEE_RATING
29ITEM_MOD_HASTE_RANGED_RATING
30ITEM_MOD_HASTE_SPELL_RATING
31ITEM_MOD_HIT_RATING
32ITEM_MOD_CRIT_RATING
33ITEM_MOD_HIT_TAKEN_RATING
34ITEM_MOD_CRIT_TAKEN_RATING
35ITEM_MOD_RESILIENCE_RATING
36ITEM_MOD_HASTE_RATING
37ITEM_MOD_EXPERTISE_RATING
38ITEM_MOD_ATTACK_POWER
39ITEM_MOD_RANGED_ATTACK_POWER
40ITEM_MOD_FERAL_ATTACK_POWER (not used as of 3.3)
41ITEM_MOD_SPELL_HEALING_DONE
42ITEM_MOD_SPELL_DAMAGE_DONE
43ITEM_MOD_MANA_REGENERATION
44ITEM_MOD_ARMOR_PENETRATION_RATING
45ITEM_MOD_SPELL_POWER
46ITEM_MOD_ HEALTH_REGEN
47ITEM_MOD_SPELL_PENETRATION
48ITEM_MOD_BLOCK_VALUE

stat_value

The value to change the stat type to.

ScalingStatDistribution Similar to Static Stats these are the Stats that grow along with the users level (mainly heirloom leveling gear) use like static stats

ScalingStatValue

Final (level 80) value of the scaling-stat

dmg_min

The minimum damage of the item.

dmg_max

The maximum damage of the item.

dmg_type

The damage type that the item uses.

IDDamage Type
0Physical
1Holy
2Fire
3Nature
4Frost
5Shadow
6Arcane

armor

The armor value of the item.

holy_res

Holy resistance.

fire_res

Fire resistance.

nature_res

Nature resistance.

frost_res

Frost resistance.

shadow_res

Shadow resistance.

arcane_res

Arcane resistance.

delay

The time in milliseconds between successive hits.

ammo_type

The type of ammunition the item uses. Arrows = 2; Bullets = 3

RangedModRange

Range Modifier for bows/guns/crossbows:

Default range is somewhere between 0.3 and 0.4 yards,

all blizzard ranged weapons have RangedModRange100

spellid

The spell ID of the spell that the item can cast or trigger.

spelltrigger

The type of trigger for the spell.

IDTrigger Type
0Use
1On Equip
2Chance on Hit
4Soulstone
5Use with no delay
6Learn Spell ID

spellcharges

The number of times that the item can cast the spell. If 0, then infinite charges are possible. If negative, then after the number of charges is depleted, the item is deleted as well. If positive, then the item is not deleted after all the charges are spent.

spellppmRate

The proc per minute rate controlling how often the spell is triggered (if #spelltrigger == 2).

spellcooldown

The cooldown in milliseconds for the specific spell controlling how often the spell can be used. Use -1 to use the default spell cooldown. Note: this is not the “internal cooldown” of procs commonly found on items such as trinkets with “Chance on hit” effects.

spellcategory

The category that the spell is in. You can choose one from the DBC SpellCategory.dbc or invent a new one (> 1260) for your custom item.

spellcategorycooldown

The cooldown time in milliseconds that is applied to all other spells in the category that the triggered spell is also in. Use -1 to use the default spell cooldown. Note: you can have a spellcooldown and a spellcategorycooldown, they're not mutually exclusive.

bonding

The bonding for the item.

Note: To use the “Bind to Account” bonding, the item must have its flags set to 134217728 (minimum) and a bonding > 0 (ex: 1,2,3).

IDBonding Type
0No bounds
1Binds when picked up
2Binds when equipped
3Binds when used
4Quest item
5Quest Item1

description

The description that appears in orange letters at the bottom of the item tooltip.

PageText

The ID referring to the text that the item will show (if it is a book or a letter, etc). The item will have a magnifying glass cursor in the game and will show the text when right-clicked. See page_text.entry

LanguageID

The language that the item text is written in.

See the Languages DBC file for the IDs of all of the languages.

PageMaterial

The background texture that appears in the page text window.

See the PageTextMaterial DBC file for the IDs of all of the material types.

startquest

The ID of the quest that this item will start if right-clicked. See quest_template.id

lockid

The lock entry ID that this item (which serves as a key) is tied to. This field is used in key-door mechanics.

See the Lock DBC file.

Material

The material that the item is made of. The value here affects the sound that the item makes when moved. Use -1 for consumable items like food, reagents, etc.

IDMaterialComment
-1ConsumablesFood, reagents, etc…
0Not Defined
1Metal
2Wood
3Liquid
4Jewelry
5Chain
6Plate
7Cloth
8Leather

sheath

Controls how the item is put away on the character. Press the 'Z' hotkey to sheath and unsheathe your weapons.

IDTypePosition
1Two Handed WeaponDiagonally across the back pointing downwards.
2StaffDiagonally across the back pointing upwards.
3One HandedOn the left-hand side of the character's waist.
4ShieldOn the middle of the character's back.
5Enchanter's Rod
6Off handOn the right-hand side of the character's waist.

RandomProperty

The number in this field points to item_enchantment_template.entry and ties in an item's chance at having a random property attached to it when it shows up for the first time. This field and the RandomSuffix field CANNOT both have non-zero values. Either one is filled, or the other. Also, the primary source for the number in this field are WDBs.

RandomSuffix

The number in this field points to item_enchantment_template.entry and ties in an item's chance at having a random suffix attached to it when it shows up for the first time. This field and the RandomProperty field CANNOT both have non-zero values. Either one is filled, or the other. Also, the primary source for the number in this field are WDBs.

block

If the item is a shield, the block chance of the shield.

itemset

The ID of the item set that this item belongs to. To save you some time, you CAN NOT make up new item sets. Item sets are defined in the ItemSet DBC file.

MaxDurability

The maximum durability of this item.

area

The ID of the zone in which this item can be used. If you leave the area, the item will be deleted from the inventory.

Map

The ID of the map in which this item can be used. If you leave the map, the item will be deleted from the inventory.

BagFamily

If the item is a bag, this field is a bitmask controlling what types of items can be put in this bag. You can combine different types by adding up the bit numbers.

IDBag Family Mask
0None
1Arrows
2Bullets
4Soul Shards
8Leatherworking Supplies
16Inscription Supplies
32Herbs
64Enchanting Supplies
128Engineering Supplies
256Keys
512Gems
1024Mining Supplies
2048Soulbound Equipment
4096Vanity Pets
8192Currency Tokens
16384Quest Items

TotemCategory

Corresponds to the ID in the TotemCategory DBC file.

IDName
1Skinning Knife (OLD)
2Earth Totem
3Air Totem
4Fire Totem
5Water Totem
6Runed Copper Rod
7Runed Silver Rod
8Runed Golden Rod
9Runed Truesilver Rod
10Runed Arcanite Rod
11Mining Pick (OLD)
12Philosopher's Stone
13Blacksmith Hammer (OLD)
14Arclight Spanner
15Gyromatic Micro-Adjustor
21Master Totem
41Runed Fel Iron Rod
62Runed Adamantite Rod
63Runed Eternium Rod
81Hollow Quill
101Runed Azurite Rod
121Virtuoso Inking Set
141Drums
161Gnomish Army Knife
162Blacksmith Hammer
165Mining Pick
166Skinning Knife
167Hammer Pick
168Bladed Pickaxe
169Flint and Tinder
189Runed Cobalt Rod
190Runed Titanium Rod

socketColor

The color of the socket that can be placed in this item.

IDColor
1Meta
2Red
4Yellow
8Blue

socketContent

Amount of Gems of SocketColor1

socketBonus

commonly used socket bonus IDs

IDEffect
3312+8 Strength
3313+8 Agility
3305+12 Stamina
3+8 Intellect
2872+9 Healing
3753+9 Spell Power
3877+16 Attack Power

GemProperties

The value here corresponds to the ID in GemProperties.dbc.

RequiredDisenchantSkill

The required proficiency in disenchanting that the player needs to have to be able to disenchant this item. If set to -1, the item can't be disenchanted.

ArmorDamageModifier

field-no-description|76

duration

The duration of the item in seconds ingame time. Set ITEM_FLAGS_CU_DURATION_REAL_TIME in flagsCustom for real time. In that case the item duration will tick even if player is offline.

ItemLimitCategory

This is related to ItemLimitCategory.dbc. It is a property that defines if an item belongs to a “category”, like “Mana Gems” or “Healthstone” and it defines how many items of the category you can have in the bag (this is the “limit”). For example, for Healthstone, there are several items like “Lesser Healthstone, Greater Healthstone, etc.” but you can have only one in your bag (check as example value 3 or 4).

HolidayId

See the Holidays DBC file for the IDs of all of the holidays.

ScriptName

The name of the script that the item should use. There is no 'internalitemhandler' or 'internalitemhanler' script so trinity will ignore any such values in this field.

DisenchantID

The disenchant loot template ID. See disenchant_loot_template.entry

FoodType

If this item is a food type item, this field defines what type of food it is for hunters who want to feed their pets. It controls in what diet this food item falls in.

NOTE: Raw meat and fish is not the same as regular meat and fish. It seems that the last two types of diets include grey “poor” types of food that players have no use for but some pets seem to be able to eat. Also, those food types appeared in TBC so most likely only TBC pets will have those types of diets.

IDType
1Meat
2Fish
3Cheese
4Bread
5Fungus
6Fruit
7Raw Meat
8Raw Fish

minMoneyLoot

If the item is a container that can contain money, then this field defines the minimum coinage held in this container, in copper.

maxMoneyLoot

If the item is a container that can contain money, then this field defines the maximum coinage held in this container, in copper.

flagsCustom

FlagNameComment
1ITEM_FLAGS_CU_DURATION_REAL_TIMEItem duration will tick even if player is offline
2ITEM_FLAGS_CU_IGNORE_QUEST_STATUSNo quest status will be checked when this item drops
4ITEM_FLAGS_CU_FOLLOW_LOOT_RULESItem will always follow group/master/need before greed looting rules

VerifiedBuild

此字段用于确定是否已从 WDB 文件验证模板。

  • 如果值为 0,则尚未解析。
  • 如果值大于 0,则已使用该特定客户端构建中的 WDB 文件对其进行了解析。
  • 如果值为 -1,则它只是一个占位符,直到在 WDB 上找到正确的数据。
数据库/world数据库/item_template.txt · 最后更改: 2023/09/24 21:06 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki