Files
CalamityModPublic/Items/Weapons/Rogue/ScourgeoftheDesert.cs
T

37 lines
1.0 KiB
C#

using CalamityMod.Projectiles.Rogue;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.Weapons.Rogue
{
public class ScourgeoftheDesert : RogueWeapon
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Scourge of the Desert");
Tooltip.SetDefault("Gains velocity over time");
}
public override void SafeSetDefaults()
{
item.width = 44;
item.damage = 16;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 20;
item.useStyle = 1;
item.useTime = 20;
item.knockBack = 3.5f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 44;
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
item.shoot = ModContent.ProjectileType<ScourgeoftheDesertProj>();
item.shootSpeed = 12f;
item.Calamity().rogue = true;
}
}
}