From 125e1cbdd54ff0dc6884cb0237c9c26d205bec07 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 20 Mar 2020 17:59:31 -0400 Subject: [PATCH] various fixes starbuster core tooltip fix corroded fossil sprite fix corrosive spine now drops flak toxicannon now drops boss checklist memes --- Items/Accessories/StarbusterCore.cs | 2 +- Items/Materials/CorrodedFossil.png | Bin 491 -> 579 bytes Items/TreasureBags/AquaticScourgeBag.cs | 1 + ModSupport/WeakReferenceSupport.cs | 4 ++-- NPCs/AcidRain/FlakCrab.cs | 2 ++ 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Items/Accessories/StarbusterCore.cs b/Items/Accessories/StarbusterCore.cs index c4823639be..680fc929fc 100644 --- a/Items/Accessories/StarbusterCore.cs +++ b/Items/Accessories/StarbusterCore.cs @@ -13,7 +13,7 @@ namespace CalamityMod.Items.Accessories { DisplayName.SetDefault("Starbuster Core"); Tooltip.SetDefault("Summons release an astral explosion on enemy hits\n" + - "1 extra minion slot"); + "+1 max minion"); } public override void SetDefaults() diff --git a/Items/Materials/CorrodedFossil.png b/Items/Materials/CorrodedFossil.png index fa9ef73e3ba2e26d14114312d94b3cd9a00a0b57..9e9838aecf3b002384e97c902aa739eebc67a36a 100644 GIT binary patch delta 567 zcmV-70?7UA1H%N67k?NC1^@s6{=N-M00004XF*Lt006O%3;baP00001b5ch_0Itp) z=>Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF*m;eA5aGbhPJOBUy24YJ` zL;(K){{a7>y{D4^00EInL_t(Y$Gz20YZE~j$MMff{$P_Pq<;}ZT7yw6f`}k`6OW!e z^j-LRJo_5FmV9o+g=`>8l=XV8{ZDVf(qhGYiGyx*R=|(J_|!^*_hA?9 zjVEAzb1Ti4xZS8FC;yZs2&AEc)ovARyqZ35HTH45n}34xBOVM#pk1pb@Z|Z+=rp_1 zYDA<#&4rJ%x8kXZ^CM1=4!~d(e+Z!&Yw6NsFaHdy!|vxr^F)i)$U<5 zKX|=2j`QSqy8RWH-2h9qi{R_%bIP&jLBZ>w_0261`eJ^>S@O!PqrQ(PXWrIR|=rDFsp&KTM0000IbVXQnMOaBjI!|(GWo~p~bZKvH05ODE?C$^o002ovPDHLk FV1oDk1^@s6 delta 478 zcmV<40U`dw1nUEk7k?ZG1^@s6WiL-%00001b5ch_0Itp)=>Px$rAb6VR7i=nmb*#= zQ4of|6HNj!CNYa>TrVLKM6nSq1Pc-DY<&i6AH~|zRxK>7EL23aP!thCA`;LTL=t0e zB!svY>oFJ3MnTSB&6%Cq{g|DZT_HR{nq`LVv&ZeS=%CTCDSrT}Vi16{>)n>?u1?AS zkr1Asl5Aye8UWMlRwmxO8vq2|RRQo(^8yWW{lt>cNxzYQ*3$yuE%yTGBsPp80J4RW z1+cz44?rSWR3=FBRJGRPzk5mn5cGQmXe92=7D^ohoN6omzKGoo@#q8q8$0I~=p>fL zaDPBFKe4^mOMi=D~42VblK!Z%a{Q+YZ0K;d;?O)si5bo{K+!fN0 zeJm$%@8n*YAW5AhyG$Q(Bw*JtomWqqloM%tZS@nU^F<3_ZD9t0gNLLt@HKM@G|1&y z%H8$d9_S|iYv9y~34rO%*p9v^0F}vQ0Je^{Er6I2(pTHZVmvYiz+)!YQtS48+b*ZA zw|RO6X#VB_5HmtRgIsPmsdBoiBy*BJ;veIiJU(pi-NbXYBlod5s; diff --git a/Items/TreasureBags/AquaticScourgeBag.cs b/Items/TreasureBags/AquaticScourgeBag.cs index fe2b442528..c34ce16e12 100644 --- a/Items/TreasureBags/AquaticScourgeBag.cs +++ b/Items/TreasureBags/AquaticScourgeBag.cs @@ -64,6 +64,7 @@ namespace CalamityMod.Items.TreasureBags // Equipment DropHelper.DropItem(player, ModContent.ItemType()); DropHelper.DropItemChance(player, ModContent.ItemType(), 8); + DropHelper.DropItemCondition(player, ModContent.ItemType(), CalamityWorld.revenge, 0.25f); // Vanity DropHelper.DropItemChance(player, ModContent.ItemType(), 7); diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 7f5b9187f8..a8b3d02f74 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -303,7 +303,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("AquaticScourge", out float order); List segments = new List() { NPCType(), NPCType(), NPCType(), NPCType() }; int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemID.SoulofSight, ItemType(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemID.SoulofSight, ItemType(), ItemID.Coral, ItemID.Seashell, ItemID.Starfish, ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.AnglerTackleBag, ItemID.HighTestFishingLine, ItemID.TackleBox, ItemID.AnglerEarring, ItemID.FishermansGuide, ItemID.WeatherRadio, ItemID.Sextant, ItemID.AnglerHat, ItemID.AnglerVest, ItemID.AnglerPants, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GoldenBugNet, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Sulphuric Sea or wait for it to spawn in the Sulphuric Sea"; string despawn = CalamityUtils.ColorMessage("The Aquatic Scourge swam back into the open ocean.", new Color(0xF0, 0xE6, 0x8C)); @@ -558,7 +558,7 @@ namespace CalamityMod InvasionDifficulty.TryGetValue("Acid Rain Aquatic Scourge", out float order); List enemies = AcidRainEvent.PossibleEnemiesAS.Select(enemy => enemy.Item1).ToList(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType() }; string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated"; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the deep ocean.", new Color(146, 183, 116)); diff --git a/NPCs/AcidRain/FlakCrab.cs b/NPCs/AcidRain/FlakCrab.cs index db92327254..631f46c334 100644 --- a/NPCs/AcidRain/FlakCrab.cs +++ b/NPCs/AcidRain/FlakCrab.cs @@ -1,6 +1,7 @@ using CalamityMod.Dusts; using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Banners; +using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Projectiles.Enemy; using CalamityMod.World; using Microsoft.Xna.Framework; @@ -116,6 +117,7 @@ namespace CalamityMod.NPCs.AcidRain public override void NPCLoot() { DropHelper.DropItemCondition(npc, ModContent.ItemType(), CalamityWorld.downedAquaticScourge && Main.rand.NextBool(3 * (CalamityWorld.downedPolterghast ? 5 : 1)), 1, 3); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 0.05f); } public override void FindFrame(int frameHeight) {