From f06578a988b68d26421b14ddae2e354ce5283f5f Mon Sep 17 00:00:00 2001 From: Dominic Date: Mon, 13 Jun 2022 17:53:30 -0500 Subject: [PATCH] Update the Yanmei's Knife list --- CalamityLists.cs | 17 +++++++++++++++-- Projectiles/Typeless/YanmeisKnifeSlash.cs | 3 +-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CalamityLists.cs b/CalamityLists.cs index 87956e9fbb..5718358699 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1954,7 +1954,11 @@ namespace CalamityMod NPCID.SantaNK1, NPCID.Everscream, NPCID.DD2Betsy, - NPCID.Mothron + NPCID.Mothron, + NPCID.MartianSaucer, + NPCID.MartianSaucerCannon, + NPCID.MartianSaucerCore, + NPCID.MartianSaucerTurret, }; heartDropBlockList = new List() @@ -2443,7 +2447,6 @@ namespace CalamityMod }; // Collections - // NOTE - Be sure to reference the NeedsFourLifeBytes list in the IL Editing code if changes are made here. BossRushHPChanges = new SortedDictionary { // Tier 1 @@ -2603,6 +2606,7 @@ namespace CalamityMod bossMinionList = new List() { + NPCType(), NPCType(), NPCType(), NPCType(), @@ -2643,11 +2647,13 @@ namespace CalamityMod NPCID.QueenSlimeMinionBlue, NPCID.QueenSlimeMinionPink, NPCID.QueenSlimeMinionPurple, + NPCType(), NPCID.PrimeCannon, NPCID.PrimeLaser, NPCID.PrimeSaw, NPCID.PrimeVice, NPCType(), + NPCID.Probe, NPCID.TheDestroyer, NPCID.TheDestroyerBody, NPCID.TheDestroyerTail, @@ -2659,6 +2665,8 @@ namespace CalamityMod NPCType(), NPCType(), NPCID.PlanterasTentacle, + NPCType(), + NPCType(), NPCType(), NPCID.Spore, NPCID.GolemHead, @@ -2679,15 +2687,20 @@ namespace CalamityMod NPCID.CultistDragonBody4, NPCID.CultistDragonTail, NPCID.AncientCultistSquidhead, + NPCID.AncientDoom, + NPCID.MoonLordLeechBlob, NPCID.MoonLordFreeEye, NPCID.MoonLordHand, NPCID.MoonLordHead, + NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), NPCType(), NPCType(), NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), diff --git a/Projectiles/Typeless/YanmeisKnifeSlash.cs b/Projectiles/Typeless/YanmeisKnifeSlash.cs index 7cc1f53044..ae1c0770b7 100644 --- a/Projectiles/Typeless/YanmeisKnifeSlash.cs +++ b/Projectiles/Typeless/YanmeisKnifeSlash.cs @@ -19,8 +19,7 @@ namespace CalamityMod.Projectiles.Typeless // This is a rather weird thing, but it's what the patron asked for. public static readonly Func CanRecieveCoolEffectsFrom = (npc) => { - bool validBoss = npc.boss && npc.type != ModContent.NPCType() - && npc.type != ModContent.NPCType() + bool validBoss = npc.boss && npc.type != ModContent.NPCType() && npc.type != ModContent.NPCType() && npc.type != ModContent.NPCType() && npc.type != ModContent.NPCType()