From 7cdec537f95425061cacf4cf58420a4eafb927c4 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 22 Oct 2019 21:31:27 -0400 Subject: [PATCH 1/6] added the syringe --- Items/Weapons/Rogue/TheSyringe.cs | 55 +++++++++++++ Items/Weapons/Rogue/TheSyringe.png | Bin 0 -> 521 bytes Projectiles/Rogue/TheSyringeCinder.cs | 105 +++++++++++++++++++++++++ Projectiles/Rogue/TheSyringeCinder.png | Bin 0 -> 136 bytes Projectiles/Rogue/TheSyringeProj.cs | 103 ++++++++++++++++++++++++ Projectiles/Rogue/TheSyringeProj.png | Bin 0 -> 521 bytes Projectiles/Rogue/TheSyringeS1.cs | 56 +++++++++++++ Projectiles/Rogue/TheSyringeS1.png | Bin 0 -> 152 bytes Projectiles/Rogue/TheSyringeS2.png | Bin 0 -> 145 bytes Projectiles/Rogue/TheSyringeS3.png | Bin 0 -> 143 bytes 10 files changed, 319 insertions(+) create mode 100644 Items/Weapons/Rogue/TheSyringe.cs create mode 100644 Items/Weapons/Rogue/TheSyringe.png create mode 100644 Projectiles/Rogue/TheSyringeCinder.cs create mode 100644 Projectiles/Rogue/TheSyringeCinder.png create mode 100644 Projectiles/Rogue/TheSyringeProj.cs create mode 100644 Projectiles/Rogue/TheSyringeProj.png create mode 100644 Projectiles/Rogue/TheSyringeS1.cs create mode 100644 Projectiles/Rogue/TheSyringeS1.png create mode 100644 Projectiles/Rogue/TheSyringeS2.png create mode 100644 Projectiles/Rogue/TheSyringeS3.png diff --git a/Items/Weapons/Rogue/TheSyringe.cs b/Items/Weapons/Rogue/TheSyringe.cs new file mode 100644 index 0000000000..b6e7975bbf --- /dev/null +++ b/Items/Weapons/Rogue/TheSyringe.cs @@ -0,0 +1,55 @@ +using CalamityMod.Projectiles; +using Microsoft.Xna.Framework; +using Terraria; +using Terraria.ModLoader; +using Terraria.ID; +using CalamityMod.Projectiles.Rogue; + +namespace CalamityMod.Items.Weapons.Rogue +{ + public class TheSyringe : RogueWeapon + { + public static int BaseDamage = 100; + public static float Knockback = 5f; + public static float Speed = 15f; + + public override void SetStaticDefaults() + { + DisplayName.SetDefault("The Syringe"); + Tooltip.SetDefault("Throws a high velocity syringe that increases damage as it travels\n" + + "Shatters into glass and plague cinders on impact\n" + + "Stealth strikes also shatter into plague bees"); + } + + public override void SafeSetDefaults() + { + item.damage = BaseDamage; + item.knockBack = Knockback; + item.autoReuse = true; + item.useTime = 15; + item.useAnimation = 15; + item.useStyle = 1; + item.width = 14; + item.height = 50; + item.UseSound = SoundID.Item106; + item.noMelee = true; + item.noUseGraphic = true; + item.shoot = ModContent.ProjectileType(); + item.shootSpeed = Speed; + item.value = Item.buyPrice(0, 80, 0, 0); + item.rare = 8; + item.Calamity().rogue = true; + } + + public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) + { + if (player.Calamity().StealthStrikeAvailable()) + { + int stealth = Projectile.NewProjectile(position, new Vector2(speedX, speedY), ModContent.ProjectileType(), damage, knockBack, player.whoAmI, 0f, 1f); + Main.projectile[stealth].Calamity().stealthStrike = true; + return false; + } + return true; + } + } +} diff --git a/Items/Weapons/Rogue/TheSyringe.png b/Items/Weapons/Rogue/TheSyringe.png new file mode 100644 index 0000000000000000000000000000000000000000..9eb9fc7d3bec355254db104e193c0024d0750283 GIT binary patch literal 521 zcmV+k0`~ohP)+S=lK{*uMx?dyH|rTSMonZI5BLDcWnWwUfNqaN z11J?LCNa{!4Y9Qa0H(uX01}rs0Hhw$ofx&Mj@m5%yj2^LCX1YhTB~l2O%__@f-q#;c#zZkykE24G^UzyCMh zM`7Z>f&GWJ8jU%L#+)W>$3&3jL=mZ 1f) + { + projectile.velocity.Y = projectile.velocity.Y * -0.5f; + } + projectile.ai[0] += 1f; + if (projectile.ai[0] > 5f) + { + projectile.ai[0] = 5f; + if (projectile.velocity.Y == 0f && projectile.velocity.X != 0f) + { + projectile.velocity.X = projectile.velocity.X * 0.97f; + if ((double)projectile.velocity.X > -0.01 && (double)projectile.velocity.X < 0.01) + { + projectile.velocity.X = 0f; + projectile.netUpdate = true; + } + } + projectile.velocity.Y = projectile.velocity.Y + 0.2f; + } + projectile.rotation += projectile.velocity.X * 0.1f; + if (Main.rand.NextBool(2)) + { + int num199 = Dust.NewDust(projectile.position, projectile.width, projectile.height, 89, 0f, 0f, 100, default, 1f); + Dust expr_8976_cp_0 = Main.dust[num199]; + expr_8976_cp_0.position.X -= 2f; + Dust expr_8994_cp_0 = Main.dust[num199]; + expr_8994_cp_0.position.Y += 2f; + Main.dust[num199].scale += (float)Main.rand.Next(50) * 0.01f; + Main.dust[num199].noGravity = true; + Dust expr_89E7_cp_0 = Main.dust[num199]; + expr_89E7_cp_0.velocity.Y -= 2f; + } + if (Main.rand.NextBool(8)) + { + int num200 = Dust.NewDust(projectile.position, projectile.width, projectile.height, 89, 0f, 0f, 100, default, 1f); + Dust expr_8A4E_cp_0 = Main.dust[num200]; + expr_8A4E_cp_0.position.X -= 2f; + Dust expr_8A6C_cp_0 = Main.dust[num200]; + expr_8A6C_cp_0.position.Y += 2f; + Main.dust[num200].scale += 0.3f + (float)Main.rand.Next(50) * 0.01f; + Main.dust[num200].noGravity = true; + Main.dust[num200].velocity *= 0.1f; + } + if ((double)projectile.velocity.Y < 0.25 && (double)projectile.velocity.Y > 0.15) + { + projectile.velocity.X = projectile.velocity.X * 0.8f; + } + projectile.rotation = -projectile.velocity.X * 0.05f; + if (projectile.velocity.Y > 16f) + { + projectile.velocity.Y = 16f; + } + } + + public override bool OnTileCollide(Vector2 oldVelocity) + { + if (projectile.penetrate == 0) + { + projectile.Kill(); + } + return false; + } + + public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) + { + target.AddBuff(ModContent.BuffType(), 120); + } + } +} diff --git a/Projectiles/Rogue/TheSyringeCinder.png b/Projectiles/Rogue/TheSyringeCinder.png new file mode 100644 index 0000000000000000000000000000000000000000..28f94674d676b2a7cca1ea31fedaf12b4cab5c24 GIT binary patch literal 136 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJz0U{m4&**^!lDyqr82*Fcg1yTp14TFsJR*x3 z82Ao@Fyrz36)8YL_7YEDSM~?&91QyEQbH$g1BFCAT^vIsE+_x_|KFb3?7)!*=AIZ% ZhR)Z_qOD)J4gnP~c)I$ztaD0e0sw7|B=-OS literal 0 HcmV?d00001 diff --git a/Projectiles/Rogue/TheSyringeProj.cs b/Projectiles/Rogue/TheSyringeProj.cs new file mode 100644 index 0000000000..13a1ea5895 --- /dev/null +++ b/Projectiles/Rogue/TheSyringeProj.cs @@ -0,0 +1,103 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using Terraria; +using Terraria.ID; +using Terraria.ModLoader; +using CalamityMod.Buffs.DamageOverTime; + +namespace CalamityMod.Projectiles.Rogue +{ + public class TheSyringeProj : ModProjectile + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Syringe"); + } + + public override void SetDefaults() + { + projectile.width = 10; + projectile.height = 10; + projectile.light = 0.5f; + projectile.extraUpdates = 1; + projectile.friendly = true; + projectile.Calamity().rogue = true; + projectile.ignoreWater = true; + projectile.aiStyle = 1; + aiType = 242; + projectile.penetrate = 1; + projectile.timeLeft = 600; + } + + public override void AI() + { + if (Main.rand.Next(8) == 0) + { + Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, Main.rand.Next(2) == 1 ? 107 : 89, projectile.velocity.X * 0.5f, projectile.velocity.Y * 0.5f); + } + projectile.damage += projectile.Calamity().defDamage / 200; + } + + public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor) + { + CalamityGlobalProjectile.DrawCenteredAndAfterimage(projectile, lightColor, ProjectileID.Sets.TrailingMode[projectile.type], 2); + return false; + } + + public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) + { + target.AddBuff(ModContent.BuffType(), 600); + } + + public override void Kill(int timeLeft) + { + projectile.position = projectile.Center; + projectile.width = projectile.height = 100; + projectile.position.X = projectile.position.X - (float)(projectile.width / 2); + projectile.position.Y = projectile.position.Y - (float)(projectile.height / 2); + projectile.maxPenetrate = -1; + projectile.penetrate = -1; + projectile.usesLocalNPCImmunity = true; + projectile.localNPCHitCooldown = 10; + projectile.Damage(); + Main.PlaySound(2, (int)projectile.position.X, (int)projectile.position.Y, 107); + for (int k = 0; k < 7; k++) + { + Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 89, projectile.oldVelocity.X, projectile.oldVelocity.Y); + } + int num251 = Main.rand.Next(2, 4); + if (projectile.owner == Main.myPlayer) + { + for (int num252 = 0; num252 < num251; num252++) + { + Vector2 value15 = new Vector2((float)Main.rand.Next(-100, 101), (float)Main.rand.Next(-100, 101)); + while (value15.X == 0f && value15.Y == 0f) + { + value15 = new Vector2((float)Main.rand.Next(-100, 101), (float)Main.rand.Next(-100, 101)); + } + value15.Normalize(); + value15 *= (float)Main.rand.Next(70, 101) * 0.1f; + Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value15.X, value15.Y, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.1), 0f, Main.myPlayer, 0f, 0f); + } + for (int index = 0; index < 3; ++index) + { + float SpeedX = -projectile.velocity.X * Main.rand.Next(40, 70) * 0.01f + Main.rand.Next(-20, 21) * 0.4f; + float SpeedY = -projectile.velocity.Y * Main.rand.Next(40, 70) * 0.01f + Main.rand.Next(-20, 21) * 0.4f; + Projectile.NewProjectile(projectile.Center.X + SpeedX, projectile.Center.Y + SpeedY, SpeedX, SpeedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.1), 0f, Main.myPlayer, Main.rand.Next(3), 0f); + } + } + if (projectile.owner == Main.myPlayer && projectile.ai[1] == 1) + { + int num3; + for (int num639 = 0; num639 < 12; num639 = num3 + 1) + { + float speedX = (float)Main.rand.Next(-35, 36) * 0.02f; + float speedY = (float)Main.rand.Next(-35, 36) * 0.02f; + int proj = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speedX, speedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.2), 0f, Main.myPlayer, 0f, 0f); + Main.projectile[proj].penetrate = 1; + num3 = num639; + } + } + } + } +} diff --git a/Projectiles/Rogue/TheSyringeProj.png b/Projectiles/Rogue/TheSyringeProj.png new file mode 100644 index 0000000000000000000000000000000000000000..9eb9fc7d3bec355254db104e193c0024d0750283 GIT binary patch literal 521 zcmV+k0`~ohP)+S=lK{*uMx?dyH|rTSMonZI5BLDcWnWwUfNqaN z11J?LCNa{!4Y9Qa0H(uX01}rs0Hhw$ofx&Mj@m5%yj2^LCX1YhTB~l2O%__@f-q#;c#zZkykE24G^UzyCMh zM`7Z>f&GWJ8jU%L#+)W>$3&3jL=mZ(), 120); + } + } +} diff --git a/Projectiles/Rogue/TheSyringeS1.png b/Projectiles/Rogue/TheSyringeS1.png new file mode 100644 index 0000000000000000000000000000000000000000..94e8e84724b29bcace7de54c903b4b28e3eb8bb6 GIT binary patch literal 152 zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqY)RhkE)4%caKYZ?lYt`oo-U3d z5|@*o1YbyMX!_5yqG4hq5Og*&Bpg&a){&zWsP^ahvdKE;3uYg2n8L|ml*pR*^2y;) rpjM$0*9ai;bhGj=%1q5GNi50C&toubiForKD9hmK>gTe~DWM4fn*=iD literal 0 HcmV?d00001 diff --git a/Projectiles/Rogue/TheSyringeS2.png b/Projectiles/Rogue/TheSyringeS2.png new file mode 100644 index 0000000000000000000000000000000000000000..567d9044b5ae58e177a5ab06005b203a0a29bc4c GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJx0U~c5>$3m}Bze2LF#HF>1$&oI28w8Sx;Tb# zTu*)yd?Bf!=|7K0LnkA9f@9Fhjy1x|`7WtOOt_&@_V5ZLgJTR!)~=M?N}wL064wYI k@^rKEFUm~KD@iQL%+F&mY>9aD9w^J;>FVdQ&MBb@0I0Vu!T62N~LQH;N2kH Date: Tue, 22 Oct 2019 21:59:03 -0400 Subject: [PATCH 2/6] fixed weird looking glass shards --- Projectiles/Rogue/TheSyringeS1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projectiles/Rogue/TheSyringeS1.cs b/Projectiles/Rogue/TheSyringeS1.cs index 622591880f..52aca14319 100644 --- a/Projectiles/Rogue/TheSyringeS1.cs +++ b/Projectiles/Rogue/TheSyringeS1.cs @@ -36,13 +36,13 @@ namespace CalamityMod.Projectiles.Rogue if (projectile.ai[0] == 1f) { Texture2D texture = ModContent.GetTexture("CalamityMod/Projectiles/Rogue/TheSyringeS2"); - Main.spriteBatch.Draw(texture, projectile.Center - Main.screenPosition, new Rectangle?(new Rectangle(0, 0, texture.Width, 20)), projectile.GetAlpha(lightColor), projectile.rotation, new Vector2(texture.Width / 2f, 20 / 2f), projectile.scale, SpriteEffects.None, 0f); + Main.spriteBatch.Draw(texture, projectile.Center - Main.screenPosition, new Rectangle?(new Rectangle(0, 0, texture.Width, 6)), projectile.GetAlpha(lightColor), projectile.rotation, new Vector2(texture.Width / 2f, 20 / 2f), projectile.scale, SpriteEffects.None, 0f); return false; } if (projectile.ai[0] == 2f) { Texture2D texture = ModContent.GetTexture("CalamityMod/Projectiles/Rogue/TheSyringeS3"); - Main.spriteBatch.Draw(texture, projectile.Center - Main.screenPosition, new Rectangle?(new Rectangle(0, 0, texture.Width, 20)), projectile.GetAlpha(lightColor), projectile.rotation, new Vector2(texture.Width / 2f, 20 / 2f), projectile.scale, SpriteEffects.None, 0f); + Main.spriteBatch.Draw(texture, projectile.Center - Main.screenPosition, new Rectangle?(new Rectangle(0, 0, texture.Width, 6)), projectile.GetAlpha(lightColor), projectile.rotation, new Vector2(texture.Width / 2f, 20 / 2f), projectile.scale, SpriteEffects.None, 0f); return false; } return true; From 6425af254955084faf1a4bcee98b90cb1dea613e Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 22 Oct 2019 22:46:17 -0400 Subject: [PATCH 3/6] active, not passive voice I'm learning something in AP Lang --- Projectiles/Boss/HolyBurnOrb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Boss/HolyBurnOrb.cs b/Projectiles/Boss/HolyBurnOrb.cs index 1747a00256..2cea35d476 100644 --- a/Projectiles/Boss/HolyBurnOrb.cs +++ b/Projectiles/Boss/HolyBurnOrb.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Projectiles.Boss } if (Main.player[num487].statLife < 0 || CalamityWorld.armageddon) { - Main.player[num487].KillMe(PlayerDeathReason.ByCustomReason(Main.player[Main.myPlayer].name + " was burst into sinless ash."), 1000.0, 0, false); + Main.player[num487].KillMe(PlayerDeathReason.ByCustomReason(Main.player[Main.myPlayer].name + " burst into sinless ash."), 1000.0, 0, false); } NetMessage.SendData(66, -1, -1, null, num487, (float)num492, 0f, 0f, 0, 0, 0); projectile.Kill(); From 6bf09e037056a9d3f798468e66adc8a5305e9879 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 22 Oct 2019 22:56:37 -0400 Subject: [PATCH 4/6] syringe balancing --- Items/Weapons/Rogue/TheSyringe.cs | 2 +- Projectiles/Rogue/TheSyringeProj.cs | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Items/Weapons/Rogue/TheSyringe.cs b/Items/Weapons/Rogue/TheSyringe.cs index b6e7975bbf..137415d1b3 100644 --- a/Items/Weapons/Rogue/TheSyringe.cs +++ b/Items/Weapons/Rogue/TheSyringe.cs @@ -9,7 +9,7 @@ namespace CalamityMod.Items.Weapons.Rogue { public class TheSyringe : RogueWeapon { - public static int BaseDamage = 100; + public static int BaseDamage = 50; public static float Knockback = 5f; public static float Speed = 15f; diff --git a/Projectiles/Rogue/TheSyringeProj.cs b/Projectiles/Rogue/TheSyringeProj.cs index 13a1ea5895..d637628af5 100644 --- a/Projectiles/Rogue/TheSyringeProj.cs +++ b/Projectiles/Rogue/TheSyringeProj.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Projectiles.Rogue { Dust.NewDust(projectile.position + projectile.velocity, projectile.width, projectile.height, 89, projectile.oldVelocity.X, projectile.oldVelocity.Y); } - int num251 = Main.rand.Next(2, 4); + int num251 = Main.rand.Next(1, 3); if (projectile.owner == Main.myPlayer) { for (int num252 = 0; num252 < num251; num252++) @@ -77,23 +77,23 @@ namespace CalamityMod.Projectiles.Rogue } value15.Normalize(); value15 *= (float)Main.rand.Next(70, 101) * 0.1f; - Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value15.X, value15.Y, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.1), 0f, Main.myPlayer, 0f, 0f); + Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, value15.X, value15.Y, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.5), 0f, Main.myPlayer, 0f, 0f); } - for (int index = 0; index < 3; ++index) + for (int index = 0; index < 2; ++index) { float SpeedX = -projectile.velocity.X * Main.rand.Next(40, 70) * 0.01f + Main.rand.Next(-20, 21) * 0.4f; float SpeedY = -projectile.velocity.Y * Main.rand.Next(40, 70) * 0.01f + Main.rand.Next(-20, 21) * 0.4f; - Projectile.NewProjectile(projectile.Center.X + SpeedX, projectile.Center.Y + SpeedY, SpeedX, SpeedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.1), 0f, Main.myPlayer, Main.rand.Next(3), 0f); + Projectile.NewProjectile(projectile.Center.X + SpeedX, projectile.Center.Y + SpeedY, SpeedX, SpeedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.25), 0f, Main.myPlayer, Main.rand.Next(3), 0f); } } if (projectile.owner == Main.myPlayer && projectile.ai[1] == 1) { int num3; - for (int num639 = 0; num639 < 12; num639 = num3 + 1) + for (int num639 = 0; num639 < 5; num639 = num3 + 1) { float speedX = (float)Main.rand.Next(-35, 36) * 0.02f; float speedY = (float)Main.rand.Next(-35, 36) * 0.02f; - int proj = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speedX, speedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.2), 0f, Main.myPlayer, 0f, 0f); + int proj = Projectile.NewProjectile(projectile.Center.X, projectile.Center.Y, speedX, speedY, ModContent.ProjectileType(), (int)((double)projectile.damage * 0.5), 0f, Main.myPlayer, 0f, 0f); Main.projectile[proj].penetrate = 1; num3 = num639; } From 253580604355f8a6e407efc3c748f949164c928e Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Wed, 23 Oct 2019 14:51:16 -0400 Subject: [PATCH 5/6] reduced dust on the Syringe --- Projectiles/Rogue/TheSyringeCinder.cs | 4 ++-- Projectiles/Rogue/TheSyringeCinder.png | Bin 136 -> 208 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Projectiles/Rogue/TheSyringeCinder.cs b/Projectiles/Rogue/TheSyringeCinder.cs index d82163f390..bc67c6b46f 100644 --- a/Projectiles/Rogue/TheSyringeCinder.cs +++ b/Projectiles/Rogue/TheSyringeCinder.cs @@ -54,7 +54,7 @@ namespace CalamityMod.Projectiles.Rogue projectile.velocity.Y = projectile.velocity.Y + 0.2f; } projectile.rotation += projectile.velocity.X * 0.1f; - if (Main.rand.NextBool(2)) + if (Main.rand.NextBool(4)) { int num199 = Dust.NewDust(projectile.position, projectile.width, projectile.height, 89, 0f, 0f, 100, default, 1f); Dust expr_8976_cp_0 = Main.dust[num199]; @@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Rogue Dust expr_89E7_cp_0 = Main.dust[num199]; expr_89E7_cp_0.velocity.Y -= 2f; } - if (Main.rand.NextBool(8)) + if (Main.rand.NextBool(10)) { int num200 = Dust.NewDust(projectile.position, projectile.width, projectile.height, 89, 0f, 0f, 100, default, 1f); Dust expr_8A4E_cp_0 = Main.dust[num200]; diff --git a/Projectiles/Rogue/TheSyringeCinder.png b/Projectiles/Rogue/TheSyringeCinder.png index 28f94674d676b2a7cca1ea31fedaf12b4cab5c24..3d4e06fbb726d568c097de823f36981216dabed8 100644 GIT binary patch literal 208 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a&k#^NA%Cx&(BWL^R}Ea{HEjtmSN z`?>!lvI6;>1s;*b3=DjSL74G){)!Z!V5+B!V~9p@@}K|z?U^|YjEtIIwlv8YtbI|< zs}uNqi?|Xat53kJjD|$#$8qW%C;5sJ?3gdtaOEB_5aczHtzcP}Sf_ZO-}m>N&P|;) y(hnZQD@8EeeQV&bleb|1f|)$bDz^?CU|=|ZTd(;W4<{qgLIzJ)KbLh*2~7Y23_+j( delta 121 zcmcb>*uiMr8Q|y6%O%Cdz`(%k>ERLtq}hO&hXX`9hM&;`2_$*DyDFdh=fSrRuUtLP*#BHD|QBN1g5Q)plfByfsXEr- Date: Wed, 23 Oct 2019 15:08:55 -0400 Subject: [PATCH 6/6] readded thief's dime to shop --- NPCs/TownNPCs/THIEF.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index 7d94f70612..fdc0fcc605 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -222,6 +222,12 @@ namespace CalamityMod.NPCs.TownNPCs shop.item[nextSlot].shopCustomPrice = Item.buyPrice(0, 25, 0, 0); nextSlot++; } + if (NPC.downedPirates) + { + shop.item[nextSlot].SetDefaults(ModContent.ItemType()); + shop.item[nextSlot].shopCustomPrice = Item.buyPrice(1, 0, 0, 0); + nextSlot++; + } if (NPC.downedMechBoss1 && NPC.downedMechBoss2 && NPC.downedMechBoss3) { shop.item[nextSlot].SetDefaults(ModContent.ItemType());