Files
CalamityModPublic/Items/Accessories/BloodyWormTooth.cs
T
Andrew Marheine d5a2c4963b 1 - Expert boss items are now dropped on all modes and no longer have the expert rarity or tag.
2 - Counter Scarf is no longer dropped by EoC and is now sold by the Clothier for 10 gold.
2022-01-14 22:32:02 -06:00

33 lines
977 B
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Accessories
{
public class BloodyWormTooth : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Bloody Worm Tooth");
Tooltip.SetDefault("5% increased damage reduction and increased melee stats\n" +
"10% increased damage reduction and melee stats when below 50% life");
}
public override void SetDefaults()
{
item.width = 12;
item.height = 15;
item.value = CalamityGlobalItem.Rarity3BuyPrice;
item.rare = ItemRarityID.Orange;
item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.bloodyWormTooth = true;
}
}
}