From d0f65fe6f3382931f173de9520e3070a8ac7e32a Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Wed, 31 Aug 2022 15:00:58 -0400 Subject: [PATCH 1/4] Fixed Scab Ripper exploit --- Projectiles/Summon/BabyBloodCrawler.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Projectiles/Summon/BabyBloodCrawler.cs b/Projectiles/Summon/BabyBloodCrawler.cs index 1a0732aafd..8ce5747ce7 100644 --- a/Projectiles/Summon/BabyBloodCrawler.cs +++ b/Projectiles/Summon/BabyBloodCrawler.cs @@ -52,14 +52,16 @@ namespace CalamityMod.Projectiles.Summon { Projectile proj = Main.projectile[j]; // Short circuits to make the loop as fast as possible - if (!proj.active || proj.owner != Projectile.owner || !proj.minion || proj.Calamity().lineColor != 0) + if (!proj.active || proj.owner != Projectile.owner || !proj.minion || proj.Calamity().lineColor != 1) continue; if (proj.type == Projectile.type) { spiderCount += (int)proj.minionSlots; - proj.Calamity().lineColor = 1; + proj.Calamity().lineColor = 2; } } + if (Projectile.Calamity().lineColor == 0) + Projectile.Calamity().lineColor = 1; if (dust == 0f) { From c51ff97d3108e4fb955cd4d95ccc6c0cd44a1092 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Wed, 31 Aug 2022 21:57:06 -0400 Subject: [PATCH 2/4] Version bump to 2.0.1.002 --- build.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.txt b/build.txt index 73ddc8cf67..c9dca54e40 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = Fabsol and the Dev Team -version = 2.0.1.001 +version = 2.0.1.002 displayName = Calamity Mod homepage = https://discord.gg/calamity buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*, LICENSE, README.md, .editorconfig, .gitignore, .gitattributes From dfdfcf670c95eaa3fd8e9d8604eb958c61afb7da Mon Sep 17 00:00:00 2001 From: Merkalto <49952665+Merkalto@users.noreply.github.com> Date: Wed, 31 Aug 2022 21:21:32 -0500 Subject: [PATCH 3/4] Gave dynamic pursuer research stuff again --- Items/Weapons/Rogue/DynamicPursuer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Items/Weapons/Rogue/DynamicPursuer.cs b/Items/Weapons/Rogue/DynamicPursuer.cs index 6db3795ca4..09cad3b5cc 100644 --- a/Items/Weapons/Rogue/DynamicPursuer.cs +++ b/Items/Weapons/Rogue/DynamicPursuer.cs @@ -18,6 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue { public override void SetStaticDefaults() { + SacrificeTotal = 1; DisplayName.SetDefault("Dynamic Pursuer"); Tooltip.SetDefault("A weapon that, as it flies, processes calculations and fires electricity\n" + "Releases a flying disk that fires electricity at nearby enemies\n" + From be38bad93a50f7e0d65fa7615b6b935978c7fdb1 Mon Sep 17 00:00:00 2001 From: Merkalto Date: Wed, 31 Aug 2022 21:47:51 -0500 Subject: [PATCH 4/4] removed Slime God Core HP bar --- UI/BossHealthBarManager.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/UI/BossHealthBarManager.cs b/UI/BossHealthBarManager.cs index 1d80b63532..2f3802435c 100644 --- a/UI/BossHealthBarManager.cs +++ b/UI/BossHealthBarManager.cs @@ -164,9 +164,10 @@ namespace CalamityMod.UI OneToMany[NPCType()] = Rav; OneToMany[NPCType()] = Rav; - int[] Slimes = new int[] { NPCType(), NPCType(), NPCType(), + int[] SlimeGod = new int[] { NPCType(), NPCType(), NPCType(), NPCType() }; - OneToMany[NPCType()] = Slimes; + OneToMany[NPCType()] = SlimeGod; + OneToMany[NPCType()] = SlimeGod; SetupBossExclusionList(); SetupMinibossHPBarList(); @@ -193,6 +194,7 @@ namespace CalamityMod.UI NPCType(), NPCType(), NPCType(), + NPCType(), NPCType(), NPCType(), NPCType(), @@ -282,7 +284,6 @@ namespace CalamityMod.UI [NPCID.PirateShip] = new BossEntityExtension("Cannons", NPCID.PirateShipCannon), [NPCType()] = new BossEntityExtension("Dark Energy", NPCType()), [NPCType()] = new BossEntityExtension("Body Parts", NPCType(), NPCType(), NPCType(), NPCType()), - [NPCType()] = new BossEntityExtension("Large Slimes", NPCType(), NPCType(), NPCType(), NPCType()), }; }