Files
CalamityModPublic/Items/Accessories/EtherealExtorter.cs
T
Critaquil c7eff82cf9 Ethereal Extorter Buff
- reverted the previous damage nerf back up to 20
- gave the souls 20 innate armor penetration
souls were getting 1% contribution prior to this and buffing it allows it to be useful for more than the few on-tier weapons it pairs particularly well with
2026-05-01 01:21:46 -04:00

31 lines
915 B
C#

using CalamityMod.CalPlayer;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Accessories
{
public class EtherealExtorter : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Accessories";
public static int soulDamage => 20;
public override void SetDefaults()
{
Item.width = 28;
Item.height = 32;
Item.accessory = true;
Item.value = Item.buyPrice(platinum: 1); // Sold by Bandit
Item.rare = ItemRarityID.Yellow;
}
public override void UpdateAccessory(Player player, bool hideVisual)
{
CalamityPlayer modPlayer = player.Calamity();
modPlayer.etherealExtorter = true;
player.GetDamage<ThrowingDamageClass>() += 0.08f;
modPlayer.rogueStealthMax += 0.05f;
}
}
}