From ff46e94de7e25a8640f130c67f06f77de94a5463 Mon Sep 17 00:00:00 2001 From: Xyk Date: Mon, 3 Aug 2026 20:28:46 -0700 Subject: [PATCH] Fixes --- Localization/en-US/Mods.CalamityMod.Vanilla.hjson | 4 ++-- Projectiles/CalamityGlobalProjectile.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index d823e02884..0fe39ada77 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -201,9 +201,9 @@ EditedTooltip: { ''' VolatileGelatin: ''' - Every 5 gelatin blobs that hit, a winged Volatile Slime will spawn, up to a max of 6 + Every 5 volatile gelatins that hit, a winged Volatile Slime will spawn, up to a max of 6 Each Volatile Slime provides 5% increased jump speed and 0.3 seconds of flight time - Running out of flight time will remove the Volatile Slime's wings and detatch them from you + Running out of flight time will remove the Volatile Slime's wings and detach them from you ''' /* Armor diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs index 6cd3578709..2b1a9a0db7 100644 --- a/Projectiles/CalamityGlobalProjectile.cs +++ b/Projectiles/CalamityGlobalProjectile.cs @@ -348,7 +348,7 @@ namespace CalamityMod.Projectiles projectile.Calamity().supercritHits = -1; } - if (projectile.type == ProjectileID.VolatileGelatinBall) + if (projectile.type == ProjectileID.VolatileGelatinBall && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin))) { projectile.DamageType = AverageDamageClass.Instance; projectile.usesIDStaticNPCImmunity = false; @@ -586,7 +586,7 @@ namespace CalamityMod.Projectiles } } - if (projectile.type == ProjectileID.VolatileGelatinBall) + if (projectile.type == ProjectileID.VolatileGelatinBall && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin))) { Player player = Main.player[projectile.owner]; if (projectile.timeLeft == 699 && projectile.FinalExtraUpdate() && player.Calamity().volatileGelatinVisuals) @@ -4797,7 +4797,7 @@ namespace CalamityMod.Projectiles if (forcedCrit) modifiers.SetCrit(); - if (projectile.type == ProjectileID.VolatileGelatinBall && player.volatileGelatin) + if (projectile.type == ProjectileID.VolatileGelatinBall && player.volatileGelatin && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin))) { target.AddBuff(BuffID.GelBalloonBuff, 180); @@ -5215,7 +5215,7 @@ namespace CalamityMod.Projectiles } #endregion - if (projectile.type == ProjectileID.VolatileGelatinBall && Main.player[projectile.owner].Calamity().volatileGelatinVisuals) + if (projectile.type == ProjectileID.VolatileGelatinBall && Main.player[projectile.owner].Calamity().volatileGelatinVisuals && projectile.GetSource_FromThis() == Main.player[projectile.owner].GetSource_Accessory(Main.player[projectile.owner].Calamity().FindAccessory(ItemID.VolatileGelatin))) { Texture2D texture = TextureAssets.Projectile[projectile.type].Value; float rate = (projectile.timeLeft * 0.05f);