From b6dc1803fb0846d1ecf40bc153ff1c090aec362a Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <142704082+CongratsIsTrash@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:01:48 -0400 Subject: [PATCH] Just realized I somehow fucked up the math and made the beam last 25 seconds instead of 15... --- Projectiles/Melee/PrismaticBeam.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projectiles/Melee/PrismaticBeam.cs b/Projectiles/Melee/PrismaticBeam.cs index 9eb22b1903..712cd1c434 100644 --- a/Projectiles/Melee/PrismaticBeam.cs +++ b/Projectiles/Melee/PrismaticBeam.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Projectiles.Melee public Player Owner => Main.player[Projectile.owner]; public override Color LaserOverlayColor => CalamityUtils.MulticolorLerp(Main.GlobalTimeWrappedHourly / ColorSet.Length % 1f, ColorSet); public override Color LightCastColor => LaserOverlayColor; - public override float Lifetime => 1500f; + public override float Lifetime => 900f; public override float MaxScale => 1.5f; public override float MaxLaserLength => 2200f; public override Texture2D LaserBeginTexture => ModContent.Request("CalamityMod/ExtraTextures/Lasers/UltimaRayStart", AssetRequestMode.ImmediateLoad).Value; @@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles.Melee Projectile.penetrate = -1; Projectile.tileCollide = false; Projectile.hide = true; - Projectile.timeLeft = 1500; + Projectile.timeLeft = 900; Projectile.usesLocalNPCImmunity = true; Projectile.localNPCHitCooldown = 10; }