From e5bd5f46e17875220f35214f2ac7ee8d0fe511cb Mon Sep 17 00:00:00 2001 From: mochi-angel Date: Sat, 19 Oct 2024 13:16:24 -0700 Subject: [PATCH] Balancing --- Balancing/BalancingChangesManager.cs | 3 +++ Items/Weapons/Melee/GalactusBlade.cs | 2 +- Projectiles/Melee/GalacticaComet.cs | 7 +++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 567388ee37..a817445ab9 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -307,6 +307,9 @@ namespace CalamityMod.Balancing // 50% resist to true melee. NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), ResistTrueMelee(0.5f))); + // 50% resist to Galactus Blade. + NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.5f, ProjectileType()))); + // 40% resist to Stellar Torus Staff. NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.6f, ProjectileType()))); #endregion diff --git a/Items/Weapons/Melee/GalactusBlade.cs b/Items/Weapons/Melee/GalactusBlade.cs index 4cf3e5e047..6a56e3f9c5 100644 --- a/Items/Weapons/Melee/GalactusBlade.cs +++ b/Items/Weapons/Melee/GalactusBlade.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Melee { Item.width = 144; Item.height = 146; - Item.damage = 624; + Item.damage = 828; Item.DamageType = DamageClass.Melee; Item.useAnimation = 27; Item.useStyle = ItemUseStyleID.Swing; diff --git a/Projectiles/Melee/GalacticaComet.cs b/Projectiles/Melee/GalacticaComet.cs index ba77a3b37d..97d7e8eb92 100644 --- a/Projectiles/Melee/GalacticaComet.cs +++ b/Projectiles/Melee/GalacticaComet.cs @@ -70,6 +70,13 @@ namespace CalamityMod.Projectiles.Melee SoundEngine.PlaySound(SoundID.Item10, Projectile.position); } + public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) + { + if (Projectile.numHits > 0) + Projectile.damage = (int)(Projectile.damage * 0.9f); // 10% damage nerf for every enemy hit + if (Projectile.damage < 1) + Projectile.damage = 1; + } public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) {