From 62f5172105d77afeb4bc2f7bab559741bb4f261f Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Sat, 12 Dec 2020 05:15:05 -0600 Subject: [PATCH] 1 - Removed Jellyfish Necklace and Shark Tooth Necklace from Deific Amulet recipe. --- CalPlayer/CalamityPlayerMiscEffects.cs | 10 ---------- Items/Accessories/DeificAmulet.cs | 12 ++++-------- Items/Accessories/RampartofDeities.cs | 6 ++---- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 3b8005d87b..6a2561c517 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -1306,15 +1306,6 @@ namespace CalamityMod.CalPlayer light[1] += 3f; light[2] += 0f; } - if (modPlayer.dAmulet) - { - if (player.IsUnderwater()) - { - light[0] += 1.35f; - light[1] += 0.3f; - light[2] += 0.9f; - } - } if (modPlayer.forbiddenCirclet) { light[0] += 0.8f; @@ -3192,7 +3183,6 @@ namespace CalamityMod.CalPlayer { player.panic = true; player.pStone = true; - player.armorPenetration += modPlayer.rampartOfDeities ? 20 : 10; } if (modPlayer.fBulwark) diff --git a/Items/Accessories/DeificAmulet.cs b/Items/Accessories/DeificAmulet.cs index 9ff6f4fb86..cec139a928 100644 --- a/Items/Accessories/DeificAmulet.cs +++ b/Items/Accessories/DeificAmulet.cs @@ -1,5 +1,5 @@ using CalamityMod.CalPlayer; -using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -13,8 +13,7 @@ namespace CalamityMod.Items.Accessories DisplayName.SetDefault("Deific Amulet"); Tooltip.SetDefault("Taking damage makes you move very fast for a short time\n" + "Causes stars to fall and gives increased immune time when damaged\n" + - "Increases armor penetration by 10 and reduces the cooldown of healing potions\n" + - "Provides light underwater and provides a small amount of light in the abyss"); + "Reduces the cooldown of healing potions\n"); } public override void SetDefaults() @@ -30,7 +29,6 @@ namespace CalamityMod.Items.Accessories { CalamityPlayer modPlayer = player.Calamity(); modPlayer.dAmulet = true; - modPlayer.jellyfishNecklace = true; player.longInvince = true; } @@ -38,12 +36,10 @@ namespace CalamityMod.Items.Accessories { ModRecipe recipe = new ModRecipe(mod); recipe.AddIngredient(ItemID.CharmofMyths); - recipe.AddIngredient(ItemID.JellyfishNecklace); recipe.AddIngredient(ItemID.PanicNecklace); - recipe.AddIngredient(ItemID.SharkToothNecklace); recipe.AddIngredient(ItemID.StarVeil); - recipe.AddIngredient(ModContent.ItemType(), 25); - recipe.AddIngredient(ItemID.MeteoriteBar, 25); + recipe.AddIngredient(ModContent.ItemType(), 10); + recipe.AddIngredient(ItemID.MeteoriteBar, 10); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/Items/Accessories/RampartofDeities.cs b/Items/Accessories/RampartofDeities.cs index f0c8a40c0d..d9d0b4fc39 100644 --- a/Items/Accessories/RampartofDeities.cs +++ b/Items/Accessories/RampartofDeities.cs @@ -15,8 +15,7 @@ namespace CalamityMod.Items.Accessories DisplayName.SetDefault("Rampart of Deities"); Tooltip.SetDefault("Taking damage grants boosted movement speed for a short time\n" + "Causes stars to fall and gives increased immune time when damaged\n" + - "Increases armor penetration by 20 and reduces the cooldown of healing potions\n" + - "Provides light underwater and provides a small amount of light in the abyss\n" + + "Reduces the cooldown of healing potions\n" + "Absorbs 25% of damage done to players on your team\n" + "This effect is only active above 25% life\n" + "Grants immunity to knockback\n" + @@ -41,7 +40,7 @@ namespace CalamityMod.Items.Accessories { foreach (TooltipLine line2 in list) { - if (line2.mod == "Terraria" && line2.Name == "Tooltip9") + if (line2.mod == "Terraria" && line2.Name == "Tooltip8") { line2.text = ""; } @@ -55,7 +54,6 @@ namespace CalamityMod.Items.Accessories modPlayer.dAmulet = true; modPlayer.rampartOfDeities = true; modPlayer.fBulwark = true; - modPlayer.jellyfishNecklace = true; player.longInvince = true; }