From 7dc4d9ec2e9b8b0fe6d7bb416b2dad7c18df1ff7 Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Mon, 7 Jul 2025 01:06:56 -0400 Subject: [PATCH] Super Dummy has a 50 NPC limit --- Items/SuperDummy.cs | 2 +- Localization/en-US/Mods.CalamityMod.Items.Misc.hjson | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Items/SuperDummy.cs b/Items/SuperDummy.cs index c6055399d2..47958aa978 100644 --- a/Items/SuperDummy.cs +++ b/Items/SuperDummy.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items } } } - else if (player.whoAmI == Main.myPlayer) + else if (player.whoAmI == Main.myPlayer && NPC.CountNPCS(ModContent.NPCType()) < 50) { int x = (int)Main.MouseWorld.X - 9; int y = (int)Main.MouseWorld.Y - 20; diff --git a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson index a68f00f2e6..dde7b09dae 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Misc.hjson @@ -515,5 +515,6 @@ SuperDummy: { Regenerates 1 million life per second Will not die when taking damage over time from debuffs to kill all super dummies + Can only spawn 50 super dummies at once ''' }