Hot Pink rarity cannot be changed by prefix
This commit is contained in:
1 parent
9bcdeb897e
commit
81670d7ce3
1 file changed
+3
-2
+3
-2
@@ -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,
|
||||
};
|
||||
};*/
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user