1 - Removed Jellyfish Necklace and Shark Tooth Necklace from Deific Amulet recipe.

This commit is contained in:
Andrew Marheine committed 2020-12-12 05:15:05 -06:00
1 parent aace2376ba
commit 62f5172105
3 files changed
+6 -22

No files matched your search

-10
View File
@@ -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)
+4 -8
View File
@@ -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<Stardust>(), 25);
recipe.AddIngredient(ItemID.MeteoriteBar, 25);
recipe.AddIngredient(ModContent.ItemType<AstralBar>(), 10);
recipe.AddIngredient(ItemID.MeteoriteBar, 10);
recipe.AddTile(TileID.MythrilAnvil);
recipe.SetResult(this);
recipe.AddRecipe();
+2 -4
View File
@@ -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;
}