diff --git a/Items/Weapons/Ranged/BladedgeRailbow.cs b/Items/Weapons/Ranged/BladedgeRailbow.cs index c870e43a22..323cf7ae91 100644 --- a/Items/Weapons/Ranged/BladedgeRailbow.cs +++ b/Items/Weapons/Ranged/BladedgeRailbow.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Items.Weapons.Ranged { public new string LocalizationCategory => "Items.Weapons.Ranged"; + // TODO -- This is a List. It should be handled in the way the new Collections are handled. #region GFB Arrow Array public static int[] arrowArr = { @@ -80,7 +81,7 @@ namespace CalamityMod.Items.Weapons.Ranged ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), - ModContent.ProjectileType(), + ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), ModContent.ProjectileType(), diff --git a/Items/Weapons/Ranged/TheStorm.cs b/Items/Weapons/Ranged/TheStorm.cs index f5af9095f4..83e6dd9282 100644 --- a/Items/Weapons/Ranged/TheStorm.cs +++ b/Items/Weapons/Ranged/TheStorm.cs @@ -1,8 +1,6 @@ -using System; -using CalamityMod.Projectiles.Ranged; +using CalamityMod.Projectiles.Ranged; using CalamityMod.Rarities; using Microsoft.Xna.Framework; -using rail; using Terraria; using Terraria.Audio; using Terraria.DataStructures; @@ -35,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Ranged Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice; Item.rare = ModContent.RarityType(); Item.autoReuse = true; - Item.shoot = ModContent.ProjectileType(); + Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 12f; Item.useAmmo = AmmoID.Arrow; } @@ -64,11 +62,11 @@ namespace CalamityMod.Items.Weapons.Ranged if (CalamityUtils.CheckWoodenAmmo(type, player)) { - Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, ModContent.ProjectileType(), (int)(damage * (i == 0 ? 1.5f : 1f)), knockback, -1, i == 0 ? 5 : 0); + Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, ModContent.ProjectileType(), (int)(damage * (i == 0 ? 1.5f : 1f)), knockback, -1, i == 0 ? 5 : 0); } else { - Projectile arrow1 = Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, i == 0 ? ModContent.ProjectileType() : type, damage, knockback); + Projectile arrow1 = Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, i == 0 ? ModContent.ProjectileType() : type, damage, knockback); arrow1.noDropItem = true; arrow1.tileCollide = false; } diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson index aab4382c9a..cc99967c1b 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson @@ -26,7 +26,6 @@ BloodClotFriendly.DisplayName: Blood Clot BloodfireArrowProj.DisplayName: Bloodfire Arrow BloodfireBulletProj.DisplayName: Bloodfire Bullet BloodflareSoul.DisplayName: Blood Soul -Bolt.DisplayName: Storm Bolt BoltArrow.DisplayName: Bolt Arrow BouncingShotgunPellet.DisplayName: Shotgun Pellet BrimstoneBolt.DisplayName: Brimstone Bolt @@ -230,6 +229,7 @@ TheMaelstromExplosion.DisplayName: Reaper Explosion TheMaelstromShark.DisplayName: Reaper Shark ThePackMinissile.DisplayName: Pack Minissile ThePackMissile.DisplayName: Pack Missile +TheStormLightningShot.DisplayName: Storm Bolt TitaniumRailgunScope.DisplayName: Titanium Scope TitaniumRailgunShot.DisplayName: Titanium Decimator TorrentialArrow.DisplayName: Torrential Arrow diff --git a/Projectiles/Ranged/Bolt.png b/Projectiles/Ranged/Bolt.png deleted file mode 100644 index c9fe916dbf..0000000000 Binary files a/Projectiles/Ranged/Bolt.png and /dev/null differ diff --git a/Projectiles/Ranged/Bolt.cs b/Projectiles/Ranged/TheStormLightningShot.cs similarity index 96% rename from Projectiles/Ranged/Bolt.cs rename to Projectiles/Ranged/TheStormLightningShot.cs index 129044dc5f..afa4fbaed7 100644 --- a/Projectiles/Ranged/Bolt.cs +++ b/Projectiles/Ranged/TheStormLightningShot.cs @@ -1,15 +1,12 @@ -using CalamityMod.Buffs.DamageOverTime; -using CalamityMod.Dusts; -using CalamityMod.Particles; +using CalamityMod.Particles; using Microsoft.Xna.Framework; using Terraria; -using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Projectiles.Ranged { - public class Bolt : ModProjectile, ILocalizedModType + public class TheStormLightningShot : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Ranged"; public override string Texture => "CalamityMod/Projectiles/InvisibleProj";