diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index 5a31c53ed0..fd98916dfc 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -482,14 +482,8 @@ namespace CalamityMod.Balancing // 15% resist to The Final Dawn's AoE sweep flames. NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType())))); - // 15% resist to God Slayer Slugs. - NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType())))); - // 15% resist to Gruesome Eminence. NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileType())))); - - // 15% resist to Luminite Bullets. - NPCSpecificBalancingChanges.AddRange(Bundle(ThanatosIDList.List, Do(new ProjectileResistBalancingRule(0.85f, ProjectileID.MoonlordBullet)))); #endregion #region Supreme Calamitas: Brimstone Hearts diff --git a/Buffs/StatBuffs/AdrenalineMode.cs b/Buffs/StatBuffs/AdrenalineMode.cs index c74fdafa69..84d8e687ad 100644 --- a/Buffs/StatBuffs/AdrenalineMode.cs +++ b/Buffs/StatBuffs/AdrenalineMode.cs @@ -14,6 +14,7 @@ namespace CalamityMod.Buffs.StatBuffs Main.debuff[Type] = true; Main.pvpBuff[Type] = true; Main.buffNoSave[Type] = false; + Main.buffNoTimeDisplay[Type] = true; // Consistency with Rage (Look at the bar instead) BuffID.Sets.NurseCannotRemoveDebuff[Type] = true; } diff --git a/Items/Accessories/Wings/TracersCelestial.png b/Items/Accessories/Wings/TracersCelestial.png index ceb770eb52..11e351774f 100644 Binary files a/Items/Accessories/Wings/TracersCelestial.png and b/Items/Accessories/Wings/TracersCelestial.png differ diff --git a/Items/Accessories/Wings/TracersCelestial_Wings.png b/Items/Accessories/Wings/TracersCelestial_Wings.png index a45ea45837..c020b531d5 100644 Binary files a/Items/Accessories/Wings/TracersCelestial_Wings.png and b/Items/Accessories/Wings/TracersCelestial_Wings.png differ diff --git a/NPCs/VanillaNPCAIOverrides/Bosses/MoonLordAI.cs b/NPCs/VanillaNPCAIOverrides/Bosses/MoonLordAI.cs index cd9481844a..15a895165c 100644 --- a/NPCs/VanillaNPCAIOverrides/Bosses/MoonLordAI.cs +++ b/NPCs/VanillaNPCAIOverrides/Bosses/MoonLordAI.cs @@ -715,11 +715,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses if (attackTimer >= 60f) { - Vector2 center20 = npc.Center; - // Hopefully it plays if (attackTimer == 60f) - SoundEngine.PlaySound(DeathrayChargeSound, center20); + SoundEngine.PlaySound(DeathrayChargeSound, Main.player[npc.target].Center); int deathrayAttackDustAmt = 0; if (attackTimer >= 120f) @@ -731,9 +729,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses if (i % 2 == 1) deathrayAttackDustScale = 1.65f; - Vector2 deathrayAttackDustRotation = center20 + ((float)Main.rand.NextDouble() * MathHelper.TwoPi).ToRotationVector2() * boltAndDeathrayVector / 2f; + Vector2 deathrayAttackDustRotation = npc.Center + ((float)Main.rand.NextDouble() * MathHelper.TwoPi).ToRotationVector2() * boltAndDeathrayVector / 2f; int deathrayAttackDust = Dust.NewDust(deathrayAttackDustRotation - Vector2.One * 8f, 16, 16, DustID.Vortex, npc.velocity.X / 2f, npc.velocity.Y / 2f, 0, default, 1f); - Main.dust[deathrayAttackDust].velocity = Vector2.Normalize(center20 - deathrayAttackDustRotation) * 3.5f * (10f - deathrayAttackDustAmt * 2f) / 10f; + Main.dust[deathrayAttackDust].velocity = Vector2.Normalize(npc.Center - deathrayAttackDustRotation) * 3.5f * (10f - deathrayAttackDustAmt * 2f) / 10f; Main.dust[deathrayAttackDust].noGravity = true; Main.dust[deathrayAttackDust].scale = deathrayAttackDustScale; Main.dust[deathrayAttackDust].customData = npc; diff --git a/Projectiles/Typeless/WulfrumLureSignal.cs b/Projectiles/Typeless/WulfrumLureSignal.cs index 4b103fbb0f..d39328f3ea 100644 --- a/Projectiles/Typeless/WulfrumLureSignal.cs +++ b/Projectiles/Typeless/WulfrumLureSignal.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using CalamityMod.Items.Placeables.Furniture; using CalamityMod.Items.Tools; using CalamityMod.NPCs.AstrumDeus; @@ -19,6 +20,14 @@ namespace CalamityMod.Projectiles.Typeless public new string LocalizationCategory => "Projectiles.Typeless"; public override string Texture => "CalamityMod/Projectiles/InvisibleProj"; + public static List LureSpawnPool => new List() + { + ModContent.NPCType(), + ModContent.NPCType(), + ModContent.NPCType(), + ModContent.NPCType() + }; + public ref float Time => ref Projectile.ai[0]; public override void SetDefaults() @@ -77,7 +86,7 @@ namespace CalamityMod.Projectiles.Typeless if (tries < 500) { - int npcToSpawn = Main.rand.NextBool() ? ModContent.NPCType() : Main.rand.NextBool() ? ModContent.NPCType() : ModContent.NPCType(); + int npcToSpawn = LureSpawnPool[Main.rand.Next(LureSpawnPool.Count)]; int index = NPC.NewNPC(Projectile.GetSource_FromAI(), (int)spawnPosition.X, (int)spawnPosition.Y, npcToSpawn, Target: player.whoAmI); for (int iy = 0; iy < 16; iy++)