diff --git a/Content/Items/Potions/Antidote.cs b/Content/Items/Potions/Antidote.cs index 4cbfe6c..6930210 100644 --- a/Content/Items/Potions/Antidote.cs +++ b/Content/Items/Potions/Antidote.cs @@ -1,4 +1,5 @@ using Decimation.Lib.Items; +using Decimation.Lib.Util; using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; @@ -22,6 +23,7 @@ namespace Decimation.Content.Items.Potions item.useTime = 17; item.useTurn = true; item.useStyle = 2; + item.rare = Rarity.Blue.GetRarityValue(); } public override bool UseItem(Player player) diff --git a/Content/Items/Potions/EnchantedMushroom.cs b/Content/Items/Potions/EnchantedMushroom.cs index d2df288..bfac77a 100644 --- a/Content/Items/Potions/EnchantedMushroom.cs +++ b/Content/Items/Potions/EnchantedMushroom.cs @@ -1,4 +1,5 @@ using Decimation.Lib.Items; +using Decimation.Lib.Util; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -16,6 +17,7 @@ namespace Decimation.Content.Items.Potions protected override void InitPotion() { item.value = Item.buyPrice(0, 0, 15); + item.rare = Rarity.Blue.GetRarityValue(); } public override bool UseItem(Player player) diff --git a/Content/Items/Potions/GreaterAntidote.cs b/Content/Items/Potions/GreaterAntidote.cs index e598fc0..7f3af5e 100644 --- a/Content/Items/Potions/GreaterAntidote.cs +++ b/Content/Items/Potions/GreaterAntidote.cs @@ -1,5 +1,6 @@ using Decimation.Content.Buffs.Debuffs; using Decimation.Lib.Items; +using Decimation.Lib.Util; using Decimation.Lib.Util.Builder; using Terraria; using Terraria.ID; @@ -18,6 +19,7 @@ namespace Decimation.Content.Items.Potions item.width = 24; item.height = 26; + item.rare = Rarity.Orange.GetRarityValue(); } public override bool UseItem(Player player) diff --git a/Lib/Util/Builder/RecipeBuilder.cs b/Lib/Util/Builder/RecipeBuilder.cs index 040be8e..810e937 100644 --- a/Lib/Util/Builder/RecipeBuilder.cs +++ b/Lib/Util/Builder/RecipeBuilder.cs @@ -14,6 +14,7 @@ namespace Decimation.Lib.Util.Builder public RecipeBuilder(Mod mod, ModItem result, int resultQuantity = 1) { + _mod = mod; _result = result.item.type; _resultQuantity = resultQuantity; }