Rename Bolt to TheStormLightningShot
This commit is contained in:
1 parent
cc8c15f0fa
commit
4e99f5ce31
5 files changed
+9
-13
No files matched your search
@@ -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<TelluricGlareArrow>(),
|
||||
ModContent.ProjectileType<BallistaGreatArrow>(),
|
||||
ModContent.ProjectileType<TheMaelstromShark>(),
|
||||
ModContent.ProjectileType<Bolt>(),
|
||||
ModContent.ProjectileType<TheStormLightningShot>(),
|
||||
ModContent.ProjectileType<ToxicArrow>(),
|
||||
ModContent.ProjectileType<UltimaBolt>(),
|
||||
ModContent.ProjectileType<UltimaRay>(),
|
||||
|
||||
@@ -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<Turquoise>();
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<Bolt>();
|
||||
Item.shoot = ModContent.ProjectileType<TheStormLightningShot>();
|
||||
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<Bolt>(), (int)(damage * (i == 0 ? 1.5f : 1f)), knockback, -1, i == 0 ? 5 : 0);
|
||||
Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, ModContent.ProjectileType<TheStormLightningShot>(), (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<Bolt>() : type, damage, knockback);
|
||||
Projectile arrow1 = Projectile.NewProjectileDirect(source, arrowSpawnPos, arrowVel, i == 0 ? ModContent.ProjectileType<TheStormLightningShot>() : type, damage, knockback);
|
||||
arrow1.noDropItem = true;
|
||||
arrow1.tileCollide = false;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 454 B |
@@ -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";
|
||||
Reference in new issue
Block a user