tModLoader Error CS1503 (1.4)

RADICALAdrift

Official Terrarian
Hi, Currently got these as errors for my Arrow Projectile(s)
CS1503.png

And the code here (essentially the same code so i wont paste it twice)
C:
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace OPDefense.Projectiles.Ranged
{
    public class GODArrowProjectile : ModProjectile
    {
        public override void SetStaticDefaults()
        {
            DisplayName.SetDefault("GOD's Projectile");
        }
        public override void SetDefaults()
        {
            Projectile.width = 8;
            Projectile.height = 8;
            Projectile.aiStyle = 1;
            Projectile.friendly = true;
            Projectile.hostile = false;
            Projectile.tileCollide = true;
            Projectile.ignoreWater = true;
            Projectile.DamageType = DamageClass.Ranged;
            Projectile.penetrate = 1;
            Projectile.timeLeft = 400;
            Projectile.light = 0.10f;
            AIType = 1;
        }
        public override void AI()
        {
            Lighting.AddLight(Projectile.Center, 0.9f, 0.4f, 0.4f);
            int dust = Dust.NewDust(Projectile.position, Projectile.width, Projectile.height, DustID.AncientLight);
            int dust2 = Dust.NewDust(Projectile.position, Projectile.width, Projectile.height, DustID.AncientLight);
            Main.dust[dust].velocity /= 30f;
            Main.dust[dust2].velocity /= 30f;
            Main.dust[dust].scale = 1f;
            Main.dust[dust2].scale = 1f;
        }
        public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
        {
            target.AddBuff(BuffID.OnFire, 510);
        }
        public override void Kill(int timeLeft)
        {//This section is where the error is coming from VV
            Projectile.NewProjectile(Projectile.position.X, Projectile.position.Y, 0, 0, ProjectileID.DeathSickle, (int)(Projectile.damage * 1.5), Projectile.knockBack, Main.myPlayer);
        }
    }
}

P.S the rest of the file seems good but feel free to suggest improvements etc if there are any
Thanks in advance,
Radical
 
Back
Top Bottom