diff --git a/Buffs/Cooldowns/GodSlayerCooldown.cs b/Buffs/Cooldowns/GodSlayerCooldown.cs index 66d81edc11..fa993b89a7 100644 --- a/Buffs/Cooldowns/GodSlayerCooldown.cs +++ b/Buffs/Cooldowns/GodSlayerCooldown.cs @@ -8,7 +8,7 @@ namespace CalamityMod.Buffs.Cooldowns public override void SetDefaults() { DisplayName.SetDefault("God Slayer Cooldown"); - Description.SetDefault("Life regen is halved; godslayer effect is recharging"); + Description.SetDefault("Godslayer dash is recharging"); Main.debuff[Type] = true; Main.pvpBuff[Type] = true; Main.buffNoSave[Type] = true; diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 1b2f6048b5..77ea6b0e90 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -690,8 +690,7 @@ namespace CalamityMod.CalPlayer public bool silvaMage = false; public bool silvaSummon = false; public bool hasSilvaEffect = false; - public int silvaCountdown = 600; - public int silvaHitCounter = 0; + public int silvaCountdown = 300; public bool auricSet = false; public bool omegaBlueChestplate = false; public bool omegaBlueSet = false; @@ -2271,8 +2270,7 @@ namespace CalamityMod.CalPlayer silvaMage = false; silvaSummon = false; hasSilvaEffect = false; - silvaCountdown = 600; - silvaHitCounter = 0; + silvaCountdown = 300; auricSet = false; omegaBlueChestplate = false; omegaBlueSet = false; @@ -4202,62 +4200,13 @@ namespace CalamityMod.CalPlayer return false; } - if (godSlayer && !godSlayerCooldown) - { - Main.PlaySound(SoundID.Item, (int)player.position.X, (int)player.position.Y, 67); - - for (int j = 0; j < 50; j++) - { - int num = Dust.NewDust(player.position, player.width, player.height, 173, 0f, 0f, 100, default, 2f); - Dust dust = Main.dust[num]; - dust.position.X += Main.rand.Next(-20, 21); - dust.position.Y += Main.rand.Next(-20, 21); - dust.velocity *= 0.9f; - dust.scale *= 1f + Main.rand.Next(40) * 0.01f; - dust.shader = GameShaders.Armor.GetSecondaryShader(player.cWaist, player); - if (Main.rand.NextBool(2)) - dust.scale *= 1f + Main.rand.Next(40) * 0.01f; - } - - int heal = draconicSurge && !draconicSurgeCooldown ? (player.statLifeMax2 / 2) : 150; - player.statLife += heal; - player.HealEffect(heal); - - if (player.statLife > player.statLifeMax2) - player.statLife = player.statLifeMax2; - - if (player.FindBuffIndex(ModContent.BuffType()) > -1) - { - player.ClearBuff(ModContent.BuffType()); - player.AddBuff(ModContent.BuffType(), CalamityUtils.SecondsToFrames(60f)); - - // Additional potion sickness time - int additionalTime = 0; - for (int i = 0; i < Player.MaxBuffs; i++) - { - if (player.buffType[i] == BuffID.PotionSickness) - additionalTime = player.buffTime[i]; - } - - float potionSicknessTime = 30f + (float)Math.Ceiling(additionalTime / 60D); - player.AddBuff(BuffID.PotionSickness, CalamityUtils.SecondsToFrames(potionSicknessTime)); - } - - player.AddBuff(ModContent.BuffType(), CalamityUtils.SecondsToFrames(45f)); - - return false; - } - if (silvaSet && silvaCountdown > 0) { - if (hasSilvaEffect) - silvaHitCounter++; - if (player.FindBuffIndex(ModContent.BuffType()) == -1) { Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/SilvaActivation"), (int)player.position.X, (int)player.position.Y); - player.AddBuff(ModContent.BuffType(), auricSet ? 300 : 600); + player.AddBuff(ModContent.BuffType(), 300); if (draconicSurge && !draconicSurgeCooldown) { @@ -8024,66 +7973,6 @@ namespace CalamityMod.CalPlayer #region Dash Stuff public void ModDashMovement() { - if (dashMod == 6 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // Ornate Shield - { - Rectangle rectangle = new Rectangle((int)((double)player.position.X + (double)player.velocity.X * 0.5 - 4.0), (int)((double)player.position.Y + (double)player.velocity.Y * 0.5 - 4.0), player.width + 8, player.height + 8); - for (int i = 0; i < Main.maxNPCs; i++) - { - NPC npc = Main.npc[i]; - if (npc.active && !npc.dontTakeDamage && !npc.friendly && npc.immune[player.whoAmI] <= 0) - { - Rectangle rect = npc.getRect(); - if (rectangle.Intersects(rect) && (npc.noTileCollide || player.CanHit(npc))) - { - float num = 50f * player.AverageDamage(); - float num2 = 3f; - bool crit = false; - if (player.kbGlove) - { - num2 *= 2f; - } - if (player.kbBuff) - { - num2 *= 1.5f; - } - if (Main.rand.Next(100) < player.meleeCrit) - { - crit = true; - } - int direction = player.direction; - if (player.velocity.X < 0f) - { - direction = -1; - } - if (player.velocity.X > 0f) - { - direction = 1; - } - if (player.whoAmI == Main.myPlayer) - { - player.ApplyDamageToNPC(npc, (int)num, num2, direction, crit); - } - if (npc.immune[player.whoAmI] < 6) - npc.immune[player.whoAmI] = 6; - npc.AddBuff(ModContent.BuffType(), 60); - bool isImmune = false; - for (int j = 0; j < player.hurtCooldowns.Length; j++) - { - if (player.hurtCooldowns[j] > 0) - isImmune = true; - } - if (!isImmune) - { - player.immune = true; - player.immuneNoBlink = true; - player.immuneTime += 4; - for (int k = 0; k < player.hurtCooldowns.Length; k++) - player.hurtCooldowns[k] = player.immuneTime; - } - } - } - } - } if (dashMod == 4 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // Asgardian Aegis { Rectangle rectangle = new Rectangle((int)((double)player.position.X + (double)player.velocity.X * 0.5 - 4.0), (int)((double)player.position.Y + (double)player.velocity.Y * 0.5 - 4.0), player.width + 8, player.height + 8); @@ -8267,7 +8156,67 @@ namespace CalamityMod.CalPlayer } } } - if (dashMod == 8 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // Plaguebringer Armor + if (dashMod == 6 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // Ornate Shield + { + Rectangle rectangle = new Rectangle((int)((double)player.position.X + (double)player.velocity.X * 0.5 - 4.0), (int)((double)player.position.Y + (double)player.velocity.Y * 0.5 - 4.0), player.width + 8, player.height + 8); + for (int i = 0; i < Main.maxNPCs; i++) + { + NPC npc = Main.npc[i]; + if (npc.active && !npc.dontTakeDamage && !npc.friendly && npc.immune[player.whoAmI] <= 0) + { + Rectangle rect = npc.getRect(); + if (rectangle.Intersects(rect) && (npc.noTileCollide || player.CanHit(npc))) + { + float num = 50f * player.AverageDamage(); + float num2 = 3f; + bool crit = false; + if (player.kbGlove) + { + num2 *= 2f; + } + if (player.kbBuff) + { + num2 *= 1.5f; + } + if (Main.rand.Next(100) < player.meleeCrit) + { + crit = true; + } + int direction = player.direction; + if (player.velocity.X < 0f) + { + direction = -1; + } + if (player.velocity.X > 0f) + { + direction = 1; + } + if (player.whoAmI == Main.myPlayer) + { + player.ApplyDamageToNPC(npc, (int)num, num2, direction, crit); + } + if (npc.immune[player.whoAmI] < 6) + npc.immune[player.whoAmI] = 6; + npc.AddBuff(ModContent.BuffType(), 60); + bool isImmune = false; + for (int j = 0; j < player.hurtCooldowns.Length; j++) + { + if (player.hurtCooldowns[j] > 0) + isImmune = true; + } + if (!isImmune) + { + player.immune = true; + player.immuneNoBlink = true; + player.immuneTime += 4; + for (int k = 0; k < player.hurtCooldowns.Length; k++) + player.hurtCooldowns[k] = player.immuneTime; + } + } + } + } + } + if (dashMod == 8 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // Plaguebringer Armor { Rectangle rectangle = new Rectangle((int)(player.position.X + player.velocity.X * 0.5f - 4f), (int)(player.position.Y + player.velocity.Y * 0.5f - 4f), player.width + 8, player.height + 8); for (int i = 0; i < Main.maxNPCs; i++) @@ -8315,7 +8264,82 @@ namespace CalamityMod.CalPlayer } } } - if (player.dashDelay > 0) + if (dashMod == 9 && player.dashDelay < 0 && player.whoAmI == Main.myPlayer) // God Slayer Armor + { + Rectangle rectangle = new Rectangle((int)((double)player.position.X + (double)player.velocity.X * 0.5 - 4.0), (int)((double)player.position.Y + (double)player.velocity.Y * 0.5 - 4.0), player.width + 8, player.height + 8); + for (int i = 0; i < Main.maxNPCs; i++) + { + NPC npc = Main.npc[i]; + if (npc.active && !npc.dontTakeDamage && !npc.friendly && npc.immune[player.whoAmI] <= 0) + { + Rectangle rect = npc.getRect(); + if (rectangle.Intersects(rect) && (npc.noTileCollide || player.CanHit(npc))) + { + Main.PlaySound(SoundID.Item, (int)player.position.X, (int)player.position.Y, 67); + + for (int j = 0; j < 30; j++) + { + int dust = Dust.NewDust(player.position, player.width, player.height, 173, 0f, 0f, 100, default, 2f); + Dust dust2 = Main.dust[dust]; + dust2.position.X += Main.rand.Next(-20, 21); + dust2.position.Y += Main.rand.Next(-20, 21); + dust2.velocity *= 0.9f; + dust2.scale *= 1f + Main.rand.Next(40) * 0.01f; + dust2.shader = GameShaders.Armor.GetSecondaryShader(player.cWaist, player); + if (Main.rand.NextBool(2)) + dust2.scale *= 1f + Main.rand.Next(40) * 0.01f; + } + + float num = 5000f * player.AverageDamage(); + float num2 = 15f; + bool crit = false; + if (player.kbGlove) + { + num2 *= 2f; + } + if (player.kbBuff) + { + num2 *= 1.5f; + } + if (Main.rand.Next(100) < player.meleeCrit) + { + crit = true; + } + int direction = player.direction; + if (player.velocity.X < 0f) + { + direction = -1; + } + if (player.velocity.X > 0f) + { + direction = 1; + } + if (player.whoAmI == Main.myPlayer) + { + player.ApplyDamageToNPC(npc, (int)num, num2, direction, crit); + } + if (npc.immune[player.whoAmI] < 6) + npc.immune[player.whoAmI] = 6; + npc.AddBuff(ModContent.BuffType(), 600); + bool isImmune = false; + for (int j = 0; j < player.hurtCooldowns.Length; j++) + { + if (player.hurtCooldowns[j] > 0) + isImmune = true; + } + if (!isImmune) + { + player.immune = true; + player.immuneNoBlink = true; + player.immuneTime += 4; + for (int k = 0; k < player.hurtCooldowns.Length; k++) + player.hurtCooldowns[k] = player.immuneTime; + } + } + } + } + } + if (player.dashDelay > 0) { return; } @@ -8469,9 +8493,26 @@ namespace CalamityMod.CalPlayer } num7 = 12.5f; } - if (dashMod > 0) + else if (dashMod == 9) // God Slayer Armor + { + for (int m = 0; m < 24; m++) + { + int num14 = Dust.NewDust(new Vector2(player.position.X, player.position.Y + 4f), player.width, player.height - 8, (int)CalamityDusts.PurpleCosmolite, 0f, 0f, 100, default, 2.75f); + Main.dust[num14].velocity *= 0.1f; + Main.dust[num14].scale *= 1f + (float)Main.rand.Next(20) * 0.01f; + Main.dust[num14].shader = GameShaders.Armor.GetSecondaryShader(player.ArmorSetDye(), player); + Main.dust[num14].noGravity = true; + if (Main.rand.NextBool(2)) + { + Main.dust[num14].fadeIn = 0.5f; + } + } + num7 = 20f; + } + if (dashMod > 0) { player.vortexStealthActive = false; + if (player.velocity.X > num7 || player.velocity.X < -num7) { player.velocity.X = player.velocity.X * num8; @@ -8482,7 +8523,13 @@ namespace CalamityMod.CalPlayer player.velocity.X = player.velocity.X * num10; return; } + player.dashDelay = delay; + + // Cooldown for God Slayer Armor dash + if (dashMod == 9) + player.AddBuff(ModContent.BuffType(), CalamityUtils.SecondsToFrames(30f)); + if (player.velocity.X < 0f) { player.velocity.X = -num9; @@ -8637,7 +8684,27 @@ namespace CalamityMod.CalPlayer } } } - } + else if (dashMod == 9) // God Slayer Armor + { + if (DoADash(30f)) + { + Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/DevourerAttack"), (int)player.position.X, (int)player.position.Y); + + for (int d = 0; d < 60; d++) + { + int idx = Dust.NewDust(player.position, player.width, player.height, (int)CalamityDusts.PurpleCosmolite, 0f, 0f, 100, default, 3f); + Dust dust = Main.dust[idx]; + dust.position.X += Main.rand.NextFloat(-5f, 5f); + dust.position.Y += Main.rand.NextFloat(-5f, 5f); + dust.velocity *= 0.2f; + dust.scale *= Main.rand.NextFloat(1f, 1.2f); + dust.shader = GameShaders.Armor.GetSecondaryShader(player.ArmorSetDye(), player); + dust.noGravity = true; + dust.fadeIn = 0.5f; + } + } + } + } } private bool DoADash(float dashDistance) @@ -8760,7 +8827,14 @@ namespace CalamityMod.CalPlayer Main.dust[num7].velocity.Y *= 0.2f; Main.dust[num7].shader = GameShaders.Armor.GetSecondaryShader(player.cShoe, player); } - } + else if (dashMod == 9) + { + int num7 = Dust.NewDust(new Vector2(player.position.X - 4f, player.position.Y + (float)player.height + (float)num3), player.width + 8, 4, (int)CalamityDusts.PurpleCosmolite, -player.velocity.X * 0.5f, player.velocity.Y * 0.5f, 50, default, 3f); + Main.dust[num7].velocity.X *= 0.2f; + Main.dust[num7].velocity.Y *= 0.2f; + Main.dust[num7].shader = GameShaders.Armor.GetSecondaryShader(player.cShoe, player); + } + } } else if (player.controlRight && player.velocity.X < player.accRunSpeed && player.dashDelay >= 0) { @@ -8827,7 +8901,14 @@ namespace CalamityMod.CalPlayer Main.dust[num12].velocity.Y *= 0.2f; Main.dust[num12].shader = GameShaders.Armor.GetSecondaryShader(player.cShoe, player); } - } + else if (dashMod == 9) + { + int num12 = Dust.NewDust(new Vector2(player.position.X - 4f, player.position.Y + (float)player.height + (float)num8), player.width + 8, 4, (int)CalamityDusts.PurpleCosmolite, -player.velocity.X * 0.5f, player.velocity.Y * 0.5f, 50, default, 3f); + Main.dust[num12].velocity.X *= 0.2f; + Main.dust[num12].velocity.Y *= 0.2f; + Main.dust[num12].shader = GameShaders.Armor.GetSecondaryShader(player.cShoe, player); + } + } } if (player.mount.Active && player.mount.Type == ModContent.MountType() && Math.Abs(player.velocity.X) > player.mount.DashSpeed - player.mount.RunSpeed / 2f) diff --git a/CalPlayer/CalamityPlayerLifeRegen.cs b/CalPlayer/CalamityPlayerLifeRegen.cs index eea5eafaa1..97f2028fc5 100644 --- a/CalPlayer/CalamityPlayerLifeRegen.cs +++ b/CalPlayer/CalamityPlayerLifeRegen.cs @@ -966,31 +966,25 @@ namespace CalamityMod.CalPlayer } } - if (player.statLife < modPlayer.actualMaxLife) - { - bool noLifeRegenCap = (player.shinyStone || modPlayer.draedonsHeart || modPlayer.cFreeze || modPlayer.shadeRegen || modPlayer.photosynthesis || modPlayer.camper) && - player.StandingStill() && player.itemAnimation == 0; + if (player.statLife < modPlayer.actualMaxLife) + { + bool noLifeRegenCap = (player.shinyStone || modPlayer.draedonsHeart || modPlayer.cFreeze || modPlayer.shadeRegen || modPlayer.photosynthesis || modPlayer.camper) && + player.StandingStill() && player.itemAnimation == 0; - if (!noLifeRegenCap) + if (!noLifeRegenCap) + { + // Max HP = 400 + // 350 HP = 1 - 0.875 * 10 = 1.25 = 1 + // 100 HP = 1 - 0.25 * 10 = 7.5 = 7 + // 200 HP = 1 - 0.5 * 10 = 5 + int lifeRegenScale = (int)((1f - (player.statLife / modPlayer.actualMaxLife)) * 10f); // 9 to 0 (1% HP to 100%) + if (player.lifeRegen > lifeRegenScale) { - // Max HP = 400 - // 350 HP = 1 - 0.875 * 10 = 1.25 = 1 - // 100 HP = 1 - 0.25 * 10 = 7.5 = 7 - // 200 HP = 1 - 0.5 * 10 = 5 - int lifeRegenScale = (int)((1f - (player.statLife / modPlayer.actualMaxLife)) * 10f); // 9 to 0 (1% HP to 100%) - if (player.lifeRegen > lifeRegenScale) - { - float lifeRegenScalar = 1f + (player.statLife / modPlayer.actualMaxLife); // 1 to 2 (1% HP to 100%) - int defLifeRegen = (int)(player.lifeRegen / lifeRegenScalar); - player.lifeRegen = defLifeRegen; - } + float lifeRegenScalar = 1f + (player.statLife / modPlayer.actualMaxLife); // 1 to 2 (1% HP to 100%) + int defLifeRegen = (int)(player.lifeRegen / lifeRegenScalar); + player.lifeRegen = defLifeRegen; } } - - if (player.lifeRegen > 0) - { - if (modPlayer.godSlayerCooldown) - player.lifeRegen /= 2; } if (BossRushEvent.BossRushActive) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index 38e2d2b676..f6b32d2dbd 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -1209,7 +1209,7 @@ namespace CalamityMod.CalPlayer player.buffImmune[debuff] = true; player.buffImmune[ModContent.BuffType()] = true; - modPlayer.silvaCountdown -= modPlayer.auricSet ? 2 : 1; + modPlayer.silvaCountdown -= 1; if (modPlayer.silvaCountdown <= 0) Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/SilvaDispel"), player.Center); @@ -2019,24 +2019,6 @@ namespace CalamityMod.CalPlayer #region Max Life And Mana Effects private static void MaxLifeAndManaEffects(Player player, CalamityPlayer modPlayer, Mod mod) { - // Silva invincibility effects - if (modPlayer.silvaHitCounter > 0) - { - player.statLifeMax2 -= modPlayer.silvaHitCounter * 100; - if (player.statLifeMax2 <= 400) - { - player.statLifeMax2 = 400; - if (modPlayer.silvaCountdown > 0) - { - if (player.FindBuffIndex(ModContent.BuffType()) > -1) - player.ClearBuff(ModContent.BuffType()); - - Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/SilvaDispel"), (int)player.position.X, (int)player.position.Y); - } - modPlayer.silvaCountdown = 0; - } - } - // New textures if (Main.netMode != NetmodeID.Server && player.whoAmI == Main.myPlayer) { diff --git a/Items/Armor/GodSlayerHelm.cs b/Items/Armor/GodSlayerHelm.cs index 8c51094372..725ce9dd13 100644 --- a/Items/Armor/GodSlayerHelm.cs +++ b/Items/Armor/GodSlayerHelm.cs @@ -39,16 +39,19 @@ namespace CalamityMod.Items.Armor CalamityPlayer modPlayer = player.Calamity(); modPlayer.godSlayer = true; modPlayer.godSlayerDamage = true; - player.setBonus = "You will survive fatal damage and will be healed 150 HP if an attack would have killed you\n" + - "This effect can only occur once every 45 seconds\n" + - "While the cooldown for this effect is active all life regen is halved\n" + + player.setBonus = "Allows you to dash for an immense distance\n" + + "Enemies you dash through take massive damage\n" + + "This dash has a 30 second cooldown\n" + "Enemies are more likely to target you\n" + "Taking over 80 damage in one hit will cause you to release a swarm of high-damage god killer darts\n" + "Enemies take a lot of damage when they hit you\n" + "An attack that would deal 80 damage or less will have its damage reduced to 1"; player.thorns += 2.5f; player.aggro += 1000; - } + + if (!modPlayer.godSlayerCooldown) + modPlayer.dashMod = 9; + } public override void UpdateEquip(Player player) { diff --git a/Items/Armor/GodSlayerHelmet.cs b/Items/Armor/GodSlayerHelmet.cs index edcd33d805..ddba193d2c 100644 --- a/Items/Armor/GodSlayerHelmet.cs +++ b/Items/Armor/GodSlayerHelmet.cs @@ -39,10 +39,13 @@ namespace CalamityMod.Items.Armor CalamityPlayer modPlayer = player.Calamity(); modPlayer.godSlayer = true; modPlayer.godSlayerRanged = true; - player.setBonus = "You will survive fatal damage and will be healed 150 HP if an attack would have killed you\n" + - "This effect can only occur once every 45 seconds\n" + - "While the cooldown for this effect is active all life regen is halved\n" + - "You fire a god killer shrapnel round while firing ranged weapons every 2.5 seconds"; + player.setBonus = "Allows you to dash for an immense distance\n" + + "Enemies you dash through take massive damage\n" + + "This dash has a 30 second cooldown\n" + + "You fire a god killer shrapnel round while firing ranged weapons every 2.5 seconds"; + + if (!modPlayer.godSlayerCooldown) + modPlayer.dashMod = 9; } public override void UpdateEquip(Player player) diff --git a/Items/Armor/GodSlayerMask.cs b/Items/Armor/GodSlayerMask.cs index 054e8e975b..2d7fe7cb48 100644 --- a/Items/Armor/GodSlayerMask.cs +++ b/Items/Armor/GodSlayerMask.cs @@ -41,16 +41,19 @@ namespace CalamityMod.Items.Armor modPlayer.godSlayerThrowing = true; modPlayer.rogueStealthMax += 1.2f; modPlayer.wearingRogueArmor = true; - player.setBonus = "You will survive fatal damage and will be healed 150 HP if an attack would have killed you\n" + - "This effect can only occur once every 45 seconds\n" + - "While the cooldown for this effect is active all life regen is halved\n" + - "While at full HP all of your rogue stats are boosted by 10%\n" + + player.setBonus = "Allows you to dash for an immense distance\n" + + "Enemies you dash through take massive damage\n" + + "This dash has a 30 second cooldown\n" + + "While at full HP all of your rogue stats are boosted by 10%\n" + "If you take over 80 damage in one hit you will be given extra immunity frames\n" + "Rogue stealth builds while not attacking and slower while moving, up to a max of 120\n" + "Once you have built max stealth, you will be able to perform a Stealth Strike\n" + "Rogue stealth only reduces when you attack, it does not reduce while moving\n" + "The higher your rogue stealth the higher your rogue damage, crit, and movement speed"; - } + + if (!modPlayer.godSlayerCooldown) + modPlayer.dashMod = 9; + } public override void UpdateEquip(Player player) { diff --git a/Items/Armor/SilvaHelmet.cs b/Items/Armor/SilvaHelmet.cs index 2b27be10b0..708b6c4bbe 100644 --- a/Items/Armor/SilvaHelmet.cs +++ b/Items/Armor/SilvaHelmet.cs @@ -45,10 +45,8 @@ namespace CalamityMod.Items.Armor player.setBonus = "75% increased minion damage and +5 max minions\n" + "All projectiles spawn healing leaf orbs on enemy hits\n" + "Max run speed and acceleration boosted by 5%\n" + - "If you are reduced to 1 HP you will not die from any further damage for 10 seconds\n" + - "If you get reduced to 1 HP again while this effect is active you will lose 100 max life\n" + - "This effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\n" + - "Your max life will return to normal if you die\n" + + "If you are reduced to 1 HP you will not die from any further damage for 5 seconds\n" + + "This effect only triggers once per life\n" + "Summons an ancient leaf prism to blast your enemies with life energy\n" + "After the silva invulnerability time your minions will deal 10% more damage"; if (player.whoAmI == Main.myPlayer) diff --git a/Items/Armor/SilvaMaskedCap.cs b/Items/Armor/SilvaMaskedCap.cs index a13cd4a36e..fdd5a3f827 100644 --- a/Items/Armor/SilvaMaskedCap.cs +++ b/Items/Armor/SilvaMaskedCap.cs @@ -44,10 +44,8 @@ namespace CalamityMod.Items.Armor modPlayer.silvaMage = true; player.setBonus = "All projectiles spawn healing leaf orbs on enemy hits\n" + "Max run speed and acceleration boosted by 5%\n" + - "If you are reduced to 1 HP you will not die from any further damage for 10 seconds\n" + - "If you get reduced to 1 HP again while this effect is active you will lose 100 max life\n" + - "This effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\n" + - "Your max life will return to normal if you die\n" + + "If you are reduced to 1 HP you will not die from any further damage for 5 seconds\n" + + "This effect only triggers once per life\n" + "Magic projectiles have a 10% chance to cause a massive explosion on enemy hits\n" + "After the silva invulnerability time your magic weapons will do 10% more damage"; } diff --git a/Items/Potions/DraconicElixir.cs b/Items/Potions/DraconicElixir.cs index e6df747ac1..e1bf89dabc 100644 --- a/Items/Potions/DraconicElixir.cs +++ b/Items/Potions/DraconicElixir.cs @@ -12,9 +12,8 @@ namespace CalamityMod.Items.Potions { DisplayName.SetDefault("Draconic Elixir"); Tooltip.SetDefault("Greatly increases wing flight time and speed and increases defense by 16\n" + - "God slayer revival heals you to half HP instead of 150 HP when triggered\n" + "Silva invincibility heals you to half HP when triggered\n" + - "If you trigger the above heals you cannot drink this potion again for 60 seconds and you gain 30 seconds of potion sickness"); + "If you trigger the above heal you cannot drink this potion again for 60 seconds and you gain 30 seconds of potion sickness"); } public override void SetDefaults()