Decimation_Mod/Content/Items/Weapons/Sling.cs
FyloZ 05149c4341 The bloody lunar tablet could be used at day time
Fixed the sling and the slingshot
Balanced the sling and the slingshot
2020-03-30 12:39:49 -04:00

31 lines
955 B
C#

using Decimation.Content.Items.Ammo;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Terraria.ID;
using Terraria.ModLoader;
using Terraria.ModLoader.Config;
namespace Decimation.Content.Items.Weapons
{
internal class Sling : DecimationWeapon
{
protected override string ItemName => "Sling";
protected override string ItemTooltip => "Uses pebbles and marbles as ammo";
protected override DamageType DamagesType => DamageType.Throw;
protected override int Damages => 9;
protected override string Ammo => "Pebble";
protected override void InitWeapon()
{
item.width = 30;
item.height = 22;
item.useTime = 25;
item.useAnimation = 25;
item.rare = Rarity.Orange.GetRarityValue();
item.shootSpeed = 7.5f;
item.crit = 10;
item.shoot = 1;
item.useTurn = false;
}
}
}