Files
CalamityModPublic/Items/Accessories/Regenator.cs
T
Andrew Marheine 40f81e6bb2 1 - Malice items are no longer challenge drops/legendary challenge drops.
2 - Malice items now drop on all modes.
3 - Malice item tooltip edited because it is now a pure challenge mode with no content gated behind it, except for Gael's Greatsword.
4 - Malice weapon damage reduced by 20%. They'll all require testing, but this was done to hopefully balance them on all modes a bit before that.
2022-01-11 22:17:51 -06:00

33 lines
881 B
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Accessories
{
public class Regenator : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Regenator");
Tooltip.SetDefault("Reduces max HP by 50% but greatly improves life regeneration");
}
public override void SetDefaults()
{
item.width = 34;
item.height = 56;
item.value = CalamityGlobalItem.Rarity7BuyPrice;
item.rare = ItemRarityID.Lime;
item.defense = 10;
item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.regenator = true;
}
}
}