diff --git a/ExtraTextures/Lasers/ExoDestroyerBeamEnd.png b/ExtraTextures/Lasers/ExoDestroyerBeamEnd.png new file mode 100644 index 0000000000..8facdfbb48 Binary files /dev/null and b/ExtraTextures/Lasers/ExoDestroyerBeamEnd.png differ diff --git a/ExtraTextures/Lasers/ExoDestroyerBeamMiddle.png b/ExtraTextures/Lasers/ExoDestroyerBeamMiddle.png new file mode 100644 index 0000000000..fe2d7fe372 Binary files /dev/null and b/ExtraTextures/Lasers/ExoDestroyerBeamMiddle.png differ diff --git a/NPCs/ExoMechs/Thanatos/ThanatosBody1.png b/NPCs/ExoMechs/Thanatos/ThanatosBody1.png index 23312b4833..a1bbe33f52 100644 Binary files a/NPCs/ExoMechs/Thanatos/ThanatosBody1.png and b/NPCs/ExoMechs/Thanatos/ThanatosBody1.png differ diff --git a/NPCs/ExoMechs/Thanatos/ThanatosBody2.png b/NPCs/ExoMechs/Thanatos/ThanatosBody2.png index 30f22df80b..eb178bfffc 100644 Binary files a/NPCs/ExoMechs/Thanatos/ThanatosBody2.png and b/NPCs/ExoMechs/Thanatos/ThanatosBody2.png differ diff --git a/NPCs/ExoMechs/Thanatos/ThanatosHead.png b/NPCs/ExoMechs/Thanatos/ThanatosHead.png index 814198e065..1cdc250fc9 100644 Binary files a/NPCs/ExoMechs/Thanatos/ThanatosHead.png and b/NPCs/ExoMechs/Thanatos/ThanatosHead.png differ diff --git a/NPCs/ExoMechs/Thanatos/ThanatosTail.png b/NPCs/ExoMechs/Thanatos/ThanatosTail.png index 77ef4ee8de..22edba05fd 100644 Binary files a/NPCs/ExoMechs/Thanatos/ThanatosTail.png and b/NPCs/ExoMechs/Thanatos/ThanatosTail.png differ diff --git a/NPCs/Polterghast/PolterPhantom.cs b/NPCs/Polterghast/PolterPhantom.cs index 60fa5a021d..5cd1258aa3 100644 --- a/NPCs/Polterghast/PolterPhantom.cs +++ b/NPCs/Polterghast/PolterPhantom.cs @@ -1,5 +1,3 @@ -using CalamityMod.Buffs.DamageOverTime; -using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Dusts; using CalamityMod.Events; using CalamityMod.World; @@ -144,13 +142,14 @@ namespace CalamityMod.NPCs.Polterghast } // Predictiveness - float chargePredictionAmt = 10f + 40f * (tileEnrageMult - 1f); - Vector2 lookAt = player.Center + (chargePhase && revenge ? (player.velocity * chargePredictionAmt) : Vector2.Zero); + float chargePredictionAmt = 10f + 20f * (tileEnrageMult - 1f); + Vector2 predictionVector = chargePhase && revenge ? player.velocity * chargePredictionAmt : Vector2.Zero; + Vector2 lookAt = player.Center + predictionVector; Vector2 rotationVector = lookAt - vector; // Rotation - float num740 = player.Center.X - vector.X; - float num741 = player.Center.Y - vector.Y; + float num740 = player.Center.X + predictionVector.X - vector.X; + float num741 = player.Center.Y + predictionVector.Y - vector.Y; npc.rotation = (float)Math.Atan2(num741, num740) + MathHelper.PiOver2; npc.damage = npc.defDamage; diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index e5cc74831d..882ac76256 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -332,13 +332,14 @@ namespace CalamityMod.NPCs.Polterghast baseProjectileVelocity *= 1.25f; // Predictiveness - float chargePredictionAmt = 10f + 40f * (tileEnrageMult - 1f); - Vector2 lookAt = player.Center + (chargePhase && revenge ? (player.velocity * chargePredictionAmt) : Vector2.Zero); + float chargePredictionAmt = 10f + 20f * (tileEnrageMult - 1f); + Vector2 predictionVector = chargePhase && revenge ? player.velocity * chargePredictionAmt : Vector2.Zero; + Vector2 lookAt = player.Center + predictionVector; Vector2 rotationVector = lookAt - vector; // Rotation - float num740 = player.Center.X - vector.X; - float num741 = player.Center.Y - vector.Y; + float num740 = player.Center.X + predictionVector.X - vector.X; + float num741 = player.Center.Y + predictionVector.Y - vector.Y; npc.rotation = (float)Math.Atan2(num741, num740) + MathHelper.PiOver2; if (!chargePhase) diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 199312fff7..7ca42eb52d 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -934,10 +934,9 @@ namespace CalamityMod.NPCs.Providence } foreach (int t in targets) { - Vector2 velocity2 = Vector2.Normalize(Main.player[t].Center - fireFrom) * cocoonProjVelocity; + Vector2 velocity2 = Vector2.Normalize(Main.player[t].Center - fireFrom) * cocoonProjVelocity * 1.5f; int type = ModContent.ProjectileType(); - int proj = Projectile.NewProjectile(fireFrom, velocity2, type, 0, 0f, Main.myPlayer, 0f, nightTime ? -300 : npc.GetProjectileDamageNoScaling(type)); - Main.projectile[proj].extraUpdates += 1; + Projectile.NewProjectile(fireFrom, velocity2, type, 0, 0f, Main.myPlayer, 0f, nightTime ? -300 : npc.GetProjectileDamageNoScaling(type)); } } } diff --git a/Projectiles/Boss/ExoDestroyerBeamStart.png b/Projectiles/Boss/ExoDestroyerBeamStart.png new file mode 100644 index 0000000000..a0c3da9735 Binary files /dev/null and b/Projectiles/Boss/ExoDestroyerBeamStart.png differ diff --git a/Projectiles/Boss/ExoDestroyerLaser.png b/Projectiles/Boss/ExoDestroyerLaser.png new file mode 100644 index 0000000000..ea6357a3f2 Binary files /dev/null and b/Projectiles/Boss/ExoDestroyerLaser.png differ diff --git a/World/CalamityWorld.cs b/World/CalamityWorld.cs index eda8257d20..ce503fd015 100644 --- a/World/CalamityWorld.cs +++ b/World/CalamityWorld.cs @@ -53,37 +53,37 @@ namespace CalamityMod.World public static int Reforges; public static Dictionary ScreenShakeSpots = new Dictionary(); - //Boss Rush + // Boss Rush public static int bossRushHostileProjKillCounter = 0; - //Death Mode natural boss spawns - public static int bossSpawnCountdown = 0; //Death Mode natural boss spawn countdown - public static int bossType = 0; //Death Mode natural boss spawn type - public static int deathBossSpawnCooldown = 0; //Cooldown between Death Mode natural boss spawns + // Death Mode natural boss spawns + public static int bossSpawnCountdown = 0; // Death Mode natural boss spawn countdown + public static int bossType = 0; // Death Mode natural boss spawn type + public static int deathBossSpawnCooldown = 0; // Cooldown between Death Mode natural boss spawns - //Modes - public static bool demonMode = false; //Spawn rate boost - public static bool onionMode = false; //Extra accessory from Moon Lord - public static bool revenge = false; //Revengeance Mode - public static bool death = false; //Death Mode - public static bool armageddon = false; //Armageddon Mode - public static bool ironHeart = false; //Iron Heart Mode + // Modes + public static bool demonMode = false; // Spawn rate boost + public static bool onionMode = false; // Extra accessory from Moon Lord + public static bool revenge = false; // Revengeance Mode + public static bool death = false; // Death Mode + public static bool armageddon = false; // Armageddon Mode + public static bool ironHeart = false; // Iron Heart Mode public static bool malice = false; // Malice Mode, enrages all bosses and makes them drop good shit // New Temple Altar public static int newAltarX = 0; public static int newAltarY = 0; - //Evil Islands + // Evil Islands public static int fehX = 0; public static int fehY = 0; - //Brimstone Crag + // Brimstone Crag public static int fuhX = 0; public static int fuhY = 0; public static int calamityTiles = 0; - //Abyss & Sulphur + // Abyss & Sulphur public static int numAbyssIslands = 0; public static int[] AbyssIslandX = new int[20]; public static int[] AbyssIslandY = new int[20]; @@ -110,14 +110,14 @@ namespace CalamityMod.World } } - //Astral + // Astral public static int astralTiles = 0; - //Sunken Sea + // Sunken Sea public static int sunkenSeaTiles = 0; public static Rectangle SunkenSeaLocation = Rectangle.Empty; - //Shrines + // Shrines public static int[] SChestX = new int[10]; public static int[] SChestY = new int[10]; public static bool roxShrinePlaced = false;