// ##################
// ###  Diablo 2  ###
// ### 2017-08-07 ###
// ##################

// RINGS: 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
// http://classic.battle.net/diablo2exp/items/magic/chargedsuffixes.shtml
// http://classic.battle.net/diablo2exp/items/magic/procsuffixes.shtml

// ###### RINGS: MAGIC, PREFIX, MAX POSSIBLE ######
[Type] == Ring && [Quality] == Magic # [ToHit] >= 120								// +101-120 to Attack Rating, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [MaxMana] >= 120								// +91-120 to Mana, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemLightRadius] >= 2						// +2 to Light Radius, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [FireResist] >= 40							// Fire Resist +31-40%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ColdResist] >= 30							// Cold Resist +21-30%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [LightResist] >= 30							// Lightning Resist +21-30%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [PoisonResist] >= 10							// Poison Resist +5-10%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [FireResist] >= 15 && [LightResist] >= 15 && [ColdResist] >= 15 && [PoisonResist] >= 15	// +12-15% to each Resistance, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemManaAfterKill] >= 1						// +1 Point of Mana After Each Kill, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemMagicBonus] >= 15						// 11-15% Better Chance of Getting Magic Item, Prefix, MaxPossible

// ###### RINGS: MAGIC, SUFFIX, MAX POSSIBLE ######
[Type] == Ring && [Quality] == Magic # [MaxStamina] >= 20							// +11-20 to Max Stamina, Prefix, MaxPossible
[Type] == Ring && [Quality] == Magic # [Strength] >= 20								// +16-20 to Strength, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [Dexterity] >= 20							// +16-20 to Dexterity, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [Energy] >= 20								// +16-20 to Energy, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [MaxHp] >= 40								// +31-40 to Life, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemLightRadius] >= 5 && [ToHit] >= 5 		// +5 to Light Radius, +5% Bonus To Attack Rating, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [MinDamage] >= 13							// +10-13 to Minimum Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [MaxDamage] >= 12							// +3-12 to Maximum Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [FireMinDam] >= 1 && [FireMaxDam] >= 6		// Adds 1 Minimum and 2-6 Maximum Fire Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [LightMinDam] >= 1 && [LightMaxDam] >= 23	// Adds 1 Minimum and 11-23 Maximum Lightning Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [PoisonMaxDam] >= 50							// Adds 1-50 Poison Damage over 3 Seconds, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemPoisonLenghtResist] >= 25				// Poison Length Reduced by 25%, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [LifeLeech] >= 9								// 6-9% Life Stolen Per Hit, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ManaLeech] >= 6								// 6% Mana Stolen Per Hit, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [HpRegen] >= 9								// Replenish Life +6-9, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [NormalDamageReduction] >= 2 				// Damage Reduced by 2, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [MagicDamageReduction] >= 1					// Magic Damage Reduced by 1, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemGoldBonus] >= 40						// 25-40% Extra Gold From Monsters, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemMagicBonus] >= 25						// 16-25% Better Chance of Getting Magic Item, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [FCR] >= 10									// 10% Faster Cast Rate, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [ItemHalfFreezeDuration] >= 1				// Half Freeze Duration, Suffix, MaxPossible
[Type] == Ring && [Quality] == Magic # [skilliceblast] >= 1							// Spell Sorceress IceBlast (charges 20/5)
[Type] == Ring && [Quality] == Magic # [skillchargedbolt] >= 1						// Spell Sorceress ChargedBolt (charges 20/6)
[Type] == Ring && [Quality] == Magic # [skilltelekinesis] >= 1						// Spell Sorceress Telekinesis (charges 20/5)
[Type] == Ring && [Quality] == Magic # [skillfirebolt] >= 1							// Spell Sorceress FireBolt (charges 20/6)
[Type] == Ring && [Quality] == Magic # [skillpoisondagger] >= 1						// Spell Necromancer PoisonDagger (charges 20/5)
[Type] == Ring && [Quality] == Magic # [skilldimvision] >= 1						// Spell Necromancer DimVision (charges 20/5)
[Type] == Ring && [Quality] == Magic # [skillconfuse] >= 1							// Spell Necromancer Confusion (charges 20/3)
[Type] == Ring && [Quality] == Magic # [skillattract] >= 1							// ProcSpell Necromancer Attraction (charges 20/2)
[Type] == Ring && [Quality] == Magic # [skillchargedbolt] >= 1						// ProcSpell Sorceress ChargedBolt WhenStruck [10% lvl3] [12% lvl4] [14% lvl5]
[Type] == Ring && [Quality] == Magic # 												// ProcSpell NovaShield WhenStruck [10% lvl3] [12% lvl4] [14% lvl5]
[Type] == Ring && [Quality] == Magic # [skillchainlightning] >= 1 					// ProcSpell ChainLightning On Attack [5% lvl3] [8% lvl3] [8% lvl5]

// ###### RINGS: RARE, PREFIX, MAX POSSIBLE ######
[Type] == Ring && [Quality] == Rare # [ToHit] >= 120								// +101-120 to Attack Rating, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MaxMana] >= 90								// +61-90 to Mana, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemLightRadius] >= 2						// +2 to Light Radius, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [FireResist] >= 40							// Fire Resist +31-40%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ColdResist] >= 30							// Cold Resist +21-30%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [LightResist] >= 30							// Lightning Resist +21-30%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [PoisonResist] >= 10							// Poison Resist +5-10%, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [FireResist] >= 11 && [LightResist] >= 11 && [ColdResist] >= 11 && [PoisonResist] >= 11	// +8-11% to each Resistance, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemManaAfterKill] >= 1						// +1 Point of Mana After Each Kill, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemMagicBonus] >= 10						// 5-10% Better Chance of Getting Magic Item, Prefix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MaxStamina] >= 20							// +11-20 to Max Stamina, Prefix, MaxPossible

