diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index badf98688a..2c00f2978e 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -4,8 +4,6 @@ using System.Linq; using CalamityMod.Balancing; using CalamityMod.BiomeManagers; using CalamityMod.Buffs; -using CalamityMod.Buffs.Alcohol; -using CalamityMod.Buffs.Placeables; using CalamityMod.Buffs.StatBuffs; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.CalPlayer.Dashes; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 8a5e1c46bd..94c4afa24a 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Linq; using CalamityMod.Balancing; using CalamityMod.Buffs.DamageOverTime; -using CalamityMod.Buffs.Placeables; using CalamityMod.Buffs.StatBuffs; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Buffs.Summon; @@ -1521,18 +1520,7 @@ namespace CalamityMod.CalPlayer if (transformer && Player.Calamity().transformerCooldown == 0) // The code for this acursed thing took much... MUCH, too long to make { float zoneSize = 150; - // This is a visualizer used to easily see the area - /* - for (int i = 0; i < 13; i++) - { - Vector2 vel1 = new Vector2(zoneSize, 0).RotatedByRandom(100); - Vector2 vel2 = new Vector2(zoneSize, 0).RotatedByRandom(100); - Particle spark2 = new CustomSpark(Player.Center + vel1, -vel1 * 0.01f, "CalamityMod/Particles/GlowSquareParticle", false, 8, Main.rand.NextFloat(0.3f, 0.5f), Color.Cyan, new Vector2(2f, 1f), true, false, 0, false, false, -1.5f); - GeneralParticleHandler.SpawnParticle(spark2); - Particle spark = new CustomSpark(Player.Center + vel2, -vel2 * 0.01f, "CalamityMod/Particles/GlowSquareParticle", false, 8, Main.rand.NextFloat(0.3f, 0.5f), Color.Cyan, new Vector2(2f, 1f), true, false, 0, false, false, -1.5f); - GeneralParticleHandler.SpawnParticle(spark); - } - */ + // GFB changes are that projectiles slow and have lifetime decay when in the aura, also they can add charges way faster than normal, deal more damage the more you collect, and the number of blobs is uncapped for (int x = 0; x < Main.maxProjectiles; x++) { Projectile projectile = Main.projectile[x]; diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index f79bb50ed1..d51042e6e0 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -1875,8 +1875,8 @@ TheTransformer: { The globs encircle you and deal low damage and knockback to enemies they collide with The circle can contain up to 30 globs at once Press [KEY] to transform all globs into needles and launch them at your cursor - [c/1FFBFF:'What you hold now is an unstable blueprint of a substance far more potent.] - [c/1FFBFF:Though, perhaps the material instability of this matter can still be of service.'] + [c/1FFBFF:'What you hold now is an unstable blueprint of a substance far more potent.] REMOVE DRAEDON + [c/1FFBFF:Though, perhaps the material instability of this matter can still be of service.'] REMOVE DRAEDON ''' TooltipGFB: ''' @@ -1884,8 +1884,7 @@ TheTransformer: { The globs encircle you and deal low damage and knockback to enemies they collide with The circle has no limit to the number of globs it can hold, but your PC might Press [KEY] to transform all globs into needles and launch them at your cursor - [c/1FFBFF:'What IS this thing? How did you even make this?] - [c/1FFBFF:It looks like shit.'] + 'It's like catch and release if the release was a particle accelerator' ''' } diff --git a/Projectiles/Typeless/TransformerAura.cs b/Projectiles/Typeless/TransformerAura.cs index 362f2f852d..ded29e11c5 100644 --- a/Projectiles/Typeless/TransformerAura.cs +++ b/Projectiles/Typeless/TransformerAura.cs @@ -1,14 +1,10 @@ using System; using System.Collections.Generic; -using CalamityMod.Buffs.Summon; using CalamityMod.CalPlayer; using CalamityMod.Dusts; -using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; -using Terraria.Audio; -using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Projectiles.Typeless diff --git a/Projectiles/Typeless/TransformerBlob.cs b/Projectiles/Typeless/TransformerBlob.cs index ab3b3e17e8..39c7833fb6 100644 --- a/Projectiles/Typeless/TransformerBlob.cs +++ b/Projectiles/Typeless/TransformerBlob.cs @@ -1,15 +1,11 @@ using System; -using CalamityMod.Buffs.DamageOverTime; using CalamityMod.CalPlayer; using CalamityMod.Dusts; -using CalamityMod.Items.Weapons.Magic; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.Audio; -using Terraria.Graphics.Shaders; -using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Projectiles.Typeless @@ -33,7 +29,7 @@ namespace CalamityMod.Projectiles.Typeless public float rotSpeed = 1f; public int savedFrame = 0; public bool powered => Projectile.localAI[0] == 5; - public int poweredTimerMax => (int)(140 + (MathHelper.Clamp(Utils.Remap(Owner.ownedProjectileCounts[ModContent.ProjectileType()], 1, 30, 7, 6, false), 3, 7)) * Projectile.ai[1]); + public int poweredTimerMax = 140; public int poweredTimer = -1; public Color cl1 = Color.LightSkyBlue; public Color cl2 = Color.DodgerBlue; @@ -64,7 +60,8 @@ namespace CalamityMod.Projectiles.Typeless Lighting.AddLight(Projectile.Center, cl1.ToVector3() * 0.5f); sine = (float)Math.Sin(Main.GlobalTimeWrappedHourly * (Projectile.ai[1] % 2 == 0 ? 10 : 6) / MathHelper.Pi) * 0.4f; - + if (!powered) + poweredTimerMax = (int)(140 + (MathHelper.Clamp(Utils.Remap(Owner.ownedProjectileCounts[ModContent.ProjectileType()], 1, 30, 7, 6, false), 1, 120)) * Projectile.ai[1]); if (time == 0) { rotationAngle = Projectile.ai[2]; @@ -75,7 +72,7 @@ namespace CalamityMod.Projectiles.Typeless poweredTimer = poweredTimerMax; savedFrame = Projectile.frame; } - + if (time >= 40) { Projectile.frameCounter++; diff --git a/Projectiles/Typeless/TransformerBlob.png b/Projectiles/Typeless/TransformerBlob.png deleted file mode 100644 index 6c344374ca..0000000000 Binary files a/Projectiles/Typeless/TransformerBlob.png and /dev/null differ