Hot Pink rarity cannot be changed by prefix

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2025-10-04 17:53:38 -04:00
1 parent 9bcdeb897e
commit 81670d7ce3
1 file changed
+3 -2
+3 -2
View File
@@ -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<CosmicPurple>(),
-1 => ModContent.RarityType<BurnishedAuric>(),
1 => ModContent.RarityType<CalamityRed>(),
2 => ModContent.RarityType<CalamityRed>(),
_ => Type,
};
};*/
}
}