Files
CalamityModPublic/Items/Accessories/VeneratedLocket.cs
T
2019-12-22 22:52:42 +00:00

35 lines
1.1 KiB
C#

using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
public class VeneratedLocket : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Venerated Locket");
Tooltip.SetDefault("10% damage rogue damage\n" +
"Using a rogue weapon summons a copy of the projectile that falls from the sky\n" +
"Stealth strikes cause a circular fan of seeking cosmilite knives to be thrown\n" +
"You'll never be alone, no matter where you go");
}
public override void SetDefaults()
{
item.width = 34;
item.height = 36;
item.value = Item.buyPrice(25, 0, 0, 0);
item.rare = 10;
item.Calamity().postMoonLordRarity = 14;
item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.Calamity().throwingDamage += 0.1f;
player.Calamity().veneratedLocket = true;
}
}
}