From 81670d7ce3e7bcc4b91c5164739e15f4e5ecac51 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Sat, 4 Oct 2025 17:53:38 -0400 Subject: [PATCH] Hot Pink rarity cannot be changed by prefix --- Rarities/HotPink.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rarities/HotPink.cs b/Rarities/HotPink.cs index b3451e2f2d..38dfd4abf9 100644 --- a/Rarities/HotPink.cs +++ b/Rarities/HotPink.cs @@ -8,13 +8,14 @@ namespace CalamityMod.Rarities // Hot Pink is Rarity 16 public override Color RarityColor => new Color(255, 0, 255); - public override int GetPrefixedRarity(int offset, float valueMult) => offset switch + // Hot Pink cannot turn into other rarities via prefix + /*public override int GetPrefixedRarity(int offset, float valueMult) => offset switch { -2 => ModContent.RarityType(), -1 => ModContent.RarityType(), 1 => ModContent.RarityType(), 2 => ModContent.RarityType(), _ => Type, - }; + };*/ } }