Files
CalamityModPublic/Items/CalamityCustomThrowingDamage/ProfanedTrident.cs
T

36 lines
1.1 KiB
C#

using Terraria;
using Terraria.ID;
namespace CalamityMod.Items.CalamityCustomThrowingDamage
{
public class ProfanedTrident : CalamityDamageItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Infernal Spear");
Tooltip.SetDefault("Throws a homing spear that explodes on enemy hits");
}
public override void SafeSetDefaults()
{
item.width = 72;
item.damage = 1500;
item.noMelee = true;
item.noUseGraphic = true;
item.useAnimation = 13;
item.useStyle = 1;
item.useTime = 13;
item.knockBack = 8f;
item.UseSound = SoundID.Item1;
item.autoReuse = true;
item.height = 72;
item.value = Item.buyPrice(1, 80, 0, 0);
item.rare = 10;
item.shoot = mod.ProjectileType("ProfanedTrident");
item.shootSpeed = 28f;
item.Calamity().rogue = true;
item.Calamity().postMoonLordRarity = 14;
}
}
}