Entropic Claymore sends tapeworms in GFB
This commit is contained in:
1 parent
7857fc4b96
commit
31bfaa0728
2 files changed
+21
-11
No files matched your search
@@ -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<TooltipLine> 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)
|
||||
{
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user