2 - Aquatic Scourge telegraphs the spin by turning brownish over time before doing it. 3 - Reduced Sentinel, post-Provi Bloodstone bosses and Polter HP by 35%. 4 - Reduced post-ML Aureus HP by 25% because I forgot last time. 5 - Draconic Swarmers spawn more often.
55 lines
1.6 KiB
C#
55 lines
1.6 KiB
C#
using CalamityMod.Items.Materials;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Tools
|
|
{
|
|
public class BlossomPickaxe : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Blossom Pickaxe");
|
|
Tooltip.SetDefault("Can mine Auric Ore");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.damage = 60;
|
|
item.melee = true;
|
|
item.width = 50;
|
|
item.height = 52;
|
|
item.useTime = 5;
|
|
item.useAnimation = 10;
|
|
item.useTurn = true;
|
|
item.pick = 275;
|
|
item.useStyle = ItemUseStyleID.SwingThrow;
|
|
item.knockBack = 6.5f;
|
|
item.value = CalamityGlobalItem.Rarity12BuyPrice;
|
|
item.rare = ItemRarityID.Purple;
|
|
item.UseSound = SoundID.Item1;
|
|
item.autoReuse = true;
|
|
item.tileBoost += 6;
|
|
item.Calamity().customRarity = CalamityRarity.Turquoise;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
ModRecipe recipe = new ModRecipe(mod);
|
|
recipe.AddIngredient(ModContent.ItemType<UeliaceBar>(), 7);
|
|
recipe.AddTile(TileID.LunarCraftingStation);
|
|
recipe.SetResult(this);
|
|
recipe.AddRecipe();
|
|
}
|
|
|
|
public override void MeleeEffects(Player player, Rectangle hitbox)
|
|
{
|
|
if (Main.rand.NextBool(5))
|
|
{
|
|
int dust = Dust.NewDust(new Vector2(hitbox.X, hitbox.Y), hitbox.Width, hitbox.Height, 75);
|
|
}
|
|
}
|
|
}
|
|
}
|