33 lines
750 B
C#
33 lines
750 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
using CalamityMod.Items;
|
|
|
|
namespace CalamityMod.Items.Weapons.FiniteUse
|
|
{
|
|
public class ExplosiveShells : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DisplayName.SetDefault("Explosive Shotgun Shell");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
item.damage = 30;
|
|
item.width = 18;
|
|
item.height = 18;
|
|
item.maxStack = 6;
|
|
item.consumable = true;
|
|
item.knockBack = 10f;
|
|
item.value = 15000;
|
|
item.rare = 8;
|
|
item.shoot = mod.ProjectileType("ExplosiveShellBullet");
|
|
item.shootSpeed = 12f;
|
|
item.ammo = mod.ItemType("ExplosiveShells");
|
|
}
|
|
}
|
|
} |