// ##################
// ###  Diablo 2  ###
// ### 2017-08-14 ###
// ##################

// BODY ARMOR: REFERENCE FILE FOR MAX STATS, NAMES, AND QUALTIES
// http:classic.battle.net/diablo2exp/items/magic/pre.shtml
// http:classic.battle.net/diablo2exp/items/magic/suf.shtml

// ######### BODY ARMOR: MAGIC, PREFIXES, MAX POSSIBLE #########
[Type] == Armor && [Quality] == Magic # [EnhancedDefense] >= 200 				// +101-200% Defense
[Type] == Armor && [Quality] == Magic # [ItemArmorPerLevel] >= 1	 			// +3 Per Character Level Defense
[Type] == Armor && [Quality] == Magic # [MaxMana] >= 40 						// +31-40 to Mana	
[Type] == Armor && [Quality] == Magic # [ItemLightRadius] >= 2 					// +2 to Light Radius
[Type] == Armor && [Quality] == Magic # [FireResist] >= 40 						// Fire Resist +31-40%
[Type] == Armor && [Quality] == Magic # [ColdResist] >= 30 						// Cold Resist +21-30%
[Type] == Armor && [Quality] == Magic # [LightResist] >= 30 					// Lightning Resist +21-30%
[Type] == Armor && [Quality] == Magic # [PoisonResist] >= 30	 				// Poison Resist +21-30%

// ######### BODY ARMOR: MAGIC, SUFFIXES, MAX POSSIBLE #########
[Type] == Armor && [Quality] == Magic # [Strength] >= 20 						// +16-20 to Strength
[Type] == Armor && [Quality] == Magic # [Dexterity] >= 15 						// +10-15 to Dexterity
[Type] == Armor && [Quality] == Magic # [MaxHp] >= 100 							// +81-100 to Life
[Type] == Armor && [Quality] == Magic # [ItemLightRadius] >= 1 && [ToHit] >= 15	// +1 to Light Radius, +15 To Attack Rating
[Type] == Armor && [Quality] == Magic # [ItemPoisonLenghtResist] >= 75 			// Poison Length Reduced by 75%
[Type] == Armor && [Quality] == Magic # [HpRegen] >= 5 							// Replenish Life +3-5
[Type] == Armor && [Quality] == Magic # [FHR] >= 24 							// 24% Faster Hit Recovery
[Type] == Armor && [Quality] == Magic # [NormalDamageReduction] >= 15 			// Damage Reduced by 8-15
[Type] == Armor && [Quality] == Magic # [MagicDamageReduction] >= 6 			// Magic Damage Reduced by 4-6
[Type] == Armor && [Quality] == Magic # [ItemAttackerTakesDamage] >= 20 		// Attacker Takes Damage of 10-20
[Type] == Armor && [Quality] == Magic # [ItemLevelReqPct] >= -30  				// Requirements -30%
[Type] == Armor && [Quality] == Magic # [ItemReplenishDurability] >= 1 			// Repair Durability (5)
[Type] == Armor && [Quality] == Magic # [ItemIndestructible] >= 1				// Indestructible Magic Only
[Type] == Armor && [Quality] == Magic # [ItemHpPerLevel] >= 1 					// +0.75 Per Character Level Life	Magic only

// ######### BODY ARMOR: RARE, PREFIXES, MAX POSSIBLE #########
[Type] == Armor && [Quality] == Rare # [EnhancedDefense] >= 200 				// +101-200% Defense
[Type] == Armor && [Quality] == Rare # [ItemArmorPerLevel] >= 1 				// +3 Per Character Level Defense
[Type] == Armor && [Quality] == Rare # [MaxMana] >= 40 							// +31-40 to Mana	
[Type] == Armor && [Quality] == Rare # [ItemLightRadius] >= 2 					// +2 to Light Radius
[Type] == Armor && [Quality] == Rare # [FireResist] >= 40 						// Fire Resist +31-40%
[Type] == Armor && [Quality] == Rare # [ColdResist] >= 30 						// Cold Resist +21-30%
[Type] == Armor && [Quality] == Rare # [LightResist] >= 30 						// Lightning Resist +21-30%
[Type] == Armor && [Quality] == Rare # [PoisonResist] >= 30	 					// Poison Resist +21-30%

