Needs another review. Double checked everything but errors are not out of the question. Exos not being included in this is intentional since the player can effectively "choose" what drops they want.
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using CalamityMod.Items.Weapons.Rogue;
|
|
using CalamityMod.Items.Weapons.Summon;
|
|
using CalamityMod.Projectiles.Magic;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Weapons.Magic
|
|
{
|
|
public class Downpour : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Weapons.Magic";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.staff[Type] = true;
|
|
ItemID.Sets.ShimmerTransformToItem[Type] = ModContent.ItemType<DeepseaStaff>();
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 42;
|
|
Item.height = 42;
|
|
Item.damage = 50;
|
|
Item.DamageType = DamageClass.Magic;
|
|
Item.mana = 10;
|
|
Item.useTime = 15;
|
|
Item.useAnimation = 15;
|
|
Item.useStyle = ItemUseStyleID.Shoot;
|
|
Item.noMelee = true;
|
|
Item.knockBack = 3f;
|
|
Item.value = CalamityGlobalItem.RarityPinkBuyPrice;
|
|
Item.rare = ItemRarityID.Pink;
|
|
Item.UseSound = SoundID.Item13;
|
|
Item.autoReuse = true;
|
|
Item.shoot = ModContent.ProjectileType<Sandstream>();
|
|
Item.shootSpeed = 14f;
|
|
}
|
|
}
|
|
}
|