From 0a0c72b97b3e6650043385221d83055a19d230e1 Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Sun, 19 Jun 2022 20:56:26 -0700 Subject: [PATCH 01/11] 1- Cal relics now drop (MM and Rev+) 2- Fixed Deus dropping Aureus' mask 3- Fixed Leviathan bestiary draw breaking for some ungodly reason --- NPCs/AcidRain/CragmawMire.cs | 2 ++ NPCs/AcidRain/Mauler.cs | 2 ++ NPCs/AcidRain/NuclearTerror.cs | 3 +++ NPCs/AquaticScourge/AquaticScourgeHead.cs | 2 ++ NPCs/AstrumAureus/AstrumAureus.cs | 4 ++++ NPCs/AstrumDeus/AstrumDeusHead.cs | 6 +++++- NPCs/BrimstoneElemental/BrimstoneElemental.cs | 5 +++++ NPCs/Bumblebirb/Bumblefuck.cs | 4 ++++ NPCs/Calamitas/CalamitasClone.cs | 4 ++++ NPCs/CeaselessVoid/CeaselessVoid.cs | 5 +++++ NPCs/Crabulon/Crabulon.cs | 4 ++++ NPCs/Cryogen/Cryogen.cs | 4 ++++ NPCs/DesertScourge/DesertScourgeHead.cs | 4 ++++ NPCs/DevourerofGods/DevourerofGodsHead.cs | 4 ++++ NPCs/ExoMechs/Ares/AresBody.cs | 4 ++++ NPCs/GreatSandShark/GreatSandShark.cs | 4 ++++ NPCs/HiveMind/HiveMind.cs | 4 ++++ NPCs/Leviathan/Leviathan.cs | 17 +++++++++++++++-- NPCs/OldDuke/OldDuke.cs | 5 +++++ NPCs/Perforator/PerforatorHive.cs | 4 ++++ .../PlaguebringerGoliath.cs | 4 ++++ NPCs/Polterghast/Polterghast.cs | 4 ++++ .../ProfanedGuardianCommander.cs | 4 ++++ NPCs/Providence/Providence.cs | 4 ++++ NPCs/Ravager/RavagerBody.cs | 4 ++++ NPCs/Signus/Signus.cs | 4 ++++ NPCs/SlimeGod/SlimeGodCore.cs | 4 ++++ NPCs/StormWeaver/StormWeaverHead.cs | 4 ++++ NPCs/SunkenSea/GiantClam.cs | 5 +++++ NPCs/SupremeCalamitas/SupremeCalamitas.cs | 4 ++++ NPCs/Yharon/Yharon.cs | 4 ++++ 31 files changed, 133 insertions(+), 3 deletions(-) diff --git a/NPCs/AcidRain/CragmawMire.cs b/NPCs/AcidRain/CragmawMire.cs index 86fef8d01f..cfe4d73e75 100644 --- a/NPCs/AcidRain/CragmawMire.cs +++ b/NPCs/AcidRain/CragmawMire.cs @@ -1,6 +1,7 @@ using CalamityMod.BiomeManagers; using CalamityMod.Dusts; using CalamityMod.Items.Accessories; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Projectiles.Enemy; using CalamityMod.World; using Microsoft.Xna.Framework; @@ -506,6 +507,7 @@ namespace CalamityMod.NPCs.AcidRain postPolter.Add(ModContent.ItemType(), 10); postPolter.OnFailedConditions(ItemDropRule.Common(ModContent.ItemType())); postPolter.OnFailedConditions(ItemDropRule.Common(ModContent.ItemType())); + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType(), 4); } } } diff --git a/NPCs/AcidRain/Mauler.cs b/NPCs/AcidRain/Mauler.cs index 8bb97dc21a..6914695fda 100644 --- a/NPCs/AcidRain/Mauler.cs +++ b/NPCs/AcidRain/Mauler.cs @@ -1,6 +1,7 @@ using CalamityMod.BiomeManagers; using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Placeables.Banners; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Projectiles.Enemy; using CalamityMod.World; @@ -452,6 +453,7 @@ namespace CalamityMod.NPCs.AcidRain { npcLoot.Add(ItemID.SharkFin, 1, 2, 4); npcLoot.Add(ModContent.ItemType(), 3); + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType(), 4); } public override void HitEffect(int hitDirection, double damage) diff --git a/NPCs/AcidRain/NuclearTerror.cs b/NPCs/AcidRain/NuclearTerror.cs index 6940e6cc34..5c85a81915 100644 --- a/NPCs/AcidRain/NuclearTerror.cs +++ b/NPCs/AcidRain/NuclearTerror.cs @@ -1,7 +1,9 @@ using CalamityMod.BiomeManagers; using CalamityMod.Dusts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Weapons.Summon; using CalamityMod.Projectiles.Enemy; +using CalamityMod.World; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; @@ -521,6 +523,7 @@ namespace CalamityMod.NPCs.AcidRain { npcLoot.Add(ModContent.ItemType(), 3); npcLoot.Add(ModContent.ItemType(), 3); + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType(), 4); } } } diff --git a/NPCs/AquaticScourge/AquaticScourgeHead.cs b/NPCs/AquaticScourge/AquaticScourgeHead.cs index a902cd0c67..b390844384 100644 --- a/NPCs/AquaticScourge/AquaticScourgeHead.cs +++ b/NPCs/AquaticScourge/AquaticScourgeHead.cs @@ -4,6 +4,7 @@ using CalamityMod.Events; using CalamityMod.Items.Accessories; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Placeables; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -247,6 +248,7 @@ namespace CalamityMod.NPCs.AquaticScourge npcLoot.Add(DropHelper.PerPlayer(ItemID.GreaterHealingPotion, 1, 8, 14)); npcLoot.Add(ModContent.ItemType(), 10); + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); // Lore bool firstASKill() => !DownedBossSystem.downedAquaticScourge; diff --git a/NPCs/AstrumAureus/AstrumAureus.cs b/NPCs/AstrumAureus/AstrumAureus.cs index 24ea563f9a..8f494bc144 100644 --- a/NPCs/AstrumAureus/AstrumAureus.cs +++ b/NPCs/AstrumAureus/AstrumAureus.cs @@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Mounts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -360,6 +361,9 @@ namespace CalamityMod.NPCs.AstrumAureus npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedAstrumAureus, ModContent.ItemType()); } diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index c7b08f2942..5cb456332e 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -7,6 +7,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Melee; @@ -309,7 +310,7 @@ namespace CalamityMod.NPCs.AstrumDeus normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons)); // Equipment - normalOnly.Add(ModContent.ItemType(), 7); + normalOnly.Add(ModContent.ItemType(), 7); normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); normalOnly.Add(ModContent.ItemType(), 5); @@ -321,6 +322,9 @@ namespace CalamityMod.NPCs.AstrumDeus npcLoot.Add(DropHelper.PerPlayer(ItemID.GreaterHealingPotion, 1, 8, 14)); npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => (Main.masterMode || CalamityWorld.revenge) , ModContent.ItemType()); + // Fragments npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentSolar, 1, 16, 24, 20, 32)); npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentVortex, 1, 16, 24, 20, 32)); diff --git a/NPCs/BrimstoneElemental/BrimstoneElemental.cs b/NPCs/BrimstoneElemental/BrimstoneElemental.cs index dd2a1d5171..570e52be9e 100644 --- a/NPCs/BrimstoneElemental/BrimstoneElemental.cs +++ b/NPCs/BrimstoneElemental/BrimstoneElemental.cs @@ -7,12 +7,14 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Mounts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Summon; +using CalamityMod.World; using Microsoft.Xna.Framework; using System.IO; using Terraria; @@ -212,6 +214,9 @@ namespace CalamityMod.NPCs.BrimstoneElemental npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedBrimstoneElemental, ModContent.ItemType()); } diff --git a/NPCs/Bumblebirb/Bumblefuck.cs b/NPCs/Bumblebirb/Bumblefuck.cs index 2befa5f7ea..5c1a0ca12f 100644 --- a/NPCs/Bumblebirb/Bumblefuck.cs +++ b/NPCs/Bumblebirb/Bumblefuck.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Mounts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -436,6 +437,9 @@ namespace CalamityMod.NPCs.Bumblebirb npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDragonfolly, ModContent.ItemType()); } diff --git a/NPCs/Calamitas/CalamitasClone.cs b/NPCs/Calamitas/CalamitasClone.cs index bd36300043..4cacce8bed 100644 --- a/NPCs/Calamitas/CalamitasClone.cs +++ b/NPCs/Calamitas/CalamitasClone.cs @@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -221,6 +222,9 @@ namespace CalamityMod.NPCs.Calamitas npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedCalamitas, ModContent.ItemType()); } diff --git a/NPCs/CeaselessVoid/CeaselessVoid.cs b/NPCs/CeaselessVoid/CeaselessVoid.cs index 6cea11bae2..3a2d1d969d 100644 --- a/NPCs/CeaselessVoid/CeaselessVoid.cs +++ b/NPCs/CeaselessVoid/CeaselessVoid.cs @@ -3,6 +3,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -19,6 +20,7 @@ using System.IO; using Terraria.Audio; using Terraria.GameContent.ItemDropRules; using CalamityMod.Sounds; +using CalamityMod.World; namespace CalamityMod.NPCs.CeaselessVoid { @@ -222,6 +224,9 @@ namespace CalamityMod.NPCs.CeaselessVoid npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(LastSentinelKilled, ModContent.ItemType()); } diff --git a/NPCs/Crabulon/Crabulon.cs b/NPCs/Crabulon/Crabulon.cs index 9f897442a2..54d2f1fafc 100644 --- a/NPCs/Crabulon/Crabulon.cs +++ b/NPCs/Crabulon/Crabulon.cs @@ -3,6 +3,7 @@ using CalamityMod.Events; using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -842,6 +843,9 @@ namespace CalamityMod.NPCs.Crabulon npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedCrabulon, ModContent.ItemType()); } diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index 76a53531bc..f79cd6183c 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories.Wings; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -1167,6 +1168,9 @@ namespace CalamityMod.NPCs.Cryogen // Trophy (always directly from boss, never in bag) npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedCryogen, ModContent.ItemType()); } diff --git a/NPCs/DesertScourge/DesertScourgeHead.cs b/NPCs/DesertScourge/DesertScourgeHead.cs index 54ebec21ad..2163bfa3b0 100644 --- a/NPCs/DesertScourge/DesertScourgeHead.cs +++ b/NPCs/DesertScourge/DesertScourgeHead.cs @@ -3,6 +3,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -720,6 +721,9 @@ namespace CalamityMod.NPCs.DesertScourge // Trophy (always directly from boss, never in bag) npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedDesertScourge, ModContent.ItemType()); } diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index 2bea91cc9f..62c57d9b27 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -7,6 +7,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Mounts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Placeables.FurnitureCosmilite; using CalamityMod.Items.Potions; @@ -2384,6 +2385,9 @@ namespace CalamityMod.NPCs.DevourerofGods normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); } + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Trophy (always directly from boss, never in bag) npcLoot.Add(ModContent.ItemType(), 10); diff --git a/NPCs/ExoMechs/Ares/AresBody.cs b/NPCs/ExoMechs/Ares/AresBody.cs index 15b3d387b9..ef88a423f6 100644 --- a/NPCs/ExoMechs/Ares/AresBody.cs +++ b/NPCs/ExoMechs/Ares/AresBody.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Mounts; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -1341,6 +1342,9 @@ namespace CalamityMod.NPCs.ExoMechs.Ares mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(info => info.npc.type == ModContent.NPCType()), ModContent.ItemType())); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore item mainDrops.Add(ItemDropRule.ByCondition(DropHelper.If(() => !DownedBossSystem.downedExoMechs), ModContent.ItemType())); diff --git a/NPCs/GreatSandShark/GreatSandShark.cs b/NPCs/GreatSandShark/GreatSandShark.cs index c330daea1f..faec389ec6 100644 --- a/NPCs/GreatSandShark/GreatSandShark.cs +++ b/NPCs/GreatSandShark/GreatSandShark.cs @@ -1,5 +1,6 @@ using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables.Banners; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Projectiles.Boss; using CalamityMod.World; using Microsoft.Xna.Framework; @@ -634,6 +635,9 @@ namespace CalamityMod.NPCs.GreatSandShark npcLoot.Add(ItemID.LightShard, 2); npcLoot.Add(ItemID.DarkShard, 2); + + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType(), 4); } public override void OnKill() diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index 630ed4c25a..d152571e9d 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -1163,6 +1164,9 @@ namespace CalamityMod.NPCs.HiveMind npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedHiveMind, ModContent.ItemType()); } diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 8739662046..7a4caddce9 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -4,6 +4,7 @@ using CalamityMod.Events; using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -799,6 +800,9 @@ namespace CalamityMod.NPCs.Leviathan normalOnly.Add(ItemID.CratePotion, 5, 5, 8); } + // Relic + npcLoot.AddIf(() => (Main.masterMode || CalamityWorld.revenge) && LastAnLStanding(), ModContent.ItemType()); + // Lore bool shouldDropLore(DropAttemptInfo info) => !DownedBossSystem.downedLeviathan && LastAnLStanding(); npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType()); @@ -826,6 +830,7 @@ namespace CalamityMod.NPCs.Leviathan public override bool PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) { Texture2D texture = AttackTexture; + float scale = NPC.IsABestiaryIconDummy ? 0.3f : NPC.scale; if (NPC.ai[0] == 1f || NPC.Calamity().newAI[3] < 180f) { texture = TextureAssets.Npc[NPC.type].Value; @@ -839,19 +844,27 @@ namespace CalamityMod.NPCs.Leviathan } Rectangle rectangle = new Rectangle(NPC.frame.X, NPC.frame.Y, texture.Width / 2, texture.Height / 3); Vector2 origin = rectangle.Size() / 2f; - spriteBatch.Draw(texture, NPC.Center - screenPos + new Vector2(xOffset, NPC.gfxOffY), rectangle, NPC.GetAlpha(drawColor), NPC.rotation, origin, NPC.scale, spriteEffects, 0f); + spriteBatch.Draw(texture, NPC.Center - screenPos + new Vector2(xOffset, NPC.gfxOffY), rectangle, NPC.GetAlpha(drawColor), NPC.rotation, origin, scale, spriteEffects, 0f); return false; } public override void FindFrame(int frameHeight) { + if (NPC.IsABestiaryIconDummy) + { + NPC.scale = 1; + } int width = (int)(1011 * NPC.scale); int height = (int)(486 * NPC.scale); NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { - Scale = 0.2f, + Scale = 0.05f, PortraitScale = 0.3f, + PortraitPositionXOverride = 20, + PortraitPositionYOverride = 0 }; + value.Position.X += 70; + value.Position.Y += 10; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; if (NPC.IsABestiaryIconDummy) diff --git a/NPCs/OldDuke/OldDuke.cs b/NPCs/OldDuke/OldDuke.cs index 0c955f2864..0e8bd30d55 100644 --- a/NPCs/OldDuke/OldDuke.cs +++ b/NPCs/OldDuke/OldDuke.cs @@ -3,6 +3,7 @@ using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -12,6 +13,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Rogue; using CalamityMod.Items.Weapons.Summon; using CalamityMod.NPCs.TownNPCs; +using CalamityMod.World; using System; using System.IO; using Microsoft.Xna.Framework; @@ -445,6 +447,9 @@ namespace CalamityMod.NPCs.OldDuke npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedBoomerDuke, ModContent.ItemType()); } diff --git a/NPCs/Perforator/PerforatorHive.cs b/NPCs/Perforator/PerforatorHive.cs index 6547707179..c0589dd0d9 100644 --- a/NPCs/Perforator/PerforatorHive.cs +++ b/NPCs/Perforator/PerforatorHive.cs @@ -5,6 +5,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -540,6 +541,9 @@ namespace CalamityMod.NPCs.Perforator npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedPerforator, ModContent.ItemType()); } diff --git a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs index 2184f00671..ad84a9654b 100644 --- a/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs +++ b/NPCs/PlaguebringerGoliath/PlaguebringerGoliath.cs @@ -7,6 +7,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -1277,6 +1278,9 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedPlaguebringer, ModContent.ItemType()); } diff --git a/NPCs/Polterghast/Polterghast.cs b/NPCs/Polterghast/Polterghast.cs index 013102b40d..d05f6dce05 100644 --- a/NPCs/Polterghast/Polterghast.cs +++ b/NPCs/Polterghast/Polterghast.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -1042,6 +1043,9 @@ namespace CalamityMod.NPCs.Polterghast npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedPolterghast, ModContent.ItemType()); } diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs index b5e2f05fa0..91ff92e7a7 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs @@ -16,6 +16,7 @@ using Terraria.GameContent; using Terraria.GameContent.Bestiary; using Terraria.ID; using Terraria.ModLoader; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Events; using Terraria.Audio; @@ -489,6 +490,9 @@ namespace CalamityMod.NPCs.ProfanedGuardians npcLoot.Add(ModContent.ItemType(), 10); npcLoot.Add(ModContent.ItemType()); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedGuardians, ModContent.ItemType()); } diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 2c2953d834..5d84a0c695 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -7,6 +7,7 @@ using CalamityMod.Items.Accessories.Wings; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.Dyes; using CalamityMod.Items.LoreItems; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.SummonItems; @@ -1584,6 +1585,9 @@ namespace CalamityMod.NPCs.Providence npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedProvidence, ModContent.ItemType()); } diff --git a/NPCs/Ravager/RavagerBody.cs b/NPCs/Ravager/RavagerBody.cs index 51c7e26c39..346060ede6 100644 --- a/NPCs/Ravager/RavagerBody.cs +++ b/NPCs/Ravager/RavagerBody.cs @@ -3,6 +3,7 @@ using CalamityMod.Events; using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.TreasureBags; using CalamityMod.Items.Weapons.Magic; @@ -877,6 +878,9 @@ namespace CalamityMod.NPCs.Ravager npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedRavager, ModContent.ItemType()); } diff --git a/NPCs/Signus/Signus.cs b/NPCs/Signus/Signus.cs index 728b7217c3..6a6a63b9b2 100644 --- a/NPCs/Signus/Signus.cs +++ b/NPCs/Signus/Signus.cs @@ -5,6 +5,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -793,6 +794,9 @@ namespace CalamityMod.NPCs.Signus npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(LastSentinelKilled, ModContent.ItemType()); } diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index e3a8f65550..6398f110c0 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -705,6 +706,9 @@ namespace CalamityMod.NPCs.SlimeGod mainDrops.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => (Main.masterMode || CalamityWorld.revenge) && LastSlimeGodStanding(), ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => LastSlimeGodStanding() && !DownedBossSystem.downedSlimeGod, ModContent.ItemType()); } diff --git a/NPCs/StormWeaver/StormWeaverHead.cs b/NPCs/StormWeaver/StormWeaverHead.cs index 4c880d6fc7..7170e66fe9 100644 --- a/NPCs/StormWeaver/StormWeaverHead.cs +++ b/NPCs/StormWeaver/StormWeaverHead.cs @@ -4,6 +4,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -970,6 +971,9 @@ namespace CalamityMod.NPCs.StormWeaver npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(LastSentinelKilled, ModContent.ItemType()); } diff --git a/NPCs/SunkenSea/GiantClam.cs b/NPCs/SunkenSea/GiantClam.cs index 638161e18e..e1444f57a3 100644 --- a/NPCs/SunkenSea/GiantClam.cs +++ b/NPCs/SunkenSea/GiantClam.cs @@ -4,12 +4,14 @@ using CalamityMod.Items.Accessories; using CalamityMod.Items.Materials; using CalamityMod.Items.Placeables; using CalamityMod.Items.Placeables.Banners; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Weapons.Magic; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Items.Weapons.Summon; using CalamityMod.NPCs.TownNPCs; using CalamityMod.Projectiles.Enemy; +using CalamityMod.World; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; @@ -471,6 +473,9 @@ namespace CalamityMod.NPCs.SunkenSea postDesertScourge.Add(ModContent.ItemType(), 3); postDesertScourge.Add(ModContent.ItemType(), 3); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType(), 4); + npcLoot.Add(postDesertScourge); npcLoot.Add(hardmode); } diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 89c69cf08d..620781f70d 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -6,6 +6,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -2541,6 +2542,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedSCal, ModContent.ItemType()); } diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index a9af105363..8b20733882 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -6,6 +6,7 @@ using CalamityMod.Items.Armor.Vanity; using CalamityMod.Items.LoreItems; using CalamityMod.Items.Materials; using CalamityMod.Items.Pets; +using CalamityMod.Items.Placeables.Furniture.BossRelics; using CalamityMod.Items.Placeables.Furniture.Trophies; using CalamityMod.Items.Potions; using CalamityMod.Items.TreasureBags; @@ -2831,6 +2832,9 @@ namespace CalamityMod.NPCs.Yharon // Trophy (always directly from boss, never in bag) npcLoot.Add(ModContent.ItemType(), 10); + // Relic + npcLoot.AddIf(() => Main.masterMode || CalamityWorld.revenge, ModContent.ItemType()); + // Lore npcLoot.AddConditionalPerPlayer(() => !DownedBossSystem.downedYharon, ModContent.ItemType()); } From 1f1455f7a8d86328155e3ffbdd37f898280664ba Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Sun, 19 Jun 2022 22:18:47 -0700 Subject: [PATCH 02/11] Update Leviathan.cs --- NPCs/Leviathan/Leviathan.cs | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 7a4caddce9..cc5915ae9b 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -830,7 +830,6 @@ namespace CalamityMod.NPCs.Leviathan public override bool PreDraw(SpriteBatch spriteBatch, Vector2 screenPos, Color drawColor) { Texture2D texture = AttackTexture; - float scale = NPC.IsABestiaryIconDummy ? 0.3f : NPC.scale; if (NPC.ai[0] == 1f || NPC.Calamity().newAI[3] < 180f) { texture = TextureAssets.Npc[NPC.type].Value; @@ -844,27 +843,19 @@ namespace CalamityMod.NPCs.Leviathan } Rectangle rectangle = new Rectangle(NPC.frame.X, NPC.frame.Y, texture.Width / 2, texture.Height / 3); Vector2 origin = rectangle.Size() / 2f; - spriteBatch.Draw(texture, NPC.Center - screenPos + new Vector2(xOffset, NPC.gfxOffY), rectangle, NPC.GetAlpha(drawColor), NPC.rotation, origin, scale, spriteEffects, 0f); + spriteBatch.Draw(texture, NPC.Center - screenPos + new Vector2(xOffset, NPC.gfxOffY), rectangle, NPC.GetAlpha(drawColor), NPC.rotation, origin, NPC.scale, spriteEffects, 0f); return false; } public override void FindFrame(int frameHeight) { - if (NPC.IsABestiaryIconDummy) - { - NPC.scale = 1; - } - int width = (int)(1011 * NPC.scale); - int height = (int)(486 * NPC.scale); + int width = 1011; + int height = 486; NPCID.Sets.NPCBestiaryDrawModifiers value = new NPCID.Sets.NPCBestiaryDrawModifiers(0) { - Scale = 0.05f, + Scale = 0.2f, PortraitScale = 0.3f, - PortraitPositionXOverride = 20, - PortraitPositionYOverride = 0 }; - value.Position.X += 70; - value.Position.Y += 10; NPCID.Sets.NPCBestiaryDrawOffset[Type] = value; if (NPC.IsABestiaryIconDummy) From 7644cbd202cae8b3f57579478b273aaea2c45d9e Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 21 Jun 2022 16:39:45 -0500 Subject: [PATCH 03/11] Acid Rain enemy caches load at a safe time --- Events/AcidRainEvent.cs | 114 ++++++++++++++++++++++--------------- UI/BossHealthBarManager.cs | 1 - 2 files changed, 69 insertions(+), 46 deletions(-) diff --git a/Events/AcidRainEvent.cs b/Events/AcidRainEvent.cs index 1ab9d8d80f..ff45ddf201 100644 --- a/Events/AcidRainEvent.cs +++ b/Events/AcidRainEvent.cs @@ -1,6 +1,7 @@ using CalamityMod.NPCs.AcidRain; using CalamityMod.NPCs.OldDuke; using CalamityMod.Projectiles.Boss; +using CalamityMod.UI; using CalamityMod.World; using Microsoft.Xna.Framework; using System; @@ -33,7 +34,7 @@ namespace CalamityMod.Events } } - public class AcidRainEvent + public class AcidRainEvent : ModSystem { public static int MaxNuclearToadCount = 5; // To prevent the things from spamming. This happens frequently in pre-HM. @@ -46,55 +47,17 @@ namespace CalamityMod.Events public const float BloodwormSpawnRate = 0.1f; - // Not a readonly collection so that if anyone else wants to add stuff in here with their own mod, they can. - public static Dictionary PossibleEnemiesPreHM = new() - { - { ModContent.NPCType(), new AcidRainSpawnData(1, 0.75f, AcidRainSpawnRequirement.Anywhere) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) } - }; + // Collections are not readonly so that if anyone else wants to add stuff to them with their own mod, they can. + public static Dictionary PossibleEnemiesPreHM = new(); // Note: Irradiated Slimes spawn naturally - public static Dictionary PossibleEnemiesAS = new() - { - { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(0, 0.75f, AcidRainSpawnRequirement.Anywhere) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) } - }; + public static Dictionary PossibleEnemiesAS = new(); - public static Dictionary PossibleEnemiesPolter = new() - { - { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(0, 0.75f, AcidRainSpawnRequirement.Anywhere) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) }, - { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Anywhere) } - }; + public static Dictionary PossibleEnemiesPolter = new(); - public static Dictionary PossibleMinibossesAS = new() - { - { ModContent.NPCType(), new AcidRainSpawnData(5, 0.08f, AcidRainSpawnRequirement.Water) } - }; + public static Dictionary PossibleMinibossesAS = new(); - public static Dictionary PossibleMinibossesPolter = new() - { - { ModContent.NPCType(), new AcidRainSpawnData(4, 0.08f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(4, 0.07f, AcidRainSpawnRequirement.Water) }, - { ModContent.NPCType(), new AcidRainSpawnData(8, 0.045f, AcidRainSpawnRequirement.Anywhere) } - }; + public static Dictionary PossibleMinibossesPolter = new(); public static readonly List AllMinibosses = PossibleMinibossesAS.Select(miniboss => miniboss.Key).ToList().Concat(PossibleMinibossesPolter.Select(miniboss => miniboss.Key)).Distinct().ToList(); @@ -160,6 +123,67 @@ namespace CalamityMod.Events return (int)(Math.Log(playerCount + Math.E - 1) * 110f); } } + + // Populate the enemy caches safely, after the mod's core content has been fully loaded. + public override void OnModLoad() + { + PossibleEnemiesPreHM = new() + { + { ModContent.NPCType(), new AcidRainSpawnData(1, 0.75f, AcidRainSpawnRequirement.Anywhere) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) } + }; + PossibleEnemiesAS = new() + { + { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(0, 0.75f, AcidRainSpawnRequirement.Anywhere) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) } + }; + PossibleEnemiesPolter = new() + { + { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(0, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(0, 0.75f, AcidRainSpawnRequirement.Anywhere) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 0.4f, AcidRainSpawnRequirement.Anywhere) }, + { ModContent.NPCType(), new AcidRainSpawnData(1, 1f, AcidRainSpawnRequirement.Anywhere) } + }; + + PossibleMinibossesAS = new() + { + { ModContent.NPCType(), new AcidRainSpawnData(5, 0.08f, AcidRainSpawnRequirement.Water) } + }; + PossibleMinibossesPolter = new() + { + { ModContent.NPCType(), new AcidRainSpawnData(4, 0.08f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(4, 0.07f, AcidRainSpawnRequirement.Water) }, + { ModContent.NPCType(), new AcidRainSpawnData(8, 0.045f, AcidRainSpawnRequirement.Anywhere) } + }; + BossHealthBarManager.MinibossHPBarList.AddRange(AllMinibosses); + } + + // Clear enemy cache lists. + public override void Unload() + { + PossibleEnemiesPreHM = new(); + PossibleEnemiesAS = new(); + PossibleEnemiesPolter = new(); + PossibleMinibossesAS = new(); + PossibleMinibossesPolter = new(); + } + /// /// Attempts to start the Acid Rain event. Will fail if there is another invasion or boss rush going on. It will also fail if the EoC, WoF, or AS has not been killed yet. /// diff --git a/UI/BossHealthBarManager.cs b/UI/BossHealthBarManager.cs index ece63bb0e4..1d80b63532 100644 --- a/UI/BossHealthBarManager.cs +++ b/UI/BossHealthBarManager.cs @@ -268,7 +268,6 @@ namespace CalamityMod.UI NPCType(), NPCType() }; - MinibossHPBarList.AddRange(AcidRainEvent.AllMinibosses); } public static void SetupExtensionHandlerList() From defaf0e6ce8bedf98103f4c96b8a0008c565b38b Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 21 Jun 2022 16:49:50 -0500 Subject: [PATCH 04/11] Calamity "fix" with the fullscreen map --- ILEditing/MechanicILChanges.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ILEditing/MechanicILChanges.cs b/ILEditing/MechanicILChanges.cs index 1b1c4a58a9..d94279e7c7 100644 --- a/ILEditing/MechanicILChanges.cs +++ b/ILEditing/MechanicILChanges.cs @@ -515,8 +515,8 @@ namespace CalamityMod.ILEditing #region Fire Cursor Effect for the Calamity Accessory private static void UseCoolFireCursorEffect(On.Terraria.Main.orig_DrawCursor orig, Vector2 bonus, bool smart) { - // Do nothing special if the player has a regular mouse or is on the menu. - if (Main.gameMenu || !Main.LocalPlayer.Calamity().blazingCursorVisuals) + // Do nothing special if the player has a regular mouse or is on the menu/map. + if (Main.gameMenu || Main.mapFullscreen || !Main.LocalPlayer.Calamity().blazingCursorVisuals) { orig(bonus, smart); return; From 0c8fecf966b2a178a35a1a080742708f781956eb Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 21 Jun 2022 17:06:08 -0500 Subject: [PATCH 05/11] Oasis plants don't generate in astral --- World/AstralBiome.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/World/AstralBiome.cs b/World/AstralBiome.cs index 6de28310ee..a8f1f99a75 100644 --- a/World/AstralBiome.cs +++ b/World/AstralBiome.cs @@ -838,6 +838,10 @@ namespace CalamityMod.World ConvertToAstral(x, topMost + 1); break; } + case TileID.OasisPlants: + Main.tile[x, y].Get().HasTile = false; + NetMessage.SendTileSquare(-1, x, y, 1); + break; } } } From 0f5b697ef619896977bbe5cb152f0a36f5945bb0 Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 21 Jun 2022 17:25:20 -0500 Subject: [PATCH 06/11] Fix particles not drawing with F11 --- ILEditing/ILChangesLoading.cs | 2 -- ILEditing/MechanicILChanges.cs | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ILEditing/ILChangesLoading.cs b/ILEditing/ILChangesLoading.cs index 928ee34ff8..91d998c6d7 100644 --- a/ILEditing/ILChangesLoading.cs +++ b/ILEditing/ILChangesLoading.cs @@ -50,7 +50,6 @@ namespace CalamityMod.ILEditing IL.Terraria.Player.QuickHeal += ConditionallyReplaceManaSickness; IL.Terraria.Player.QuickMana += ConditionallyReplaceManaSickness; IL.Terraria.Player.ItemCheck_Inner += ConditionallyReplaceManaSickness; - On.Terraria.Main.DrawInterface += DrawGeneralParticles; On.Terraria.Main.SortDrawCacheWorms += DrawFusableParticles; On.Terraria.Main.SetDisplayMode += ResetRenderTargetSizes; IL.Terraria.GameContent.Drawing.TileDrawing.DrawPartialLiquid += DrawCustomLava; @@ -147,7 +146,6 @@ namespace CalamityMod.ILEditing IL.Terraria.Player.QuickHeal -= ConditionallyReplaceManaSickness; IL.Terraria.Player.QuickMana -= ConditionallyReplaceManaSickness; IL.Terraria.Player.ItemCheck_Inner -= ConditionallyReplaceManaSickness; - On.Terraria.Main.DrawInterface -= DrawGeneralParticles; On.Terraria.Main.SortDrawCacheWorms -= DrawFusableParticles; On.Terraria.Main.SetDisplayMode -= ResetRenderTargetSizes; IL.Terraria.GameContent.Drawing.TileDrawing.DrawPartialLiquid -= DrawCustomLava; diff --git a/ILEditing/MechanicILChanges.cs b/ILEditing/MechanicILChanges.cs index d94279e7c7..2aa7a84050 100644 --- a/ILEditing/MechanicILChanges.cs +++ b/ILEditing/MechanicILChanges.cs @@ -642,21 +642,15 @@ namespace CalamityMod.ILEditing #endregion Fire Cursor Effect for the Calamity Accessory #region General Particle Rendering - private static void DrawGeneralParticles(On.Terraria.Main.orig_DrawInterface orig, Main self, GameTime gameTime) + private static void DrawFusableParticles(On.Terraria.Main.orig_SortDrawCacheWorms orig, Main self) { GeneralParticleHandler.DrawAllParticles(Main.spriteBatch); DeathAshParticle.DrawAll(); + FusableParticleManager.RenderAllFusableParticles(); if (Main.LocalPlayer.dye.Any(dyeItem => dyeItem.type == ModContent.ItemType())) Main.LocalPlayer.Calamity().ProfanedMoonlightAuroraDrawer?.Draw(Main.LocalPlayer.Center - Main.screenPosition, false, Main.GameViewMatrix.TransformationMatrix, Matrix.Identity); - orig(self, gameTime); - } - - private static void DrawFusableParticles(On.Terraria.Main.orig_SortDrawCacheWorms orig, Main self) - { - FusableParticleManager.RenderAllFusableParticles(); - orig(self); } From 0e790096ab9208bea6ffbcdc06a6ce6ed36038a4 Mon Sep 17 00:00:00 2001 From: NycroV <83246959+NycroV@users.noreply.github.com> Date: Tue, 21 Jun 2022 19:45:32 -0400 Subject: [PATCH 07/11] Calamity Style menu improvements --- MainMenu/CalamityMainMenu.cs | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/MainMenu/CalamityMainMenu.cs b/MainMenu/CalamityMainMenu.cs index 0795577196..5c02ba6ba9 100644 --- a/MainMenu/CalamityMainMenu.cs +++ b/MainMenu/CalamityMainMenu.cs @@ -53,7 +53,29 @@ namespace CalamityMod.MainMenu public override bool PreDrawLogo(SpriteBatch spriteBatch, ref Vector2 logoDrawCenter, ref float logoRotation, ref float logoScale, ref Color drawColor) { Texture2D texture = ModContent.Request("CalamityMod/MainMenu/MenuBackground").Value; - spriteBatch.Draw(texture, new Vector2(0f, 0f), null, Color.White, 0f, Vector2.Zero, (float)Main.screenWidth / texture.Width, SpriteEffects.None, 0f); + + // Calculate the draw position offset and scale in the event that someone is using a non-16:9 monitor + Vector2 drawOffset = Vector2.Zero; + float xScale = (float)Main.screenWidth / texture.Width; + float yScale = (float)Main.screenHeight / texture.Height; + float scale = xScale; + + // if someone's monitor isn't in wacky dimensions, no calculations need to be performed at all + if (xScale != yScale) + { + // If someone's monitor is tall, it needs to be shifted to the left so that it's still centered on screen + // Additionally the Y scale is used so that it still covers the entire screen + if (yScale > xScale) + { + scale = yScale; + drawOffset.X -= (texture.Width - Main.screenWidth * scale) * 0.5f; + } + else + // The opposite is true if someone's monitor is widescreen + drawOffset.Y -= (texture.Height - Main.screenHeight * scale) * 0.5f; + } + + spriteBatch.Draw(texture, drawOffset, null, Color.White, 0f, Vector2.Zero, scale, SpriteEffects.None, 0f); static Color selectCinderColor() { From c6c2a23e6b3ab14d4013569cedeb62c3e8456af6 Mon Sep 17 00:00:00 2001 From: GinYuH <> Date: Tue, 21 Jun 2022 19:20:53 -0700 Subject: [PATCH 08/11] Fixed Deus dropping multiple relics --- NPCs/AstrumDeus/AstrumDeusHead.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPCs/AstrumDeus/AstrumDeusHead.cs b/NPCs/AstrumDeus/AstrumDeusHead.cs index 5cb456332e..7c17242a49 100644 --- a/NPCs/AstrumDeus/AstrumDeusHead.cs +++ b/NPCs/AstrumDeus/AstrumDeusHead.cs @@ -323,7 +323,8 @@ namespace CalamityMod.NPCs.AstrumDeus npcLoot.Add(ModContent.ItemType(), 10); // Relic - npcLoot.AddIf(() => (Main.masterMode || CalamityWorld.revenge) , ModContent.ItemType()); + bool shouldDropRelic(DropAttemptInfo info) => (CalamityWorld.revenge || Main.masterMode) && !ShouldNotDropThings(info.npc); + npcLoot.AddIf(shouldDropRelic, ModContent.ItemType()); // Fragments npcLoot.Add(DropHelper.NormalVsExpertQuantity(ItemID.FragmentSolar, 1, 16, 24, 20, 32)); From 5bfea85ee7448945d4dc22e8e1de4a34bbedd393 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Tue, 21 Jun 2022 22:33:00 -0400 Subject: [PATCH 09/11] Added temporary Workshop icon (same as regular icon, just 512x512) --- icon_workshop.png | Bin 0 -> 18699 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 icon_workshop.png diff --git a/icon_workshop.png b/icon_workshop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}KIrfPcjf1sCpT{pR>8)I_YpQ5Y@q7J z7Tt%=1=d8G?lr5E)c^x!z)lJM>d9<;caE?izEHLQBED+CSP&of|F`)527X#hC9RBR z^=N|eL7Gz%*$sZDVf=`)d=->(mx@#YESizyoH^#6e4D>-AiRxTYzglR;-isIbS&p9 zPOGrdV?&(NbcS0n8z|^GsAgRCY3rz^W}H91p?+3lFZ}j}j=o^*V{a%HnsohFDzU+{ zVv^`@7<1-lto`}{BqM$D)Tj~sCPf1LuEkNP1oMUJy2O^)i36wSWs-Z3uRNzBYi+DN zaEz=t2fqa2MuH!?Xokvas+#s(ot9A>`-9f+t^EC~YR>)!48h_@cc(A>l!U%JZw<3v zzh^e9{y%26i3z{h!l;H{<#+;BIn2uZ3=v15sWzF`H{(A%x8D00#jl^=z3zbD=OC5i z_2M23QYSv9lx_90<}DyDFR1gze_z1OD}5=Ukd1suNh=7ybLMu&5rUA)iU-#((Ba1_ zs-wa^);oPtAILI^2x^GqEnvOlIAhI!U%*@R|vNeq!5&(Pv6 z;K0MaaEt%G0K3(R@WAx!`seJ34}zy%x?>G?(iC{RUe34=KV3qg{a}VjR!rvY=}X%i zySVOMIQoH-sPG`&)c7;H#M$)`-&T7)T&p$!$bD_hsR!f}P}mXi1ApIL^}Ol$&F9%S zGx#P>A$sUXblhCTHTs;ZsW|H+&(Lq|5RCD(Afr;Q>Okj1n)N$o`Sa=WqZ>3;;c$wn z+>d6&%kf2ShTkEnja{}OwlDDroP%e3v~NdCG1R1(D+xHo<*^|Tb|zf4g2O2ZX>dQv z(f1ZP^5N~)fdZ9FS2Lbx#=|)z1a`L;Pdz}tiE<=U;_{^)mp@CwRQ|6lX Date: Tue, 21 Jun 2022 22:42:33 -0400 Subject: [PATCH 10/11] Malice isn't finished so it doesn't count as a difficulty --- description.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/description.txt b/description.txt index b26e749679..85d9d9d4bc 100644 --- a/description.txt +++ b/description.txt @@ -1,5 +1,5 @@ The Calamity Mod is a vast content mod for Terraria. -It adds three new difficulty modes, multiple entire biomes, thousands of items, hundreds of weapons, and dozens of bosses. +It adds two new difficulty modes, multiple entire biomes, thousands of items, hundreds of weapons, and dozens of bosses. The mod also makes hundreds of adjustments to vanilla items, features and mechanics to improve balance, quality of life and overall gameplay consistency. A more detailed breakdown of the content available in Calamity: @@ -14,7 +14,7 @@ A more detailed breakdown of the content available in Calamity: - 100+ blocks - 200+ pieces of furniture - 11 ores -- 3 full difficulty settings above Expert, separate from Master +- 2 full difficulty settings above Expert, separate from Master - 50+ changes to vanilla mechanics - 30+ new recipes for vanilla items - 450+ tweaks and improvements to vanilla items From 4a757c6ce3ee99b409a9b24326b36262eb18371a Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Tue, 21 Jun 2022 23:07:25 -0400 Subject: [PATCH 11/11] Added workshop description with help from pixlgray. --- description_workshop.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 description_workshop.txt diff --git a/description_workshop.txt b/description_workshop.txt new file mode 100644 index 0000000000..8e473f4a3e --- /dev/null +++ b/description_workshop.txt @@ -0,0 +1,40 @@ +[h1]Calamity Mod[/h1] +[url=https://discord.gg/calamity]Discord[/url] [url=https://calamitymod.wiki.gg]Official Wiki[/url] + +The Calamity Mod is a vast content mod that creates a new and refreshing experience for Terraria! + +With this mod comes a slew of new bosses, unique and challenging difficulty modes, over a thousand new items, new NPCs, and entire new biomes to explore! Calamity also massively expands the endgame of Terraria, creating an entirely original, intense experience for players to enjoy. + +The mod additionally tweaks tons of vanilla features whilst adding new ones to aid the player's experience and heavily expand on the base game, including but not limited to: +[olist] +[*] Reworked reforging with the Goblin Tinkerer +[*] Reworked gameplay progression in early Hardmode +[*] Dozens of extra crafting recipes for existing vanilla items +[*] Dozens more quality of life and balance changes! +[/olist] + +[i]Please note that this mod does [b]NOT[/b] include Calamity's soundtrack! You will need to download "Calamity Mod Music" for the full intended experience![/i] + +[b]Be sure to join our Discord server linked above to keep up with the latest news about upcoming updates and features.[/b] + +[hr] + +A more detailed breakdown of the content available in Calamity: +[olist] +[*] 27 bosses and 12 minibosses +[*] 100+ enemies +[*] 5 town NPCs +[*] 5 biomes and many new structures +[*] 1 event +[*] 1 new playable class (based on Throwing from Terraria 1.3) +[*] 1800+ items +[*] 700+ weapons +[*] 100+ blocks +[*] 200+ pieces of furniture +[*] 11 ores +[*] 2 full difficulty settings above Expert, separate from Master +[*] 50+ changes to vanilla mechanics +[*] 30+ new recipes for vanilla items +[*] 450+ tweaks and improvements to vanilla items +[*] Cross-mod support for the Thorium Mod +[/olist] \ No newline at end of file