This commit is contained in:
Andrew Marheine committed 2019-11-04 19:09:40 -06:00
commit 642ec20a81
16 files changed
+581 -4

No files matched your search

+43
View File
@@ -4637,6 +4637,49 @@ namespace CalamityMod.CalPlayer
{
}
}
if (player.inventory[player.selectedItem].type == ModContent.ItemType<NavyFishingRod>() && player.ownedProjectileCounts[ModContent.ProjectileType<NavyBobber>()] != 0)
{
int auraCounter = 0;
float num2 = 200f;
bool flag = auraCounter % 60 == 0;
int num3 = 10;
int random = Main.rand.Next(15);
if (player.whoAmI == Main.myPlayer)
{
if (random == 0)
{
for (int l = 0; l < 200; l++)
{
NPC nPC = Main.npc[l];
if (nPC.active && !nPC.friendly && nPC.damage > 0 && !nPC.dontTakeDamage && Vector2.Distance(player.Center, nPC.Center) <= num2)
{
if (flag)
{
nPC.StrikeNPC(num3, 0f, 0, false, false, false);
if (Main.netMode != NetmodeID.SinglePlayer)
{
NetMessage.SendData(28, -1, -1, null, l, (float)num3, 0f, 0f, 0, 0, 0);
}
Vector2 value15 = new Vector2((float)Main.rand.Next(-50, 51), (float)Main.rand.Next(-50, 51));
while (value15.X == 0f && value15.Y == 0f)
{
value15 = new Vector2((float)Main.rand.Next(-50, 51), (float)Main.rand.Next(-50, 51));
}
value15.Normalize();
value15 *= (float)Main.rand.Next(30, 61) * 0.1f;
int num17 = Projectile.NewProjectile(nPC.Center.X, nPC.Center.Y, value15.X, value15.Y, ModContent.ProjectileType<EutrophicSpark>(), 5, 0f, player.whoAmI, 0f, 0f);
Main.projectile[num17].melee = false;
Main.projectile[num17].localNPCHitCooldown = -1;
}
}
}
}
}
auraCounter++;
if (auraCounter >= 180)
{
}
}
if (brimstoneElementalLore && player.inferno)
{
int num = ModContent.BuffType<BrimstoneFlames>();
+2
View File
@@ -492,6 +492,8 @@ namespace CalamityMod.Items
tt2.overrideColor = new Color(255, Main.DiscoG, 155);
if (item.type == ModContent.ItemType<Vesuvius>())
tt2.overrideColor = new Color(255, Main.DiscoG, 0);
/*if (item.type == ModContent.ItemType<SeasSearing>())
tt2.overrideColor = new Color(60, Main.DiscoG, 190);*/
break;
case 18: //Fabstaff
tt2.overrideColor = new Color(Main.DiscoR, 100, 255);
+1 -1
View File
@@ -49,7 +49,7 @@ namespace CalamityMod.Items.Fishing
int linecolor = Projectile.NewProjectile(position.X, position.Y, SpeedX, SpeedY, type, 0, 0f, player.whoAmI, 0.0f, 0.0f);
if (Main.rand.NextBool(2)) //randomizing line color
{
Main.projectile[linecolor].localAI[1] = 1;
Main.projectile[linecolor].Calamity().lineColor = true;
}
}
return false;
+47
View File
@@ -0,0 +1,47 @@
using CalamityMod.Projectiles.Typeless;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.Localization;
using Terraria.ModLoader;
using CalamityMod.Items.Placeables;
namespace CalamityMod.Items.Fishing
{
public class NavyFishingRod : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Navy Fishing Rod");
Tooltip.SetDefault("While held, slowly electrifies nearby enemies.\n" +
"The sea is a city.\n" + //Life of Pi ref Ch.59
"Just below are highways, boulevards, streets and roundabouts bustling with submarine traffic.");
}
public override void SetDefaults()
{
//item.CloneDefaults(2289); //Wooden Fishing Pole
item.width = 24;
item.height = 28;
item.useAnimation = 8;
item.useTime = 8;
item.useStyle = 1;
item.UseSound = SoundID.Item1;
item.fishingPole = 25;
item.shootSpeed = 13f;
item.shoot = ModContent.ProjectileType<NavyBobber>();
item.value = Item.buyPrice(0, 2, 0, 0);
item.rare = 2;
}
public override void AddRecipes()
{
ModRecipe recipe = new ModRecipe(mod);
recipe.AddIngredient(ModContent.ItemType<SeaPrism>(), 5);
recipe.AddIngredient(ModContent.ItemType<Navystone>(), 8);
recipe.AddTile(TileID.Anvils);
recipe.SetResult(this);
recipe.AddRecipe();
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+2
View File
@@ -55,6 +55,8 @@ namespace CalamityMod.Projectiles
// Counters and Timers
private int counter = 0;
private int counter2 = 0;
public bool lineColor = false; //holy mother of god, Eater of Shoals was a pain in the ass
#region SetDefaults
public override void SetDefaults(Projectile projectile)
+125
View File
@@ -0,0 +1,125 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using System;
using CalamityMod.Items.Weapons.Ranged;
using CalamityMod.Buffs.DamageOverTime;
namespace CalamityMod.Projectiles.Ranged
{
public class SeasSearingBubble : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Searing Bubble");
ProjectileID.Sets.TrailCacheLength[projectile.type] = 10;
ProjectileID.Sets.TrailingMode[projectile.type] = 0;
}
public override void SetDefaults()
{
projectile.width = 18;
projectile.height = 18;
projectile.friendly = true;
projectile.ignoreWater = true;
projectile.alpha = 255;
projectile.penetrate = 2;
projectile.timeLeft = 480;
projectile.ranged = true;
projectile.extraUpdates = 2;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
}
public override void AI()
{
if (projectile.alpha > 0)
{
projectile.alpha -= 25;
if (projectile.alpha < 0)
projectile.alpha = 0;
}
for (int num105 = 0; num105 < 2; num105++)
{
float num99 = projectile.velocity.X / 3f * (float)num105;
float num100 = projectile.velocity.Y / 3f * (float)num105;
int num101 = 4;
int num102 = Dust.NewDust(new Vector2(projectile.position.X + (float)num101, projectile.position.Y + (float)num101), projectile.width - num101 * 2, projectile.height - num101 * 2, 202, 0f, 0f, 100, default, 1.2f);
Main.dust[num102].noGravity = true;
Main.dust[num102].velocity *= 0.1f;
Main.dust[num102].velocity += projectile.velocity * 0.1f;
Dust expr_47FA_cp_0 = Main.dust[num102];
expr_47FA_cp_0.position.X -= num99;
Dust expr_4815_cp_0 = Main.dust[num102];
expr_4815_cp_0.position.Y -= num100;
}
if (Main.rand.NextBool(10))
{
int num103 = 4;
int num104 = Dust.NewDust(new Vector2(projectile.position.X + (float)num103, projectile.position.Y + (float)num103), projectile.width - num103 * 2, projectile.height - num103 * 2, 202, 0f, 0f, 100, default, 0.6f);
Main.dust[num104].velocity *= 0.25f;
Main.dust[num104].velocity += projectile.velocity * 0.5f;
}
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
{
CalamityGlobalProjectile.DrawCenteredAndAfterimage(projectile, lightColor, ProjectileID.Sets.TrailingMode[projectile.type], 1);
return false;
}
public override void Kill(int timeLeft)
{
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 96);
for (int k = 0; k < 5; k++)
{
Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 202, projectile.oldVelocity.X * 0.5f, projectile.oldVelocity.Y * 0.5f);
}
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 96);
target.AddBuff(BuffID.Wet, 240);
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 240);
int type = ModContent.ProjectileType<SeasSearingBubble>();
if (projectile.ai[0] == 1f)
{
int numWaterBlasts = 2;
int waterDamage = 150; //SeasSearing.BaseDamage / 2;
float waterKB = 1f;
Player owner = Main.player[projectile.owner];
for (int i = 0; i < numWaterBlasts; ++i)
{
float startOffsetX = Main.rand.NextFloat(1000f, 1400f) * (Main.rand.NextBool() ? -1f : 1f);
float startOffsetY = Main.rand.NextFloat(80f, 900f) * (Main.rand.NextBool() ? -1f : 1f);
Vector2 startPos = new Vector2(target.Center.X + startOffsetX, target.Center.Y + startOffsetY);
float dx = target.Center.X - startPos.X;
float dy = target.Center.Y - startPos.Y;
// Add some randomness / inaccuracy
dx += Main.rand.NextFloat(-5f, 5f);
dy += Main.rand.NextFloat(-5f, 5f);
float speed = Main.rand.NextFloat(20f, 25f);
float dist = (float)Math.Sqrt((double)(dx * dx + dy * dy));
dist = speed / dist;
dx *= dist;
dy *= dist;
Vector2 waterVel = new Vector2(dx, dy);
float angle = Main.rand.NextFloat(MathHelper.TwoPi);
if (projectile.owner == Main.myPlayer)
{
int idx = Projectile.NewProjectile(startPos, waterVel, type, waterDamage, waterKB, projectile.owner, 0f, 0f);
Main.projectile[idx].rotation = angle;
Main.projectile[idx].tileCollide = false;
Main.projectile[idx].usesLocalNPCImmunity = true;
Main.projectile[idx].localNPCHitCooldown = -1;
}
}
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

@@ -0,0 +1,69 @@
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Items.Weapons.Ranged;
using Microsoft.Xna.Framework;
using System;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Ranged
{
public class SeasSearingSecondary : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Hydroshower");
}
public override void SetDefaults()
{
projectile.width = 16;
projectile.height = 32;
projectile.friendly = true;
projectile.ranged = true;
projectile.penetrate = 1;
projectile.timeLeft = 600;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
}
public override void AI()
{
if (projectile.scale <= 3.6f)
{
projectile.scale *= 1.01f;
projectile.width = (int)(16f * projectile.scale);
projectile.height = (int)(32f * projectile.scale);
}
projectile.rotation = (float)Math.Atan2((double)projectile.velocity.Y, (double)projectile.velocity.X) + 1.57f;
projectile.localAI[0] += 1f;
if (projectile.localAI[0] > 4f)
{
for (int num468 = 0; num468 < 3; num468++)
{
int num469 = Dust.NewDust(new Vector2(projectile.position.X, projectile.position.Y), projectile.width, projectile.height, 217, 0f, 0f, 100, default, projectile.scale);
Main.dust[num469].noGravity = true;
Main.dust[num469].velocity *= 0f;
int num470 = Dust.NewDust(new Vector2(projectile.position.X, projectile.position.Y), projectile.width, projectile.height, 202, 0f, 0f, 100, default, projectile.scale);
Main.dust[num470].noGravity = true;
Main.dust[num470].velocity *= 0f;
}
}
}
public override void Kill(int timeLeft)
{
if (projectile.owner == Main.myPlayer)
{
int endoftime = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, 0f, 0f, ModContent.ProjectileType<TyphoonBubble>(), projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f);
Main.projectile[endoftime].localAI[1] = 1f;
}
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(ModContent.BuffType<GlacialState>(), 360);
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 360);
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