// ######### BODY ARMOR: RARE, SUFFIXES, MAX POSSIBLE #########
[Type] == Armor && [Quality] == Rare # [Strength] >= 20 						// +16-20 to Strength
[Type] == Armor && [Quality] == Rare # [Dexterity] >= 9 						// +6-9 to Dexterity
[Type] == Armor && [Quality] == Rare # [MaxHp] >= 60							// +41-60 to Life
[Type] == Armor && [Quality] == Rare # [ItemLightRadius] >= 1 && [ToHit] >= 15	// +1 to Light Radius, +15 To Attack Rating
[Type] == Armor && [Quality] == Rare # [ItemPoisonLenghtResist] >= 75 			// Poison Length Reduced by 75%
[Type] == Armor && [Quality] == Rare # [HpRegen] >= 5 							// Replenish Life +3-5
[Type] == Armor && [Quality] == Rare # [FHR] >= 24 								// 24% Faster Hit Recovery
[Type] == Armor && [Quality] == Rare # [NormalDamageReduction] >= 7 			// Damage Reduced by 4-7
[Type] == Armor && [Quality] == Rare # [MagicDamageReduction] >= 3 				// Magic Damage Reduced by 3
[Type] == Armor && [Quality] == Rare # [ItemAttackerTakesDamage] >= 9 			// Attacker Takes Damage of 7-9
[Type] == Armor && [Quality] == Rare # [ItemLevelReqPct] >= -30 				// Requirements -30%
[Type] == Armor && [Quality] == Rare # [ItemReplenishDurability] >= 1  			// Repair Durability (5)

// ######### BODY ARMOR: ALL ARMOR NAMES ######
[Name] == QuiltedArmor			// Normal StrMin12 DefMax11
[Name] == LeatherArmor			// Normal StrMin15 DefMax17
[Name] == HardLeatherArmor		// Normal StrMin20 DefMax24
[Name] == StuddedLeather		// Normal StrMin27 DefMax35
[Name] == RingMail				// Normal StrMin36 DefMax48
[Name] == ScaleMail				// Normal StrMin44 DefMax60
[Name] == ChainMail				// Normal StrMin48 DefMax75
[Name] == BreastPlate			// Normal StrMin30 DefMax68
[Name] == SplintMail			// Normal StrMin51 DefMax95
[Name] == PlateMail				// Normal StrMin65 DefMax116
[Name] == FieldPlate			// Normal StrMin55 DefMax105
[Name] == GothicPlate			// Normal StrMin70 DefMax135
[Name] == LightPlate			// Normal StrMin41 DefMax107
[Name] == FullPlateMail			// Normal StrMin37 DefMax161
[Name] == AncientArmor			// Normal StrMin100 DefMax233
[Name] == GhostArmor			// Exceptional StrMin38 DefMax117
[Name] == SerpentskinArmor		// Exceptional StrMin36 DefMax126
[Name] == DemonhideArmor		// Exceptional StrMin50 DefMax136
[Name] == TrellisedArmor		// Exceptional StrMin61 DefMax153
[Name] == LinkedMail			// Exceptional StrMin74 DefMax172
[Name] == TigulatedMail			// Exceptional StrMin86 DefMax190
[Name] == MeshArmor				// Exceptional StrMin92 DefMax213
[Name] == Cuirass				// Exceptional StrMin65 DefMax202
[Name] == RussetArmor			// Exceptional StrMin97 DefMax243
[Name] == TemplarCoat			// Exceptional StrMin118 DefMax274
[Name] == SharktoothArmor		// Exceptional StrMin103 DefMax258
[Name] == EmbossedPlate			// Exceptional StrMin125 DefMax303
[Name] == MagePlate				// Exceptional StrMin55 DefMax261
[Name] == ChaosArmor			// Exceptional StrMin140 DefMax342
[Name] == OrnatePlate			// Exceptional StrMin170 DefMax450
[Name] == DuskShroud			// Elite StrMin77 DefMax467
[Name] == Wyrmhide				// Elite StrMin84 DefMax470
[Name] == ScarabHusk			// Elite StrMin95 DefMax474
[Name] == WireFleece			// Elite StrMin111 DefMax481
[Name] == DiamondMail			// Elite StrMin131 DefMax489
[Name] == LoricatedMail			// Elite StrMin149 DefMax496
[Name] == Boneweave				// Elite StrMin158 DefMax505
[Name] == GreatHauberk			// Elite StrMin118 DefMax501
[Name] == BalrogSkin			// Elite StrMin165 DefMax517
[Name] == HellforgePlate		// Elite StrMin196 DefMax530
[Name] == KrakenShell			// Elite StrMin174 DefMax523
[Name] == LacqueredPlate		// Elite StrMin208 DefMax541
[Name] == ArchonPlate			// Elite StrMin103 DefMax524
[Name] == ShadowPlate			// Elite StrMin230 DefMax557
[Name] == SacredArmor			// Elite StrMin232 DefMax600

// ######### BODY ARMOR: ALL QUALTIES #########
[Type] == Belts && [Quality] == LowQuality
[Type] == Belts && [Quality] == Cracked
[Type] == Belts && [Quality] == Crude
[Type] == Belts && [Quality] == Damaged
[Type] == Belts && [Quality] == Normal
[Type] == Belts && [Quality] == Superior
[Type] == Belts && [Quality] == Magic
[Type] == Belts && [Quality] == Rare
[Type] == Belts && [Quality] == Crafted
[Type] == Belts && [Quality] == Set
[Type] == Belts && [Quality] == Unique