Ice spikes appear faster and decreased distance boost where he can use ice spikes

This commit is contained in:
CongratsIsTrash authored and Cameron Ewell committed 2025-06-17 11:43:34 -04:00
1 parent 7748392849
commit b3b4c46d49
2 files changed
+3 -3

No files matched your search

@@ -178,7 +178,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
{
// Deerclops must be this close to its target on the X axis to do the ice spike attack
// This distance increases at lower HP because the ice spikes get bigger
float iceSpikesDistanceGateValue = 120f + MathHelper.Lerp(0f, 120f, 1f - lifeRatio);
float iceSpikesDistanceGateValue = 120f + MathHelper.Lerp(0f, 60f, 1f - lifeRatio);
if (Math.Abs(distanceFromTarget2.X) < iceSpikesDistanceGateValue && useEitherIceSpikeAttack && npc.velocity.Y == 0f && npc.localAI[1] >= 2f)
{
npc.velocity.X = 0f;
+2 -2
View File
@@ -2096,7 +2096,7 @@ namespace CalamityMod.Projectiles
float dustVelocityMultiplier = 0.75f;
int numDust = 5;
int numDust2 = 5;
int fadeInTime = 50;
int fadeInTime = 25;
int fadeOutGateValue = death ? 90 : 65;
float killGateValue = death ? 100f : 75f;
int maxFrames = 5;
@@ -2131,7 +2131,7 @@ namespace CalamityMod.Projectiles
if (fadeIn)
{
projectile.Opacity += 0.02f;
projectile.Opacity += 0.04f;
if (projectile.Opacity > 1f)
projectile.Opacity = 1f;