Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
RareRarity.cs
Go to the documentation of this file.
1 using Microsoft.Xna.Framework;
2 using System;
3 using Loot.Api.Core;
4 
5 namespace Loot.Rarities
6 {
10  public class RareRarity : ModifierRarity
11  {
12  public override string RarityName => "Rare";
13  public override Color Color => Color.Yellow;
14  public override float? UpgradeChance => 0.05f;
15  public override float? DowngradeChance => 0.03f;
16  public override Type Upgrade => typeof(EpicRarity);
17  public override Type Downgrade => typeof(CommonRarity);
18  public override float ExtraMagnitudePower => 0.1f;
19  }
20 }
The epic rarity, before legendary but after rare
Definition: EpicRarity.cs:10
Defines the rarity of a modifier
Describes the common rarity, which every item starts with
Definition: CommonRarity.cs:10
The rare rarity, before epic but after common
Definition: RareRarity.cs:10