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

// CIRCLETS: 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

// ######### CIRCLETS: MAGIC, PREFIXES, MAX POSSIBLE ######
[Type] == Circlet && [Quality] == Magic # [ToHit] >= 120								// +10-20 to Attack Rating, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ColdMinDam] >= 6 && [ColdMaxDam] >= 30		// +6-9 Minimum and 19-30 Maximum Cold Damage - 1 sec Duration, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [FireMinDam] >= 25 && [FireMaxDam] >= 60		// +16-25 Minimum and 31-60 Maximum Fire Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [LightMinDam] >= 1 && [LightMaxDam] >= 120	// +1 Minimum and 49-120 Maximum Lightning Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [PoisonMaxDam] >= 6							// +6 Poison Damage Over 2 Seconds, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemMaxDamagePercent] >= 30					// +21-30% Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemDemonToHit] >= 100 && [ItemDemonDamagePercent] >= 50	// +51-100 to Attack Rating vs Demons, Damage: +26-50% vs Demons, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MaxMana] >= 120								// +91-120 to Mana, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [FireResist] >= 40							// Fire Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ColdResist] >= 10							// Cold Resist +5-10%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [LightResist] >= 40							// Lightning Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [PoisonResist] >= 40							// Poison Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [FireResist] >= 30 && [ColdResist] >= 30 && [LightResist] >= 30 && [PoisonResist] >= 30  	// +21-30% to each Resistance, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddAmazonSkills] >= 2					// +2 Max to Amazon Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddBarbarianSkills] >= 2					// +2 Max to Barbarian Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddPaladinSkills] >= 2					// +2 Max to Paladin Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddNecromancerSkills] >= 2				// +2 Max to Necromancer Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddSorceressSkills] >= 2					// +2 Max to Sorceress Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddDruidSkills] >= 2						// +2 Max to Druid Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddAssassinSkills] >= 2					// +2 Max to Assassin Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddPassiveAndMagicSkillTab] >= 3			// +3 Max Amazon Passive Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddFireSkillTab] >= 3					// +3 Max Sorceress Fire Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddLightningSkillTab] >= 3				// +3 Max Sorceress Lightning Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddColdSkillTab] >= 3					// +3 Max Sorceress Cold Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddCursesSkillTab] >= 3					// +3 Max Necromancer Curses, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddPoisonAndBoneSkillTab] >= 3			// +3 Max Necromancer Poison and Bone Spells, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddNecromancerSummoningSkillTab] >= 3	// +3 Max Necromancer Summoning Spells, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddPaliCombatSkillTab] >= 3				// +3 Max Paladin Combat Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddOffensiveAurasSkillTab] >= 3			// +3 Max Paladin Offensive Auras, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddDefensiveAurasSkillTab] >= 3			// +3 Max Paladin Defensive Auras, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddDruidsummoningSkillTab] >= 3			// +3 Max Druid Summoning, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddShapeshiftingSkillTab] >= 3			// +3 Max Druid Shapeshifting, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddElementalSkillTab] >= 3				// +3 Max Druid Elemental, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddTrapsSkillTab] >= 3					// +3 Max Assassin Traps, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddShadowDisciplinesSkillTab] >= 3		// +3 Max Assassin Shadow Disciplines, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAddMartialArtsSkilltab] >= 3				// +3 Max Assassin Martial Arts, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemManaAfterKill] >= 5						// +2-5 Points of Mana After Each Kill, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemMagicBonus] >= 15						// 11-15% Better Chance of Getting Magic Item, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MaxStamina] >= 20							// +11-20 to Max Stamina, Prefix, MaxPossible

// ######### CIRCLETS: MAGIC, SUFFIXES, MAX POSSIBLE ######
[Type] == Circlet && [Quality] == Magic # [Strength] >= 30								// +21-30 to Strength, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [Dexterity] >= 30								// +21-30 to Dexterity, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [Energy] >= 30								// +21-30 to Energy, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MaxHp] >= 100								// +81-100 to Life, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MinDamage] >= 14								// +9-14 to Minimum Damage, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MaxDamage] >= 44								// +37-44 to Maximum Damage, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [PoisonMaxDam] >= 50							// Adds 50 Poison Damage over 5 Seconds, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemPoisonLenghtResist] >= 75				// Poison Length Reduced by 75%, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [LifeLeech] >= 8								// 7-8% Life Stolen Per Hit, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ManaLeech] >= 8								// 7-8% Mana Stolen Per Hit, Suffix, MaxPossible	
[Type] == Circlet && [Quality] == Magic # [HpRegen] >= 15								// Replenish Life +11-15, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [NormalDamageReduction] >= 15					// Damage Reduced by 8-15, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [MagicDamageReduction] >= 6					// Magic Damage Reduced by 4-6, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemGoldBonus] >= 80							// 41-80% Extra Gold From Monsters, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemMagicBonus] >= 35						// 26-35% Better Chance of Getting Magic Item, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [FCR] >= 20									// 20% Faster Cast Rate, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemAttackerTakesDamage] >= 20				// Attacker Takes Damage of 10-20, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [FRW] >= 30									// 30% Faster Run/Walk, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemHalfFreezeDuration] >= 1					// Half Freeze Duration, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemManaPerLevel] >= 1 						// +0.75 Per Character Level To Mana, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Magic # [ItemHpPerLevel] >= 1 && [ItemManaPerLevel] >= 1 // +0.5 Per Char Level To Life / +0.25 Per Char Level To Mana, Suffix, MaxPossible

