Turquoise and Pure Green items cannot reach later rarities via prefix
This commit is contained in:
1 parent
186facc30e
commit
a2a3ab63e7
3 files changed
+6
-9
No files matched your search
@@ -1,9 +1,8 @@
|
||||
using CalamityMod.Rarities;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items
|
||||
namespace CalamityMod.Rarities
|
||||
{
|
||||
public sealed class ColorTool : GlobalItem
|
||||
{
|
||||
@@ -41,7 +40,7 @@ namespace CalamityMod.Items
|
||||
}
|
||||
|
||||
public static Color Rainbowing(float position) => colorLerps(
|
||||
new Color[] { new Color(255, 50, 50, 255), new Color(255, 128, 50, 255), new Color(230, 255, 50, 255), new Color(80, 255, 60, 255),
|
||||
new Color(50, 80, 250, 255), new Color(200, 50, 250, 255),new Color(255, 50, 230, 255), }, position);
|
||||
[ new Color(255, 50, 50, 255), new Color(255, 128, 50, 255), new Color(230, 255, 50, 255), new Color(80, 255, 60, 255),
|
||||
new Color(50, 80, 250, 255), new Color(200, 50, 250, 255), new Color(255, 50, 230, 255), ], position);
|
||||
}
|
||||
}
|
||||
@@ -13,9 +13,7 @@ namespace CalamityMod.Rarities
|
||||
{
|
||||
-2 => ItemRarityID.Purple,
|
||||
-1 => ModContent.RarityType<Turquoise>(),
|
||||
1 => ModContent.RarityType<CosmicPurple>(),
|
||||
2 => ModContent.RarityType<BurnishedAuric>(),
|
||||
_ => Type,
|
||||
_ => Type, // Cannot reach Cosmic Purple or Burnished Auric
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Rarities
|
||||
-2 => ItemRarityID.Red,
|
||||
-1 => ItemRarityID.Purple,
|
||||
1 => ModContent.RarityType<PureGreen>(),
|
||||
2 => ModContent.RarityType<CosmicPurple>(),
|
||||
2 => ModContent.RarityType<PureGreen>(), // Cannot reach Cosmic Purple
|
||||
_ => Type,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user