Just realized I somehow fucked up the math and made the beam last 25 seconds instead of 15...

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2023-08-25 11:01:48 -04:00
1 parent edef441be0
commit b6dc1803fb
1 file changed
+2 -2
+2 -2
View File
@@ -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<Texture2D>("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;
}