Decimation_Mod/Content/Items/Accessories/NecrosisStone.cs
FyloZ 884e67c5e2 Updated some potions's sprite.
Changed buy price to sell price.
2020-07-09 18:03:44 -04:00

28 lines
848 B
C#

using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Terraria;
namespace Decimation.Content.Items.Accessories
{
internal class NecrosisStone : DecimationAccessory
{
protected override string ItemName => "Necrosis Stone";
protected override string ItemTooltip =>
"This stone breathes life into once deceased creatures\nReduces respawn time by 50%";
protected override void InitAccessory()
{
item.width = 32;
item.height = 32;
item.rare = Rarity.Rainbow.GetRarityValue();
item.value = Item.sellPrice(gold: 5);
item.expert = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
player.GetModPlayer<DecimationPlayer>().necrosisStoneEquipped = true;
}
}
}