用户工具

站点工具


数据库:world数据库:item_template

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
数据库:world数据库:item_template [2023/09/14 23:36] – [socketBonus] admin数据库:world数据库:item_template [2023/09/24 21:06] (当前版本) – [item_template 表] admin
行 1: 行 1:
 ====== item_template 表 ====== ====== item_template 表 ======
 +==== 表结构 ====
 +游戏中存在的每个物品的信息。所有物品都是从存储在此表中的模板创建的。
  
-===== Table Structure =====+(请参阅ItemPrototype.h文件中的其他信息。)
  
- 
-Holds information on every item that exists in the game. All items are created from their template stored in this table. 
- 
-(See additional information in the ItemPrototype.h file.) 
 ^Field^Type^Attributes^Key^Null^Default^extra^Comment^ ^Field^Type^Attributes^Key^Null^Default^extra^Comment^
 |[[#entry|entry]]|MEDIUMINT|UNSIGNED|PRI|NO|0| | | |[[#entry|entry]]|MEDIUMINT|UNSIGNED|PRI|NO|0| | |
行 148: 行 146:
 |[[#VerifiedBuild|VerifiedBuild]]|SMALLINT|SIGNED| |YES|1| |(WDBVerified)| |[[#VerifiedBuild|VerifiedBuild]]|SMALLINT|SIGNED| |YES|1| |(WDBVerified)|
  
-Field Descriptions+===== 字段说明 =====
  
-===== entry ===== 
  
-The unique ID of the item.+==== entry ====
  
-===== class =====+物品的唯一 ID。 
 + 
 +==== class ====
  
 ^ID^Name^ ^ID^Name^
-|0|Consumable+|0|消耗品
-|1|Container+|1|容器
-|2|Weapon+|2|武器
-|3|Gem+|3|宝石
-|4|Armor+|4|护甲
-|5|Reagent|+|5|药水|
 |6|Projectile| |6|Projectile|
-|7|Trade Goods+|7|贸易商品
-|8|Generic(OBSOLETE)+|8|通用(已过时)
-|9|Recipe+|9|配方
-|10|Money(OBSOLETE)+|10|钱(已过时)
-|11|Quiver+|11|弹药袋
-|12|Quest+|12|任务物品
-|13|Key+|13|钥匙
-|14|Permanent(OBSOLETE)|+|14|永久(已过时)|
 |15|Miscellaneous| |15|Miscellaneous|
 |16|Glyph| |16|Glyph|
行 181: 行 180:
  
 ^Class ID^Subclass ID^Subclass Name^Comments^ ^Class ID^Subclass ID^Subclass Name^Comments^
-|0|0|Consumable|Usability in combat is decided by the spell assigned.| +|0|0|消耗品|Usability in combat is decided by the spell assigned.| 
-|0|1|Potion| | +|0|1|药水| | 
-|0|2|Elixir| | +|0|2|药剂| | 
-|0|3|Flask| | +|0|3|瓶子| | 
-|0|4|Scroll| | +|0|4|卷轴| | 
-|0|5|Food & Drink| | +|0|5|食物与饮料| | 
-|0|6|Item Enhancement| | +|0|6|物品强化| | 
-|0|7|Bandage| | +|0|7|绷带| | 
-|0|8|Other| | +|0|8|其他| | 
-|1|0|Bag| | +|1|0|| | 
-|1|1|Soul Bag| | +|1|1|灵魂袋| | 
-|1|2|Herb Bag| | +|1|2|草药袋| | 
-|1|3|Enchanting Bag| | +|1|3|附魔袋| | 
-|1|4|Engineering Bag| | +|1|4|工程包| | 
-|1|5|Gem Bag| | +|1|5|宝石袋| | 
-|1|6|Mining Bag| | +|1|6|矿石袋| | 
-|1|7|Leatherworking Bag| | +|1|7|制皮包| | 
-|1|8|Inscription Bag| | +|1|8|铭文袋| | 
-|2|0|Axe|One handed+|2|0||单手
-|2|1|Axe|Two handed+|2|1||双手
-|2|2|Bow| | +|2|2|| | 
-|2|3|Gun| | +|2|3|| | 
-|2|4|Mace|One handed+|2|4||单手
-|2|5|Mace|Two handed+|2|5||双手
-|2|6|Polearm| | +|2|6|长柄| | 
-|2|7|Sword|One handed+|2|7||单手
-|2|8|Sword|Two handed+|2|8||双手
-|2|9|Obsolete| |+|2|9|废弃的| |
 |2|10|Staff| | |2|10|Staff| |
 |2|11|Exotic| | |2|11|Exotic| |
 |2|12|Exotic| | |2|12|Exotic| |
-|2|13|Fist Weapon| | +|2|13|拳套| | 
-|2|14|Miscellaneous|(Blacksmith HammerMining Picketc.)| +|2|14|杂项|(铁匠锤矿工镐.)| 
-|2|15|Dagger| | +|2|15|匕首| | 
-|2|16|Thrown| |+|2|16|投掷武器| |
 |2|17|Spear| | |2|17|Spear| |
 |2|18|Crossbow| | |2|18|Crossbow| |
行 891: 行 890:
 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. 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.
  
-ID Type +^ID^Type^ 
-1 Meat +|1|Meat| 
-2 Fish +|2|Fish| 
-3 Cheese +|3|Cheese| 
-4 Bread +|4|Bread| 
-5 Fungus +|5|Fungus| 
-6 Fruit +|6|Fruit| 
-7 Raw Meat +|7|Raw Meat| 
-8 Raw Fish+|8|Raw Fish
 ===== minMoneyLoot ===== ===== minMoneyLoot =====
  
行 910: 行 910:
 ===== flagsCustom ===== ===== flagsCustom =====
  
-Flag Name Comment +^Flag^Name^Comment^ 
-1 ITEM_FLAGS_CU_DURATION_REAL_TIME Item duration will tick even if player is offline +|1|ITEM_FLAGS_CU_DURATION_REAL_TIME|Item duration will tick even if player is offline| 
-2 ITEM_FLAGS_CU_IGNORE_QUEST_STATUS No quest status will be checked when this item drops +|2|ITEM_FLAGS_CU_IGNORE_QUEST_STATUS|No quest status will be checked when this item drops| 
-4 ITEM_FLAGS_CU_FOLLOW_LOOT_RULES Item will always follow group/master/need before greed looting rules+|4|ITEM_FLAGS_CU_FOLLOW_LOOT_RULES|Item will always follow group/master/need before greed looting rules
 ==== VerifiedBuild ==== ==== VerifiedBuild ====
  
数据库/world数据库/item_template.1694705783.txt.gz · 最后更改: 2023/09/14 23:36 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki