diff --git a/CalamityLists.cs b/CalamityLists.cs index 28188e69eb..f991da8ae1 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -2733,7 +2733,32 @@ namespace CalamityMod ProjectileType(), ProjectileType(), ProjectileType(), - ProjectileType() + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType(), + ProjectileType() }; bossMinionList = new List() diff --git a/Items/SummonItems/Teratoma.cs b/Items/SummonItems/Teratoma.cs index 40dec85d52..d257e25088 100644 --- a/Items/SummonItems/Teratoma.cs +++ b/Items/SummonItems/Teratoma.cs @@ -34,17 +34,13 @@ namespace CalamityMod.Items.SummonItems public override bool UseItem(Player player) { - Main.PlaySound(SoundID.Roar, player.position, 0); - if (Main.netMode != NetmodeID.MultiplayerClient) - { - int npc = NPC.NewNPC((int)(player.position.X + Main.rand.Next(-100, 100)), (int)(player.position.Y - 150f), ModContent.NPCType(), 1); - Main.npc[npc].timeLeft *= 20; - CalamityUtils.BossAwakenMessage(npc); - } - else - NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); + Main.PlaySound(SoundID.Roar, player.position, 0); + if (Main.netMode != NetmodeID.MultiplayerClient) + NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType()); + else + NetMessage.SendData(MessageID.SpawnBoss, -1, -1, null, player.whoAmI, ModContent.NPCType()); - return true; + return true; } public override void AddRecipes() diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index 7c9755fe34..4b40065fc7 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2089,9 +2089,14 @@ namespace CalamityMod.NPCs if (npc.type == NPCID.TargetDummy || npc.type == NPCType()) { - npc.chaseable = !CalamityPlayer.areThereAnyDamnBosses; npc.dontTakeDamage = CalamityPlayer.areThereAnyDamnBosses; - } + + if (draedon != -1) + { + if (Main.npc[draedon].active) + npc.dontTakeDamage = true; + } + } // Setting this in SetDefaults will disable expert mode scaling, so put it here instead if (ZeroContactDamageNPCList.Contains(npc.type)) diff --git a/NPCs/ExoMechs/Apollo/Apollo.cs b/NPCs/ExoMechs/Apollo/Apollo.cs index 63d522428f..f7af4580a9 100644 --- a/NPCs/ExoMechs/Apollo/Apollo.cs +++ b/NPCs/ExoMechs/Apollo/Apollo.cs @@ -919,6 +919,9 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo // Set Apollo's location to the next charge location npc.Center = chargeLocations[(int)calamityGlobalNPC.newAI[2] + 1]; + // Reset velocity to 0 + npc.velocity = Vector2.Zero; + // Increase newAI[2] whenever a charge ends calamityGlobalNPC.newAI[2] += 1f; calamityGlobalNPC.newAI[3] = 0f; @@ -1291,13 +1294,11 @@ namespace CalamityMod.NPCs.ExoMechs.Apollo Main.dust[num195].noGravity = true; } - /*Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody1"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody2"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody3"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody4"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody5"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody6"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody7"), 1f);*/ + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo1"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo2"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo3"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo4"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Apollo/Apollo5"), 1f); } } diff --git a/NPCs/ExoMechs/Artemis/Artemis.cs b/NPCs/ExoMechs/Artemis/Artemis.cs index ac15b571d8..29c6c8d5b8 100644 --- a/NPCs/ExoMechs/Artemis/Artemis.cs +++ b/NPCs/ExoMechs/Artemis/Artemis.cs @@ -1302,13 +1302,11 @@ namespace CalamityMod.NPCs.ExoMechs.Artemis Main.dust[num195].noGravity = true; } - /*Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody1"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody2"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody3"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody4"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody5"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody6"), 1f); - Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Ares/AresBody7"), 1f);*/ + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis1"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis2"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis3"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis4"), 1f); + Gore.NewGore(npc.position, npc.velocity, mod.GetGoreSlot("Gores/Artemis/Artemis5"), 1f); } } diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index 86cdf3713b..74d2455452 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -318,6 +318,12 @@ namespace CalamityMod.NPCs.SlimeGod buffedSlime = 0; } + else if (npc.ai[1] < ai1) + { + npc.Opacity += 0.2f; + if (npc.Opacity > 0.8f) + npc.Opacity = 0.8f; + } // Spin and shoot orbs if (phase2) diff --git a/Projectiles/Boss/Apollo1.png b/Projectiles/Boss/Apollo1.png new file mode 100644 index 0000000000..a825864900 Binary files /dev/null and b/Projectiles/Boss/Apollo1.png differ diff --git a/Projectiles/Boss/Apollo2.png b/Projectiles/Boss/Apollo2.png new file mode 100644 index 0000000000..2aafda7769 Binary files /dev/null and b/Projectiles/Boss/Apollo2.png differ diff --git a/Projectiles/Boss/Apollo3.png b/Projectiles/Boss/Apollo3.png new file mode 100644 index 0000000000..94b806b9d1 Binary files /dev/null and b/Projectiles/Boss/Apollo3.png differ diff --git a/Projectiles/Boss/Apollo4.png b/Projectiles/Boss/Apollo4.png new file mode 100644 index 0000000000..92ebc571dd Binary files /dev/null and b/Projectiles/Boss/Apollo4.png differ diff --git a/Projectiles/Boss/Apollo5.png b/Projectiles/Boss/Apollo5.png new file mode 100644 index 0000000000..10395dbee9 Binary files /dev/null and b/Projectiles/Boss/Apollo5.png differ diff --git a/Projectiles/Boss/Artemis1.png b/Projectiles/Boss/Artemis1.png new file mode 100644 index 0000000000..5af28138b8 Binary files /dev/null and b/Projectiles/Boss/Artemis1.png differ diff --git a/Projectiles/Boss/Artemis2.png b/Projectiles/Boss/Artemis2.png new file mode 100644 index 0000000000..53232d4e97 Binary files /dev/null and b/Projectiles/Boss/Artemis2.png differ diff --git a/Projectiles/Boss/Artemis3.png b/Projectiles/Boss/Artemis3.png new file mode 100644 index 0000000000..f05cc9edc8 Binary files /dev/null and b/Projectiles/Boss/Artemis3.png differ diff --git a/Projectiles/Boss/Artemis4.png b/Projectiles/Boss/Artemis4.png new file mode 100644 index 0000000000..bd9d9295d3 Binary files /dev/null and b/Projectiles/Boss/Artemis4.png differ diff --git a/Projectiles/Boss/Artemis5.png b/Projectiles/Boss/Artemis5.png new file mode 100644 index 0000000000..a9e3488323 Binary files /dev/null and b/Projectiles/Boss/Artemis5.png differ