Files
CalamityModPublic/Items/Accessories/CrownJewel.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

34 lines
973 B
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Accessories
{
public class CrownJewel : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Crown Jewel");
Tooltip.SetDefault("Boosts life regen even while under the effects of a damaging debuff\n" +
"While under the effects of a damaging debuff you will gain 8 defense");
}
public override void SetDefaults()
{
item.defense = 5;
item.width = 26;
item.height = 26;
item.value = CalamityGlobalItem.Rarity1BuyPrice;
item.rare = ItemRarityID.Blue;
item.accessory = true;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.crownJewel = true;
}
}
}