diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 058066ba76..7e939836f1 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -842,7 +842,7 @@ namespace CalamityMod.CalPlayer public int theBeeCooldown = 0; public bool aFossil = false; public bool fallingBlockProtection = false; - public bool trapProtection = false; + public bool archaicPowder = false; public bool alluringBait = false; public bool enchantedPearl = false; public bool rBrain = false; @@ -1070,10 +1070,10 @@ namespace CalamityMod.CalPlayer public bool dynamoStemCells = false; public bool etherealExtorter = false; public Item AccessoryParryItem = null; - public bool blazingCore = false; - public int blazingCoreParry = 0; - public int blazingCoreSuccessfulParry = 0; - public bool blazingCoreEmpoweredParry = false; + public bool divineProvidence = false; + public int divineProvParry = 0; + public int divineProvSuccessfulParry = 0; + public bool divineProvEmpoweredParry = false; public bool voltaicJelly = false; public bool jellyChargedBattery = false; /// General cooldown for accessories which spawn projectiles on minion hits. @@ -2363,7 +2363,7 @@ namespace CalamityMod.CalPlayer protolithBangleVisual = false; aFossil = false; fallingBlockProtection = false; - trapProtection = false; + archaicPowder = false; alluringBait = false; enchantedPearl = false; rBrain = false; @@ -2478,7 +2478,7 @@ namespace CalamityMod.CalPlayer dynamoStemCells = false; etherealExtorter = false; AccessoryParryItem = null; - blazingCore = false; + divineProvidence = false; voltaicJelly = false; jellyChargedBattery = false; starbusterCore = false; @@ -3399,9 +3399,9 @@ namespace CalamityMod.CalPlayer xerocSet = false; tracersDust = false; GemTechState.OnDeathEffects(); - blazingCoreParry = 0; - blazingCoreEmpoweredParry = false; - blazingCoreSuccessfulParry = 0; + divineProvParry = 0; + divineProvEmpoweredParry = false; + divineProvSuccessfulParry = 0; flameLickedShellParry = 0; flameLickedShellEmpoweredParry = false; profanedCrystalAnim = -1; @@ -3754,7 +3754,7 @@ namespace CalamityMod.CalPlayer if (AccessoryParryItem != null && AccessoryParryItem.JustPressedKeybind()) { - if (blazingCore && blazingCoreParry == 0 && blazingCoreSuccessfulParry == 0) + if (divineProvidence && divineProvParry == 0 && divineProvSuccessfulParry == 0) { //minor cheese prevention with standing on a spike with later game gear spamming parry :skull: //because of ordering, if they do not have the cooldown, it will not check the projectile array. Likewise if there are no bosses alive. @@ -3762,8 +3762,8 @@ namespace CalamityMod.CalPlayer if (!Player.HasCooldown(ParryCooldown.ID) || Player.ownedProjectileCounts[ProjectileType()] == 0) { Player.SetScreenshake(3.5f); - blazingCoreParry = 30; - SoundEngine.PlaySound(BlazingCore.ParryActivateSound, Player.Center); + divineProvParry = 30; + SoundEngine.PlaySound(DivineProvidence.ParryActivateSound, Player.Center); var mySourceIsIMadeItUp = Player.GetSource_FromThis(); int blazingSun = Projectile.NewProjectile(mySourceIsIMadeItUp, Player.Center, Vector2.Zero, ProjectileType(), 0, 0f, Player.whoAmI, 0f, 0f); Main.projectile[blazingSun].Center = Player.Center; @@ -5219,6 +5219,15 @@ namespace CalamityMod.CalPlayer if (Player.chiselSpeed) Player.pickSpeed += 0.1f; + // Prevent Archaic Powder mining speed from stacking with Ancient Chisel or Ancient Fossil + if (archaicPowder) + { + if (Player.chiselSpeed) + Player.pickSpeed += 0.15f; + if (aFossil) + Player.pickSpeed += AncientFossil.MiningSpeedBoost; + } + if (oceanCrest) { bool surface = Player.Center.Y < Main.worldSurface * 16.0; diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index d4cb893450..6703ccd155 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -896,11 +896,11 @@ namespace CalamityMod.CalPlayer modifiers.Cancel(); bool isIgnoredTrap = (proj.type == ProjectileID.PoisonDartTrap) || (proj.type == ProjectileID.VenomDartTrap) || (proj.type == ProjectileID.PoisonDart); - if (Player.Calamity().trapProtection && isIgnoredTrap) + if (Player.Calamity().archaicPowder && isIgnoredTrap) modifiers.Cancel(); bool isReducedTrap = (proj.trap || proj.type == ProjectileID.RollingCactusSpike || proj.type == ProjectileID.Landmine) && !isIgnoredTrap; - if (Player.Calamity().trapProtection && isReducedTrap) + if (Player.Calamity().archaicPowder && isReducedTrap) modifiers.SourceDamage *= (1f - ArchaicPowder.TrapDamageReduction); // Reduce damage dealt by rainbow trails @@ -1563,23 +1563,23 @@ namespace CalamityMod.CalPlayer // It has not yet been mitigated by any means. // - if (blazingCoreParry > 0) //check for active parry + if (divineProvParry > 0) //check for active parry { - if (blazingCoreParry >= 12) //only the first 18 frames (0.3 seconds) counts for a valid parry + if (divineProvParry >= 12) //only the first 18 frames (0.3 seconds) counts for a valid parry { if (!Player.HasCooldown(ParryCooldown.ID)) { - // 17APR2024: Ozzatron: Blazing Core is a parry. It uses vanilla parry iframes and benefits from Cross Necklace. - int blazingCoreParryIFrames = Player.ComputeParryIFrames(); - Player.GiveUniversalIFrames(blazingCoreParryIFrames, true); + // 17APR2024: Ozzatron: Divine Providence is a parry. It uses vanilla parry iframes and benefits from Cross Necklace. + int divineProvParryIFrames = Player.ComputeParryIFrames(); + Player.GiveUniversalIFrames(divineProvParryIFrames, true); - blazingCoreEmpoweredParry = true; + divineProvEmpoweredParry = true; modifiers.Cancel(); modifiers.DisableSound(); //prevents hurt sound from playing, had no idea this was a thing } - SoundEngine.PlaySound(BlazingCore.ParrySuccessSound, Player.Center); + SoundEngine.PlaySound(DivineProvidence.ParrySuccessSound, Player.Center); float power = 2; for (int i = 0; i < (int)(20 * power); i++) @@ -1609,12 +1609,12 @@ namespace CalamityMod.CalPlayer Particle orb2 = new CustomPulse(Player.Center, Vector2.Zero, Color.Khaki, "CalamityMod/Particles/BloomRing", new Vector2(1f, 0.5f), 0, 0, 2.1f * power, 25); GeneralParticleHandler.SpawnParticle(orb2); - blazingCoreSuccessfulParry = 60; + divineProvSuccessfulParry = 60; Player.AddCooldown(ParryCooldown.ID, 60 * 30, false, "blazingcore"); //cooldown is frames in seconds multiplied by the desired amount of seconds } - if (blazingCoreParry > 1) - blazingCoreParry = 1; //schedule parry to end next frame + if (divineProvParry > 1) + divineProvParry = 1; //schedule parry to end next frame } else if (flameLickedShellParry > 0) { diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 62396bcd18..852712030f 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2535,15 +2535,15 @@ namespace CalamityMod.CalPlayer if (auralisAuroraCooldown > 0) auralisAuroraCooldown--; - if (blazingCore) + if (divineProvidence) { - if (blazingCoreSuccessfulParry > 0) - BlazingCore.HandleStars(Player); - else if (blazingCoreParry > 0) - BlazingCore.HandleParryCountdown(Player); + if (divineProvSuccessfulParry > 0) + DivineProvidence.HandleStars(Player); + else if (divineProvParry > 0) + DivineProvidence.HandleParryCountdown(Player); } - else if (blazingCoreParry > 0) - blazingCoreParry--; + else if (divineProvParry > 0) + divineProvParry--; else if (flameLickedShellParry > 0) { if (flameLickedShell) diff --git a/CalPlayer/DrawLayers/EncasementParryLayer.cs b/CalPlayer/DrawLayers/EncasementParryLayer.cs index 4e3deb92bc..12e96039d4 100644 --- a/CalPlayer/DrawLayers/EncasementParryLayer.cs +++ b/CalPlayer/DrawLayers/EncasementParryLayer.cs @@ -15,7 +15,7 @@ namespace CalamityMod.CalPlayer.DrawLayers } public override Position GetDefaultPosition() => new BeforeParent(PlayerDrawLayers.FrontAccFront); //me when the player layer is called front acc front :skull: - public EncasementType GetEncasementTypeFor(CalamityPlayer modPlayer) => modPlayer.blazingCore ? EncasementType.BlazingCore : EncasementType.FlameLickedShell; + public EncasementType GetEncasementTypeFor(CalamityPlayer modPlayer) => modPlayer.divineProvidence ? EncasementType.BlazingCore : EncasementType.FlameLickedShell; public override bool GetDefaultVisibility(PlayerDrawSet drawInfo) { @@ -25,7 +25,7 @@ namespace CalamityMod.CalPlayer.DrawLayers bool visible = drawInfo.shadow == 0f && !drawPlayer.dead; visible = encasement switch { - EncasementType.BlazingCore => visible && modPlayer.blazingCoreParry > 0, + EncasementType.BlazingCore => visible && modPlayer.divineProvParry > 0, EncasementType.FlameLickedShell => visible && modPlayer.flameLickedShellParry > 0, _ => false }; @@ -45,7 +45,7 @@ namespace CalamityMod.CalPlayer.DrawLayers { case EncasementType.BlazingCore: tex += "BlazingCoreCrystal"; - currentParry = calPlayer.blazingCoreParry; + currentParry = calPlayer.divineProvParry; defaultOpacity = 0.725f; scale = 1.15f; break; diff --git a/Gores/AquaticScourgeGores/AquaticParasite1.png b/Gores/AquaticScourgeGores/AquaticParasite1.png deleted file mode 100644 index f652388f71..0000000000 Binary files a/Gores/AquaticScourgeGores/AquaticParasite1.png and /dev/null differ diff --git a/Gores/AquaticScourgeGores/AquaticParasite2.png b/Gores/AquaticScourgeGores/AquaticParasite2.png deleted file mode 100644 index 82a0aa1720..0000000000 Binary files a/Gores/AquaticScourgeGores/AquaticParasite2.png and /dev/null differ diff --git a/Gores/AquaticScourgeGores/AquaticSeekerBody.png b/Gores/AquaticScourgeGores/AquaticSeekerBody.png deleted file mode 100644 index fb1978fced..0000000000 Binary files a/Gores/AquaticScourgeGores/AquaticSeekerBody.png and /dev/null differ diff --git a/Gores/AquaticScourgeGores/AquaticSeekerHead.png b/Gores/AquaticScourgeGores/AquaticSeekerHead.png deleted file mode 100644 index ab7b02b78b..0000000000 Binary files a/Gores/AquaticScourgeGores/AquaticSeekerHead.png and /dev/null differ diff --git a/Gores/AquaticScourgeGores/AquaticSeekerTail.png b/Gores/AquaticScourgeGores/AquaticSeekerTail.png deleted file mode 100644 index f4da7fb3a7..0000000000 Binary files a/Gores/AquaticScourgeGores/AquaticSeekerTail.png and /dev/null differ diff --git a/Gores/CalamitasGores/LifeSeeker.png b/Gores/CalamitasGores/LifeSeeker.png deleted file mode 100644 index 398861be36..0000000000 Binary files a/Gores/CalamitasGores/LifeSeeker.png and /dev/null differ diff --git a/Gores/CalamitasGores/LifeSeeker2.png b/Gores/CalamitasGores/LifeSeeker2.png deleted file mode 100644 index d51c94f12d..0000000000 Binary files a/Gores/CalamitasGores/LifeSeeker2.png and /dev/null differ diff --git a/Gores/CalamitasGores/LifeSeeker3.png b/Gores/CalamitasGores/LifeSeeker3.png deleted file mode 100644 index dd3f95427d..0000000000 Binary files a/Gores/CalamitasGores/LifeSeeker3.png and /dev/null differ diff --git a/Gores/CalamitasGores/SoulSlurper.png b/Gores/CalamitasGores/SoulSlurper.png deleted file mode 100644 index 63911dc0f4..0000000000 Binary files a/Gores/CalamitasGores/SoulSlurper.png and /dev/null differ diff --git a/Gores/CalamitasGores/SoulSlurper2.png b/Gores/CalamitasGores/SoulSlurper2.png deleted file mode 100644 index 9f7519fd46..0000000000 Binary files a/Gores/CalamitasGores/SoulSlurper2.png and /dev/null differ diff --git a/Gores/CalamitasGores/SoulSlurper3.png b/Gores/CalamitasGores/SoulSlurper3.png deleted file mode 100644 index d752cbe4e8..0000000000 Binary files a/Gores/CalamitasGores/SoulSlurper3.png and /dev/null differ diff --git a/Gores/CalamitasGores/SoulSlurper4.png b/Gores/CalamitasGores/SoulSlurper4.png deleted file mode 100644 index 2d6924f39f..0000000000 Binary files a/Gores/CalamitasGores/SoulSlurper4.png and /dev/null differ diff --git a/Gores/Cryocore.png b/Gores/Cryocore.png deleted file mode 100644 index cbf2143aa0..0000000000 Binary files a/Gores/Cryocore.png and /dev/null differ diff --git a/Gores/Cryocore2.png b/Gores/Cryocore2.png deleted file mode 100644 index e63a1f27e0..0000000000 Binary files a/Gores/Cryocore2.png and /dev/null differ diff --git a/Gores/DoGBody.png b/Gores/DoGBody.png deleted file mode 100644 index 3bd4321383..0000000000 Binary files a/Gores/DoGBody.png and /dev/null differ diff --git a/Gores/DoGBody2.png b/Gores/DoGBody2.png deleted file mode 100644 index ce1193d555..0000000000 Binary files a/Gores/DoGBody2.png and /dev/null differ diff --git a/Gores/DoGBody3.png b/Gores/DoGBody3.png deleted file mode 100644 index 2e2616f6a3..0000000000 Binary files a/Gores/DoGBody3.png and /dev/null differ diff --git a/Gores/DoGHead.png b/Gores/DoGHead.png deleted file mode 100644 index f33c23b97e..0000000000 Binary files a/Gores/DoGHead.png and /dev/null differ diff --git a/Gores/DoGTail.png b/Gores/DoGTail.png deleted file mode 100644 index 65f911efda..0000000000 Binary files a/Gores/DoGTail.png and /dev/null differ diff --git a/Gores/DoT.png b/Gores/DoT.png deleted file mode 100644 index 2522740775..0000000000 Binary files a/Gores/DoT.png and /dev/null differ diff --git a/Gores/DoT2.png b/Gores/DoT2.png deleted file mode 100644 index 7d83341fd1..0000000000 Binary files a/Gores/DoT2.png and /dev/null differ diff --git a/Gores/DoT3.png b/Gores/DoT3.png deleted file mode 100644 index 872927462a..0000000000 Binary files a/Gores/DoT3.png and /dev/null differ diff --git a/Gores/DoT4.png b/Gores/DoT4.png deleted file mode 100644 index 8865c715ba..0000000000 Binary files a/Gores/DoT4.png and /dev/null differ diff --git a/Gores/DoT5.png b/Gores/DoT5.png deleted file mode 100644 index 19ccf524a2..0000000000 Binary files a/Gores/DoT5.png and /dev/null differ diff --git a/Gores/PrismShurikenBlade.png b/Gores/PrismShurikenBlade.png deleted file mode 100644 index 650f27e8c1..0000000000 Binary files a/Gores/PrismShurikenBlade.png and /dev/null differ diff --git a/Gores/ScourgePestBody.png b/Gores/ScourgePestBody.png deleted file mode 100644 index e120f5edc7..0000000000 Binary files a/Gores/ScourgePestBody.png and /dev/null differ diff --git a/Gores/ScourgePestBody2.png b/Gores/ScourgePestBody2.png deleted file mode 100644 index 8e07accb80..0000000000 Binary files a/Gores/ScourgePestBody2.png and /dev/null differ diff --git a/Gores/ScourgePestBody3.png b/Gores/ScourgePestBody3.png deleted file mode 100644 index adedc10e2f..0000000000 Binary files a/Gores/ScourgePestBody3.png and /dev/null differ diff --git a/Gores/ScourgePestBody4.png b/Gores/ScourgePestBody4.png deleted file mode 100644 index 7b3f75ea31..0000000000 Binary files a/Gores/ScourgePestBody4.png and /dev/null differ diff --git a/Gores/ScourgePestHead.png b/Gores/ScourgePestHead.png deleted file mode 100644 index b0be38f842..0000000000 Binary files a/Gores/ScourgePestHead.png and /dev/null differ diff --git a/Gores/ScourgePestTail.png b/Gores/ScourgePestTail.png deleted file mode 100644 index 39e6906844..0000000000 Binary files a/Gores/ScourgePestTail.png and /dev/null differ diff --git a/Gores/StasisProbe1.png b/Gores/StasisProbe1.png deleted file mode 100644 index 5ea916d95b..0000000000 Binary files a/Gores/StasisProbe1.png and /dev/null differ diff --git a/Gores/StasisProbeNaked1.png b/Gores/StasisProbeNaked1.png deleted file mode 100644 index c60d12338b..0000000000 Binary files a/Gores/StasisProbeNaked1.png and /dev/null differ diff --git a/Gores/TarraHeart.png b/Gores/TarraHeart.png deleted file mode 100644 index dc382d7695..0000000000 Binary files a/Gores/TarraHeart.png and /dev/null differ diff --git a/ILEditing/ILChangesLoading.cs b/ILEditing/ILChangesLoading.cs index d57155929a..93c842f281 100644 --- a/ILEditing/ILChangesLoading.cs +++ b/ILEditing/ILChangesLoading.cs @@ -142,6 +142,8 @@ namespace CalamityMod.ILEditing IL_UIWorldCreation.AddWorldSizeOptions += SwapSmallDescriptionKey; On_WorldGen.MakeDungeon += LimitDungeonEntranceXPosition; IL_WorldGen.DungeonHalls += LimitDungeonHallsXPosition; + IL_WorldGen.IslandHouse += MakeFledgingWingsMoreCommon; + IL_WorldGen.AddBuriedChest_int_int_int_bool_int_bool_ushort += DisableFledglingWingsSecondary; // Removal of vanilla stupidity IL_Player.StatusFromNPC += RemoveExpertBrainRandomDebuffs; diff --git a/ILEditing/WorldgenILChanges.cs b/ILEditing/WorldgenILChanges.cs index 6a11c74bec..63e1681843 100644 --- a/ILEditing/WorldgenILChanges.cs +++ b/ILEditing/WorldgenILChanges.cs @@ -208,5 +208,72 @@ namespace CalamityMod.ILEditing } #endregion Prevent Abyss/Dungeon Interactions + + #region Fledgling Wings Loot Changes + /// + /// Changes the primary loot of Floating Island chests to include Fledging Wings + /// + private static void MakeFledgingWingsMoreCommon(ILContext il) + { + var cursor = new ILCursor(il); + + // How the code we are moving to works: + // Set num13 equal to the number of islands generated. If greater than 3, set to a random number between 0-3 inclusive. Then use that value in a 4-branch switch statement. + // This makes num13 always be a value between 0-3, for the 4 primary items in island loot. + // To accomodate for Fledgling Wings, we must change this to check for being greater than 4, then to set to a random number between 0-4 inclusive, then make the switch have 5 branches. + if (!cursor.TryGotoNext(MoveType.After, i => i.MatchStloc(13))) + { + LogFailure("Fledgling Wings", "Could not move to the location of determining Floating Island primary loot 1."); + return; + } + + // Emit a delegate which reimplements the logic for choosing the primary loot of floating islands with Fledgling Wings, then return the ID of the item. + var label = il.DefineLabel(); + cursor.EmitDelegate>(() => + { + int island = GenVars.skyIslandHouseCount; + if (island > 4) + island = Main.rand.Next(5); + + return island switch + { + 1 => 65, // Starfury + 2 => 158, // Lucky Horseshoe + 3 => 2219, // Celestial Magnet + 4 => 4978, // Fledgling Wings + _ => 159, // Shiny Red Balloon + }; + }); + + // Store this value in the variable which holds the ID of the item, then branch past the original logic. + cursor.Emit(OpCodes.Stloc, 13); + cursor.Emit(OpCodes.Br, label); + + if (!cursor.TryGotoNext(MoveType.AfterLabel, i => i.MatchLdsfld("getGoodWorldGen"))) + { + LogFailure("Fledgling Wings", "Could not move after the switch statement."); + return; + } + cursor.MarkLabel(label); + } + + /// + /// Disables Fledgling Wings being added as secondary loot in floating island chests + /// + private static void DisableFledglingWingsSecondary(ILContext il) + { + var cursor = new ILCursor(il); + + if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdloc(9))) + { + LogFailure("Fledgling Wings", "Could not move to the code adding Fledgling Wings as secondary loot."); + return; + } + + // AND with 0 (false) so that the code to add Fledgling Wings as secondary loot never runs. + cursor.Emit(OpCodes.Ldc_I4_0); + cursor.Emit(OpCodes.And); + } + #endregion } } diff --git a/Items/Accessories/ArchaicPowder.cs b/Items/Accessories/ArchaicPowder.cs index 9e51e21962..f9fa031628 100644 --- a/Items/Accessories/ArchaicPowder.cs +++ b/Items/Accessories/ArchaicPowder.cs @@ -28,13 +28,7 @@ namespace CalamityMod.Items.Accessories { player.pickSpeed -= MiningSpeedBoost; player.Calamity().fallingBlockProtection = true; - player.Calamity().trapProtection = true; - - // Doesn't stack with downgrades - if (player.chiselSpeed) - player.pickSpeed += 0.15f; - if (player.Calamity().aFossil) - player.pickSpeed += AncientFossil.MiningSpeedBoost; + player.Calamity().archaicPowder = true; } public override void AddRecipes() diff --git a/Items/Accessories/ChaliceOfTheBloodGod.cs b/Items/Accessories/ChaliceOfTheBloodGod.cs index 53a8a5026d..99494921a8 100644 --- a/Items/Accessories/ChaliceOfTheBloodGod.cs +++ b/Items/Accessories/ChaliceOfTheBloodGod.cs @@ -71,7 +71,8 @@ namespace CalamityMod.Items.Accessories CreateRecipe(). AddIngredient(). AddIngredient(ItemID.CharmofMyths). - AddIngredient(5). + AddIngredient(12). + AddIngredient(5). AddIngredient(4). AddTile(). Register(); diff --git a/Items/Accessories/BlazingCore.cs b/Items/Accessories/DivineProvidence.cs similarity index 87% rename from Items/Accessories/BlazingCore.cs rename to Items/Accessories/DivineProvidence.cs index 6082a7d1ae..e6771ab241 100644 --- a/Items/Accessories/BlazingCore.cs +++ b/Items/Accessories/DivineProvidence.cs @@ -13,7 +13,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Accessories { - public class BlazingCore : ModItem, ILocalizedModType + [LegacyName("BlazingCore")] + public class DivineProvidence : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; @@ -42,22 +43,22 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { - player.Calamity().blazingCore = true; + player.Calamity().divineProvidence = true; player.Calamity().AccessoryParryItem = Item; player.noKnockback = true; } public static void HandleStars(Player player) { - bool empowered = player.Calamity().blazingCoreEmpoweredParry; + bool empowered = player.Calamity().divineProvEmpoweredParry; float divisor = 3f; int totalFlameProjectiles = 45; int chains = 3; float interval = totalFlameProjectiles / chains * divisor; - double patternInterval = Math.Floor(player.Calamity().blazingCoreSuccessfulParry / interval); + double patternInterval = Math.Floor(player.Calamity().divineProvSuccessfulParry / interval); - if (player.Calamity().blazingCoreSuccessfulParry % 4 == 0) //play sound every 4 frames + if (player.Calamity().divineProvSuccessfulParry % 4 == 0) //play sound every 4 frames { SoundEngine.PlaySound(SoundID.DD2_BetsyFireballImpact, player.Center); } @@ -90,19 +91,19 @@ namespace CalamityMod.Items.Accessories offset += 10f; } - player.Calamity().blazingCoreSuccessfulParry--; - if (player.Calamity().blazingCoreSuccessfulParry <= 0) + player.Calamity().divineProvSuccessfulParry--; + if (player.Calamity().divineProvSuccessfulParry <= 0) { offset = 0f; - player.Calamity().blazingCoreEmpoweredParry = false; + player.Calamity().divineProvEmpoweredParry = false; } } public static void HandleParryCountdown(Player player) { - player.Calamity().blazingCoreParry--; + player.Calamity().divineProvParry--; - if (player.Calamity().blazingCoreParry > 0) + if (player.Calamity().divineProvParry > 0) { player.controlJump = false; player.controlDown = false; diff --git a/Items/Accessories/BlazingCore.png b/Items/Accessories/DivineProvidence.png similarity index 100% rename from Items/Accessories/BlazingCore.png rename to Items/Accessories/DivineProvidence.png diff --git a/Items/Ammo/BloodfireArrow.cs b/Items/Ammo/BloodfireArrow.cs index 6fd88990ef..f837f16b33 100644 --- a/Items/Ammo/BloodfireArrow.cs +++ b/Items/Ammo/BloodfireArrow.cs @@ -34,7 +34,8 @@ namespace CalamityMod.Items.Ammo public override void AddRecipes() { CreateRecipe(333). - AddIngredient(). + AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Ammo/BloodfireBullet.cs b/Items/Ammo/BloodfireBullet.cs index 91630337cb..8ce5c795ef 100644 --- a/Items/Ammo/BloodfireBullet.cs +++ b/Items/Ammo/BloodfireBullet.cs @@ -34,7 +34,8 @@ namespace CalamityMod.Items.Ammo public override void AddRecipes() { CreateRecipe(333). - AddIngredient(). + AddIngredient(). + AddIngredient(). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Armor/Bloodflare/BloodflareBodyArmor.cs b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs index d89542d8d3..8dbef44c5c 100644 --- a/Items/Armor/Bloodflare/BloodflareBodyArmor.cs +++ b/Items/Armor/Bloodflare/BloodflareBodyArmor.cs @@ -34,7 +34,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(20). + AddIngredient(50). + AddIngredient(20). AddIngredient(4). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Bloodflare/BloodflareCuisses.cs b/Items/Armor/Bloodflare/BloodflareCuisses.cs index a024e82894..71b45a6b0c 100644 --- a/Items/Armor/Bloodflare/BloodflareCuisses.cs +++ b/Items/Armor/Bloodflare/BloodflareCuisses.cs @@ -36,7 +36,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(15). + AddIngredient(35). + AddIngredient(15). AddIngredient(3). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Armor/Bloodflare/BloodflareHeadMagic.cs b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs index 5c7f544f8b..8b66f597f7 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadMagic.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMagic.cs @@ -59,7 +59,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddIngredient(2). AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/Armor/Bloodflare/BloodflareHeadMelee.cs b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs index ed52234ba0..b18a7a335a 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadMelee.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadMelee.cs @@ -59,7 +59,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddIngredient(2). AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/Armor/Bloodflare/BloodflareHeadRanged.cs b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs index 8c3e021e5c..45437ee384 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadRanged.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRanged.cs @@ -60,7 +60,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddIngredient(2). AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/Armor/Bloodflare/BloodflareHeadRogue.cs b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs index 5163faf894..03c8191af6 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadRogue.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadRogue.cs @@ -55,7 +55,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddIngredient(2). AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/Armor/Bloodflare/BloodflareHeadSummon.cs b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs index 113a1c8683..ca4323039d 100644 --- a/Items/Armor/Bloodflare/BloodflareHeadSummon.cs +++ b/Items/Armor/Bloodflare/BloodflareHeadSummon.cs @@ -59,7 +59,8 @@ namespace CalamityMod.Items.Armor.Bloodflare public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddIngredient(2). AddTile(TileID.MythrilAnvil). SortBeforeFirstRecipesOf(ModContent.ItemType()). diff --git a/Items/CalamityGlobalItemLoot.cs b/Items/CalamityGlobalItemLoot.cs index 3d3ed8176e..ad89f62418 100644 --- a/Items/CalamityGlobalItemLoot.cs +++ b/Items/CalamityGlobalItemLoot.cs @@ -301,9 +301,17 @@ namespace CalamityMod.Items loot.Add(ModContent.ItemType(), 2, 2, 5); break; + // Reimplement primary loot rule to include Fledgling Wings + case ItemID.FloatingIslandFishingCrate: + RemoveLootRuleFromSkyCrates(loot); + loot.Add(ItemDropRule.OneFromOptionsNotScalingWithLuck(1, ItemID.ShinyRedBalloon, ItemID.LuckyHorseshoe, ItemID.Starfury, ItemID.CelestialMagnet, ItemID.CreativeWings)); + break; + // 2-5 Essences of Sunlight @ 50% // This is our equivalent to Souls of Light/Night case ItemID.FloatingIslandFishingCrateHard: + RemoveLootRuleFromSkyCrates(loot); + loot.Add(ItemDropRule.OneFromOptionsNotScalingWithLuck(1, ItemID.ShinyRedBalloon, ItemID.LuckyHorseshoe, ItemID.Starfury, ItemID.CelestialMagnet, ItemID.CreativeWings)); RemoveHardmodeOresFromBiomeCrates(loot); loot.AddHardmodeOresToCrates(HardmodeCrateType.Biome); loot.Add(ModContent.ItemType(), 2, 2, 5); @@ -584,6 +592,34 @@ namespace CalamityMod.Items ItemID.BandofRegeneration, ItemID.ShoeSpikes, ModContent.ItemType()); // Climbing Claws is in Wooden/Pearlwood (vanilla) in case you're curious + + private static void RemoveLootRuleFromSkyCrates(ItemLoot loot) + { + List rules = loot.Get(false); + AlwaysAtleastOneSuccessDropRule main = null; + foreach (IItemDropRule rule in rules) + { + if (rule is AlwaysAtleastOneSuccessDropRule a) + main = a; + } + if (main is null) + return; + + // Remove the primary loot rule and the rule for Fledgling Wings + foreach (IItemDropRule rule in main.rules) + { + if (rule is OneFromOptionsNotScaledWithLuckDropRule one && one.chanceDenominator == 1) + { + one.chanceNumerator = 0; + continue; + } + if (rule is CommonDrop c && c.itemId == ItemID.CreativeWings) + { + c.chanceNumerator = 0; + continue; + } + } + } #endregion #region Goodie Bag Bat Hook diff --git a/Items/Materials/Bloodstone.cs b/Items/Materials/Bloodstone.cs index 2f1ab7ea6b..271968d400 100644 --- a/Items/Materials/Bloodstone.cs +++ b/Items/Materials/Bloodstone.cs @@ -5,6 +5,7 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Materials { + [LegacyName("BloodstoneCore")] public class Bloodstone : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Materials"; diff --git a/Items/Materials/BloodstoneCore.cs b/Items/Materials/BloodstoneCore.cs deleted file mode 100644 index 2e5607f957..0000000000 --- a/Items/Materials/BloodstoneCore.cs +++ /dev/null @@ -1,36 +0,0 @@ -using CalamityMod.Rarities; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Items.Materials -{ - public class BloodstoneCore : ModItem, ILocalizedModType - { - public new string LocalizationCategory => "Items.Materials"; - public override void SetStaticDefaults() - { - Item.ResearchUnlockCount = 25; - ItemID.Sets.SortingPriorityMaterials[Type] = 113; - } - - public override void SetDefaults() - { - Item.width = 15; - Item.height = 12; - Item.maxStack = Item.CommonMaxStack; - Item.value = Item.sellPrice(gold: 2); - Item.rare = ModContent.RarityType(); - } - - public override void AddRecipes() - { - CreateRecipe(2). - AddIngredient(5). - AddIngredient(). - AddIngredient(). - AddTile(TileID.MythrilAnvil). - Register(); - } - } -} diff --git a/Items/Materials/BloodstoneCore.png b/Items/Materials/BloodstoneCore.png deleted file mode 100644 index 4784da5dc1..0000000000 Binary files a/Items/Materials/BloodstoneCore.png and /dev/null differ diff --git a/Items/Tools/BrimstoneLocus.cs b/Items/Tools/BrimstoneLocus.cs index 19e3fab570..10370ad4a2 100644 --- a/Items/Tools/BrimstoneLocus.cs +++ b/Items/Tools/BrimstoneLocus.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Tools { CreateRecipe(). AddIngredient(). - AddIngredient(3). + AddIngredient(10). Register(); } } diff --git a/Items/TreasureBags/ProvidenceBag.cs b/Items/TreasureBags/ProvidenceBag.cs index 965665155d..90580b17e1 100644 --- a/Items/TreasureBags/ProvidenceBag.cs +++ b/Items/TreasureBags/ProvidenceBag.cs @@ -75,7 +75,7 @@ namespace CalamityMod.Items.TreasureBags itemLoot.Add(ModContent.ItemType(), 10); // Equipment - itemLoot.Add(ModContent.ItemType()); + itemLoot.Add(ModContent.ItemType()); itemLoot.AddRevBagAccessories(); // Vanity diff --git a/Items/Weapons/Magic/RecitationoftheBeast.cs b/Items/Weapons/Magic/RecitationoftheBeast.cs index a0f2d7efe3..ec118563e8 100644 --- a/Items/Weapons/Magic/RecitationoftheBeast.cs +++ b/Items/Weapons/Magic/RecitationoftheBeast.cs @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(ItemID.DemonScythe). - AddIngredient(8). + AddIngredient(20). AddIngredient(8). AddTile(TileID.Bookcases). Register(); diff --git a/Items/Weapons/Magic/SanguineFlare.cs b/Items/Weapons/Magic/SanguineFlare.cs index 936de84a16..d863d9657d 100644 --- a/Items/Weapons/Magic/SanguineFlare.cs +++ b/Items/Weapons/Magic/SanguineFlare.cs @@ -49,7 +49,8 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Magic/Viscera.cs b/Items/Weapons/Magic/Viscera.cs index 9937dff94a..f87d31d310 100644 --- a/Items/Weapons/Magic/Viscera.cs +++ b/Items/Weapons/Magic/Viscera.cs @@ -61,7 +61,8 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/DevilsSunrise.cs b/Items/Weapons/Melee/DevilsSunrise.cs index 803e40bb4d..9862d325a9 100644 --- a/Items/Weapons/Melee/DevilsSunrise.cs +++ b/Items/Weapons/Melee/DevilsSunrise.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Items.Weapons.Melee { CreateRecipe(). AddIngredient(ItemID.Terragrim). - AddIngredient(25). + AddIngredient(50). AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); diff --git a/Items/Weapons/Melee/FlarefrostBlade.cs b/Items/Weapons/Melee/FlarefrostBlade.cs index 2136a06d75..e84720bddb 100644 --- a/Items/Weapons/Melee/FlarefrostBlade.cs +++ b/Items/Weapons/Melee/FlarefrostBlade.cs @@ -17,8 +17,8 @@ namespace CalamityMod.Items.Weapons.Melee } public override void SetDefaults() { - Item.width = 64; - Item.height = 66; + Item.width = 82; + Item.height = 90; Item.damage = 125; Item.DamageType = DamageClass.Melee; Item.useAnimation = Item.useTime = 29; diff --git a/Items/Weapons/Melee/FlarefrostBlade.png b/Items/Weapons/Melee/FlarefrostBlade.png index dedd00ceb0..d9f2c33caf 100644 Binary files a/Items/Weapons/Melee/FlarefrostBlade.png and b/Items/Weapons/Melee/FlarefrostBlade.png differ diff --git a/Items/Weapons/Melee/GalaxySmasher.png b/Items/Weapons/Melee/GalaxySmasher.png index 9b40695ec7..6f43040182 100644 Binary files a/Items/Weapons/Melee/GalaxySmasher.png and b/Items/Weapons/Melee/GalaxySmasher.png differ diff --git a/Items/Weapons/Melee/Lacerator.cs b/Items/Weapons/Melee/Lacerator.cs index 517ffe7fad..d0808f5ded 100644 --- a/Items/Weapons/Melee/Lacerator.cs +++ b/Items/Weapons/Melee/Lacerator.cs @@ -56,7 +56,8 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/Terratomere.png b/Items/Weapons/Melee/Terratomere.png index a7c34d324c..254ee9cc9d 100644 Binary files a/Items/Weapons/Melee/Terratomere.png and b/Items/Weapons/Melee/Terratomere.png differ diff --git a/Items/Weapons/Melee/TheMutilator.cs b/Items/Weapons/Melee/TheMutilator.cs index a01f0e2b3f..21a885b7e9 100644 --- a/Items/Weapons/Melee/TheMutilator.cs +++ b/Items/Weapons/Melee/TheMutilator.cs @@ -85,7 +85,8 @@ namespace CalamityMod.Items.Weapons.Melee public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Melee/VanishingPoint.png b/Items/Weapons/Melee/VanishingPoint.png index bbf16bd646..0415214359 100644 Binary files a/Items/Weapons/Melee/VanishingPoint.png and b/Items/Weapons/Melee/VanishingPoint.png differ diff --git a/Items/Weapons/Ranged/ArterialAssault.cs b/Items/Weapons/Ranged/ArterialAssault.cs index 32f20fd044..e86945b1fe 100644 --- a/Items/Weapons/Ranged/ArterialAssault.cs +++ b/Items/Weapons/Ranged/ArterialAssault.cs @@ -54,7 +54,8 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Ranged/BloodBoiler.cs b/Items/Weapons/Ranged/BloodBoiler.cs index fdd71e85ec..160d988ff9 100644 --- a/Items/Weapons/Ranged/BloodBoiler.cs +++ b/Items/Weapons/Ranged/BloodBoiler.cs @@ -65,7 +65,8 @@ namespace CalamityMod.Items.Weapons.Ranged public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/AshenStalactite.png b/Items/Weapons/Rogue/AshenStalactite.png index 7eda8b46b2..2ddb0b93b3 100644 Binary files a/Items/Weapons/Rogue/AshenStalactite.png and b/Items/Weapons/Rogue/AshenStalactite.png differ diff --git a/Items/Weapons/Rogue/BloodsoakedCrasher.cs b/Items/Weapons/Rogue/BloodsoakedCrasher.cs index 61577181c2..0949dd04a3 100644 --- a/Items/Weapons/Rogue/BloodsoakedCrasher.cs +++ b/Items/Weapons/Rogue/BloodsoakedCrasher.cs @@ -49,7 +49,8 @@ namespace CalamityMod.Items.Weapons.Rogue { CreateRecipe(). AddIngredient(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Rogue/ScarletDevil.cs b/Items/Weapons/Rogue/ScarletDevil.cs index ddaac460be..29021adc2b 100644 --- a/Items/Weapons/Rogue/ScarletDevil.cs +++ b/Items/Weapons/Rogue/ScarletDevil.cs @@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Rogue AddIngredient(). AddIngredient(). AddIngredient(5). - AddIngredient(15). + AddIngredient(50). AddIngredient(ItemID.SoulofNight, 15). AddTile(). Register(); diff --git a/Items/Weapons/Summon/DragonbloodDisgorger.cs b/Items/Weapons/Summon/DragonbloodDisgorger.cs index 8da53f46f4..e7e5a5cf31 100644 --- a/Items/Weapons/Summon/DragonbloodDisgorger.cs +++ b/Items/Weapons/Summon/DragonbloodDisgorger.cs @@ -53,7 +53,8 @@ namespace CalamityMod.Items.Weapons.Summon public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Items/Weapons/Typeless/ClaretCannon.cs b/Items/Weapons/Typeless/ClaretCannon.cs index 6aaa7e0bc5..d5d7db3135 100644 --- a/Items/Weapons/Typeless/ClaretCannon.cs +++ b/Items/Weapons/Typeless/ClaretCannon.cs @@ -65,7 +65,8 @@ namespace CalamityMod.Items.Weapons.Typeless public override void AddRecipes() { CreateRecipe(). - AddIngredient(10). + AddIngredient(25). + AddIngredient(10). AddTile(TileID.MythrilAnvil). Register(); } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson index b20780869a..b914d0c5d7 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson @@ -128,6 +128,16 @@ TarragonWings: { ''' } +TiredTail: { + DisplayName: Tired Tail + Tooltip: + ''' + {$CommonItemTooltip.FlightAndSlowfall} + {$CommonItemTooltip.PressDownToHover} + {$CommonItemTooltip.PressUpToBooster} + ''' +} + VoidStriders: { DisplayName: Void Striders TreadsName: Void Kicks @@ -150,13 +160,3 @@ WingsofRebirth: { 'Resplendent to the very end' ''' } - -TiredTail: { - DisplayName: Tired Tail - Tooltip: - ''' - {$CommonItemTooltip.FlightAndSlowfall} - {$CommonItemTooltip.PressDownToHover} - {$CommonItemTooltip.PressUpToBooster} - ''' -} diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 0f5c49f1b5..7d1fdfae9b 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -252,15 +252,6 @@ AsgardsValor: { ''' } -FadedIdolatry: { - DisplayName: Faded Idolatry - Tooltip: - ''' - Summoned [i:CalamityMod/YharonsKindleStaff] Fiery Draconids cost one less minion slot - [c/ffe100:'Once everything has crumbled to dust, what will be left of the world you created?'] - ''' -} - BadgeofBravery: { DisplayName: Badge of Bravery Tooltip: @@ -301,20 +292,6 @@ BlackGlassBand: { ''' } -BlazingCore: { - DisplayName: Blazing Core - Tooltip: - ''' - {$Common.KnockbackImmunity} - The searing core of the Profaned Goddess - Pressing [KEY] will activate a parry, encasing you in luminous profaned crystal - Being hit shortly after encasement will shatter the crystal - Upon shattering, holy stars spiral outwards and damage taken is negated - After shattering, this damage reduction effect goes on cooldown - Damage parried whilst on cooldown summons additional healing stars, and will not be reduced - ''' -} - BloodflareCore: { DisplayName: Bloodflare Core Tooltip: @@ -474,6 +451,15 @@ CrownJewel: { ''' } +CrushingEgo: { + DisplayName: Crushing Ego + Tooltip: + ''' + Multiplies all damage by 1.3x, but at the cost of taking 20% increased damage + [c/ff00ff:'Don the mask of arrogance, and dance by your lonesome. Once the ball has gone quiet, you'll be the last man standing.'] + ''' +} + CryoStone: { DisplayName: Cryo Stone Tooltip: @@ -593,12 +579,17 @@ DiamondOfTheDeep: { ''' } -CrushingEgo: { - DisplayName: Crushing Ego +DivineProvidence: { + DisplayName: Divine Providence Tooltip: ''' - Multiplies all damage by 1.3x, but at the cost of taking 20% increased damage - [c/ff00ff:'Don the mask of arrogance, and dance by your lonesome. Once the ball has gone quiet, you'll be the last man standing.'] + {$Common.KnockbackImmunity} + Pressing [KEY] will activate a parry, encasing you in luminous profaned crystal + Being hit shortly after encasement will shatter the crystal + Upon shattering, holy stars spiral outwards and damage taken is negated + After shattering, this damage reduction effect goes on cooldown + Damage parried whilst on cooldown summons additional healing stars, and will not be reduced + [c/FF8C00:The searing core of the Profaned Goddess] ''' } @@ -663,20 +654,6 @@ EclipseMirror: { FlavorTooltip: "'Its reflection shows naught but darkness'" } -FragmentsOfAnotherWorld: { - DisplayName: Fragments of Another World - Tooltip: - ''' - Grants immunity to [cbuffplr:CalamityMod/WhisperingDeath] - {0}% increased melee speed - {1}x specialist ranged damage - {2}% reduced mana usage - +{3} maximum sentries - {4}% increased rogue attack speed - [c/ff0000:'Don't speak of your desires to the shadows, they listen.'] - ''' -} - ElectriciansGlove: { DisplayName: Electrician's Glove Tooltip: @@ -769,6 +746,15 @@ EyeoftheStorm: { ''' } +FadedIdolatry: { + DisplayName: Faded Idolatry + Tooltip: + ''' + Summoned [i:CalamityMod/YharonsKindleStaff] Fiery Draconids cost one less minion slot + [c/ffe100:'Once everything has crumbled to dust, what will be left of the world you created?'] + ''' +} + FeatherCrown: { DisplayName: Feather Crown Tooltip: @@ -848,6 +834,20 @@ FleshTotem: { ''' } +FragmentsOfAnotherWorld: { + DisplayName: Fragments of Another World + Tooltip: + ''' + Grants immunity to [cbuffplr:CalamityMod/WhisperingDeath] + {0}% increased melee speed + {1}x specialist ranged damage + {2}% reduced mana usage + +{3} maximum sentries + {4}% increased rogue attack speed + [c/ff0000:'Don't speak of your desires to the shadows, they listen.'] + ''' +} + FrostBarrier: { DisplayName: Frost Barrier Tooltip: @@ -868,6 +868,24 @@ FrostFlare: { ''' } +FrozenCube: { + DisplayName: Frozen Cube + Tooltip: + ''' + A frozen block of ice with something inside + Summons an Elumphant to sit atop your head and protect you + The Elumphant will cycle between shooting cold air that inflicts [cbuff:CalamityMod/WindChilled], and headbutting enemies + Elumphant's headbutts only target enemies inflicted with [cbuff:CalamityMod/WindChilled] + Reduces your defense by 33%, but uses that defense to boost the Elumphant's power and your cold debuff damage + [DAMAGELINE] + [c/7497ED:'What I wanna know is, where's the mammoth?'] + ''' + SalesPitch: "{$Common.SalesmanShrinePitch}" + EquippedDebuff: Current Cold Debuff boost: +{0}% + EquippedElumphant: Current Elumphant Power: {0}% + Unequipped: Equip this accessory to view its statistics +} + FungalClump: { DisplayName: Fungal Clump Tooltip: @@ -1257,6 +1275,16 @@ Nucleogenesis: { ''' } +OasisElementalinaBottle: { + DisplayName: Oasis Elemental in a Bottle + Tooltip: + ''' + Summons an oasis elemental to assist you + The elemental fires healing orbs that restore 10 health while you are damaged + The elemental has reduced opacity if visibility is disabled + ''' +} + OccultSkullCrown: { DisplayName: Occult Skull Crown Tooltip: @@ -1491,16 +1519,6 @@ RampartofDeities: { ToggleEffect: ", increases movement speed," } -OasisElementalinaBottle: { - DisplayName: Oasis Elemental in a Bottle - Tooltip: - ''' - Summons an oasis elemental to assist you - The elemental fires healing orbs that restore 10 health while you are damaged - The elemental has reduced opacity if visibility is disabled - ''' -} - ReaperToothNecklace: { DisplayName: Reaper Tooth Necklace Tooltip: @@ -2251,6 +2269,11 @@ GhostBracelet: { Tooltip: Wow.... It looks at me with its hollow eyes full of curiosity } +GlimmeringRibbon: { + DisplayName: Glimmering Ribbon + Tooltip: "'We are born colorless. It's the people we meet who give us color.'" +} + HapuFruit: { DisplayName: Ha-pu Fruit Tooltip: "'A fruit that calms your nerves (may have unintended side effects)'" @@ -2282,12 +2305,7 @@ Popo: { SharkyPlush: { DisplayName: Sharky Plush - Tooltip: "[c/696969:'Look out, for the force without form...']" -} - -GlimmeringRibbon: { - DisplayName: Glimmering Ribbon - Tooltip: "'We are born colorless. It's the people we meet who give us color.'" + Tooltip: "[c/696969:'Like lovers and heroes, and the restless part of everyone...']" } TheComb: { @@ -2327,21 +2345,3 @@ XyksBlessingOrange: { ArmorDisabled: "[c/D44748:DISABLED]" ArmorEnabled: "[c/58D447:ENABLED]" } - -FrozenCube: { - DisplayName: Frozen Cube - Tooltip: - ''' - A frozen block of ice with something inside - Summons an Elumphant to sit atop your head and protect you - The Elumphant will cycle between shooting cold air that inflicts [cbuff:CalamityMod/WindChilled], and headbutting enemies - Elumphant's headbutts only target enemies inflicted with [cbuff:CalamityMod/WindChilled] - Reduces your defense by 33%, but uses that defense to boost the Elumphant's power and your cold debuff damage - [DAMAGELINE] - [c/7497ED:'What I wanna know is, where's the mammoth?'] - ''' - SalesPitch: "{$Common.SalesmanShrinePitch}" - EquippedDebuff: Current Cold Debuff boost: +{0}% - EquippedElumphant: Current Elumphant Power: {0}% - Unequipped: Equip this accessory to view its statistics -} diff --git a/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson b/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson index 442de828f9..5ae7888174 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Materials.hjson @@ -58,11 +58,6 @@ Bloodstone: { Tooltip: "" } -BloodstoneCore: { - DisplayName: Bloodstone Core - Tooltip: "" -} - CoreofCalamity: { DisplayName: Core of Calamity Tooltip: "" @@ -218,7 +213,7 @@ PlagueCellCanister: { } PlasmaDriveCore: { - DisplayName: Prototype Plasma Drive Core + DisplayName: Prototype Plasma Drive Tooltip: Despite all the time it spent in storage, its furnace still burns strong } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson index 388b1b5def..495b98d77a 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Magic.hjson @@ -23,11 +23,6 @@ AethersWhisper: { Tooltip: Fires void beams that gain damage as they travel and split on tile hits } -AlulaAustralis: { - DisplayName: Alula Australis - Tooltip: Fires a beautiful aurora that spreads the [cbuff:CalamityMod/AstralInfectionDebuff] and is trailed by a star shower -} - AlphaDraconis: { DisplayName: Alpha Draconis Tooltip: @@ -41,6 +36,11 @@ AlphaDraconis: { ''' } +AlulaAustralis: { + DisplayName: Alula Australis + Tooltip: Fires a beautiful aurora that spreads the [cbuff:CalamityMod/AstralInfectionDebuff] and is trailed by a star shower +} + AnahitasArpeggio: { DisplayName: Anahita's Arpeggio Tooltip: "[GFB]" diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson index a90286b15b..0b3625e36e 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson @@ -65,6 +65,11 @@ AntiMaterielRifle: { ''' } +AquashardShotgun: { + DisplayName: Aquashard Shotgun + Tooltip: Converts musket balls into aquashards that split upon hitting an enemy +} + Arbalest: { DisplayName: Arbalest Tooltip: @@ -75,11 +80,6 @@ Arbalest: { ''' } -AquashardShotgun: { - DisplayName: Aquashard Shotgun - Tooltip: Converts musket balls into aquashards that split upon hitting an enemy -} - Archerfish: { DisplayName: Archerfish Tooltip: @@ -820,6 +820,23 @@ NullificationPistol: { ''' } +OmniGun: { + DisplayName: The Omnigun + Tooltip: + ''' + A multipurpose weapon with several modes which are used in sequence + The first shot is a sniper round which gains damage over time and always critically strikes + The second shot is a burst of 10 standard bullets + The third shot is a devastating point blank spread + The fourth shot is a dangerous but powerful grenade which destroys everything, including you + ''' + SalesPitch: + ''' + 'Why carry four different guns when you can carry just one? That's what I used to ask myself!' + 'With this thing-a-beauty, even a bumbling moron can become invincible - and for the right price, it can be yours!' + ''' +} + OntologicalDespoiler: { DisplayName: Ontological Despoiler Tooltip: @@ -853,23 +870,6 @@ Onyxia: { ''' } -OmniGun: { - DisplayName: The Omnigun - Tooltip: - ''' - A multipurpose weapon with several modes which are used in sequence - The first shot is a sniper round which gains damage over time and always critically strikes - The second shot is a burst of 10 standard bullets - The third shot is a devastating point blank spread - The fourth shot is a dangerous but powerful grenade which destroys everything, including you - ''' - SalesPitch: - ''' - 'Why carry four different guns when you can carry just one? That's what I used to ask myself!' - 'With this thing-a-beauty, even a bumbling moron can become invincible - and for the right price, it can be yours!' - ''' -} - OpalStriker: { DisplayName: Opal Striker Tooltip: diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson index 419a2e7967..f1b19bcf75 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Rogue.hjson @@ -683,6 +683,19 @@ LeadTomahawk: { ''' } +LemonNade: { + DisplayName: Lemon 'nade + Tooltip: + ''' + Disables normal stealth generation + Hold to pull the pin and generate stealth, and release to throw + The longer it is held, the shorter the fuse once the 'nade is thrown + Will explode in your hand if the fuse is held too long + Stealth strikes explode into exploding lemon seeds + 'Burn their house down!' + ''' +} + LeonidProgenitor: { DisplayName: Leonid Progenitor Tooltip: @@ -890,6 +903,15 @@ ProfanedPartisan: { ''' } +Pumpkaboom: { + DisplayName: Pumpkaboom + Tooltip: + ''' + Throws a pumpkin which sticks to enemies and explodes after a delay + Stealth strikes throw larger pumpkins which pull enemies in before releasing a larger explosion + ''' +} + RadiantStar: { DisplayName: Radiant Star Tooltip: @@ -1408,25 +1430,3 @@ WulfrumKnife: { Returning knives also temporarily allows using stealth strikes without rogue armor ''' } - -Pumpkaboom: { - DisplayName: Pumpkaboom - Tooltip: - ''' - Throws a pumpkin which sticks to enemies and explodes after a delay - Stealth strikes throw larger pumpkins which pull enemies in before releasing a larger explosion - ''' -} - -LemonNade: { - DisplayName: Lemon 'nade - Tooltip: - ''' - Disables normal stealth generation - Hold to pull the pin and generate stealth, and release to throw - The longer it is held, the shorter the fuse once the 'nade is thrown - Will explode in your hand if the fuse is held too long - Stealth strikes explode into exploding lemon seeds - 'Burn their house down!' - ''' -} diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Magic.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Magic.hjson index f259231f8f..a46f5fac1d 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Magic.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Magic.hjson @@ -43,6 +43,9 @@ BloodRay.DisplayName: Blood Ray BlueBubble.DisplayName: Bubble BlushieStaffProj.DisplayName: Staff of Blushie BrimroseBeam.DisplayName: Brimrose Beam +CalamitousDartFriendly.DisplayName: Calamitous Dart Friendly +CalamitousExplosionFriendly.DisplayName: Calamitous Explosion Friendly +CalamitousFireballFriendly.DisplayName: Calamitous Fireball Friendly CauldronProj.DisplayName: Smauldron CauldronProjSmall.DisplayName: Smaullerdron ChronoIcicleLarge.DisplayName: Chrono Icicle @@ -76,6 +79,8 @@ ExoVortex2.DisplayName: Subsuming Vortex FatesRevealFlame.DisplayName: Fate's Reveal FireImplosion.DisplayName: Swirling Backdraft FlareBoltProjectile.DisplayName: Flare Bolt +FleshTotemMinion.DisplayName: Flesh Totem Minion +FleshTotemSoul.DisplayName: Flesh Totem Soul ForbiddenAxeBlade.DisplayName: Ruin Blade ForbiddenSunburst.DisplayName: Sunburst ForbiddenSunProjectile.DisplayName: Forbidden Sun @@ -147,6 +152,7 @@ MelterNote2.DisplayName: Melter Song MeteorStar.DisplayName: Meteor Star MeteorStarExplosion.DisplayName: Explosion MiasmaGas.DisplayName: Miasma Gas +MoonSigil.DisplayName: Moon Sigil NanoPurgeLaser.DisplayName: Nano Beam NebulaCloud.DisplayName: Nebula Cloud NebulaCloudCore.DisplayName: Nebula Cloud Core @@ -225,6 +231,7 @@ SoulPiercerBeam.DisplayName: Soul Piercer SoulPiercerBolt.DisplayName: Soul Piercer SparkInfernal.DisplayName: Spark SparklingLaser.DisplayName: Sparkling Laser +SpectralFeather.DisplayName: Spectral Feather SpiritCongregation.DisplayName: Spirit Monster SpiritDust.DisplayName: Spirit Dust Starblast.DisplayName: Star @@ -285,10 +292,3 @@ WyvernFeatherPurple.DisplayName: Feather WyvernProjectile.DisplayName: Wyvern YharimsCrystalBeam.DisplayName: Yharim's Beam YharimsCrystalPrism.DisplayName: Yermes Christal -FleshTotemMinion.DisplayName: Flesh Totem Minion -FleshTotemSoul.DisplayName: Flesh Totem Soul -SpectralFeather.DisplayName: Spectral Feather -MoonSigil.DisplayName: Moon Sigil -CalamitousDartFriendly.DisplayName: Calamitous Dart Friendly -CalamitousExplosionFriendly.DisplayName: Calamitous Explosion Friendly -CalamitousFireballFriendly.DisplayName: Calamitous Fireball Friendly diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Melee.hjson index ba72470e9f..b3e4d3ef8c 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Melee.hjson @@ -105,6 +105,7 @@ EmpyreanKnife.DisplayName: Empyrean Knife EntropicFlechette.DisplayName: Entropic Flechette EonBolt.DisplayName: Eon Bolt EssenceScythe.DisplayName: Essence Scythe +EvilSmasherProjectile.DisplayName: Evil Smasher ExaltedOathbladeThrownBlade.DisplayName: Exalted Oathblade Thrown Blade MawOfInfinityHoldout.DisplayName: Maw of Infinity MawOfInfinityJaws.DisplayName: Divinity Devourer @@ -186,6 +187,8 @@ NeptuneOrb.DisplayName: Neptune's Trident NeptunesBountyProjectile.DisplayName: Neptune's Bounty NeptunesBountySplitProjectile.DisplayName: Neptune's Bounty Jet OathswordFlame.DisplayName: Oathsword Flame +OblivionFire.DisplayName: Oblivion Fire +OblivionBolt.DisplayName: Oblivion Bolt Orbacle.DisplayName: Auric Orb OrderbringerBeam.DisplayName: Orderbringer Beam OrderbringerWaveProj.DisplayName: Order-bringing Wave @@ -311,6 +314,3 @@ WulfrumScrew.DisplayName: Wulfrum Screw WulfrumScrewdriverProj.DisplayName: Wulfrum Screwdriver YinYoDark.DisplayName: Dark Shard YinYoLight.DisplayName: Light Shard -EvilSmasherProjectile.DisplayName: Evil Smasher -OblivionFire.DisplayName: Oblivion Fire -OblivionBolt.DisplayName: Oblivion Bolt diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson index 0701c2066f..aef3579da9 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Ranged.hjson @@ -1,3 +1,4 @@ +AbyssalFire.DisplayName: Abyssal Fire AcidRocket.DisplayName: Acid Rocket AdamAcceleratorBeam.DisplayName: Adamantite Particle Beam AMR2.DisplayName: AMR @@ -21,6 +22,7 @@ AuroraFire.DisplayName: Aurora Blaze BallistaGreatArrow.DisplayName: Ballista Great Arrow BallistaShard.DisplayName: Ballista Shard BarinadeArrow.DisplayName: Fin Arrow +BlahajBlast.DisplayName: Blahaj Blast BlightFlames.DisplayName: Blight Flames BlissfulBombardierSplitProjectile.DisplayName: Profaned Mini-Rocket BloodBoilerFire.DisplayName: Blood Fire @@ -131,6 +133,7 @@ MagnomalyExplosion.DisplayName: Explosion MagnomalyRocket.DisplayName: Nuke MarksmanShot.DisplayName: Marksman Shot MechanicalBarracuda.DisplayName: Barracuda +MegalodonRocket.DisplayName: Megalodon Rocket MegalodonShot.DisplayName: Megalodon Shot MeowCreature.DisplayName: the creature :3 MeowFire.DisplayName: Purr Fire @@ -149,6 +152,9 @@ NovaShot.DisplayName: Nova Bolt NukeOfBliss.DisplayName: Profaned Nuke NullFlash.DisplayName: Null Flash NullShot.DisplayName: Null +OmniSniperShot.DisplayName: Omni Sniper Shot +OmniGrenade.DisplayName: Omni Grenade +OmniShotgunShot.DisplayName: Omni Shotgun Shot OntologicalDespoilerBeam.DisplayName: Null-Annihilation Beam OntoligicalDespoilerBurst.DisplayName: Disruption Blast OntologicalDespoilerGrenade.DisplayName: Disruption Sphere @@ -260,14 +266,8 @@ VanquisherArrowMain.DisplayName: Vanquisher Arrow VanquisherArrowProj.DisplayName: Vanquisher Arrow Proj VeriumBoltProj.DisplayName: Verium Bolt VernalBolt.DisplayName: Vernal Bolt +VoidBlast.DisplayName: Void Blast WaterSpout.DisplayName: Spout WildfireBloomFire.DisplayName: Wildfire Fire WildfireBloomFlare.DisplayName: Wildfire Flare WulfrumScrapBullet.DisplayName: High Speed Scrap -AbyssalFire.DisplayName: Abyssal Fire -BlahajBlast.DisplayName: Blahaj Blast -MegalodonRocket.DisplayName: Megalodon Rocket -VoidBlast.DisplayName: Void Blast -OmniSniperShot.DisplayName: Omni Sniper Shot -OmniGrenade.DisplayName: Omni Grenade -OmniShotgunShot.DisplayName: Omni Shotgun Shot diff --git a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson index 44c29118dc..9e6b2f9f51 100644 --- a/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson +++ b/Localization/en-US/Mods.CalamityMod.Projectiles.Rogue.hjson @@ -159,6 +159,8 @@ Knife.DisplayName: Knife KylieBoomerang.DisplayName: Kylie LanceofDestiny.DisplayName: Holy Lance LeadTomahawkProj.DisplayName: Lead Tomahawk +LemonNadeHoldout.DisplayName: Lemon 'nade +LemonNadeProjectile.DisplayName: Lemon 'nade LeonidCometBig.DisplayName: Leonid Comet LeonidCometSmall.DisplayName: Leonid Comet LeonidProgenitorBombshell.DisplayName: Leonid Bombshell @@ -189,6 +191,7 @@ NanoblackLightspeedCarve: { Standard: Light-speed Carve } +NanoblackLightspeedCarveSlashVisual.DisplayName: Nanoblack Light-speed Carve Visuals NanoblackMain.DisplayName: Nanoblack Reaper NanoblackPiercingStrike.DisplayName: Zero-Point Energy Strike NanoblackStrike.DisplayName: Zero-Point Energy Strike @@ -196,6 +199,7 @@ NanoblackTesselation.DisplayName: Nanoblack Tesselation NastyChollaBol.DisplayName: Nasty Cholla NastyChollaNeedle.DisplayName: Cactus Needle OrichalcumSpikedGemstoneProjectile.DisplayName: Orichalcum Gemstone +PaleoShatterExplosion.DisplayName: Paleo Shatter Explosion PalladiumJavelinProjectile.DisplayName: Palladium Javelin PartisanExplosion.DisplayName: Profaned Explosion PenumbraBomb.DisplayName: Penumbra Bomb @@ -275,11 +279,12 @@ SludgeSplotchProj2.DisplayName: Sludge Splotch SmallCoral.DisplayName: Small Coral SnapClamProj.DisplayName: Snap Clam SnapClamStealth.DisplayName: Snap Clam +SpadefishHoldout.DisplayName: Spinfish +SpadefishThrown.DisplayName: Spadefish SpearofDestinyProjectile.DisplayName: Destiny Spear SpearofDestinyStealth.DisplayName: Empowered Holy Lance SpearofDestinyStealthExplosion.DisplayName: Strong Burst SpearofPaleolithProj.DisplayName: Paleolith Spear -PaleoShatterExplosion.DisplayName: Paleo Shatter Explosion SpentFuelContainerProjectile.DisplayName: Spent Fuel Container SphereBladed.DisplayName: Bladed Sphere SphereBlue.DisplayName: Blue Thruster Sphere @@ -343,8 +348,3 @@ WrathwingCinder.DisplayName: Wrathwing Eruption WrathwingFireball.DisplayName: Wrathwing Fireball WrathwingSpear.DisplayName: Wrathwing WulfrumKnifeProj.DisplayName: Wulfrum Knife -NanoblackLightspeedCarveSlashVisual.DisplayName: Nanoblack Light-speed Carve Visuals -LemonNadeHoldout.DisplayName: Lemon 'nade -LemonNadeProjectile.DisplayName: Lemon 'nade -SpadefishHoldout.DisplayName: Spinfish -SpadefishThrown.DisplayName: Spadefish diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 4c3126d819..05bafd65e4 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -519,7 +519,7 @@ TownNPCMood: { PartyGirl: { Monument: Yeeesh, we're gonna have an ugly statue of big money around? That like, totally kills the party mood around here. GiftPositive: PARTY GIFTS? FOR ME? Oh just you wait, I'm gonna throw the BIGGEST party this town has ever seen, forever and always! - GiftNegative: I knew you were trouble when you walked in that suspicious looking box! It's too late now to say sorry! + GiftNegative: I knew you were trouble when you walked in with that suspicious looking box! It's too late now to say sorry! } Pirate: { diff --git a/NPCs/Providence/Providence.cs b/NPCs/Providence/Providence.cs index 3a418d463e..8d238e2028 100644 --- a/NPCs/Providence/Providence.cs +++ b/NPCs/Providence/Providence.cs @@ -2002,7 +2002,7 @@ namespace CalamityMod.NPCs.Providence // Equipment // 16NOV2025: Ozzatron: item has been chosen as the "Expert gatekept" item for this Calamity boss - // normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); + // normalOnly.Add(DropHelper.PerPlayer(ModContent.ItemType())); // Materials normalOnly.Add(ModContent.ItemType(), 1, 50, 60); @@ -2675,7 +2675,7 @@ namespace CalamityMod.NPCs.Providence // Equipment ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), // Vanity diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 5117b1748a..7712d363c3 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -876,27 +876,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas rumbleSound.Stop(); canDespawn = true; - for (int x = 0; x < Main.maxProjectiles; x++) - { - Projectile projectile = Main.projectile[x]; - if (projectile.active) - { - if (projectile.type == bulletHellblast || - projectile.type == barrage || - projectile.type == wave) - { - if (projectile.timeLeft > 60) - projectile.timeLeft = 60; - } - else if (projectile.type == fireblast || projectile.type == gigablast) - { - projectile.ai[2] = 1f; - - if (projectile.timeLeft > 15) - projectile.timeLeft = 15; - } - } - } + DespawnProjectiles(); NPC.Opacity = MathHelper.Lerp(NPC.Opacity, 0f, 0.065f); NPC.velocity = Vector2.Lerp(Vector2.UnitY * -4f, Vector2.Zero, (float)Math.Sin(MathHelper.Pi * NPC.Opacity)); @@ -1883,32 +1863,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas if (!gettingTired5 && IsAtHp_Acceptance) { - for (int x = 0; x < Main.maxProjectiles; x++) - { - Projectile projectile = Main.projectile[x]; - if (projectile.active) - { - if (projectile.type == ModContent.ProjectileType()) - { - if (projectile.timeLeft > 90) - projectile.timeLeft = 90; - } - if (projectile.type == bulletHellblast || - projectile.type == barrage || - projectile.type == wave) - { - if (projectile.timeLeft > 60) - projectile.timeLeft = 60; - } - else if (projectile.type == fireblast || projectile.type == gigablast) - { - projectile.ai[2] = 1f; - - if (projectile.timeLeft > 15) - projectile.timeLeft = 15; - } - } - } + DespawnProjectiles(true); if (!BossRushEvent.BossRushActive) { @@ -1989,6 +1944,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas castFire.noGravity = true; } + DespawnProjectiles(); SoundEngine.PlaySound(SoundID.DD2_DarkMageCastHeal, player.Center); gettingTired = true; return; @@ -1998,27 +1954,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas #region DespawnProjectiles if (bulletHellCounter2 % BulletHellDuration == 0 && despawnProj) { - for (int x = 0; x < Main.maxProjectiles; x++) - { - Projectile projectile = Main.projectile[x]; - if (projectile.active) - { - if (projectile.type == bulletHellblast || - projectile.type == barrage || - projectile.type == wave) - { - if (projectile.timeLeft > 60) - projectile.timeLeft = 60; - } - else if (projectile.type == fireblast || projectile.type == gigablast) - { - projectile.ai[2] = 1f; - - if (projectile.timeLeft > 15) - projectile.timeLeft = 15; - } - } - } + DespawnProjectiles(); despawnProj = false; } #endregion @@ -3186,6 +3122,30 @@ namespace CalamityMod.NPCs.SupremeCalamitas #endregion } + private static void DespawnProjectiles(bool despawnMaelstrom = false) + { + foreach (Projectile p in Main.ActiveProjectiles) + { + if (despawnMaelstrom && p.type == ModContent.ProjectileType()) + { + if (p.timeLeft > 90) + p.timeLeft = 90; + } + if (p.type == ModContent.ProjectileType() || p.type == ModContent.ProjectileType() || p.type == ModContent.ProjectileType()) + { + if (p.timeLeft > 60) + p.timeLeft = 60; + } + else if (p.type == ModContent.ProjectileType() || p.type == ModContent.ProjectileType()) + { + p.ai[2] = 1f; + + if (p.timeLeft > 15) + p.timeLeft = 15; + } + } + } + public void DoHeartsSpawningCastAnimation(Player target, bool death) { int tempSpawnY = spawnY; diff --git a/Projectiles/Melee/Spears/VanishingPointProjectile.png b/Projectiles/Melee/Spears/VanishingPointProjectile.png index 254188b871..6d383712d8 100644 Binary files a/Projectiles/Melee/Spears/VanishingPointProjectile.png and b/Projectiles/Melee/Spears/VanishingPointProjectile.png differ diff --git a/Projectiles/Melee/TerratomereHoldoutProj.cs b/Projectiles/Melee/TerratomereHoldoutProj.cs index 6152096f2e..d8edaab018 100644 --- a/Projectiles/Melee/TerratomereHoldoutProj.cs +++ b/Projectiles/Melee/TerratomereHoldoutProj.cs @@ -138,8 +138,8 @@ namespace CalamityMod.Projectiles.Melee public void StickToOwner() { // Glue the sword to its owner. This applies a handful of offsets to make the blade look like it's roughly inside of the owner's hand. - Projectile.Center = Owner.RotatedRelativePoint(Owner.MountedCenter, true) + SwordDirection * new Vector2(7f, 16f) * Projectile.scale; - Projectile.Center -= Projectile.velocity.SafeNormalize(Vector2.UnitY) * new Vector2(66f, 54f + Projectile.scale * 8f); + Projectile.Center = Owner.RotatedRelativePoint(Owner.MountedCenter, true) + SwordDirection * new Vector2(7f, 7f) * Projectile.scale; + Projectile.Center -= Projectile.velocity.SafeNormalize(Vector2.UnitY) * new Vector2(44f, 54f + Projectile.scale * 8f); // Set the owner's held projectile to this and register a false item time calculation. Owner.heldProj = Projectile.whoAmI; diff --git a/Projectiles/Ranged/SevensStrikerHoldout.cs b/Projectiles/Ranged/SevensStrikerHoldout.cs index deefc94393..54a3e4a9da 100644 --- a/Projectiles/Ranged/SevensStrikerHoldout.cs +++ b/Projectiles/Ranged/SevensStrikerHoldout.cs @@ -52,24 +52,17 @@ namespace CalamityMod.Projectiles.Ranged // Consumes a coin, stores it, then calculates what effect will be executed if (Projectile.ai[1] == 0) { - // These checks are here so that the weapon doesn't consume two coins when first used - if (shotonce) + // Ensure the method doesn't consumes ammo on first shot to avoid consuming two coins + if (player.PickAmmo(player.HeldItem, out shot, out scaleFactor, out weaponDamage, out weaponKnockback, out _, !shotonce)) { - if (player.PickAmmo(player.HeldItem, out shot, out scaleFactor, out weaponDamage, out weaponKnockback, out _)) - { - Projectile.ai[0] = shot; - Projectile.ai[1] = CalculateOutcome(); - } - else - { - Projectile.Kill(); - } + Projectile.ai[0] = shot; + Projectile.ai[1] = CalculateOutcome(); } else { - Projectile.ai[1] = CalculateOutcome(); - shotonce = true; + Projectile.Kill(); } + shotonce = true; } rolltimer--; diff --git a/Projectiles/Rogue/AshenStalactiteDebris.png b/Projectiles/Rogue/AshenStalactiteDebris.png index 8afd326680..8e092d8e18 100644 Binary files a/Projectiles/Rogue/AshenStalactiteDebris.png and b/Projectiles/Rogue/AshenStalactiteDebris.png differ diff --git a/Projectiles/Rogue/AshenStalagmiteProj.png b/Projectiles/Rogue/AshenStalagmiteProj.png index 4f22b80bf9..08e667c762 100644 Binary files a/Projectiles/Rogue/AshenStalagmiteProj.png and b/Projectiles/Rogue/AshenStalagmiteProj.png differ diff --git a/Systems/Collections/CalamityItemSets.cs b/Systems/Collections/CalamityItemSets.cs index 75a9b9b8c4..3f7a5fca7f 100644 --- a/Systems/Collections/CalamityItemSets.cs +++ b/Systems/Collections/CalamityItemSets.cs @@ -176,7 +176,7 @@ namespace CalamityMod.Systems.Collections /// public static bool[] HasAccessoryKeybind = Factory.CreateNamedSet("HasAccessoryKeybind") .Description("Counts this item as having an accessory keybind. Used for assigning which keybind goes to which accessory.") - .RegisterBoolSet(ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), + .RegisterBoolSet(ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(),ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType()); } } diff --git a/Systems/Mechanic/RecipeSystem.cs b/Systems/Mechanic/RecipeSystem.cs index 15b8ecb5a8..d2a19e76fa 100644 --- a/Systems/Mechanic/RecipeSystem.cs +++ b/Systems/Mechanic/RecipeSystem.cs @@ -1541,14 +1541,6 @@ namespace CalamityMod.Systems r.Register(); r.DisableDecraft(); - // Fledgling Wings - r = Recipe.Create(ItemID.CreativeWings); - r.AddIngredient(2); - r.AddIngredient(ItemID.Cloud, 5); - r.AddIngredient(ItemID.Feather, 10); - r.AddTile(TileID.Anvils); - r.Register(); - // Flying Carpet r = Recipe.Create(ItemID.FlyingCarpet); r.AddIngredient(ItemID.Silk, 10);