1 - Decreased Artemis and Apollo predictiveness.
2 - Artemis and Apollo swap phases a bit less often. 3 - Artemis and Apollo fire their regular projectiles less frequently. 4 - Artemis lasers move slower. 5 - Ares tesla orbs start off slower while in deathray spiral phase. 6 - Exo Mechs deal less damage with various projectiles. 7 - Decreased Wulfrum enemy velocity and acceleration.
This commit is contained in:
1 parent
092d92f56a
commit
de4dd87718
8 files changed
+71
-52
No files matched your search
@@ -367,14 +367,14 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
|
||||
// Phase 7 - 0, 1, 2
|
||||
|
||||
// Predictiveness
|
||||
float predictionAmt = malice ? 16f : death ? 12f : revenge ? 11f : expertMode ? 10f : 8f;
|
||||
float predictionAmt = malice ? 14f : death ? 12f : revenge ? 11f : expertMode ? 10f : 8f;
|
||||
if (nerfedAttacks)
|
||||
predictionAmt *= 0.5f;
|
||||
if (SecondaryAIState == (int)SecondaryPhase.Passive)
|
||||
predictionAmt *= 0.5f;
|
||||
|
||||
// Gate values
|
||||
float reducedTimeForGateValue = malice ? 60f : death ? 40f : revenge ? 30f : expertMode ? 20f : 0f;
|
||||
float reducedTimeForGateValue = malice ? 48f : death ? 32f : revenge ? 24f : expertMode ? 16f : 0f;
|
||||
float reducedTimeForGateValue_Berserk = reducedTimeForGateValue * 0.5f;
|
||||
float normalAttackTime = 360f - reducedTimeForGateValue;
|
||||
float berserkAttackTime = lastMechAlive ? 225f - reducedTimeForGateValue_Berserk : 270f - reducedTimeForGateValue_Berserk;
|
||||
@@ -817,7 +817,7 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo
|
||||
if (firingPlasma)
|
||||
{
|
||||
// Fire plasma
|
||||
float divisor = nerfedAttacks ? 60f : lastMechAlive ? 36f : 40f;
|
||||
float divisor = nerfedAttacks ? 60f : lastMechAlive ? 45f : 50f;
|
||||
float plasmaTimer = calamityGlobalNPC.newAI[3] - 2f;
|
||||
if (plasmaTimer % divisor == 0f && canFire)
|
||||
{
|
||||
|
||||
@@ -199,7 +199,7 @@ namespace CalamityMod.NPCs.ExoMechs.Ares
|
||||
Vector2 rotationVector = player.Center + predictionVector - npc.Center;
|
||||
|
||||
bool fireMoreOrbs = calamityGlobalNPC_Body.newAI[0] == (float)AresBody.Phase.Deathrays;
|
||||
float projectileVelocity = (passivePhase || fireMoreOrbs) ? 7.2f : 9f;
|
||||
float projectileVelocity = (passivePhase || fireMoreOrbs) ? 6f : 9f;
|
||||
if (lastMechAlive)
|
||||
projectileVelocity *= 1.2f;
|
||||
else if (berserk)
|
||||
|
||||
@@ -389,7 +389,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
// Phase 7 - 0, 1, 2
|
||||
|
||||
// Predictiveness
|
||||
float predictionAmt = malice ? 26f : death ? 22f : revenge ? 20f : expertMode ? 18f : 14f;
|
||||
float predictionAmt = malice ? 21f : death ? 18f : revenge ? 16.5f : expertMode ? 15f : 12f;
|
||||
if (AIState == (float)Phase.LaserShotgun)
|
||||
predictionAmt *= 1.5f;
|
||||
if (nerfedAttacks)
|
||||
@@ -398,7 +398,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
predictionAmt *= 0.5f;
|
||||
|
||||
// Gate values
|
||||
float reducedTimeForGateValue = malice ? 60f : death ? 40f : revenge ? 30f : expertMode ? 20f : 0f;
|
||||
float reducedTimeForGateValue = malice ? 48f : death ? 32f : revenge ? 24f : expertMode ? 16f : 0f;
|
||||
float reducedTimeForGateValue_Berserk = reducedTimeForGateValue * 0.5f;
|
||||
float normalAttackTime = 360f - reducedTimeForGateValue;
|
||||
float berserkAttackTime = lastMechAlive ? 225f - reducedTimeForGateValue_Berserk : 270f - reducedTimeForGateValue_Berserk;
|
||||
@@ -829,7 +829,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
if (firingLasers)
|
||||
{
|
||||
// Fire lasers
|
||||
float divisor = nerfedAttacks ? 60f : lastMechAlive ? 30f : 40f;
|
||||
float divisor = nerfedAttacks ? 60f : lastMechAlive ? 40f : 50f;
|
||||
float laserTimer = calamityGlobalNPC.newAI[3] - 2f;
|
||||
if (laserTimer % divisor == 0f && canFire)
|
||||
{
|
||||
@@ -842,7 +842,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
Vector2 laserVelocity = Vector2.Normalize(aimedVector);
|
||||
Vector2 projectileDestination = player.Center + predictionVector;
|
||||
Vector2 offset = laserVelocity * 70f;
|
||||
float setVelocityInAI = 10f;
|
||||
float setVelocityInAI = 7.5f;
|
||||
Projectile.NewProjectile(npc.Center + offset, projectileDestination, type, damage, 0f, Main.myPlayer, setVelocityInAI, npc.whoAmI);
|
||||
}
|
||||
}
|
||||
@@ -894,7 +894,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
int spread = malice ? 30 : death ? 26 : expertMode ? 21 : 15;
|
||||
float rotation = MathHelper.ToRadians(spread);
|
||||
float distanceFromTarget = Vector2.Distance(npc.Center, npc.Center + chargeVelocityNormalized * chargeDistance);
|
||||
float setVelocityInAI = 8f;
|
||||
float setVelocityInAI = 7.5f;
|
||||
|
||||
for (int i = 0; i < numLasersPerSpread + 1; i++)
|
||||
{
|
||||
@@ -1001,7 +1001,7 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis
|
||||
int spread = baseSpread + (int)(calamityGlobalNPC.newAI[2] / divisor2) * (baseSpread / 4);
|
||||
float rotation = MathHelper.ToRadians(spread);
|
||||
float distanceFromTarget = Vector2.Distance(npc.Center, player.Center + predictionVector);
|
||||
float setVelocityInAI = 8f;
|
||||
float setVelocityInAI = 7.5f;
|
||||
|
||||
for (int i = 0; i < numLasersPerSpread + 1; i++)
|
||||
{
|
||||
|
||||
@@ -4,7 +4,6 @@ using CalamityMod.Items.Placeables.Banners;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using System;
|
||||
using Microsoft.Xna.Framework;
|
||||
using System.IO;
|
||||
|
||||
@@ -15,6 +14,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
Searching = 0,
|
||||
Charging = 1
|
||||
}
|
||||
|
||||
public class WulfrumDrone : ModNPC
|
||||
{
|
||||
internal DroneAIState AIState
|
||||
@@ -22,16 +22,19 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
get => (DroneAIState)(int)npc.ai[0];
|
||||
set => npc.ai[0] = (int)value;
|
||||
}
|
||||
|
||||
public float HorizontalChargeTime
|
||||
{
|
||||
get => npc.ai[1];
|
||||
set => npc.ai[1] = value;
|
||||
}
|
||||
|
||||
public float Time
|
||||
{
|
||||
get => npc.ai[2];
|
||||
set => npc.ai[2] = value;
|
||||
}
|
||||
|
||||
public float SuperchargeTimer
|
||||
{
|
||||
get => npc.ai[3];
|
||||
@@ -40,8 +43,8 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
public bool Supercharged => SuperchargeTimer > 0;
|
||||
public ref float FlyAwayTimer => ref npc.localAI[0];
|
||||
|
||||
public const float TotalHorizontalChargeTime = 75f;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Wulfrum Drone");
|
||||
@@ -77,19 +80,19 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
Player player = Main.player[npc.target];
|
||||
|
||||
bool farFromPlayer = npc.Distance(player.Center) > 920f;
|
||||
bool farFromPlayer = npc.Distance(player.Center) > 960f;
|
||||
bool obstanceInFrontOfPlayer = !Collision.CanHitLine(npc.position, npc.width, npc.height, player.position, player.width, player.height);
|
||||
|
||||
if (npc.target < 0 || npc.target >= 255 || farFromPlayer || obstanceInFrontOfPlayer || player.dead || !player.active)
|
||||
{
|
||||
npc.TargetClosest(false);
|
||||
player = Main.player[npc.target];
|
||||
farFromPlayer = npc.Distance(player.Center) > 920f;
|
||||
farFromPlayer = npc.Distance(player.Center) > 960f;
|
||||
obstanceInFrontOfPlayer = !Collision.CanHit(npc.position, npc.width, npc.height, player.position, player.width, player.height);
|
||||
// Fly away if there is no living target, or the closest target is too far away.
|
||||
if (player.dead || !player.active || farFromPlayer || obstanceInFrontOfPlayer)
|
||||
{
|
||||
if (FlyAwayTimer > 480)
|
||||
if (FlyAwayTimer > 360)
|
||||
{
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, Vector2.UnitY * -8f, 0.1f);
|
||||
npc.rotation = npc.rotation.AngleTowards(0f, MathHelper.ToRadians(15f));
|
||||
@@ -120,7 +123,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
npc.direction = 1;
|
||||
|
||||
Vector2 destination = player.Center + new Vector2(300f * npc.direction, -90f);
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, npc.SafeDirectionTo(destination) * 8f, 0.1f);
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, npc.SafeDirectionTo(destination) * 6f, 0.1f);
|
||||
if (npc.Distance(destination) < 40f)
|
||||
{
|
||||
Time++;
|
||||
@@ -135,7 +138,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
else
|
||||
{
|
||||
if (HorizontalChargeTime < 25)
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, npc.SafeDirectionTo(player.Center) * 8f, 0.1f);
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, npc.SafeDirectionTo(player.Center) * 6f, 0.1f);
|
||||
|
||||
if (Supercharged && Main.netMode != NetmodeID.MultiplayerClient && HorizontalChargeTime % 30f == 29f)
|
||||
Projectile.NewProjectile(npc.Center + Vector2.UnitX * 6f * npc.spriteDirection, npc.SafeDirectionTo(player.Center, Vector2.UnitY) * 6f, ProjectileID.MartianTurretBolt, 14, 0f);
|
||||
@@ -149,6 +152,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
npc.netUpdate = true;
|
||||
}
|
||||
}
|
||||
|
||||
npc.spriteDirection = (npc.velocity.X < 0).ToDirectionInt();
|
||||
npc.rotation = npc.velocity.X / 25f;
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
public class WulfrumGyrator : ModNPC
|
||||
@@ -15,19 +16,22 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
get => npc.ai[0];
|
||||
set => npc.ai[0] = value;
|
||||
}
|
||||
|
||||
public float SuperchargeTimer
|
||||
{
|
||||
get => npc.ai[3];
|
||||
set => npc.ai[3] = value;
|
||||
}
|
||||
|
||||
public bool Supercharged => SuperchargeTimer > 0;
|
||||
|
||||
public const float PlayerTargetingThreshold = 90f;
|
||||
public const float PlayerSearchDistance = 500f;
|
||||
public const float StuckJumpPromptTime = 45f;
|
||||
public const float MaxMovementSpeedX = 8f;
|
||||
public const float JumpSpeed = -9f;
|
||||
public const float MaxMovementSpeedX = 6f;
|
||||
public const float JumpSpeed = -8f;
|
||||
public const float NPCGravity = 0.3f; // NPC.cs has this, but it's private, and there's no way in hell I'm using reflection.
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Wulfrum Gyrator");
|
||||
@@ -69,16 +73,17 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
if (Supercharged)
|
||||
{
|
||||
float chargeJumpSpeed = -14f;
|
||||
|
||||
float chargeJumpSpeed = -12f;
|
||||
float maxHeight = chargeJumpSpeed * chargeJumpSpeed * (float)Math.Pow(Math.Sin(npc.AngleTo(player.Center)), 2) / (4f * NPCGravity);
|
||||
bool jumpWouldHitPlayer = maxHeight > Math.Abs(player.Center.Y - npc.Center.Y) && maxHeight < Math.Abs(player.Center.Y - npc.Center.Y) + player.height;
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient && jumpWouldHitPlayer && npc.collideY && npc.velocity.Y == 0f)
|
||||
{
|
||||
npc.velocity.Y = chargeJumpSpeed;
|
||||
npc.netSpam = 0;
|
||||
npc.netUpdate = true;
|
||||
}
|
||||
|
||||
SuperchargeTimer--;
|
||||
}
|
||||
|
||||
@@ -89,6 +94,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
npc.netSpam = 0;
|
||||
npc.netUpdate = true;
|
||||
}
|
||||
|
||||
if (Collision.CanHitLine(player.position, player.width, player.height, npc.position, npc.width, npc.height) &&
|
||||
Math.Abs(player.Center.X - npc.Center.X) < PlayerSearchDistance &&
|
||||
Math.Abs(player.Center.X - npc.Center.X) > PlayerTargetingThreshold)
|
||||
@@ -121,30 +127,29 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
else
|
||||
TimeSpentStuck = 0f;
|
||||
|
||||
npc.velocity.X = MathHelper.Lerp(npc.velocity.X, MaxMovementSpeedX * npc.direction * (Supercharged ? 1.333f : 1f), Supercharged ? 0.025f : 0.015f);
|
||||
npc.velocity.X = MathHelper.Lerp(npc.velocity.X, MaxMovementSpeedX * npc.direction * (Supercharged ? 1.25f : 1f), Supercharged ? 0.02f : 0.0125f);
|
||||
Vector4 adjustedVectors = Collision.WalkDownSlope(npc.position, npc.velocity, npc.width, npc.height, NPCGravity);
|
||||
npc.position = adjustedVectors.XY();
|
||||
npc.velocity = adjustedVectors.ZW();
|
||||
}
|
||||
|
||||
private bool HoleAtPosition(float xPosition)
|
||||
{
|
||||
int tileWidth = npc.width / 16;
|
||||
xPosition = (int)(xPosition / 16f) - tileWidth;
|
||||
if (npc.velocity.X > 0)
|
||||
{
|
||||
xPosition += tileWidth;
|
||||
}
|
||||
|
||||
int tileY = (int)((npc.position.Y + npc.height) / 16f);
|
||||
for (int y = tileY; y < tileY + 2; y++)
|
||||
{
|
||||
for (int x = (int)xPosition; x < xPosition + tileWidth; x++)
|
||||
{
|
||||
if (Main.tile[x, y].active())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,35 +19,40 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
Slowdown = 2,
|
||||
SwoopDownward = 3
|
||||
}
|
||||
|
||||
public float StunTime;
|
||||
|
||||
internal HovercraftAIState AIState
|
||||
{
|
||||
get => (HovercraftAIState)(int)npc.ai[0];
|
||||
set => npc.ai[0] = (int)value;
|
||||
}
|
||||
|
||||
public float SubphaseTime
|
||||
{
|
||||
get => npc.ai[1];
|
||||
set => npc.ai[1] = value;
|
||||
}
|
||||
|
||||
public float SearchDirection
|
||||
{
|
||||
get => npc.ai[2];
|
||||
set => npc.ai[2] = value;
|
||||
}
|
||||
|
||||
public float SuperchargeTimer
|
||||
{
|
||||
get => npc.ai[3];
|
||||
set => npc.ai[3] = value;
|
||||
}
|
||||
|
||||
public bool Supercharged => SuperchargeTimer > 0;
|
||||
public ref float FlyAwayTimer => ref npc.localAI[0];
|
||||
|
||||
public const float StunTimeMax = 45f;
|
||||
public const float SearchXOffset = 345f;
|
||||
public const float SearchSpeed = 7f;
|
||||
public const float HoverSpeed = 5f;
|
||||
public const float TotalSubphaseTime = 110f;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Wulfrum Hovercraft");
|
||||
@@ -100,19 +105,19 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
Player player = Main.player[npc.target];
|
||||
|
||||
bool farFromPlayer = npc.Distance(player.Center) > 920f;
|
||||
bool farFromPlayer = npc.Distance(player.Center) > 960f;
|
||||
bool obstanceInFrontOfPlayer = !Collision.CanHitLine(npc.position, npc.width, npc.height, player.position, player.width, player.height);
|
||||
|
||||
if (npc.target < 0 || npc.target >= 255 || farFromPlayer || obstanceInFrontOfPlayer || player.dead || !player.active)
|
||||
{
|
||||
npc.TargetClosest(false);
|
||||
player = Main.player[npc.target];
|
||||
farFromPlayer = npc.Distance(player.Center) > 920f;
|
||||
farFromPlayer = npc.Distance(player.Center) > 960f;
|
||||
obstanceInFrontOfPlayer = !Collision.CanHit(npc.position, npc.width, npc.height, player.position, player.width, player.height);
|
||||
// Fly away if there is no living target, or the closest target is too far away.
|
||||
if (player.dead || !player.active || farFromPlayer || obstanceInFrontOfPlayer)
|
||||
{
|
||||
if (FlyAwayTimer > 150)
|
||||
if (FlyAwayTimer > 360)
|
||||
{
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, Vector2.UnitY * -8f, 0.1f);
|
||||
npc.rotation = npc.rotation.AngleTowards(0f, MathHelper.ToRadians(15f));
|
||||
@@ -163,15 +168,15 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
|
||||
npc.netUpdate = true;
|
||||
}
|
||||
if (AIState == HovercraftAIState.Searching ||
|
||||
AIState == HovercraftAIState.Hover)
|
||||
|
||||
if (AIState == HovercraftAIState.Searching || AIState == HovercraftAIState.Hover)
|
||||
{
|
||||
Vector2 destination = player.Center + new Vector2(SearchXOffset * SearchDirection, -160f);
|
||||
npc.velocity = npc.SafeDirectionTo(destination, Vector2.UnitY) * (Supercharged ? 8.5f : 6f);
|
||||
npc.velocity = npc.SafeDirectionTo(destination, Vector2.UnitY) * (Supercharged ? 7f : 5f);
|
||||
if (AIState == HovercraftAIState.Hover)
|
||||
{
|
||||
destination = player.Center + new Vector2(SearchXOffset * -SearchDirection, -160f);
|
||||
npc.velocity = npc.SafeDirectionTo(destination, Vector2.UnitY) * (Supercharged ? 7f : 5f);
|
||||
npc.velocity = npc.SafeDirectionTo(destination, Vector2.UnitY) * (Supercharged ? 5.5f : 4f);
|
||||
}
|
||||
|
||||
npc.rotation = npc.velocity.X / 16f;
|
||||
@@ -209,7 +214,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
npc.rotation = 0f;
|
||||
float swoopType = Supercharged ? TotalSubphaseTime - 40f : TotalSubphaseTime;
|
||||
float swoopSlowdownTime = Supercharged ? 10f : 45f;
|
||||
Vector2 swoopVelocity = Vector2.UnitY.RotatedBy(MathHelper.Pi * SubphaseTime / swoopType * -SearchDirection) * (Supercharged ? 13f : 10f);
|
||||
Vector2 swoopVelocity = Vector2.UnitY.RotatedBy(MathHelper.Pi * SubphaseTime / swoopType * -SearchDirection) * (Supercharged ? 11f : 8.5f);
|
||||
|
||||
SubphaseTime++;
|
||||
if (SubphaseTime < swoopSlowdownTime)
|
||||
@@ -222,7 +227,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
}
|
||||
swoopVelocity.Y *= 0.5f;
|
||||
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, swoopVelocity, 0.25f);
|
||||
npc.velocity = Vector2.Lerp(npc.velocity, swoopVelocity, 0.2f);
|
||||
|
||||
if (SubphaseTime >= swoopType)
|
||||
{
|
||||
@@ -231,8 +236,10 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
SubphaseTime = 0f;
|
||||
npc.netUpdate = true;
|
||||
}
|
||||
|
||||
npc.rotation = npc.velocity.X / 12f;
|
||||
}
|
||||
|
||||
npc.spriteDirection = (npc.velocity.X < 0).ToDirectionInt();
|
||||
}
|
||||
|
||||
@@ -241,6 +248,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
float pylonMult = NPC.AnyNPCs(ModContent.NPCType<WulfrumPylon>()) ? 5.5f : 1f;
|
||||
if (spawnInfo.playerSafe || spawnInfo.player.Calamity().ZoneSulphur)
|
||||
return 0f;
|
||||
|
||||
return SpawnCondition.OverworldDaySlime.Chance * (Main.hardMode ? 0.025f : 0.1f) * pylonMult;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ using System;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.NPCs.NormalNPCs
|
||||
{
|
||||
public class WulfrumRover : ModNPC
|
||||
@@ -16,10 +17,11 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
get => npc.ai[3];
|
||||
set => npc.ai[3] = value;
|
||||
}
|
||||
|
||||
public const float PlayerTargetingThreshold = 90f;
|
||||
public const float PlayerSearchDistance = 500f;
|
||||
public const float StuckJumpPromptTime = 90f;
|
||||
public const float MaxMovementSpeedX = 8f;
|
||||
public const float MaxMovementSpeedX = 6f;
|
||||
public bool Supercharged => SuperchargeTimer > 0;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -88,7 +90,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
}
|
||||
|
||||
npc.spriteDirection = -npc.direction;
|
||||
npc.velocity.X = MathHelper.Lerp(npc.velocity.X, MaxMovementSpeedX * npc.direction, 0.015f);
|
||||
npc.velocity.X = MathHelper.Lerp(npc.velocity.X, MaxMovementSpeedX * npc.direction, 0.0125f);
|
||||
}
|
||||
|
||||
public override float SpawnChance(NPCSpawnInfo spawnInfo)
|
||||
|
||||
+13
-13
@@ -787,22 +787,22 @@ namespace CalamityMod
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<SupremeCatastropheSlash>()), new int[] { 400, 600, 632, 648, 948 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaserBeamStart>()), new int[] { 450, 676, 712, 732, 1068 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloFireball>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloRocket>()), new int[] { 450, 676, 712, 732, 1068 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaserBeamStart>()), new int[] { 400, 600, 632, 648, 948 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloFireball>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloRocket>()), new int[] { 400, 600, 632, 648, 948 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosBeamStart>()), new int[] { 500, 752, 788, 808, 1182 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody1>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody2>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosTail>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody1>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody2>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosTail>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresBody>(), ModContent.ProjectileType<AresDeathBeamStart>()), new int[] { 500, 752, 788, 808, 1182 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<AresLaserBeamStart>()), new int[] { 450, 676, 712, 732, 1068 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresPlasmaFlamethrower>(), ModContent.ProjectileType<AresPlasmaFireball>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresTeslaCannon>(), ModContent.ProjectileType<AresTeslaOrb>()), new int[] { 350, 528, 556, 572, 834 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresBody>(), ModContent.ProjectileType<AresDeathBeamStart>()), new int[] { 450, 676, 712, 732, 1068 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<AresLaserBeamStart>()), new int[] { 400, 600, 632, 648, 948 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresPlasmaFlamethrower>(), ModContent.ProjectileType<AresPlasmaFireball>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresTeslaCannon>(), ModContent.ProjectileType<AresTeslaOrb>()), new int[] { 320, 480, 504, 532, 774 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresGaussNuke>(), ModContent.ProjectileType<AresGaussNukeProjectile>()), new int[] { 500, 752, 788, 808, 1182 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<EidolonWyrmHeadHuge>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 648, 948 } },
|
||||
|
||||
Reference in new issue
Block a user