using Decimation.Lib.Items;
using Terraria.ID;

namespace Decimation.Content.Projectiles
{
    internal class Pebble : DecimationProjectile
    {
        public override string Texture => "Decimation/Content/Items/Ammo/Pebble";

        public override void SetStaticDefaults()
		{
			DisplayName.SetDefault("Pebble");
		}		
        protected override void Init()
        {
            projectile.width = 10;
            projectile.height = 10;
            projectile.scale = 0.625f;
            projectile.aiStyle = 1;
            DamageType = DecimationWeapon.DamageType.Ranged;
            projectile.knockBack = 6;
            projectile.penetrate = 5;
            projectile.timeLeft = 600;
            projectile.alpha = 0;
            projectile.light = 0.5f;
            projectile.extraUpdates = 1;
            ProjectileID.Sets.TrailCacheLength[projectile.type] = 5;
            ProjectileID.Sets.TrailingMode[projectile.type] = 0;
            aiType = ProjectileID.WoodenArrowFriendly;
        }       
    }
}