// ###### RINGS: RARE, SUFFIX, MAX POSSIBLE ######
[Type] == Ring && [Quality] == Rare # [Strength] >= 20								// +16-20 to Strength, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [Dexterity] >= 15								// +10-15 to Dexterity, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [Energy] >= 15								// +11-15 to Energy, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MaxHp] >= 40									// +31-40 to Life, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemLightRadius] >= 5 && [ToHit] >= 5 		// +5 to Light Radius, +5% Bonus To Attack Rating, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MinDamage] >= 9								// +6-9 to Minimum Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MaxDamage] >= 12								// +3-12 to Maximum Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [FireMinDam] >= 1 && [FireMaxDam] >= 6		// Adds 1 Minimum and 2-6 Maximum Fire Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [LightMinDam] >= 1 && [LightMaxDam] >= 23		// Adds 1 Minimum and 11-23 Maximum Lightning Damage, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [PoisonMaxDam] >= 50							// Adds 1-50 Poison Damage over 3 Seconds, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemPoisonLenghtResist] >= 25				// Poison Length Reduced by 25%, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [LifeLeech] >= 9								// 6-9% Life Stolen Per Hit, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ManaLeech] >= 6								// 6% Mana Stolen Per Hit, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [HpRegen] >= 9								// Replenish Life +6-9, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [NormalDamageReduction] >= 2 					// Damage Reduced by 2, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [MagicDamageReduction] >= 1					// Magic Damage Reduced by 1, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemGoldBonus] >= 40							// 25-40% Extra Gold From Monsters, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemMagicBonus] >= 15						// 5-15% Better Chance of Getting Magic Item, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [FCR] >= 10									// 10% Faster Cast Rate, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [ItemHalfFreezeDuration] >= 1					// Half Freeze Duration, Suffix, MaxPossible
[Type] == Ring && [Quality] == Rare # [skilliceblast] >= 1							// Spell Sorceress IceBlast (charges 20/5)
[Type] == Ring && [Quality] == Rare # [skillchargedbolt] >= 1						// Spell Sorceress ChargedBolt (charges 20/6)
[Type] == Ring && [Quality] == Rare # [skilltelekinesis] >= 1						// Spell Sorceress Telekinesis (charges 20/5)
[Type] == Ring && [Quality] == Rare # [skillfirebolt] >= 1							// Spell Sorceress FireBolt (charges 20/6)
[Type] == Ring && [Quality] == Rare # [skillpoisondagger] >= 1						// Spell Necromancer PoisonDagger (charges 20/5)
[Type] == Ring && [Quality] == Rare # [skilldimvision] >= 1							// Spell Necromancer DimVision (charges 20/5)
[Type] == Ring && [Quality] == Rare # [skillconfuse] >= 1							// Spell Necromancer Confusion (charges 20/3)
[Type] == Ring && [Quality] == Rare # [skillattract] >= 1							// ProcSpell Necromancer Attraction (charges 20/2)
[Type] == Ring && [Quality] == Rare # [skillchargedbolt] >= 1						// ProcSpell Sorceress ChargedBolt WhenStruck [10% lvl3] [12% lvl4] [14% lvl5]
[Type] == Ring && [Quality] == Rare # 												// ProcSpell NovaShield WhenStruck [10% lvl3] [12% lvl4] [14% lvl5]
[Type] == Ring && [Quality] == Rare # [skillchainlightning] >1 						// ProcSpell ChainLightning On Attack [5% lvl3] [8% lvl3] [8% lvl5]

// ###### RINGS: CRAFTED ######
[Type] == Ring && [Quality] == Crafted												// All Crafted

// ###### RINGS: UNIQUE, MAX POSSIBLE ######
[Type] == Ring && [Quality] == Unique # [ToHit] >= 75 && [ItemMagicBonus] >= 30						// Nagelring, +50-75ToAttackRating(varies), 15-30%ChanceMagicItems(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [ManaLeech] >= 7 && [HpRegen] >= 8							// ManaldHeal, 4-7%ManaStolenPerHit(varies), ReplenishLife+5-8(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [ItemMaxManaPercent] >= 25 									// StoneOfJordan, IncreaseMaximumMana25% (noVariesOnSOJ), MaxPossible
[Type] == Ring && [Quality] == Unique # [MagicDamageReduction] >= 15								// DwarfStar, MagicDamageReduced12-15(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [ToHit] >= 250 && [Dexterity] >= 20							// RavenFrost, +250ToAttackRating(varies), +15-20ToDexterity(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [LifeLeech] >= 5											// BulKathos, 3-5%LifeStolenPerHit(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [ArmorClassVsMissile] >= 160								// CarrionWinds, +100-160DefenseVsMissile(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [PoisonResist] >= 30 && [NormalDamageReduction] >= 11		// NaturesPeace, PoisonResist+20-30%(varies), DamageReducedBy7-11(varies), MaxPossible
[Type] == Ring && [Quality] == Unique # [ItemAbsorbLightPercent] >= 20 && [ItemMagicBonus] >= 20	// WispProjector, Lightning Absorb 10-20% (varies), 10-20%ChanceMagicItems(varies), MaxPossible