Average bangle dps (before dmg buffs) BKB 12.4 -> 8 Proto 19.7 -> 17 Batho 45 -> 20 At full charge, sea spirit DPS from (before dmg boosts) 35 -> 17 Nerf to Polarizer lifesteal, 1.5x to 1.75x (6.8 hp/s vs 8) Amalgam 4x to 3x debuff dmg
40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
using CalamityMod.CalPlayer;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Accessories
|
|
{
|
|
public class ProtolithBangle : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Accessories";
|
|
public static int cooldown = 420;
|
|
public static int damage = 60;
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 34;
|
|
Item.height = 34;
|
|
Item.value = CalamityGlobalItem.RarityGreenBuyPrice;
|
|
Item.rare = ItemRarityID.Green;
|
|
Item.accessory = true;
|
|
}
|
|
public override void UpdateAccessory(Player player, bool hideVisual)
|
|
{
|
|
CalamityPlayer modPlayer = player.Calamity();
|
|
modPlayer.protolithBangle = true;
|
|
modPlayer.protolithBangleVisual = !hideVisual;
|
|
}
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<BlackGlassBand>().
|
|
AddRecipeGroup("Boss2Material", 15).
|
|
AddIngredient(ItemID.Marble, 45).
|
|
AddIngredient(ItemID.Ruby, 3).
|
|
AddIngredient(ItemID.Lens, 5).
|
|
AddTile(TileID.Anvils).
|
|
Register();
|
|
}
|
|
}
|
|
}
|