From fbbcaaee1a5d9d192dbfcd8d0e2a5ba5c701b261 Mon Sep 17 00:00:00 2001 From: Doze-Zoze Date: Sat, 3 May 2025 15:28:12 -0500 Subject: [PATCH] fixed issues --- .../en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson | 6 ++++-- .../en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson | 2 +- .../en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson | 7 ++++--- .../en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson | 2 +- .../en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson | 2 +- Projectiles/Magic/SanguineFlareProj.cs | 11 ----------- Projectiles/Typeless/ClaretCannonProj.cs | 11 ----------- 7 files changed, 11 insertions(+), 30 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson index c3281c7438..927906d00d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson @@ -753,7 +753,7 @@ SanguineFlare: { ''' Charges up a sanguine flare that gains power over time When striking an enemy, this flare causes a bloodsplosion and splits into blood orbs - Picking up these blood orbs reduces the duration of Potion Sickness + Picking up these blood orbs reduces the duration of [Potion Sickness] ''' } @@ -999,7 +999,9 @@ Viscera: { DisplayName: Viscera Tooltip: ''' - Fires a rapid barrage of piercing blood beams that heal you on enemy hit + Fires a rapid barrage of piercing blood beams + The first enemy struck by each beam will burst into blood orbs + Picking up these blood orbs reduces the duration of [Potion Sickness] Each successive beam in the barrage deals more damage The last beam of the barrage instead explodes upon hitting an enemy ''' diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index 51182e117f..4e7f11d90c 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -1361,7 +1361,7 @@ TheMutilator: { ''' Striking enemies empowers The Mutilator, increasing its damage At full charge, striking enemies causes a blood orb explosion - Picking up these blood orbs reduces the duration of Potion Sickness + Picking up these blood orbs reduces the duration of [Potion Sickness] ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson index d1821b8880..b758d92ecd 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson @@ -115,7 +115,7 @@ ArterialAssault: { ''' Fires a group of 5 homing blood arrows These blood arrows burst into blood orbs upon striking an enemy - Picking up these blood orbs reduces the duration of Potion Sickness + Picking up these blood orbs reduces the duration of [Potion Sickness] ''' } @@ -202,9 +202,10 @@ BloodBoiler: { DisplayName: Blood Boiler Tooltip: ''' - Fires twin streams of life stealing bloodfire that returns to you + Fires twin streams of bloodfire that returns to you + Retuning bloodfire reduces [Potion Sickness] if it struck an enemy Uses your health as ammo - 40% chance to save health + 20% chance to save health ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson index 0f45c1dca0..cc686427ce 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson @@ -86,7 +86,7 @@ BloodsoakedCrasher: { Throws a bloody axe that is affected by gravity and can bounce twice The axe speeds up over time, but will slow down upon hitting an enemy Spews blood orbs upon enemy hits - Picking up these blood orbs reduces the duration of Potion Sickness + Picking up these blood orbs reduces the duration of [Potion Sickness] Stealth strikes spawn homing blood bolts on hit ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson index b9d505cc19..a3751a23b3 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Summon.hjson @@ -293,7 +293,7 @@ DragonbloodDisgorger: { ''' Summons a skeletal dragon and her two children Baby spits burst into blood orbs upon hitting an enemy - Picking up these blood orbs reduces the duration of Potion Sickness + Picking up these blood orbs reduces the duration of [Potion Sickness] Requires 6 minion slots to be summoned There can only be one family at a time ''' diff --git a/Projectiles/Magic/SanguineFlareProj.cs b/Projectiles/Magic/SanguineFlareProj.cs index 589fb92147..2f9ddfab3f 100644 --- a/Projectiles/Magic/SanguineFlareProj.cs +++ b/Projectiles/Magic/SanguineFlareProj.cs @@ -180,17 +180,6 @@ namespace CalamityMod.Projectiles.Magic Main.EntitySpriteDraw(lightTexture, drawPosition, null, innerColor, 0f, lightTexture.Size() * 0.5f, innerScale * 1.25f, SpriteEffects.None, 0); } } - - - /*if (Main.rand.NextBool(6) && Projectile.ai[1] == 0f) - { - Color smokeColor = Main.rand.NextBool() ? Color.Red : Color.Firebrick; - Vector2 smokePosition = Projectile.Center + Main.rand.NextVector2Circular(5 + Time * 0.3f, 5 + Time * 0.3f); - float smokeScale = Main.rand.NextFloat(0.5f, 1.6f); - float smokeOpacity = 170 + -Time * 0.6f; - Particle smoke = new MediumMistParticle(smokePosition, Vector2.Zero, smokeColor, Color.Black, smokeScale, smokeOpacity, Main.rand.NextFloat(0.2f, -0.2f)); - GeneralParticleHandler.SpawnParticle(smoke); - }*/ return false; } } diff --git a/Projectiles/Typeless/ClaretCannonProj.cs b/Projectiles/Typeless/ClaretCannonProj.cs index 06276d5180..9866a37afc 100644 --- a/Projectiles/Typeless/ClaretCannonProj.cs +++ b/Projectiles/Typeless/ClaretCannonProj.cs @@ -16,11 +16,6 @@ namespace CalamityMod.Projectiles.Typeless public class ClaretCannonProj : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Typeless"; - public override void SetStaticDefaults() - { - ProjectileID.Sets.TrailCacheLength[Type] = 10; - ProjectileID.Sets.TrailingMode[Type] = 0; - } public override void SetDefaults() { @@ -82,11 +77,5 @@ namespace CalamityMod.Projectiles.Typeless Particle bloodsplosion2 = new CustomPulse(Projectile.Center, Vector2.Zero, new Color(255, 32, 32), "CalamityMod/Particles/DustyCircleHardEdge", Vector2.One, Main.rand.NextFloat(-15f, 15f), 0.03f * particleScale / 5f, 0.155f * particleScale / 5f, 40); GeneralParticleHandler.SpawnParticle(bloodsplosion2); } - - public override bool PreDraw(ref Color lightColor) - { - //CalamityUtils.DrawAfterimagesCentered(Projectile, ProjectileID.Sets.TrailingMode[Type], lightColor, 1); - return true; - } } }