Files
CalamityModPublic/Items/Accessories/EtherealExtorter.cs
T
doze-zoze 4e2b00fe8a Scuttler Jewel + Eth Extorter + bile fix
Extorter now spawns souls on hit properly, nerf to compensate

Scuttler Jewel no longer has a spawn timer but now uses static iframes. This has minimal net effect on tested weapons except Contaminated Bile, which i fixed seperately, but made them visually work more as expected.

Fixed Contaminated Bile marking all subprojectiles as stealth strikes
2026-04-09 15:44:47 -05: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 => 15;
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;
}
}
}