From 7e40fc5d08073d8b9afdf2e89f963cb6e61ccd90 Mon Sep 17 00:00:00 2001 From: Xyk Date: Mon, 2 Oct 2023 14:02:11 -0700 Subject: [PATCH] Levi Amber Fix and Aero Stone Nerf Levi amber doesn't knock back dummies anymore and has a bit less knockback Aero stone has a 25 flight time bonus instead of 35 --- Items/Accessories/AeroStone.cs | 2 +- Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson | 2 +- Projectiles/Typeless/LeviAmberDash.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Items/Accessories/AeroStone.cs b/Items/Accessories/AeroStone.cs index fba7118604..8b3d64b3da 100644 --- a/Items/Accessories/AeroStone.cs +++ b/Items/Accessories/AeroStone.cs @@ -29,7 +29,7 @@ namespace CalamityMod.Items.Accessories public override void UpdateAccessory(Player player, bool hideVisual) { player.Calamity().aeroStone = true; - player.wingTimeMax += 35; + player.wingTimeMax += 25; } diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index 442ee239da..7fa3e04516 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -70,7 +70,7 @@ AeroStone: { DisplayName: Aero Stone Tooltip: ''' - Provides an additional 35 flight time + Provides an additional 25 flight time You slowly recover flight time while in the air if you are not flying or gliding 'One of the ancient relics' ''' diff --git a/Projectiles/Typeless/LeviAmberDash.cs b/Projectiles/Typeless/LeviAmberDash.cs index 2e6a140698..5ea69efa18 100644 --- a/Projectiles/Typeless/LeviAmberDash.cs +++ b/Projectiles/Typeless/LeviAmberDash.cs @@ -34,10 +34,10 @@ namespace CalamityMod.Projectiles.Typeless public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { - if (!target.boss) + if (!target.boss && target.IsAnEnemy(true, true)) { target.velocity.Y += -1.8f; - target.velocity.X += 5.5f * Owner.direction; + target.velocity.X += 4.2f * Owner.direction; } target.AddBuff(BuffID.Wet, 300); target.AddBuff(ModContent.BuffType(), 60);