diff --git a/Items/Weapons/Melee/Mourningstar.cs b/Items/Weapons/Melee/Mourningstar.cs index 398cb93e78..5b68f062c5 100644 --- a/Items/Weapons/Melee/Mourningstar.cs +++ b/Items/Weapons/Melee/Mourningstar.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetStaticDefaults() { DisplayName.SetDefault("Mourningstar"); - Tooltip.SetDefault("Launches a solar whip sword and a solar particle trail that explodes on hit"); + Tooltip.SetDefault("Launches two solar whip swords that explode on hit"); } public override void SetDefaults() diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index ec2f315d52..9d190fe3e4 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -420,17 +420,17 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath float num1052 = revenge ? 0.12f : 0.1f; if ((double)npc.life < (double)npc.lifeMax * 0.8 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } if ((double)npc.life < (double)npc.lifeMax * 0.6 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } if ((double)npc.life < (double)npc.lifeMax * 0.4 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } @@ -852,17 +852,17 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath float num1052 = revenge ? 0.12f : 0.1f; if (npc.life < npc.lifeMax / 2 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } if (npc.life < npc.lifeMax / 3 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } if (npc.life < npc.lifeMax / 5 || death) { - npc.velocity *= 0.9f; + npc.velocity *= 0.98f; num1052 += 0.05f; } diff --git a/Projectiles/BaseProjectiles/BaseWhipProjectile.cs b/Projectiles/BaseProjectiles/BaseWhipProjectile.cs index d355a5ef7e..f6479045e9 100644 --- a/Projectiles/BaseProjectiles/BaseWhipProjectile.cs +++ b/Projectiles/BaseProjectiles/BaseWhipProjectile.cs @@ -296,7 +296,7 @@ namespace CalamityMod.Projectiles.BaseProjectiles { DelegateMethods.tilecut_0 = TileCuttingContext.AttackProjectile; Vector2 unit = projectile.velocity; - Utils.PlotTileLine(projectile.Center, projectile.Center + unit * projectile.localAI[1], projectile.width * projectile.scale, new Utils.PerLinePoint(DelegateMethods.CutTiles)); + Utils.PlotTileLine(projectile.Center, projectile.Center + unit, projectile.width * projectile.scale, new Utils.PerLinePoint(DelegateMethods.CutTiles)); } public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox) { @@ -304,8 +304,8 @@ namespace CalamityMod.Projectiles.BaseProjectiles { return true; } - float num8 = 0f; - if (Collision.CheckAABBvLineCollision(targetHitbox.TopLeft(), targetHitbox.Size(), projectile.Center, projectile.Center + projectile.velocity, 16f * projectile.scale, ref num8)) + float _ = 0f; + if (Collision.CheckAABBvLineCollision(targetHitbox.TopLeft(), targetHitbox.Size(), projectile.Center, projectile.Center + projectile.velocity, 16f * projectile.scale, ref _)) { return true; }