From b4d7fffe3b652e35c7aec12d3a488bb1397cd8f5 Mon Sep 17 00:00:00 2001 From: sunny-raindrops Date: Wed, 28 Jan 2026 15:59:39 -0800 Subject: [PATCH] Various changes - Rebalanced Samsara Slicer and Anahita's Arppeggio - Added a firing sound for Auralis - Replaced Anahita's note summon with Arpeggio's final sound --- Items/Weapons/Magic/AnahitasArpeggio.cs | 2 +- Items/Weapons/Ranged/Auralis.cs | 3 ++- Items/Weapons/Rogue/SamsaraSlicer.cs | 4 +--- .../en-US/Mods.CalamityMod.Projectiles.Rogue.hjson | 2 +- NPCs/Leviathan/Anahita.cs | 5 ++--- Projectiles/Magic/AnahitasArpeggioNote.cs | 2 +- Projectiles/Rogue/SamsaraSlicerProjectile.cs | 9 +++++---- Projectiles/Rogue/SamsaraSlicerSmallDisk.cs | 3 ++- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Items/Weapons/Magic/AnahitasArpeggio.cs b/Items/Weapons/Magic/AnahitasArpeggio.cs index 41c4a57a81..a64e4316dd 100644 --- a/Items/Weapons/Magic/AnahitasArpeggio.cs +++ b/Items/Weapons/Magic/AnahitasArpeggio.cs @@ -23,7 +23,7 @@ namespace CalamityMod.Items.Weapons.Magic { Item.width = 56; Item.height = 50; - Item.damage = 65; + Item.damage = 60; Item.DamageType = DamageClass.Magic; Item.mana = 7; Item.useTime = 22; diff --git a/Items/Weapons/Ranged/Auralis.cs b/Items/Weapons/Ranged/Auralis.cs index 5445754757..f396e088ac 100644 --- a/Items/Weapons/Ranged/Auralis.cs +++ b/Items/Weapons/Ranged/Auralis.cs @@ -14,6 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged { public class Auralis : ModItem, ILocalizedModType { + public static readonly SoundStyle HeavyShotSound = new("CalamityMod/Sounds/Item/PlasmaRifleMain"); public new string LocalizationCategory => "Items.Weapons.Ranged"; public static readonly Color blueColor = new Color(0, 77, 255); public static readonly Color greenColor = new Color(0, 255, 77); @@ -33,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Ranged Item.useStyle = ItemUseStyleID.Shoot; Item.noMelee = true; - Item.UseSound = new SoundStyle("CalamityMod/Sounds/Item/StarfleetStar"); + Item.UseSound = HeavyShotSound with { Volume = 0.8f }; Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice; Item.rare = ModContent.RarityType(); Item.Calamity().donorItem = true; diff --git a/Items/Weapons/Rogue/SamsaraSlicer.cs b/Items/Weapons/Rogue/SamsaraSlicer.cs index a6cb2e84ef..a094442bb2 100644 --- a/Items/Weapons/Rogue/SamsaraSlicer.cs +++ b/Items/Weapons/Rogue/SamsaraSlicer.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue [LegacyName("TerraDisk")] public class SamsaraSlicer : RogueWeapon { - public static float Speed = 20f; + public static float Speed = 25f; public override void SetDefaults() { @@ -36,8 +36,6 @@ namespace CalamityMod.Items.Weapons.Rogue Item.shootSpeed = Speed; } - public override float StealthVelocityMultiplier => 1.5f; - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { if (player.ownedProjectileCounts[type] > 4) return false; diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson index d14ff208af..b5f6050477 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson @@ -225,7 +225,7 @@ RegulusRiotProj.DisplayName: Regulus Riot RotBallProjectile.DisplayName: Rot Ball SacrificeProjectile.DisplayName: Sacrificial Dagger SamsaraSlicerProjectile.DisplayName: Samsara Slicer -SamsaraSlicerSmallDisk.DisplayName: Samsara Slicer +SamsaraSlicerSmallDisk.DisplayName: Samsara Slicer Split SandDollarFrag.DisplayName: Sand Dollar Frag SandDollarProj.DisplayName: Sand Dollar SandDollarStealth.DisplayName: Sand Dollar Duststorm diff --git a/NPCs/Leviathan/Anahita.cs b/NPCs/Leviathan/Anahita.cs index c07457543b..5069afc176 100644 --- a/NPCs/Leviathan/Anahita.cs +++ b/NPCs/Leviathan/Anahita.cs @@ -761,9 +761,8 @@ namespace CalamityMod.NPCs.Leviathan totalProjectiles = 6; type = ModContent.ProjectileType(); damage = SongDamage; - float soundPitch = (Main.rand.NextFloat() - 0.5f) * 0.5f; - Main.musicPitch = soundPitch; - SoundEngine.PlaySound(SoundID.Item26, player.Center); + SoundStyle song = new("CalamityMod/Sounds/Item/HarpEnd"); + SoundEngine.PlaySound(song with { Volume = 0.6f }, player.Center); break; } NPC.localAI[3] += 1f; diff --git a/Projectiles/Magic/AnahitasArpeggioNote.cs b/Projectiles/Magic/AnahitasArpeggioNote.cs index f3c768f027..7f1ce0a0c8 100644 --- a/Projectiles/Magic/AnahitasArpeggioNote.cs +++ b/Projectiles/Magic/AnahitasArpeggioNote.cs @@ -174,7 +174,7 @@ namespace CalamityMod.Projectiles.Magic // Makes the notes slowly follow the mouse and rotate Vector2 centerPointDirection = (Owner.Calamity().mouseWorld - ReleaseCenterPoint).SafeNormalize(Vector2.Zero); - float distToMove = MathF.Min(2.75f, Vector2.Distance(Owner.Calamity().mouseWorld, ReleaseCenterPoint)); // The constant value is the maximum chase speed + float distToMove = MathF.Min(5.75f, Vector2.Distance(Owner.Calamity().mouseWorld, ReleaseCenterPoint)); // The constant value is the maximum chase speed ReleaseCenterPoint += centerPointDirection * distToMove; Projectile.Center += centerPointDirection * distToMove; Projectile.Center = ReleaseCenterPoint + Utils.DirectionTo(ReleaseCenterPoint, Projectile.Center).RotatedBy(MathHelper.Pi * 0.01f) * Vector2.Distance(ReleaseCenterPoint, Projectile.Center); diff --git a/Projectiles/Rogue/SamsaraSlicerProjectile.cs b/Projectiles/Rogue/SamsaraSlicerProjectile.cs index a17fdb7a5e..a56c2b4816 100644 --- a/Projectiles/Rogue/SamsaraSlicerProjectile.cs +++ b/Projectiles/Rogue/SamsaraSlicerProjectile.cs @@ -15,13 +15,14 @@ namespace CalamityMod.Projectiles.Rogue public new string LocalizationCategory => "Projectiles.Rogue"; public override string Texture => "CalamityMod/Items/Weapons/Rogue/SamsaraSlicer"; - public float ReboundVelocity => 20; + //These are the same number, but will be left as two seperate variables for future tuning purposes + public float ReboundVelocity => 30; public float StealthReboundVelocity => 30; public float StealthPauseTime => 55; - public int ReboundTime => 20; + public int ReboundTime => 30; - public int SmallDiskDamage => 8; - public int SmallDiskStealthDamage => 17; + public int SmallDiskDamage => 30; + public int SmallDiskStealthDamage => 19; public bool initialized = false; diff --git a/Projectiles/Rogue/SamsaraSlicerSmallDisk.cs b/Projectiles/Rogue/SamsaraSlicerSmallDisk.cs index 2b0fab8e3d..94be412dca 100644 --- a/Projectiles/Rogue/SamsaraSlicerSmallDisk.cs +++ b/Projectiles/Rogue/SamsaraSlicerSmallDisk.cs @@ -27,7 +27,8 @@ namespace CalamityMod.Projectiles.Rogue Projectile.aiStyle = -1; Projectile.DamageType = RogueDamageClass.Instance; Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = 3; + Projectile.localNPCHitCooldown = 5; + Projectile.ArmorPenetration = 20; } public override void AI()