Files
CalamityModPublic/Rarities/DarkBlue.cs
T
Ozzatron b647a48029 1 - Added Calamity Red, the "final +1" rarity for Calamity that matches vanilla's Purple
2 - Cleaned up rarity declarations with expression switch statements
3 - Added exact numeric rarity numbers as comments to the rarities
2022-09-03 19:01:53 -04:00

21 lines
511 B
C#

using Microsoft.Xna.Framework;
using Terraria.ModLoader;
namespace CalamityMod.Rarities
{
public class DarkBlue : ModRarity
{
// Dark Blue is Rarity 14
public override Color RarityColor => new Color(43, 96, 222);
public override int GetPrefixedRarity(int offset, float valueMult) => offset switch
{
-2 => ModContent.RarityType<Turquoise>(),
-1 => ModContent.RarityType<PureGreen>(),
1 => ModContent.RarityType<Violet>(),
2 => ModContent.RarityType<HotPink>(),
_ => Type,
};
}
}