// ######### CIRCLETS: RARE, PREFIXES, MAX POSSIBLE ######
[Type] == Circlet && [Quality] == Rare # [ToHit] >= 120									// +10-20 to Attack Rating, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ColdMinDam] >= 6 && [ColdMaxDam] >= 30		// +6-9 Minimum and 19-30 Maximum Cold Damage - 1 sec Duration, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [FireMinDam] >= 25 && [FireMaxDam] >= 60		// +16-25 Minimum and 31-60 Maximum Fire Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [LightMinDam] >= 1 && [LightMaxDam] >= 120		// +1 Minimum and 49-120 Maximum Lightning Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [PoisonMaxDam] >= 6							// +6 Poison Damage Over 2 Seconds, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemMaxDamagePercent] >= 30					// +21-30% Damage, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemDemonToHit] >= 100 && [ItemDemonDamagePercent] >= 50	// +51-100 to Attack Rating vs Demons, Damage: +26-50% vs Demons, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MaxMana] >= 90								// +61-90 to Mana
[Type] == Circlet && [Quality] == Rare # [FireResist] >= 40								// Fire Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ColdResist] >= 10								// Cold Resist +5-10%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [LightResist] >= 40							// Lightning Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [PoisonResist] >= 40							// Poison Resist +31-40%, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [FireResist] >= 20 && [ColdResist] >= 20 && [LightResist] >= 30 && [PoisonResist] >= 20	// +16-20% to each Resistance, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddAmazonSkills] >= 2						// +2 Max to Amazon Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddBarbarianSkills] >= 2					// +2 Max to Barbarian Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddPaladinSkills] >= 2					// +2 Max to Paladin Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddNecromancerSkills] >= 2				// +2 Max to Necromancer Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddSorceressSkills] >= 2					// +2 Max to Sorceress Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddDruidSkills] >= 2						// +2 Max to Druid Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddAssassinSkills] >= 2					// +2 Max to Assassin Skill Levels, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddPassiveAndMagicSkillTab] >= 3			// +2 Max Amazon Passive Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddFireSkillTab] >= 2						// +2 Max Sorceress Fire Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddLightningSkillTab] >= 2				// +2 Max Sorceress Lightning Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddColdSkillTab] >= 2						// +2 Max Sorceress Cold Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddCursesSkillTab] >= 2					// +2 Max Necromancer Curses, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddPoisonAndBoneSkillTab] >= 2			// +2 Max Necromancer Poison and Bone Spells, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddNecromancerSummoningSkillTab] >= 2		// +2 Max Necromancer Summoning Spells, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddPaliCombatSkillTab] >= 2				// +2 Max Paladin Combat Skills, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddOffensiveAurasSkillTab] >= 2			// +2 Max Paladin Offensive Auras, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddDefensiveAurasSkillTab] >= 2			// +2 Max Paladin Defensive Auras, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddDruidsummoningSkillTab] >= 2			// +2 Max Druid Summoning, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddShapeshiftingSkillTab] >= 2			// +2 Max Druid Shapeshifting, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddElementalSkillTab] >= 2				// +2 Max Druid Elemental, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddTrapsSkillTab] >= 2					// +2 Max Assassin Traps, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddShadowDisciplinesSkillTab] >= 2		// +2 Max Assassin Shadow Disciplines, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAddMartialArtsSkilltab] >= 2				// +2 Max Assassin Martial Arts, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemManaAfterKill] >= 5						// +2-5 Points of Mana After Each Kill, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemMagicBonus] >= 10							// 5-10% Better Chance of Getting Magic Item, Prefix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MaxStamina] >= 20								// +11-20 to Max Stamina, Prefix, MaxPossible

// ######### CIRCLETS: RARE, SUFFIXES, MAX POSSIBLE ######
[Type] == Circlet && [Quality] == Rare # [Strength] >= 30								// +21-30 to Strength, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [Dexterity] >= 20								// +16-20 to Dexterity, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [Energy] >= 20									// +16-20 to Energy, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MaxHp] >= 60									// +41-60 to Life, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MinDamage] >= 9								// +5-9 to Minimum Damage, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MaxDamage] >= 44								// +37-44 to Maximum Damage, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [PoisonMaxDam] >= 50							// Adds 50 Poison Damage over 5 Seconds, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemPoisonLenghtResist] >= 75					// Poison Length Reduced by 75%, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [LifeLeech] >= 8								// 7-8% Life Stolen Per Hit, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ManaLeech] >= 8								// 7-8% Mana Stolen Per Hit, Suffix, MaxPossible	
[Type] == Circlet && [Quality] == Rare # [HpRegen] >= 5									// Replenish Life +3-5, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [NormalDamageReduction] >= 7	 				// Damage Reduced by 4-7, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [MagicDamageReduction] >= 3					// Magic Damage Reduced by 3, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemGoldBonus] >= 80							// 41-80% Extra Gold From Monsters, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemMagicBonus] >= 25							// 16-25% Better Chance of Getting Magic Item, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [FCR] >= 20									// 20% Faster Cast Rate, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemAttackerTakesDamage] >= 9					// Attacker Takes Damage of 7-9, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [FRW] >= 30									// 30% Faster Run/Walk, Suffix, MaxPossible
[Type] == Circlet && [Quality] == Rare # [ItemHalfFreezeDuration] >= 1					// Half Freeze Duration, Suffix, MaxPossible

// ######### CIRCLETS: ALL CIRCLET NAMES ######
[Name] == Circlet									// Normal
[Name] == Coronet									// Exceptional
[Name] == Tiara										// Elite
[Name] == Diadem									// Elite

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