# Weapons.txt

- Source: https://diablo2.org/kb/file-guides-1-00-1-06/weapons-txt
- Archived from: https://d2mods.info/forum/kb/viewarticle?a=433
- Category: File guides (1.00 to 1.06)
- Game version, as labelled on the Keep: 1.00 to 1.06
- Posted by: Nefarius
- Credits: by Phrozen Heart
- Posted: 2006-09-09

Name : The item name just for reference, the strings based on the item code determines the actual item's name.   
Rarity : The item's rarity rangest from 1 (most common) to 4 (rarest).   
Spawnable : Whether or not the item can be bought from the various item vendors.   
completed : Probably just for the programmers' reference.   
uniqueonly : Whether or not the item is purely available as a unique and not as a regular base item. eg. The Horadric Malus   
mindam : Minimum one-handed damage the weapon causes.   
maxdam : Maximum one-handed damage the weapon causes.   
2handmindam : Minimum two-handed damage the weapon causes.   
2handmaxdam : Maximum two-handed damage the weapon causes.   
rangeadder : The bonus to the weapon's range while making melee attacks.   
StrBonus : The percentage of damage added to weapon per point of strength the bearer has.   
DexBonus : The percentage of attack rating added to weapon per point of dexterity the bearer has.   
speed : Unknown.   
weaponspeedenum : Unknown.   
minmisdam : Minimum damage caused as a missile.   
maxmisdam : Maximum damage caused as a missile.   
misspeed : Unknown.   
basespeed : Unknown.   
modspeed : Unknown.   
dam/frame : damage per frame, each second is 25 frames.   
reqstr : Strength need to use this weapon.   
reqdex : Dexterity need to use this weapon.   
durability : Base durability of this item.   
nodurability : Unknown.   
level : Minimum level in the game that the weapon will appear.   
cost : The weapons purchase price from a vendor.   
replenish : Unknown.   
code : The 3 character code that the game uses to represent the item in the other text files.   
alternategfx : What animation appears in the characters hands.   
OpenBetaCode : Something to do with  diablo 2 beta.   
ubercode : The weapon code for the exceptional version of that weapon  
wclass : One handed weapon class the item belongs to   
2handedwclass : Two handed weapon class the item belongs to   
group : Group the weapon belongs to   
weapongroupenum : Broad group the weapon belongs to   
1or2handed : Unknown.   
spelloffset : Unknown.   
hit class : Unknown.   
throwable : Whether or not the weapon can be thrown (0=No,1=Yes).   
stackable : Whether or not multiples of this weapon can be stacked.   
minstack : Minimum number of items in a found/bought stack.   
maxstack : Maximum number of items in a found/bought stack.   
class : The name of the class if the item is class specific.   
reload : Does it need to be reloaded like crossbows for example.   
range : Unknown.   
component : Unknown.   
bodyLoc1 : Where in the inventory the item is worn.   
bodyLoc2 : Where else in the inventory can the item be worn.   
invwidth : Number of squares in the inventory the item takes up (width).   
invheight : Number of squares in the inventory the item takes up (height).   
hasinv : Does it ever have sockets.   
gemsockets : How many sockets for gems the item has.   
flippyfile : Name of the animation file when you drop the item.   
invfile : Name of the DC6 image file that represents the item in the inventory.   
uniqueinvfile : Name of the DC6 image file that represents the unique version of the item in the inventory (if it has a special image that is).   
special : Just comments.   
useable : Whether or not the item can be right clicked on.   
type : The type of item it is.   
sound : The number of the sound file the weapon uses when being manipulated in the inventory or being dropped.   
unique : Unknown.   
transparent : Unknown.   
transtbl : Unknown.   
quivered : Whether or not this weapon needs ammo (bolts or arrows) to work.   
lightradius : Light given off by the weapon. (Negatives=Darker, 0=Neutral, Positives=Lighter)   
belt : Whether or not the item can be worn as a belt.   
quest : Whether or not the item is a quest item and if so which quest.   
missiletype : Which type of missile to use when the weapon is thrown.   
durwarning : The level of durability the weapon can drop to before warning the bearer.   
qtywarning : The quantity the weapon can drop to before warning the bearer.   
damvsundead : How much % damage the weapon does to undead.   
damvsdemon :  How much % damage the weapon does to demons.  
damvslarge : How much % damage the weapon does to large.   
damvssmall : How much % damage the weapon does to small.   
damvsflying : How much % damage the weapon does to flying creatures.   
tohitvsundead : Does it have better attack rating vs undead or not.  
tohitvsdemon : Does it have better attack rating vs demons or not.   
tohitvslarge : Does it have better attack rating vs large or not.  
tohitvssmall : Does it have better attack rating vs small monsters or not.   
tohitvsflying : Does it have better attack rating vs flying creatures or not.   
gemoffset : Unknown.   
bitfield : Unknown.   
CharsiMin : The minimum number of the weapon that Charsi in Act 1 will have for sale providing it's spawnable.   
CharsiMax : The maximum number of the weapon that Charsi in Act 1 will have for sale providing it's spawnable.   
CharsiMagicMin : The minimum number of magical versions of the weapon that Charsi in Act 1 will have for sale providing it's spawnable.   
CharsiMagicMax : The maximum number of magical versions of the weapon that Charsi in Act 1 will have for sale providing it's spawnable.   
CharsiMagicLvl : Unknown.   
GheedMin : The minimum number of the weapon that Gheed in Act 1 will have for sale providing it's spawnable.   
GheedMax : The maximum number of the weapon that Gheed in Act 1 will have for sale providing it's spawnable.   
GheedMagicMin : The minimum number of magical versions of the weapon that Gheed in Act 1 will have for sale providing it's spawnable.   
GheedMagicMax : The maximum number of magical versions of the weapon that Gheed in Act 1 will have for sale providing it's spawnable.   
GheedMagicLvl : Unknown.   
AkaraMin : The minimum number of the weapon that Akara in Act 1 will have for sale providing it's spawnable.   
AkaraMax : The maximum number of the weapon that Akara in Act 1 will have for sale providing it's spawnable.   
AkaraMagicMin : The minimum number of magical versions of the weapon that Akara in Act 1 will have for sale providing it's spawnable.   
AkaraMagicMax : The maximum number of magical versions of the weapon that Akara in Act 1 will have for sale providing it's spawnable.   
AkaraMagicLvl : Unknown.   
FaraMin : The minimum number of the weapon that Fara in Act 2 will have for sale providing it's spawnable.   
FaraMax : The maximum number of the weapon that Fara in Act 2 will have for sale providing it's spawnable.   
FaraMagicMin : The minimum number of magical versions of the weapon that Fara in Act 2 will have for sale providing it's spawnable.   
FaraMagicMax : The maximum number of magical versions of the weapon that Fara in Act 2 will have for sale providing it's spawnable.   
FaraMagicLvl : Unknown.   
LysanderMin : The minimum number of the weapon that Lysander in Act 2 will have for sale providing it's spawnable.   
LysanderMax : The maximum number of the weapon that Lysander in Act 2 will have for sale providing it's spawnable.   
LysanderMagicMin : The minimum number of magical versions of the weapon that Lysander in Act 2 will have for sale providing it's spawnable.   
LysanderMagicMax : The maximum number of magical versions of the weapon that Lysander in Act 2 will have for sale providing it's spawnable.   
LysanderMagicLvl : Unknown.   
DrognanMin : The minimum number of the weapon that Drognan in Act 2 will have for sale providing it's spawnable.   
DrognanMax : The maximum number of the weapon that Drognan in Act 2 will have for sale providing it's spawnable.   
DrognanMagicMin : The minimum number of magical versions of the weapon that Drognan in Act 2 will have for sale providing it's spawnable.   
DrognanMagicMax : The maximum number of magical versions of the weapon that Drognan in Act 2 will have for sale providing it's spawnable.   
DrognanMagicLvl : Unknown.   
HratliMin : The minimum number of the weapon that Hratli in Act 3 will have for sale providing it's spawnable.   
HratliMax : The maximum number of the weapon that Hratli in Act 3 will have for sale providing it's spawnable.   
HratliMagicMin : The minimum number of magical versions of the weapon that Hratli in Act 3 will have for sale providing it's spawnable.   
HratliMagicMax : The maximum number of magical versions of the weapon that Hratli in Act 3 will have for sale providing it's spawnable.   
HratliMagicLvl : Unknown.   
AlkorMin : The minimum number of the weapon that Alkor in Act 3 will have for sale providing it's spawnable.   
AlkorMax : The maximum number of the weapon that Alkor in Act 3 will have for sale providing it's spawnable.   
AlkorMagicMin : The minimum number of magical versions of the weapon that Alkor in Act 3 will have for sale providing it's spawnable.   
AlkorMagicMax : The maximum number of magical versions of the weapon that Alkor in Act 3 will have for sale providing it's spawnable.   
AlkorMagicLvl : Unknown.   
OrmusMin : The minimum number of the weapon that Ormus in Act 3 will have for sale providing it's spawnable.   
OrmusMax : The maximum number of the weapon that Ormus in Act 3 will have for sale providing it's spawnable.   
OrmusMagicMin : The minimum number of magical versions of the weapon that Ormus in Act 3 will have for sale providing it's spawnable.   
OrmusMagicMax : The maximum number of magical versions of the weapon that Ormus in Act 3 will have for sale providing it's spawnable.   
OrmusMagicLvl : Unknown.   
ElzixMin : The minimum number of the weapon that Elzix in Act 3 will have for sale providing it's spawnable.   
ElzixMax : The maximum number of the weapon that Elzix in Act 3 will have for sale providing it's spawnable.   
ElzixMagicMin : The minimum number of magical versions of the weapon that Elzix in Act 3 will have for sale providing it's spawnable.   
ElzixMagicMax : The maximum number of magical versions of the weapon that Elzix in Act 3 will have for sale providing it's spawnable.   
ElzixMagicLvl : Unknown.   
AshearaMin : The minimum number of the weapon that Asheara in Act 3 will have for sale providing it's spawnable.   
AshearaMax : The maximum number of the weapon that Asheara in Act 3 will have for sale providing it's spawnable.   
AshearaMagicMin : The minimum number of magical versions of the weapon that Asheara in Act 3 will have for sale providing it's spawnable.   
AshearaMagicMax : The maximum number of magical versions of the weapon that Asheara in Act 3 will have for sale providing it's spawnable.   
AshearaMagicLvl : Unknown.   
CainMin : The minimum number of the weapon that Cain will have for sale providing it's spawnable. Doesn't seem to be implemented though.   
CainMax : The maximum number of the weapon that Cain will have for sale providing it's spawnable. Doesn't seem to be implemented though.   
CainMagicMin : The minimum number of magical versions of the weapon that Cain will have for sale providing it's spawnable. Doesn't seem to be implemented though.   
CainMagicMax : The maximum number of magical versions of the weapon that Cain will have for sale providing it's spawnable. Doesn't seem to be implemented though.   
CainMagicLvl : Unknown.   
HalbuMin : The minimum number of the weapon that Halbu in Act 4 will have for sale providing it's spawnable.   
HalbuMax : The maximum number of the weapon that Halbu in Act 4 will have for sale providing it's spawnable.   
HalbuMagicMin : The minimum number of magical versions of the weapon that Halbu in Act 4 will have for sale providing it's spawnable.   
HalbuMagicMax : The maximum number of magical versions of the weapon that Halbu in Act 4 will have for sale providing it's spawnable.   
HalbuMagicLvl : Unknown.   
JamellaMin : The minimum number of the weapon that Jamella in Act 4 will have for sale providing it's spawnable.   
JamellaMax : The maximum number of the weapon that Jamella in Act 4 will have for sale providing it's spawnable.   
JamellaMagicMin : The minimum number of magical versions of the weapon that Jamella in Act 4 will have for sale providing it's spawnable.   
JamellaMagicMax : The maximum number of magical versions of the weapon that Jamella in Act 4 will have for sale providing it's spawnable.   
JamellaMagicLvl : Unknown.   
Source Art : Unknown.   
Game Art : Unknown.   
Amazon : Unknown.   
Paladin : Unknown.   
Barbarian : Unknown.   
Necromancer : Unknown.   
Sorceress : Unknown.   
Transform : Unknown.   
InvTrans : Unknown.   
SkipName : Unknown.   
NightmareUpgrade : Enter a weapon code to upgrade what the shopkeepers sell in nightmare diffiulty  
HellUpgrade : Enter a weapon code to upgrade what the shopkeepers sell in Hell difficulty