+128
View File
@@ -0,0 +1,128 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using Terraria;
using Terraria.ModLoader;
using CalamityMod.Buffs.DamageOverTime;
namespace CalamityMod.Projectiles.Ranged
{
public class SeasSearingSpout : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Spout");
Main.projFrames[projectile.type] = 6;
}
public override void SetDefaults()
{
projectile.width = 150;
projectile.height = 42;
projectile.scale = 0.6f;
projectile.friendly = true;
projectile.tileCollide = false;
projectile.ignoreWater = true;
projectile.ranged = true;
projectile.penetrate = -1;
projectile.alpha = 255;
projectile.timeLeft = 60;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 30;
}
public override void AI()
{
int num613 = 10;
int num614 = 15;
float num615 = 1f;
int num616 = 150;
int num617 = 42;
if (projectile.velocity.X != 0f)
{
projectile.direction = projectile.spriteDirection = -Math.Sign(projectile.velocity.X);
}
projectile.frameCounter++;
if (projectile.frameCounter > 2)
{
projectile.frame++;
projectile.frameCounter = 0;
}
if (projectile.frame >= 6)
{
projectile.frame = 0;
}
if (projectile.localAI[0] == 0f)
{
projectile.localAI[0] = 1f;
projectile.position.X = projectile.position.X + (float)(projectile.width / 2);
projectile.position.Y = projectile.position.Y + (float)(projectile.height / 2);
projectile.scale = ((float)(num613 + num614) - projectile.ai[1]) * num615 / (float)(num614 + num613);
projectile.width = (int)((float)num616 * projectile.scale);
projectile.height = (int)((float)num617 * projectile.scale);
projectile.position.X = projectile.position.X - (float)(projectile.width / 2);
projectile.position.Y = projectile.position.Y - (float)(projectile.height / 2);
projectile.netUpdate = true;
}
if (projectile.ai[1] != -1f)
{
projectile.scale = ((float)(num613 + num614) - projectile.ai[1]) * num615 / (float)(num614 + num613);
projectile.width = (int)((float)num616 * projectile.scale);
projectile.height = (int)((float)num617 * projectile.scale);
}
if (!Collision.SolidCollision(projectile.position, projectile.width, projectile.height))
{
projectile.alpha -= 30;
if (projectile.alpha < 60)
{
projectile.alpha = 60;
}
}
else
{
projectile.alpha += 30;
if (projectile.alpha > 150)
{
projectile.alpha = 150;
}
}
if (projectile.ai[0] > 0f)
{
projectile.ai[0] -= 1f;
}
if (projectile.ai[0] == 1f && projectile.ai[1] > 0f && projectile.owner == Main.myPlayer)
{
projectile.netUpdate = true;
Vector2 center = projectile.Center;
center.Y -= (float)num617 * projectile.scale / 2f;
float num618 = ((float)(num613 + num614) - projectile.ai[1] + 1f) * num615 / (float)(num614 + num613);
center.Y -= (float)num617 * num618 / 2f;
center.Y += 2f;
Projectile.NewProjectile(center.X, center.Y, projectile.velocity.X, projectile.velocity.Y, projectile.type, projectile.damage, projectile.knockBack, projectile.owner, 10f, projectile.ai[1] - 1f);
}
if (projectile.ai[0] <= 0f)
{
float num622 = 0.104719758f;
float num623 = (float)projectile.width / 5f;
float num624 = (float)(Math.Cos((double)(num622 * -(double)projectile.ai[0])) - 0.5) * num623;
projectile.position.X = projectile.position.X - num624 * (float)-(float)projectile.direction;
projectile.ai[0] -= 1f;
num624 = (float)(Math.Cos((double)(num622 * -(double)projectile.ai[0])) - 0.5) * num623;
projectile.position.X = projectile.position.X + num624 * (float)-(float)projectile.direction;
}
}
public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor)
{
Texture2D texture2D13 = Main.projectileTexture[projectile.type];
int num214 = Main.projectileTexture[projectile.type].Height / Main.projFrames[projectile.type];
int y6 = num214 * projectile.frame;
Main.spriteBatch.Draw(texture2D13, projectile.Center - Main.screenPosition + new Vector2(0f, projectile.gfxOffY), new Microsoft.Xna.Framework.Rectangle?(new Rectangle(0, y6, texture2D13.Width, num214)), projectile.GetAlpha(lightColor), projectile.rotation, new Vector2((float)texture2D13.Width / 2f, (float)num214 / 2f), projectile.scale, SpriteEffects.None, 0f);
return false;
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(ModContent.BuffType<SulphuricPoisoning>(), 360);
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

+10 -2
View File
@@ -109,8 +109,16 @@ namespace CalamityMod.Projectiles.Ranged
{
if (projectile.ai[1] < 1f)
{
int num230 = Projectile.NewProjectile(projectile.Center.X - (float)(projectile.direction * 30), projectile.Center.Y - 4f, (float)-(float)projectile.direction * 0.01f, 0f, ModContent.ProjectileType<WaterSpout>(), projectile.damage, 3f, projectile.owner, 16f, 8f);
Main.projectile[num230].netUpdate = true;
if (projectile.localAI[1] == 1f)
{
int num230 = Projectile.NewProjectile(projectile.Center.X - (float)(projectile.direction * 30), projectile.Center.Y - 4f, (float)-(float)projectile.direction * 0.01f, 0f, ModContent.ProjectileType<SeasSearingSpout>(), projectile.damage, 3f, projectile.owner, 16f, 8f);
Main.projectile[num230].netUpdate = true;
}
else
{
int num230 = Projectile.NewProjectile(projectile.Center.X - (float)(projectile.direction * 30), projectile.Center.Y - 4f, (float)-(float)projectile.direction * 0.01f, 0f, ModContent.ProjectileType<WaterSpout>(), projectile.damage, 3f, projectile.owner, 16f, 8f);
Main.projectile[num230].netUpdate = true;
}
}
}
}
+1 -1
View File
@@ -153,7 +153,7 @@ namespace CalamityMod.Projectiles.Typeless
}
rotation2 = (float)Math.Atan2((double)projPosY, (double)projPosX) - 1.57f;
if (projectile.localAI[1] == 1) //pink line
if (projectile.Calamity().lineColor == true) //pink line
{
red = 252;
green = 109;
+153
View File
@@ -0,0 +1,153 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Items.Fishing;
namespace CalamityMod.Projectiles.Typeless
{
public class NavyBobber : ModProjectile
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Navy Bobber");
}
public override void SetDefaults()
{
//projectile.CloneDefaults(360); //Wooden Bobber
projectile.width = 14;
projectile.height = 14;
projectile.aiStyle = 61;
projectile.bobber = true;
projectile.penetrate = -1;
}
public override bool PreDrawExtras(SpriteBatch spriteBatch)
{
Lighting.AddLight(projectile.Center, (255 - projectile.alpha) * 0f / 255f, (255 - projectile.alpha) * 0.25f / 255f, (255 - projectile.alpha) * 0.25f / 255f);
Player player = Main.player[projectile.owner];
if (projectile.bobber && Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].holdStyle > 0)
{
float pPosX = player.MountedCenter.X;
float pPosY = player.MountedCenter.Y;
pPosY += Main.player[projectile.owner].gfxOffY;
int type = Main.player[projectile.owner].inventory[Main.player[projectile.owner].selectedItem].type;
float gravDir = Main.player[projectile.owner].gravDir;
if (type == ModContent.ItemType<NavyFishingRod>())
{
pPosX += (float)(50 * Main.player[projectile.owner].direction);
if (Main.player[projectile.owner].direction < 0)
{
pPosX -= 13f;
}
pPosY -= 33f * gravDir;
}
if (gravDir == -1f)
{
pPosY -= 12f;
}
Vector2 value = new Vector2(pPosX, pPosY);
value = Main.player[projectile.owner].RotatedRelativePoint(value + new Vector2(8f), true) - new Vector2(8f);
float projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X;
float projPosY = projectile.position.Y + (float)projectile.height * 0.5f - value.Y;
Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY));
float rotation2 = (float)Math.Atan2((double)projPosY, (double)projPosX) - 1.57f;
bool flag2 = true;
if (projPosX == 0f && projPosY == 0f)
{
flag2 = false;
}
else
{
float projPosXY = (float)Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY));
projPosXY = 12f / projPosXY;
projPosX *= projPosXY;
projPosY *= projPosXY;
value.X -= projPosX;
value.Y -= projPosY;
projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X;
projPosY = projectile.position.Y + (float)projectile.height * 0.5f - value.Y;
}
while (flag2)
{
float num = 12f;
float num2 = (float)Math.Sqrt((double)(projPosX * projPosX + projPosY * projPosY));
float num3 = num2;
if (float.IsNaN(num2) || float.IsNaN(num3))
{
flag2 = false;
}
else
{
if (num2 < 20f)
{
num = num2 - 8f;
flag2 = false;
}
num2 = 12f / num2;
projPosX *= num2;
projPosY *= num2;
value.X += projPosX;
value.Y += projPosY;
projPosX = projectile.position.X + (float)projectile.width * 0.5f - value.X;
projPosY = projectile.position.Y + (float)projectile.height * 0.1f - value.Y;
if (num3 > 12f)
{
float num4 = 0.3f;
float num5 = Math.Abs(projectile.velocity.X) + Math.Abs(projectile.velocity.Y);
if (num5 > 16f)
{
num5 = 16f;
}
num5 = 1f - num5 / 16f;
num4 *= num5;
num5 = num3 / 80f;
if (num5 > 1f)
{
num5 = 1f;
}
num4 *= num5;
if (num4 < 0f)
{
num4 = 0f;
}
num5 = 1f - projectile.localAI[0] / 100f;
num4 *= num5;
if (projPosY > 0f)
{
projPosY *= 1f + num4;
projPosX *= 1f - num4;
}
else
{
num5 = Math.Abs(projectile.velocity.X) / 3f;
if (num5 > 1f)
{
num5 = 1f;
}
num5 -= 0.5f;
num4 *= num5;
if (num4 > 0f)
{
num4 *= 2f;
}
projPosY *= 1f + num4;
projPosX *= 1f - num4;
}
}
rotation2 = (float)Math.Atan2((double)projPosY, (double)projPosX) - 1.57f;
Microsoft.Xna.Framework.Color color2 = Lighting.GetColor((int)value.X / 16, (int)(value.Y / 16f), new Microsoft.Xna.Framework.Color(36, 61, 111, 100)); //dark blue
Main.spriteBatch.Draw(Main.fishingLineTexture, new Vector2(value.X - Main.screenPosition.X + (float)Main.fishingLineTexture.Width * 0.5f, value.Y - Main.screenPosition.Y + (float)Main.fishingLineTexture.Height * 0.5f), new Microsoft.Xna.Framework.Rectangle?(new Microsoft.Xna.Framework.Rectangle(0, 0, Main.fishingLineTexture.Width, (int)num)), color2, rotation2, new Vector2((float)Main.fishingLineTexture.Width * 0.5f, 0f), 1f, SpriteEffects.None, 0f);
}
}
}
return false;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B