Files
CalamityModPublic/Items/Weapons/Rogue/DukesDecapitator.cs
T
2019-10-27 15:23:49 -04:00

44 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Items;
using CalamityMod.Projectiles.Rogue;
namespace CalamityMod.Items.Weapons.Rogue
{
public class DukesDecapitator : RogueWeapon
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Duke's Decapitator");
Tooltip.SetDefault("Throws a hydro axe which shreds enemies when it comes into contact with them\n"
+"The faster it’s spinning, the more times it hits before disappearing\n"
+"Stealth Strikes make it emit short-ranged bubbles.");
}
public override void SafeSetDefaults()
{
item.width = 60;
item.height = 64;
item.damage = 90;
item.noMelee = true;
item.noUseGraphic = true;
item.autoReuse = true;
item.useAnimation = 30;
item.useStyle = 1;
item.useTime = 30;
item.knockBack = 2f;
item.UseSound = SoundID.Item1;
item.value = Item.buyPrice(0, 80, 0, 0);
item.rare = 8;
item.shoot = ModContent.ProjectileType<DukesDecapitatorProj>();
item.shootSpeed = 15f;
item.Calamity().rogue = true;
}
}
}