From 2c397bc98dbcf48a83fb3ddde822f783926d6dd3 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Wed, 24 Nov 2021 14:27:02 -0500 Subject: [PATCH 1/2] The Community can't drop outside the world --- CalamityLists.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CalamityLists.cs b/CalamityLists.cs index 23b6ae9411..58f41f5e30 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1993,6 +1993,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), From 5e76b9cfd5348336935c393dd11d0743c3689e49 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Wed, 24 Nov 2021 13:44:23 -0600 Subject: [PATCH 2/2] 1 - Fixed AS dealing no contact damage while aggroed. --- NPCs/CalamityAI.cs | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 73133823a6..35f1118071 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -43,16 +43,18 @@ namespace CalamityMod.NPCs bool death = CalamityWorld.death || malice; // Adjust hostility and stats - if ((npc.justHit || npc.life <= npc.lifeMax * 0.99 || BossRushEvent.BossRushActive) && calamityGlobalNPC.newAI[0] == 0f) + if (npc.justHit || npc.life <= npc.lifeMax * 0.99 || BossRushEvent.BossRushActive) { - // Kiss my motherfucking ass you piece of shit game - npc.timeLeft *= 20; - - calamityGlobalNPC.newAI[0] = 1f; + if (calamityGlobalNPC.newAI[0] == 0f) + { + // Kiss my motherfucking ass you piece of shit game + npc.timeLeft *= 20; + calamityGlobalNPC.newAI[0] = 1f; + npc.boss = head; + npc.chaseable = true; + npc.netUpdate = true; + } npc.damage = npc.defDamage; - npc.boss = head; - npc.chaseable = true; - npc.netUpdate = true; } else npc.damage = 0;