diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 6a09748699..130c695930 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -3662,7 +3662,7 @@ namespace CalamityMod.CalPlayer (stressPills ? 0.05f : 0f) + ((abyssalDivingSuit && Player.IsUnderwater()) ? 0.05f : 0f) + (aquaticHeartWaterBuff ? 0.15f : 0f) + - ((frostFlare && Player.statLife < (int)(Player.statLifeMax2 * 0.25)) ? 0.15f : 0f) + + ((frostFlare && Player.statLife <= (int)(Player.statLifeMax2 * 0.5)) ? 0.15f : 0f) + (dragonScales ? 0.1f : 0f) + (kamiBoost ? KamiBuff.RunAccelerationBoost : 0f) + (CobaltSet ? CobaltArmorSetChange.SpeedBoostSetBonusPercentage * 0.01f : 0f) + @@ -3677,7 +3677,7 @@ namespace CalamityMod.CalPlayer (stressPills ? 0.05f : 0f) + ((abyssalDivingSuit && Player.IsUnderwater()) ? 0.05f : 0f) + (aquaticHeartWaterBuff ? 0.15f : 0f) + - ((frostFlare && Player.statLife < (int)(Player.statLifeMax2 * 0.25)) ? 0.15f : 0f) + + ((frostFlare && Player.statLife <= (int)(Player.statLifeMax2 * 0.5)) ? 0.15f : 0f) + (dragonScales ? 0.1f : 0f) + (kamiBoost ? KamiBuff.RunSpeedBoost : 0f) + (CobaltSet ? CobaltArmorSetChange.SpeedBoostSetBonusPercentage * 0.01f : 0f) + diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index ee8fc6aeb3..21c4b3efeb 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -2263,7 +2263,7 @@ namespace CalamityMod.CalPlayer Player.AddBuff(ModContent.BuffType(), 180); } - if ((fBarrier || (aquaticHeart && NPC.downedBoss3)) && !areThereAnyDamnBosses) + if (fBarrier || (aquaticHeart && NPC.downedBoss3)) { SoundEngine.PlaySound(SoundID.Item27, Player.Center); for (int m = 0; m < Main.maxNPCs; m++) @@ -2273,17 +2273,13 @@ namespace CalamityMod.CalPlayer continue; float npcDist = (npc.Center - Player.Center).Length(); - float freezeDist = Main.rand.Next(200 + (int)hurtInfo.Damage / 2, 301 + (int)hurtInfo.Damage * 2); + float freezeDist = 300 + (int)hurtInfo.Damage * 2; if (freezeDist > 500f) - freezeDist = 500f + (freezeDist - 500f) * 0.75f; - if (freezeDist > 700f) - freezeDist = 700f + (freezeDist - 700f) * 0.5f; - if (freezeDist > 900f) - freezeDist = 900f + (freezeDist - 900f) * 0.25f; + freezeDist = 500f + (freezeDist - 500f) * 0.5f; if (npcDist < freezeDist) { - float duration = Main.rand.Next(10 + (int)hurtInfo.Damage / 4, 20 + (int)hurtInfo.Damage / 3); + float duration = Main.rand.Next(10 + (int)hurtInfo.Damage / 2, 20 + (int)hurtInfo.Damage); if (duration > 120) duration = 120; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index f87c010e55..c38a5ded33 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -2992,9 +2992,9 @@ namespace CalamityMod.CalPlayer Player.buffImmune[BuffID.Chilled] = true; Player.buffImmune[BuffID.Frozen] = true; - if (Player.statLife > (int)(Player.statLifeMax2 * 0.75)) + if (Player.statLife > (int)(Player.statLifeMax2 * 0.5)) Player.GetDamage() += 0.1f; - if (Player.statLife < (int)(Player.statLifeMax2 * 0.25)) + if (Player.statLife <= (int)(Player.statLifeMax2 * 0.5)) Player.statDefense += 20; } diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index cd5e141ae9..c3b97cc30a 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -1006,10 +1006,6 @@ namespace CalamityMod.CalPlayer { CalamityUtils.Inflict246DebuffsNPC(target, ModContent.BuffType()); } - if (cryogenSoul) - { - CalamityUtils.Inflict246DebuffsNPC(target, BuffID.Frostburn); - } if (ataxiaFire) { CalamityUtils.Inflict246DebuffsNPC(target, BuffID.OnFire3, 4f); diff --git a/Items/Accessories/FrostBarrier.cs b/Items/Accessories/FrostBarrier.cs index 2d8dd4e9e6..59a334ffa6 100644 --- a/Items/Accessories/FrostBarrier.cs +++ b/Items/Accessories/FrostBarrier.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Items.Accessories { Item.width = 20; Item.height = 24; - Item.defense = 4; + Item.defense = 10; Item.value = CalamityGlobalItem.Rarity4BuyPrice; Item.rare = ItemRarityID.LightRed; Item.accessory = true; diff --git a/Items/Accessories/Wings/SoulofCryogen.cs b/Items/Accessories/Wings/SoulofCryogen.cs index d88efa9078..de434783b6 100644 --- a/Items/Accessories/Wings/SoulofCryogen.cs +++ b/Items/Accessories/Wings/SoulofCryogen.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.Accessories.Wings if (player.controlJump && player.jump == 0 && player.velocity.Y != 0f && !player.mount.Active && !player.mount.Cart) { var source = player.GetSource_Accessory(Item); - int damage = (int)player.GetBestClassDamage().ApplyTo(25); + int damage = (int)player.GetBestClassDamage().ApplyTo(32); damage = player.ApplyArmorAccDamageBonusesTo(damage); int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, player.velocity.X * 0f, 2f, ModContent.ProjectileType(), damage, 3f, player.whoAmI, 1f); @@ -68,7 +68,7 @@ namespace CalamityMod.Items.Accessories.Wings Main.projectile[p].DamageType = DamageClass.Generic; Main.projectile[p].frame = Main.rand.Next(5); } - modPlayer.icicleCooldown = 10; + modPlayer.icicleCooldown = 7; } } } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson index 815a1743ee..6cd23de2b8 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson @@ -123,7 +123,6 @@ SoulofCryogen: { Average vertical speed Flight time: 120 7% increase to all damage - All melee attacks and projectiles inflict frostburn Icicles rain down as you fly ''' } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index e051656d0d..fdeab4cb19 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -763,8 +763,8 @@ FrostBarrier: { DisplayName: Frost Barrier Tooltip: ''' - You will freeze enemies near you when you are struck - You are immune to the chilled debuff + You will freeze nearby enemies when you are struck + Grants immunity to the Chilled debuff ''' } @@ -772,10 +772,10 @@ FrostFlare: { DisplayName: Frost Flare Tooltip: ''' - All attacks and projectiles inflict frostbite - Immunity to frostburn, chilled and frozen - Being above 75% life grants 10% increased damage - Being below 25% life grants 20 defense and 15% increased max movement speed and acceleration + All attacks and projectiles inflict Frostbite + Immunity to Frostburn, Chilled and Frozen + Being above 50% life grants 10% increased damage + Being below 50% life grants 20 defense and 15% increased max movement speed and acceleration Grants resistance against cold attacks ''' } diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 82c19d160b..4efd5a9980 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1238,15 +1238,6 @@ namespace CalamityMod.NPCs shop.AddWithCustomValue(ItemID.Steak, Item.buyPrice(gold: 5), Condition.HappyEnough, Condition.Hardmode); } } - - public override void SetupTravelShop(int[] shop, ref int nextSlot) - { - if (Main.moonPhase == 0) - { - shop[nextSlot] = ItemType(); - nextSlot++; - } - } #endregion } }