public BrilliantAmberBracelet() : base(0x1086) { Weight = 0.1; Name = "A Brilliant Amber Bracelet"; int maxProps = CraftUtil.GetBonusProps(4) + 1; switch (Utility.Random(4)) { case 0: Attributes.LowerRegCost = Utility.Random(1, 20); break; case 1: Attributes.CastSpeed = 1; break; case 2: Attributes.CastRecovery = Utility.Random(1, 3); break; default: Attributes.SpellDamage = Utility.Random(1, 3); break; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 100); }
public WhitePearlBracelet() : base(0x1086) { Weight = 0.1; Name = "A White Pearl Bracelet"; int maxProps = CraftUtil.GetBonusProps(3) + 3; switch (Utility.Random(4)) { case 0: Attributes.LowerRegCost = (1 + Utility.Random(2)) * 10; break; case 1: Attributes.CastSpeed = 1; break; case 2: Attributes.CastRecovery = Utility.Random(1, 3); break; default: Attributes.NightSight = 1; break; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 100); }
public EcruCitrineRing() : base(0x1F09) { Weight = 0.1; Name = "An Ecru Citrine Ring"; int maxProps = CraftUtil.GetBonusProps(3) + 2; switch (Utility.Random(2)) { case 0: if (Utility.RandomDouble() < .20) { Attributes.EnhancePotions = 50; } else { Attributes.EnhancePotions = 5; } break; default: Attributes.BonusStr = 5; break; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 100); }
public BlueDiamondRing() : base(0x1F09) { Weight = 0.1; Name = "A Blue Diamond Ring"; int maxProps = CraftUtil.GetBonusProps(3) + 2; switch (Utility.Random(4)) { case 0: Attributes.LowerRegCost = 10; break; case 1: Attributes.CastSpeed = 1; break; case 2: Attributes.CastRecovery = Utility.Random(1, 3); break; default: Attributes.SpellDamage = 5; break; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 100); }
public TurquoiseRing() : base(0x1F09) { Weight = 0.1; Name = "A Turquoise Ring"; int maxProps = CraftUtil.GetBonusProps(3) + 2; if (Utility.RandomDouble() > .95) { Attributes.WeaponSpeed = 5; } else { Attributes.WeaponDamage = 15; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 90); }
public DarkSapphireBracelet() : base(0x1086) { Weight = 0.1; Name = "A Brilliant Amber Bracelet"; int maxProps = CraftUtil.GetBonusProps(4) + 1; if (Utility.RandomDouble() > .5) { Resistances.Cold = 10; } else { Attributes.RegenMana = 2; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 100); }
public PerfectEmeraldRing() { Weight = 0.1; Name = "A Perfect Emerald Ring"; int maxProps = CraftUtil.GetBonusProps(3) + 2; switch (Utility.Random(2)) { case 0: Resistances.Poison = 10; break; default: Attributes.LowerManaCost = 10; break; } BaseRunicTool.ApplyAttributesTo(this, maxProps, 0, 80); }