diff --git a/Projectiles/Summon/CryogenShieldIce.cs b/Projectiles/Summon/CryogenShieldIce.cs deleted file mode 100644 index 359e61a201..0000000000 --- a/Projectiles/Summon/CryogenShieldIce.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -namespace CalamityMod.Projectiles.Summon -{ - public class CryogenShieldIce : ModProjectile - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Icicle"); - ProjectileID.Sets.MinionShot[projectile.type] = true; - } - - public override void SetDefaults() - { - projectile.friendly = true; - projectile.width = 28; - projectile.height = 60; - projectile.minion = true; - projectile.minionSlots = 0f; - projectile.ignoreWater = false; - projectile.tileCollide = false; - } - - public override void AI() - { - Player player = Main.player[projectile.owner]; - - projectile.ai[1] += MathHelper.ToRadians(2f); - projectile.rotation = projectile.ai[1] + MathHelper.PiOver2; - - projectile.Center = player.Center + projectile.ai[1].ToRotationVector2() * 230f; - } - } -} diff --git a/Projectiles/Summon/CryogenShieldIce.png b/Projectiles/Summon/CryogenShieldIce.png deleted file mode 100644 index 8d93534e6c..0000000000 Binary files a/Projectiles/Summon/CryogenShieldIce.png and /dev/null differ diff --git a/Projectiles/Summon/SkeletalDragonChild.cs b/Projectiles/Summon/SkeletalDragonChild.cs index 0cae6fca8c..49c9b0bd64 100644 --- a/Projectiles/Summon/SkeletalDragonChild.cs +++ b/Projectiles/Summon/SkeletalDragonChild.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Projectiles.Summon Projectile mother = Main.projectile[(int)projectile.ai[0]]; - if (!mother.active) + if (!mother.active || mother.type != ModContent.ProjectileType()) { projectile.Kill(); return;