diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs
index 5af2578750..8cba5de028 100644
--- a/CalPlayer/CalamityPlayerMiscEffects.cs
+++ b/CalPlayer/CalamityPlayerMiscEffects.cs
@@ -1146,7 +1146,7 @@ namespace CalamityMod.CalPlayer
if (instance.timeLeft < 0)
{
handler.OnCompleted();
- if (handler.EndSound != null)
+ if (handler.EndSound != null && handler.ShouldPlayEndSound)
SoundEngine.PlaySound(handler.EndSound.GetValueOrDefault());
expiredCooldowns.Add(id);
}
@@ -3667,7 +3667,6 @@ namespace CalamityMod.CalPlayer
{
CooldownInstance durabilityCooldown = Player.AddCooldown(WulfrumRoverDriveDurability.ID, RoverDrive.ShieldDurabilityMax);
durabilityCooldown.timeLeft = RoverDriveShieldDurability;
- SoundEngine.PlaySound(RoverDrive.ActivationSound, Player.Center);
}
// Add light if this shield is currently active
diff --git a/Cooldowns/CooldownHandler.cs b/Cooldowns/CooldownHandler.cs
index 4fe1a63e97..f9d83b7837 100644
--- a/Cooldowns/CooldownHandler.cs
+++ b/Cooldowns/CooldownHandler.cs
@@ -49,6 +49,11 @@ namespace CalamityMod.Cooldowns
/// When the cooldown instance ends, this sound is played. Leave at null for no sound.
///
public virtual SoundStyle? EndSound => null;
+
+ ///
+ /// Set this to true to have the cooldown instance end sound play upon expiration. Defaults to true
+ ///
+ public virtual bool ShouldPlayEndSound => true;
#endregion
#region Display & Rendering
diff --git a/Cooldowns/LunicCorpsShieldCooldowns.cs b/Cooldowns/LunicCorpsShieldCooldowns.cs
index 8834314338..dbee30e4a1 100644
--- a/Cooldowns/LunicCorpsShieldCooldowns.cs
+++ b/Cooldowns/LunicCorpsShieldCooldowns.cs
@@ -90,6 +90,7 @@ namespace CalamityMod.Cooldowns
public override Color CooldownStartColor => Color.Lerp(ringColorLerpStart, ringColorLerpEnd, instance.Completion);
public override Color CooldownEndColor => Color.Lerp(ringColorLerpStart, ringColorLerpEnd, instance.Completion);
public override SoundStyle? EndSound => LunicCorpsHelmet.ActivationSound;
+ public override bool ShouldPlayEndSound => instance.player.Calamity().lunicCorpsSet;
public override void Tick() => instance.player.Calamity().playedLunicCorpsShieldSound = false;
// When the recharge period completes, grant 1 point of shielding immediately so the rest my refill normally.
diff --git a/Cooldowns/SpongeCooldowns.cs b/Cooldowns/SpongeCooldowns.cs
index 6484749021..b9429b1bac 100644
--- a/Cooldowns/SpongeCooldowns.cs
+++ b/Cooldowns/SpongeCooldowns.cs
@@ -90,6 +90,7 @@ namespace CalamityMod.Cooldowns
public override Color CooldownStartColor => Color.Lerp(ringColorLerpStart, ringColorLerpEnd, instance.Completion);
public override Color CooldownEndColor => Color.Lerp(ringColorLerpStart, ringColorLerpEnd, instance.Completion);
public override SoundStyle? EndSound => TheSponge.ActivationSound;
+ public override bool ShouldPlayEndSound => instance.player.Calamity().sponge;
public override void Tick() => instance.player.Calamity().playedSpongeShieldSound = false;
// When the recharge period completes, grant 1 point of shielding immediately so the rest my refill normally.
diff --git a/Cooldowns/WulfrumRoverDriveCooldowns.cs b/Cooldowns/WulfrumRoverDriveCooldowns.cs
index 894e7dd7f9..e4c6485992 100644
--- a/Cooldowns/WulfrumRoverDriveCooldowns.cs
+++ b/Cooldowns/WulfrumRoverDriveCooldowns.cs
@@ -98,6 +98,7 @@ namespace CalamityMod.Cooldowns
if (modPlayer.roverDrive)
modPlayer.RoverDriveShieldDurability = RoverDrive.ShieldDurabilityMax;
}
- public override SoundStyle? EndSound => null;
+ public override SoundStyle? EndSound => RoverDrive.ActivationSound;
+ public override bool ShouldPlayEndSound => instance.player.Calamity().roverDrive;
}
}
diff --git a/Items/Accessories/Purity.cs b/Items/Accessories/Purity.cs
index a0d2242d05..620e58a2c6 100644
--- a/Items/Accessories/Purity.cs
+++ b/Items/Accessories/Purity.cs
@@ -45,8 +45,8 @@ namespace CalamityMod.Items.Accessories
CreateRecipe().
AddIngredient().
AddIngredient().
- AddIngredient(4).
- AddIngredient(5).
+ AddIngredient(5).
+ AddIngredient(4).
AddTile(ModContent.TileType()).
Register();
}
diff --git a/Items/Accessories/RampartofDeities.cs b/Items/Accessories/RampartofDeities.cs
index 6ac921ae46..b3dfb4b051 100644
--- a/Items/Accessories/RampartofDeities.cs
+++ b/Items/Accessories/RampartofDeities.cs
@@ -58,7 +58,7 @@ namespace CalamityMod.Items.Accessories
AddIngredient(ItemID.FrozenShield).
AddIngredient().
AddIngredient(5).
- AddIngredient(5).
+ AddIngredient(4).
AddTile().
Register();
}
diff --git a/Items/Weapons/Rogue/UtensilPoker.cs b/Items/Weapons/Rogue/UtensilPoker.cs
index 1ace51a26d..dba6b5b87e 100644
--- a/Items/Weapons/Rogue/UtensilPoker.cs
+++ b/Items/Weapons/Rogue/UtensilPoker.cs
@@ -5,6 +5,7 @@ using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
+using CalamityMod.Particles;
namespace CalamityMod.Items.Weapons.Rogue
{
@@ -45,23 +46,23 @@ namespace CalamityMod.Items.Weapons.Rogue
}
else
{
- int utensil = ModContent.ProjectileType();
+ type = ModContent.ProjectileType();
double dmgMult = 1D;
float kbMult = 1f;
- switch (Main.rand.Next(3))
+ switch (counter)
{
case 0:
- utensil = ModContent.ProjectileType();
+ type = ModContent.ProjectileType();
dmgMult = 1.1;
kbMult = 2f;
break;
case 1:
- utensil = ModContent.ProjectileType();
+ type = ModContent.ProjectileType();
dmgMult = 1.2;
kbMult = 1f;
break;
case 2:
- utensil = ModContent.ProjectileType();
+ type = ModContent.ProjectileType();
dmgMult = 1D;
kbMult = 1f;
break;
@@ -70,7 +71,8 @@ namespace CalamityMod.Items.Weapons.Rogue
}
damage = (int)(damage * dmgMult);
knockback = knockback * kbMult;
- }
+
+ }
}
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
@@ -80,9 +82,8 @@ namespace CalamityMod.Items.Weapons.Rogue
int idx = Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI);
if (idx.WithinBounds(Main.maxProjectiles))
Main.projectile[idx].Calamity().stealthStrike = mp.StealthStrikeAvailable();
-
counter++;
- if (counter == 3)
+ if (counter >= 3)
counter = 0;
return false;
}
diff --git a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson
index d2815713ef..0f2df3541f 100644
--- a/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson
+++ b/Localization/en-US/Mods.CalamityMod.Items.Placeables.hjson
@@ -3930,70 +3930,98 @@ HardenedEutrophicSand: {
FireTurret: {
DisplayName: Fire Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Roasts nearby enemies with a flamethrower at full blast
+ Cannot attack while a boss is alive
+ '''
}
HostileFireTurret: {
DisplayName: Hostile Fire Turret
- Tooltip: ""
+ Tooltip: Roasts nearby players with a flamethrower at full blast
}
HostileIceTurret: {
DisplayName: Hostile Ice Turret
- Tooltip: ""
+ Tooltip: Lobs fragile ice mist bombs at nearby players
}
HostileLabTurret: {
DisplayName: Hostile Lab Turret
- Tooltip: ""
+ Tooltip: Shoots laser beams at nearby players
}
HostileLaserTurret: {
DisplayName: Hostile Laser Turret
- Tooltip: ""
+ Tooltip: Blasts nearby players with lightning-fast laser beams
}
HostileOnyxTurret: {
DisplayName: Hostile Onyx Turret
- Tooltip: ""
+ Tooltip: Shoots a shotgun spread of bullets at nearby players
}
HostilePlagueTurret: {
DisplayName: Hostile Plague Turret
- Tooltip: ""
+ Tooltip: Ejects homing plague missiles towards nearby players
}
HostileWaterTurret: {
DisplayName: Hostile Water Turret
- Tooltip: ""
+ Tooltip: Shoots high-speed water blasts at nearby players
}
IceTurret: {
DisplayName: Ice Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Lobs fragile ice mist bombs at nearby enemies
+ Cannot attack while a boss is alive
+ '''
}
LabTurret: {
DisplayName: Lab Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Shoots laser beams at nearby enemies
+ Cannot attack while a boss is alive
+ '''
}
LaserTurret: {
DisplayName: Laser Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Blasts nearby enemies with lightning-fast laser beams
+ Cannot attack while a boss is alive
+ '''
}
OnyxTurret: {
DisplayName: Onyx Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Shoots a shotgun spread of bullets at nearby enemies
+ Cannot attack while a boss is alive
+ '''
}
PlagueTurret: {
DisplayName: Plague Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Ejects homing plague missiles towards nearby enemies
+ Cannot attack while a boss is alive
+ '''
}
WaterTurret: {
DisplayName: Water Turret
- Tooltip: ""
+ Tooltip:
+ '''
+ Shoots high-speed water blasts at nearby enemies
+ Cannot attack while a boss is alive
+ '''
}
\ No newline at end of file
diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson
index d672b623a1..b75593716d 100644
--- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson
+++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson
@@ -1337,7 +1337,7 @@ UtensilPoker: {
DisplayName: Utensil Poker
Tooltip:
'''
- Fires random utensils in bursts of three
+ Fires utensils in bursts of three
Stealth strikes replace any utensil with a powerful butcher knife
'Space chickens, that is all'
'''