diff --git a/NPCs/Astral/EnchantedNightcrawler.cs b/NPCs/Astral/EnchantedNightcrawler.cs index f6860d50ad..cc984387cc 100644 --- a/NPCs/Astral/EnchantedNightcrawler.cs +++ b/NPCs/Astral/EnchantedNightcrawler.cs @@ -29,15 +29,9 @@ namespace CalamityMod.NPCs.Astral return true; } - public override bool? CanBeHitByItem(Player player, Item item) - { - return true; - } + public override bool? CanBeHitByItem(Player player, Item item) => null; - public override bool? CanBeHitByProjectile(Projectile projectile) - { - return true; - } + public override bool? CanBeHitByProjectile(Projectile projectile) => null; public override float SpawnChance(NPCSpawnInfo spawnInfo) { diff --git a/NPCs/Astral/Twinkler.cs b/NPCs/Astral/Twinkler.cs index 6a451f6d6b..fc4fcdc8b9 100644 --- a/NPCs/Astral/Twinkler.cs +++ b/NPCs/Astral/Twinkler.cs @@ -33,16 +33,16 @@ namespace CalamityMod.NPCs.Astral public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) { bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] { - //BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.AstralSurface, + //BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.AstralSurface, - // Will move to localization whenever that is cleaned up. - new FlavorTextBestiaryInfoElement("A rare case of the astral infection creating a harmless creature. They flicker rather prettily, and you’re not going to be the only one who thinks so. They make useful bait.") + // Will move to localization whenever that is cleaned up. + new FlavorTextBestiaryInfoElement("A rare case of the astral infection creating a harmless creature. They flicker rather prettily, and you’re not going to be the only one who thinks so. They make useful bait.") }); } - public override bool? CanBeHitByItem(Player player, Item item) => true; + public override bool? CanBeHitByItem(Player player, Item item) => null; - public override bool? CanBeHitByProjectile(Projectile projectile) => true; + public override bool? CanBeHitByProjectile(Projectile projectile) => null; public override void HitEffect(int hitDirection, double damage) { diff --git a/NPCs/DraedonLabThings/RepairUnitCritter.cs b/NPCs/DraedonLabThings/RepairUnitCritter.cs index 8e1756ddec..779ef195af 100644 --- a/NPCs/DraedonLabThings/RepairUnitCritter.cs +++ b/NPCs/DraedonLabThings/RepairUnitCritter.cs @@ -82,9 +82,9 @@ namespace CalamityMod.NPCs.DraedonLabThings PreviousStuckPosition = reader.ReadVector2(); } - public override bool? CanBeHitByItem(Player player, Item item) => true; + public override bool? CanBeHitByItem(Player player, Item item) => null; - public override bool? CanBeHitByProjectile(Projectile projectile) => true; + public override bool? CanBeHitByProjectile(Projectile projectile) => null; public override void AI() {