Files
CalamityModPublic/Rarities/DarkBlue.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

21 lines
595 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,
};
}
}