diff --git a/NPCs/ExoMechs/Draedon.cs b/NPCs/ExoMechs/Draedon.cs index db3f9cca0b..8ea1c50e24 100644 --- a/NPCs/ExoMechs/Draedon.cs +++ b/NPCs/ExoMechs/Draedon.cs @@ -1,3 +1,4 @@ +using CalamityMod.NPCs.ExoMechs.Ares; using CalamityMod.NPCs.ExoMechs.Thanatos; using Microsoft.Xna.Framework; using Terraria; @@ -106,7 +107,7 @@ namespace CalamityMod.NPCs.ExoMechs thanatos.velocity = thanatos.SafeDirectionTo(PlayerToFollow.Center) * 40f; break; case ExoMech.Prime: - //CalamityUtils.SpawnBossBetter(aresSpawnPosition, ModContent.NPCType()); + CalamityUtils.SpawnBossBetter(aresSpawnPosition, ModContent.NPCType()); break; case ExoMech.Twins: //CalamityUtils.SpawnBossBetter(artemisSpawnPosition, ModContent.NPCType()); diff --git a/World/CalamityWorld.cs b/World/CalamityWorld.cs index d50cc7fd0d..79516b1860 100644 --- a/World/CalamityWorld.cs +++ b/World/CalamityWorld.cs @@ -13,6 +13,7 @@ using CalamityMod.NPCs.Cryogen; using CalamityMod.NPCs.DesertScourge; using CalamityMod.NPCs.DevourerofGods; using CalamityMod.NPCs.ExoMechs; +using CalamityMod.NPCs.ExoMechs.Ares; using CalamityMod.NPCs.ExoMechs.Thanatos; using CalamityMod.NPCs.HiveMind; using CalamityMod.NPCs.NormalNPCs; @@ -165,7 +166,8 @@ namespace CalamityMod.World public static Vector2 DraedonSummonPosition = Vector2.Zero; public static bool AbleToSummonDraedon { - get => DraedonSummonCountdown <= 0 && !NPC.AnyNPCs(ModContent.NPCType()) && !NPC.AnyNPCs(ModContent.NPCType()); + get => DraedonSummonCountdown <= 0 && !NPC.AnyNPCs(ModContent.NPCType()) && + !NPC.AnyNPCs(ModContent.NPCType()) && !NPC.AnyNPCs(ModContent.NPCType()); } public const int DraedonSummonCountdownMax = 260; diff --git a/World/WorldUpdateMiscEffects.cs b/World/WorldUpdateMiscEffects.cs index 62124a142c..980af7851d 100644 --- a/World/WorldUpdateMiscEffects.cs +++ b/World/WorldUpdateMiscEffects.cs @@ -134,7 +134,7 @@ namespace CalamityMod.World } if (DraedonSummonCountdown == 0) - NPC.NewNPC((int)DraedonSummonPosition.X, (int)DraedonSummonPosition.Y, ModContent.NPCType()); + NPC.NewNPC((int)DraedonSummonPosition.X, (int)DraedonSummonPosition.Y, ModContent.NPCType(), 0, 0f, (int)DraedonMechToSummon); } #endregion Handle Draedon Summoning