From e29b36eb446c4f557a1f1f40964f74463bae7cdf Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Wed, 29 Jul 2026 19:45:45 +0700 Subject: [PATCH] Abandoned Slime Staff buff (!) nerfed the other guys a bit too --- Items/Weapons/Summon/AbandonedSlimeStaff.cs | 2 +- Items/Weapons/Summon/EntropysVigil.cs | 2 +- Items/Weapons/Summon/SandSharknadoStaff.cs | 2 +- Projectiles/Summon/AstrageldonLaser.cs | 7 ++---- Projectiles/Summon/AstrageldonSummon.cs | 25 ++++++++++++++++----- 5 files changed, 25 insertions(+), 13 deletions(-) diff --git a/Items/Weapons/Summon/AbandonedSlimeStaff.cs b/Items/Weapons/Summon/AbandonedSlimeStaff.cs index d64c3cd5e1..75d762aae0 100644 --- a/Items/Weapons/Summon/AbandonedSlimeStaff.cs +++ b/Items/Weapons/Summon/AbandonedSlimeStaff.cs @@ -55,7 +55,7 @@ namespace CalamityMod.Items.Weapons.Summon { player.AddBuff(Item.buffType, 2); CalamityUtils.KillShootProjectiles(true, type, player); - float damageMult = ((float)Math.Log(slimeSlots, 8f)) + 1f; + float damageMult = 0.8f + slimeSlots * 0.2f; var minion = Projectile.NewProjectileDirect(source, player.ClampedMouseWorld(), Vector2.Zero, type, (int)(damage * damageMult), knockback, player.whoAmI); minion.originalDamage = (int)(Item.damage * damageMult); minion.minionSlots = slimeSlots; diff --git a/Items/Weapons/Summon/EntropysVigil.cs b/Items/Weapons/Summon/EntropysVigil.cs index 3708030c8d..66ddde39a1 100644 --- a/Items/Weapons/Summon/EntropysVigil.cs +++ b/Items/Weapons/Summon/EntropysVigil.cs @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Summon { Item.width = 52; Item.height = 52; - Item.damage = 42; + Item.damage = 38; Item.DamageType = DamageClass.Summon; Item.buffType = ModContent.BuffType(); Item.shoot = ModContent.ProjectileType(); diff --git a/Items/Weapons/Summon/SandSharknadoStaff.cs b/Items/Weapons/Summon/SandSharknadoStaff.cs index 0ae1d31e90..c93805c979 100644 --- a/Items/Weapons/Summon/SandSharknadoStaff.cs +++ b/Items/Weapons/Summon/SandSharknadoStaff.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Summon { Item.width = 48; Item.height = 56; - Item.damage = 71; + Item.damage = 60; Item.knockBack = 2f; Item.mana = 10; diff --git a/Projectiles/Summon/AstrageldonLaser.cs b/Projectiles/Summon/AstrageldonLaser.cs index 6b5f11be8b..c21edfed24 100644 --- a/Projectiles/Summon/AstrageldonLaser.cs +++ b/Projectiles/Summon/AstrageldonLaser.cs @@ -23,11 +23,8 @@ namespace CalamityMod.Projectiles.Summon Projectile.friendly = true; Projectile.ignoreWater = true; Projectile.alpha = 255; - Projectile.penetrate = -1; - Projectile.timeLeft = 600; - Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = -2; - Projectile.extraUpdates = 1; + Projectile.MaxUpdates = 4; + Projectile.timeLeft = 180 * Projectile.MaxUpdates; Projectile.DamageType = DamageClass.Summon; } diff --git a/Projectiles/Summon/AstrageldonSummon.cs b/Projectiles/Summon/AstrageldonSummon.cs index c5a3c69c48..17e6e8a048 100644 --- a/Projectiles/Summon/AstrageldonSummon.cs +++ b/Projectiles/Summon/AstrageldonSummon.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Projectiles.Summon CalamityGlobalProjectile modProj = Projectile.Calamity(); //hitbox size scaling - float scale = (float)Math.Log(Projectile.minionSlots, 10f) + 1f; + float scale = 0.8f + Projectile.minionSlots * 0.2f; if (Projectile.scale != scale) Projectile.scale = scale; Projectile.width = (int)(64f * Projectile.scale); @@ -190,7 +190,7 @@ namespace CalamityMod.Projectiles.Summon { attackCounter += Main.rand.Next(1, 4); } - if (attackCounter > 300) + if (attackCounter > 240) { attackCounter = 0; Projectile.netUpdate = true; @@ -202,9 +202,24 @@ namespace CalamityMod.Projectiles.Summon attackCounter += 2; if (Main.myPlayer == Projectile.owner) { - Vector2 laserVel = Projectile.SafeDirectionTo(objectivepos) * laserSpeed; - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, laserVel, projType, Projectile.damage, 0f, Projectile.owner); - Projectile.netUpdate = true; + if (Main.rand.NextBool()) + { + for (int i = 0; i < 8; i++) + { + Vector2 circleVel = ((MathHelper.TwoPi * i / 8f) - MathHelper.ToRadians(67.5f)).ToRotationVector2() * laserSpeed; + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, circleVel, projType, Projectile.damage, 0f, Projectile.owner); + } + } + else + { + for (int i = 0; i < 5; i++) + { + Vector2 direction = Projectile.SafeDirectionTo(objectivepos); + Vector2 spreadPos = Projectile.Center + direction * Main.rand.NextFloat(1f, 4f) + direction.RotatedBy(MathHelper.PiOver2) * Main.rand.NextFloat(-16f, 16f); + Vector2 laserVel = direction * laserSpeed; + Projectile.NewProjectile(Projectile.GetSource_FromThis(), spreadPos, laserVel, projType, Projectile.damage, 0f, Projectile.owner); + } + } } } }