Yeah sure the THanos reticle can stay red
This commit is contained in:
1 parent
b10296f4f0
commit
b2e9ac7aff
1 file changed
+1
-1
@@ -1165,7 +1165,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
float reticleOpacity = Utils.GetLerpValue(auraRadius * 0.5f - 40f, auraRadius * 0.5f + 100f, targetHeadDistance, true);
|
||||
float reticleOffsetDistance = MathHelper.SmoothStep(300f, 0f, reticleOpacity);
|
||||
float reticleFadeToWhite = ((float)Math.Cos(Main.GlobalTimeWrappedHourly * 6.8f) * 0.5f + 0.5f) * reticleOpacity * 0.67f;
|
||||
Color reticleBaseColor = new Color(32, 0, 255, 127) * reticleOpacity;
|
||||
Color reticleBaseColor = new Color(255, 0, 0, 127) * reticleOpacity;
|
||||
Color reticleFlashBaseColor = Color.Lerp(reticleBaseColor, new Color(255, 255, 255, 0), reticleFadeToWhite) * reticleOpacity;
|
||||
Vector2 origin = leftReticleTexture.Size() * 0.5f;
|
||||
|
||||
|
||||
Reference in new issue
Block a user