diff --git a/CalamityMod.cs b/CalamityMod.cs index 2ae811b006..f212899b91 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -157,6 +157,7 @@ namespace CalamityMod public static List angryBonesList; public static List hornetList; public static List mossHornetList; + Mod thorium = ModLoader.GetMod("ThoriumMod"); #region Load public override void Load() @@ -189,7 +190,7 @@ namespace CalamityMod SetupLists(); SetupVanillaDR(); - SetupThoriumBossDR(ModLoader.GetMod("ThoriumMod")); + SetupThoriumBossDR(thorium); CalamityLocalization.AddLocalizations(); } diff --git a/Projectiles/Rogue/DragonShit.cs b/Projectiles/Rogue/DragonShit.cs index 6e9ac76042..383ea3a3db 100644 --- a/Projectiles/Rogue/DragonShit.cs +++ b/Projectiles/Rogue/DragonShit.cs @@ -26,6 +26,8 @@ namespace CalamityMod.Projectiles.Rogue projectile.tileCollide = false; projectile.penetrate = 1; projectile.timeLeft = 420; + projectile.usesLocalNPCImmunity = true; + projectile.localNPCHitCooldown = -1; projectile.Calamity().rogue = true; cooldownSlot = 1; } diff --git a/Projectiles/Rogue/EnchantedAxeProj.cs b/Projectiles/Rogue/EnchantedAxeProj.cs index 539eed736b..0946f43e14 100644 --- a/Projectiles/Rogue/EnchantedAxeProj.cs +++ b/Projectiles/Rogue/EnchantedAxeProj.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Rogue for (int i = 0; i < Main.npc.Length; i++) { NPC npc = Main.npc[i]; - if (!npc.friendly && !npc.townNPC && npc.active) + if (!npc.friendly && !npc.townNPC && npc.active && !npc.dontTakeDamage && npc.chaseable) { float dist = (projectile.Center - npc.Center).Length(); if (dist < minDist) diff --git a/Walls/AstralDirtWall.cs b/Walls/AstralDirtWall.cs index d57a46bd74..b3c93e4299 100644 --- a/Walls/AstralDirtWall.cs +++ b/Walls/AstralDirtWall.cs @@ -6,11 +6,11 @@ namespace CalamityMod.Walls { public class AstralDirtWall : ModWall { - public override bool Autoload(ref string name, ref string texture) + /*public override bool Autoload(ref string name, ref string texture) { - mod.AddWall("AstralDirtWallUnsafe", this, texture); - return base.Autoload(ref name, ref texture); - } + mod.AddWall("AstralDirtWallUnsafe",this, "CalamityMod/Walls/AstralD" ); + return true; + }*/ public override void SetDefaults() { diff --git a/Walls/AstralGrassWall.cs b/Walls/AstralGrassWall.cs index 176943d5a0..c3c63c3fb0 100644 --- a/Walls/AstralGrassWall.cs +++ b/Walls/AstralGrassWall.cs @@ -6,11 +6,11 @@ namespace CalamityMod.Walls { public class AstralGrassWall : ModWall { - public override bool Autoload(ref string name, ref string texture) + /*public override bool Autoload(ref string name, ref string texture) { mod.AddWall("AstralGrassWallUnsafe", this, texture); return base.Autoload(ref name, ref texture); - } + }*/ public override void SetDefaults() { diff --git a/Walls/AstralIceWall.cs b/Walls/AstralIceWall.cs index 0fb3ce1201..f4c9d82d27 100644 --- a/Walls/AstralIceWall.cs +++ b/Walls/AstralIceWall.cs @@ -6,11 +6,11 @@ namespace CalamityMod.Walls { public class AstralIceWall : ModWall { - public override bool Autoload(ref string name, ref string texture) + /*public override bool Autoload(ref string name, ref string texture) { mod.AddWall("AstralIceWallUnsafe", this, texture); return base.Autoload(ref name, ref texture); - } + }*/ public override void SetDefaults() { diff --git a/Walls/AstralSandstoneWall.cs b/Walls/AstralSandstoneWall.cs index 24e8d9dc6d..4f962a0522 100644 --- a/Walls/AstralSandstoneWall.cs +++ b/Walls/AstralSandstoneWall.cs @@ -6,11 +6,11 @@ namespace CalamityMod.Walls { public class AstralSandstoneWall : ModWall { - public override bool Autoload(ref string name, ref string texture) + /*public override bool Autoload(ref string name, ref string texture) { mod.AddWall("AstralSandstoneWallUnsafe", this, texture); return base.Autoload(ref name, ref texture); - } + }*/ public override void SetDefaults() { diff --git a/Walls/AstralStoneWall.cs b/Walls/AstralStoneWall.cs index cc82441e40..2207212da3 100644 --- a/Walls/AstralStoneWall.cs +++ b/Walls/AstralStoneWall.cs @@ -6,11 +6,11 @@ namespace CalamityMod.Walls { public class AstralStoneWall : ModWall { - public override bool Autoload(ref string name, ref string texture) + /*public override bool Autoload(ref string name, ref string texture) { mod.AddWall("AstralStoneWallUnsafe", this, texture); return base.Autoload(ref name, ref texture); - } + }*/ public override void SetDefaults() {