Rev+ Master Twins done, Destroyer is also done btw
This commit is contained in:
1 parent
38d4aabdf1
commit
ea2142db64
2 files changed
+12
-6
No files matched your search
@@ -1624,6 +1624,12 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (canHit)
|
||||
{
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), spazmatismFlamethrowerPos + flamethrowerVelocity.SafeNormalize(Vector2.UnitY) * 25f, flamethrowerVelocity, type, damage, 0f, Main.myPlayer);
|
||||
if (masterMode && npc.ai[3] % 30f == 0f)
|
||||
{
|
||||
type = npc.ai[3] % 60f == 0f ? ModContent.ProjectileType<ShadowflameFireball>() : ProjectileID.CursedFlameHostile;
|
||||
damage = npc.GetProjectileDamage(type);
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), spazmatismFlamethrowerPos + flamethrowerVelocity.SafeNormalize(Vector2.UnitY) * 25f, flamethrowerVelocity * 2f, type, damage, 0f, Main.myPlayer);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1670,8 +1676,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
|
||||
// Set rotation and velocity
|
||||
npc.rotation = spazmatismRotation;
|
||||
float spazmatismPhase2ChargeSpeed = 16.75f + (death ? 5f * ((phase2LifeRatio - lifeRatio) / phase2LifeRatio) : 0f);
|
||||
spazmatismPhase2ChargeSpeed += 8f * enrageScale;
|
||||
float spazmatismPhase2ChargeSpeed = 18f + (death ? 5f * ((phase2LifeRatio - lifeRatio) / phase2LifeRatio) : 0f);
|
||||
spazmatismPhase2ChargeSpeed += 16f * enrageScale;
|
||||
if (Main.getGoodWorld)
|
||||
spazmatismPhase2ChargeSpeed *= 1.2f;
|
||||
|
||||
|
||||
@@ -79,10 +79,10 @@ namespace CalamityMod.Projectiles.Boss
|
||||
return;
|
||||
}
|
||||
|
||||
Vector2 maxVelocity = new Vector2(death ? 15f : 12f, death ? 15f : 12f);
|
||||
float maxAcceleration = death ? 0.5f : 0.4f;
|
||||
Vector2 maxVelocity = new Vector2(death ? 13.2f : 12f, death ? 13.2f : 12f);
|
||||
float maxAcceleration = death ? 0.44f : 0.4f;
|
||||
float timeBeforeHoming = death ? 30f : 45f;
|
||||
float distanceAboveTargetBeforeHomingDownward = death ? 320f : 480f;
|
||||
float distanceAboveTargetBeforeHomingDownward = death ? 400f : 480f;
|
||||
float explodeDistance = 16f;
|
||||
if (Projectile.ai[0] == 0f)
|
||||
{
|
||||
@@ -167,7 +167,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
|
||||
// Fly away from other lasers
|
||||
float pushForce = death ? 0.12f : 0.08f;
|
||||
float pushDistance = death ? 80f : 40f;
|
||||
float pushDistance = death ? 60f : 40f;
|
||||
for (int k = 0; k < Main.maxProjectiles; k++)
|
||||
{
|
||||
Projectile otherProj = Main.projectile[k];
|
||||
|
||||
Reference in new issue
Block a user