Files
CalamityModPublic/Items/Weapons/Melee/AbyssBlade.cs
T
GinYuH fbc34b08ea organized tiles folder into biome subfolders
also the color corals now shimmer into each other

localization still needs to be reorganized
2024-10-25 01:06:20 -07:00

51 lines
1.6 KiB
C#

using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Abyss;
using CalamityMod.Projectiles.Melee;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Melee
{
public class AbyssBlade : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Weapons.Melee";
public static readonly SoundStyle SpinSound = new("CalamityMod/Sounds/Item/SpinningWoosh") { Volume = 0.65f };
public override void SetDefaults()
{
Item.width = 74;
Item.height = 74;
Item.damage = 140;
Item.knockBack = 7.5f;
Item.useTime = 65;
Item.useAnimation = 65;
Item.shoot = ModContent.ProjectileType<AbyssBladeProjectile>();
Item.shootSpeed = 3f;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.DamageType = DamageClass.Melee;
Item.useStyle = ItemUseStyleID.Shoot;
Item.UseSound = null;
Item.autoReuse = true;
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
Item.rare = ItemRarityID.Lime;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DepthCrusher>().
AddIngredient<Voidstone>(20).
AddIngredient<DepthCells>(20).
AddTile(TileID.MythrilAnvil).
Register();
}
}
}