From 8af9311aab50013952f86f98e1c4daeb6b328845 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Sun, 16 Jan 2022 22:59:26 -0500 Subject: [PATCH] fixed Quasar errors --- CalamityLists.cs | 3 --- Items/TreasureBags/AstrumDeusBag.cs | 1 - ModSupport/WeakReferenceSupport.cs | 2 +- NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CalamityLists.cs b/CalamityLists.cs index b3bd528b23..03445ee35d 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1436,7 +1436,6 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), ItemType(), ItemType(), ItemType(), @@ -1481,8 +1480,6 @@ namespace CalamityMod ProjectileType(), ProjectileType(), ProjectileType(), - ProjectileType(), - ProjectileType(), ProjectileType(), ProjectileType(), ProjectileType(), diff --git a/Items/TreasureBags/AstrumDeusBag.cs b/Items/TreasureBags/AstrumDeusBag.cs index 9d3881a806..0e3dee9b33 100644 --- a/Items/TreasureBags/AstrumDeusBag.cs +++ b/Items/TreasureBags/AstrumDeusBag.cs @@ -55,7 +55,6 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w) ); - DropHelper.DropItem(player, ModContent.ItemType()); DropHelper.DropItem(player, ModContent.ItemType()); // Equipment diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 243f2cbfbd..5964ad20ba 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -443,7 +443,7 @@ namespace CalamityMod int summon2 = ItemType(); int altar = ItemType(); List summons = new List() { summon1, summon2 }; - List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.FragmentSolar, ItemID.FragmentVortex, ItemID.FragmentNebula, ItemID.FragmentStardust, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemID.FallenStar, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.FragmentSolar, ItemID.FragmentVortex, ItemID.FragmentNebula, ItemID.FragmentStardust, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon1}] or [i:{summon2}] as offering at an [i:{altar}]"; string despawn = CalamityUtils.ColorMessage("The infected deity retreats to the heavens.", new Color(0xFF, 0xD7, 0x00)); diff --git a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs index 3ac780d5fd..a111bc3682 100644 --- a/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs +++ b/NPCs/AstrumDeus/AstrumDeusHeadSpectral.cs @@ -247,7 +247,6 @@ namespace CalamityMod.NPCs.AstrumDeus DropHelper.DropBags(npc); DropHelper.DropItemCondition(npc, ModContent.ItemType(), true, !Main.expertMode); - DropHelper.DropItemCondition(npc, ModContent.ItemType(), true, !Main.expertMode); DropHelper.DropItemCondition(npc, ModContent.ItemType(), true, !Main.expertMode); DropHelper.DropItem(npc, ItemID.GreaterHealingPotion, 8, 14);