1 - Cryogen fires less ice bombs but they split into more projectiles.

2 - Slime God Crimson slimes fire one extra slime balls.
3 - Aquatic Scourge acid mist attack change.
4 - Cryogen Ice Bombs move slower and so do their split ice shots.
This commit is contained in:
mountaindrew10 committed 2022-06-05 04:08:03 -05:00
1 parent 01de8b50df
commit 4e2617656f
6 files changed
+18 -13

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ namespace CalamityMod.NPCs
if (doSpiral)
{
npc.localAI[3] = 90f;
float acidMistBarfDivisor = malice ? 3f : expertMode ? 4f : 6f;
float acidMistBarfDivisor = malice ? 2f : expertMode ? 3f : 5f;
float toxicCloudBarfDivisor = malice ? 30f : expertMode ? 40f : 60f;
// Vomit acid mist
+4 -4
View File
@@ -231,7 +231,7 @@ namespace CalamityMod.NPCs.Cryogen
if (Main.netMode != NetmodeID.MultiplayerClient && expertMode && (NPC.ai[0] < 5f || !phase6) && !charging)
{
time++;
if (time >= (malice ? 480 : 600))
if (time >= (malice ? 660 : 900))
{
time = 0;
SoundEngine.PlaySound(SoundID.Item28, NPC.Center);
@@ -247,7 +247,7 @@ namespace CalamityMod.NPCs.Cryogen
for (int k = 0; k < totalProjectiles; k++)
{
Vector2 vector255 = spinningPoint.RotatedBy(radians * k);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer, 0f, NPC.ai[0] * 0.5f);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer);
}
}
}
@@ -889,7 +889,7 @@ namespace CalamityMod.NPCs.Cryogen
{
time = 0;
SoundEngine.PlaySound(SoundID.Item28, NPC.Center);
int totalProjectiles = 4;
int totalProjectiles = 2;
float radians = MathHelper.TwoPi / totalProjectiles;
int type = ModContent.ProjectileType<IceBomb>();
int damage = NPC.GetProjectileDamage(type);
@@ -901,7 +901,7 @@ namespace CalamityMod.NPCs.Cryogen
for (int k = 0; k < totalProjectiles; k++)
{
Vector2 vector255 = spinningPoint.RotatedBy(radians * k);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer, 0f, 1f);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer);
}
}
+1 -1
View File
@@ -327,7 +327,7 @@ namespace CalamityMod.NPCs.SlimeGod
Vector2 destination = new Vector2(NPC.Center.X, NPC.Center.Y - 100f) - NPC.Center;
destination.Normalize();
destination *= projectileVelocity;
int numProj = 4;
int numProj = 5;
float rotation = MathHelper.ToRadians(45);
for (int i = 0; i < numProj; i++)
{
+1 -1
View File
@@ -320,7 +320,7 @@ namespace CalamityMod.NPCs.SlimeGod
Vector2 destination = new Vector2(NPC.Center.X, NPC.Center.Y - 100f) - NPC.Center;
destination.Normalize();
destination *= projectileVelocity;
int numProj = 2;
int numProj = 3;
float rotation = MathHelper.ToRadians(45);
for (int i = 0; i < numProj; i++)
{
+3 -3
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.Projectiles.Boss
public override void AI()
{
Projectile.velocity *= 0.99f;
Projectile.velocity *= 0.98f;
if (Projectile.localAI[0] == 0f)
{
@@ -98,11 +98,11 @@ namespace CalamityMod.Projectiles.Boss
if (Projectile.owner == Main.myPlayer)
{
int totalProjectiles = (CalamityWorld.revenge || BossRushEvent.BossRushActive ? 3 : 2) + (int)Projectile.ai[1];
int totalProjectiles = 8;
float radians = MathHelper.TwoPi / totalProjectiles;
int type = ModContent.ProjectileType<IceRain>();
int damage = (int)Math.Round(Projectile.damage * 0.75);
float velocity = CalamityWorld.revenge || BossRushEvent.BossRushActive ? 7f : 6f;
float velocity = 1f;
Vector2 spinningPoint = new Vector2(0f, -velocity);
for (int k = 0; k < totalProjectiles; k++)
{
+8 -3
View File
@@ -1,4 +1,6 @@
using Microsoft.Xna.Framework;
using CalamityMod.Events;
using CalamityMod.World;
using Microsoft.Xna.Framework;
using System;
using System.IO;
using Terraria;
@@ -22,7 +24,7 @@ namespace CalamityMod.Projectiles.Boss
Projectile.hostile = true;
Projectile.coldDamage = true;
Projectile.penetrate = -1;
Projectile.timeLeft = 300;
Projectile.timeLeft = 600;
}
public override void SendExtraAI(BinaryWriter writer)
@@ -56,7 +58,10 @@ namespace CalamityMod.Projectiles.Boss
}
else if (Projectile.ai[0] == 1f)
{
Projectile.aiStyle = 1;
if (Projectile.velocity.Length() < 10f)
Projectile.velocity *= (CalamityWorld.revenge || BossRushEvent.BossRushActive) ? 1.05f : 1.04f;
Projectile.rotation = (float)Math.Atan2(Projectile.velocity.Y, Projectile.velocity.X) + MathHelper.PiOver2;
for (int num322 = 0; num322 < 2; num322++)
{