diff --git a/Items/Weapons/Melee/EntropicClaymore.cs b/Items/Weapons/Melee/EntropicClaymore.cs index 5e9246c240..1ad3f55947 100644 --- a/Items/Weapons/Melee/EntropicClaymore.cs +++ b/Items/Weapons/Melee/EntropicClaymore.cs @@ -1,9 +1,9 @@ -using System; -using CalamityMod.Items.Materials; +using CalamityMod.Items.Materials; using CalamityMod.Particles; using CalamityMod.Projectiles.Melee; using Microsoft.Xna.Framework; -using Steamworks; +using System; +using System.Collections.Generic; using Terraria; using Terraria.Audio; using Terraria.DataStructures; @@ -38,15 +38,17 @@ namespace CalamityMod.Items.Weapons.Melee Item.shootSpeed = 12f; } - public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) + /*public override void UseItemHitbox(Player player, ref Rectangle hitbox, ref bool noHitbox) { - //int hitX = (int)(player.itemLocation + (swingRotation + MathHelper.ToRadians(90f)).ToRotationVector2() * 90).X; - //int hitY = (int)(player.itemLocation + (swingRotation + MathHelper.ToRadians(90f)).ToRotationVector2() * 90).Y; - //hitbox = new Rectangle(hitX, hitY, Item.width / 3, Item.height / 3); + int hitX = (int)(player.itemLocation + (swingRotation + MathHelper.ToRadians(90f)).ToRotationVector2() * 90).X; + int hitY = (int)(player.itemLocation + (swingRotation + MathHelper.ToRadians(90f)).ToRotationVector2() * 90).Y; + hitbox = new Rectangle(hitX, hitY, Item.width / 3, Item.height / 3); - //Particle spark2 = new GlowOrbParticle(new Vector2(hitX, hitY), Vector2.Zero, false, 5, 1, Color.Red); - //GeneralParticleHandler.SpawnParticle(spark2); - } + Particle spark2 = new GlowOrbParticle(new Vector2(hitX, hitY), Vector2.Zero, false, 5, 1, Color.Red); + GeneralParticleHandler.SpawnParticle(spark2); + }*/ + + public override void ModifyTooltips(List tooltips) => tooltips.FindAndReplace("[GFB]", this.GetLocalizedValue(Main.zenithWorld ? "TooltipGFB" : "TooltipNormal")); public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson index 9f0782055b..99f9998c3d 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Melee.hjson @@ -450,12 +450,20 @@ EmpyreanKnives: { EntropicClaymore: { DisplayName: Entropic Claymore - Tooltip: + Tooltip: "[GFB]" + TooltipNormal: ''' Fires a spread of living plasma that swims though the air Plasma will track your cursor or enemies near it, prioritizing which is closest The plasma pierces, but will stop tracking after hitting the first enemy ''' + TooltipGFB: + ''' + Fires a spread of dead tapeworms that swim throuh the air + Tapeworms will track your cursor or enemies near it, prioritizing which is closest + The tapeworms pierce, but will stop tracking after hitting the first enemy + [c/FF0000:'Go my tapeworms, make their balls itch'] + ''' } EssenceFlayer: {