diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index 793e618227..c6892dc2be 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2643,7 +2643,7 @@ namespace CalamityMod.CalPlayer } if (rBrain) { - if (!CalamityUtils.AnyProjectiles(ModContent.ProjectileType())) + if (!(CalamityUtils.AnyProjectiles(ModContent.ProjectileType()) || CalamityUtils.AnyProjectiles(ModContent.ProjectileType()))) { var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType())); int effectStrength = amalgam ? 3 : aBrain ? 2 : 1; diff --git a/Projectiles/Typeless/ShadeNimbusSpawner.cs b/Projectiles/Typeless/ShadeNimbusSpawner.cs index d8328507a0..2217a60dd5 100644 --- a/Projectiles/Typeless/ShadeNimbusSpawner.cs +++ b/Projectiles/Typeless/ShadeNimbusSpawner.cs @@ -45,13 +45,15 @@ namespace CalamityMod.Projectiles.Typeless // Spawn shade rain clouds out to the sides // Number of clouds and their damage scale based on what accessory in the upgrade path triggered it (damage is set when the spawner is created) - int cloudAmt = EffectStrength == 3f ? 10 : EffectStrength == 2f ? 6 : 4; - for (int c = -(cloudAmt / 2); c < cloudAmt / 2; c++) + if (Main.myPlayer == Projectile.owner) { - Vector2 cloudVelocity = Vector2.UnitX.RotatedByRandom(MathHelper.Pi / 72f) * Main.rand.NextFloat(4.5f, 11f); - cloudVelocity *= c < 0f ? -1f : 1f; - if (Main.myPlayer == Projectile.owner) + int cloudAmt = EffectStrength == 3f ? 11 : EffectStrength == 2f ? 7 : 5; + for (int c = -(cloudAmt - 1) / 2; c <= (cloudAmt - 1) / 2; c++) + { + Vector2 cloudVelocity = c == 0 ? Vector2.Zero : Vector2.UnitX.RotatedByRandom(MathHelper.Pi / 72f) * Main.rand.NextFloat(3f, 9.5f); + cloudVelocity *= c < 0f ? -1f : 1f; Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, cloudVelocity, ModContent.ProjectileType(), Projectile.damage, 0f, Main.myPlayer); + } } } }