From 14e6aa1d6af342d5e08f7ff93e22da487229b78e Mon Sep 17 00:00:00 2001 From: CongratsIsTrash <1q2w3e4dasd@gmail.com> Date: Tue, 20 Aug 2024 11:20:11 -0400 Subject: [PATCH] Removed Eutrophic Scimitar and Coral Cannon --- Items/Weapons/Melee/EutrophicScimitar.cs | 52 ------------ Items/Weapons/Melee/EutrophicScimitar.png | Bin 1171 -> 0 bytes Items/Weapons/Ranged/CoralCannon.cs | 53 ------------ Items/Weapons/Ranged/CoralCannon.png | Bin 920 -> 0 bytes ...Mods.CalamityMod.Items.Weapons.Melee.hjson | 5 -- ...ods.CalamityMod.Items.Weapons.Ranged.hjson | 9 -- .../Mods.CalamityMod.Projectiles.Melee.hjson | 1 - .../Mods.CalamityMod.Projectiles.Ranged.hjson | 1 - NPCs/SunkenSea/BlindedAngler.cs | 1 - NPCs/TownNPCs/SEAHOE.cs | 1 - Projectiles/Melee/EutrophicScimitarProj.cs | 78 ------------------ Projectiles/Melee/EutrophicScimitarProj.png | Bin 483 -> 0 bytes Projectiles/Ranged/BigCoral.cs | 60 -------------- Projectiles/Ranged/BigCoral.png | Bin 464 -> 0 bytes 14 files changed, 261 deletions(-) delete mode 100644 Items/Weapons/Melee/EutrophicScimitar.cs delete mode 100644 Items/Weapons/Melee/EutrophicScimitar.png delete mode 100644 Items/Weapons/Ranged/CoralCannon.cs delete mode 100644 Items/Weapons/Ranged/CoralCannon.png delete mode 100644 Projectiles/Melee/EutrophicScimitarProj.cs delete mode 100644 Projectiles/Melee/EutrophicScimitarProj.png delete mode 100644 Projectiles/Ranged/BigCoral.cs delete mode 100644 Projectiles/Ranged/BigCoral.png diff --git a/Items/Weapons/Melee/EutrophicScimitar.cs b/Items/Weapons/Melee/EutrophicScimitar.cs deleted file mode 100644 index 156f6b9779..0000000000 --- a/Items/Weapons/Melee/EutrophicScimitar.cs +++ /dev/null @@ -1,52 +0,0 @@ -using CalamityMod.Projectiles.Melee; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.DataStructures; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Items.Weapons.Melee -{ - public class EutrophicScimitar : ModItem, ILocalizedModType - { - public new string LocalizationCategory => "Items.Weapons.Melee"; - public override void SetDefaults() - { - Item.width = 64; - Item.height = 78; - Item.damage = 110; - Item.DamageType = DamageClass.Melee; - Item.useTime = 40; - Item.useAnimation = 40; - Item.useStyle = ItemUseStyleID.Swing; - Item.knockBack = 2; - Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 17; - Item.value = CalamityGlobalItem.RarityLightRedBuyPrice; - Item.rare = ItemRarityID.LightRed; - Item.UseSound = SoundID.Item1; - Item.autoReuse = true; - Item.useTurn = true; - } - - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) - { - for (int i = 0; i <= 21; i++) - { - Dust dust; - dust = Main.dust[Dust.NewDust(new Vector2(position.X - 58 / 2, position.Y - 58 / 2), 58, 58, DustID.Electric, 0f, 0f, 0, new Color(255, 255, 255), 0.4605263f)]; - dust.noGravity = true; - dust.fadeIn = 0.9473684f; - } - - for (int projectiles = 0; projectiles < 2; projectiles++) - { - float SpeedX = velocity.X + Main.rand.Next(-15, 16) * 0.05f; - float SpeedY = velocity.Y + Main.rand.Next(-15, 16) * 0.05f; - Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, (int)(damage * 0.7), knockback, player.whoAmI); - } - - return false; - } - } -} diff --git a/Items/Weapons/Melee/EutrophicScimitar.png b/Items/Weapons/Melee/EutrophicScimitar.png deleted file mode 100644 index 19e2e407c27700b04f8df6644940809435f4ccee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1171 zcmV;E1Z?|>P)`Z z0|2paE~(_0$10HO0EojY5&$p%1a*)Hx>w=llIeQ(lW-g?YV{OlViDj+EUSf9B$ zT*m>NYhx$NBtC zIjZ}b`#r?FTCWJP|BQ=$R6w!;aNvZMc(-#XB=eK~{T%aJv5yMS8vw(udA_$7vc6kV zXTIUKlVe`A2N$|jV;>cu7XZ8?FAaa60mKea%=S

e{bSWt=)q=K;H0=>F|LBVryE zpcepu`Lf1xuD6E{4{Us3iTIsoIvB$acHVD^D&|oE%MAc9zF;n;*`7^uWWP(5d8iIs z4jv`mbC)tN&iLSYq|BoN;thb-BnOyQ>N{iH#MVDP_R;e^tNU=O^SQqfzr$WY{Ft+w zGH+{+3-hReSOI|fdyx6Ol-Zglo^fFtFdj77nVk_Ln{wPyu?X z0)4Gst|L71=q7(kV|Q|5E_iXhQ#JNin=&y6Bqaba>A7|Ml4=JS)Iloq{s2=ziX_3b zRe+IAfU3@(RIU5QU%jfogIS+wkPF;zCs6^q2EfnivetY6vVX3H-r&5tagJ9`5kLDA z=K+`lk_`Yj<%zjLk~+CgPmFa?fIq>V9x5Q-0Kg4U-ddS^4zV1>=pfw>9Uv$`QO2P9 zjne;81}Y$0=B>63WbK_=jOh>I)K^$xCf?Mzj`-{X`sT-L2lfH_0sxqY7=AbWh0EfR z8pJ-#`DOMN_sEmsWr=-MKsW$I=9N=mg!Nmg7D68YbAjbz92KAifcS>TzcLTi0?gz5 zqzlGT0pS1;-|&Fbofx~3nqHYl1%v|tZhhgNKic`c-kC=Q001!AsS>8Sz "Items.Weapons.Ranged"; - - public override void SetStaticDefaults() - { - ItemID.Sets.IsRangedSpecialistWeapon[Item.type] = true; - } - public override void SetDefaults() - { - Item.width = 52; - Item.height = 40; - Item.damage = 24; - Item.DamageType = DamageClass.Ranged; - Item.useTime = 20; - Item.useAnimation = 20; - Item.useStyle = ItemUseStyleID.Shoot; - Item.noMelee = true; - Item.knockBack = 7.5f; - Item.value = CalamityGlobalItem.RarityGreenBuyPrice; - Item.rare = ItemRarityID.Green; - Item.UseSound = SoundID.Item61; - Item.autoReuse = true; - Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 10f; - Item.Calamity().canFirePointBlankShots = true; - } - - // Terraria seems to really dislike high crit values in SetDefaults - public override void ModifyWeaponCrit(Player player, ref float crit) => crit += 10; - - public override Vector2? HoldoutOffset() => new Vector2(-10, 0); - - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) - { - if (Main.rand.NextBool(5)) - { - Projectile.NewProjectile(source, position, velocity, ModContent.ProjectileType(), (int)(damage * 1.5f), knockback * 1.5f, player.whoAmI); - return false; - } - return true; - } - } -} diff --git a/Items/Weapons/Ranged/CoralCannon.png b/Items/Weapons/Ranged/CoralCannon.png deleted file mode 100644 index 78f131b76babc6a4dfbdfe71fa8a456eeae72e75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 920 zcmV;J184k+P)Px&Qb|NXR9J=OnagWaK@^9-Ymz25OWV zxDgj!yKv(|MR6}J7=&6kQnZ3kDr(y#Ha5+p#?pFS9FJipNs|^|B)?7W%$Ykg%y;I@ znHz^HI@G^ces|>o7<(0TS8Ct42?yZKXDN@3KdUyxAJw{lI{IIbQ^}y@jt$5fJRJS* z0^Gj%zHIx^Cp`cR#RTyGLbC1&daE^1aYiZLJqWk}gGZ(5>GM9Il%T4!eWOwK`g{(+Y-$dGZ;OkonqaVbz4YVp z01%0^0g%rv7|}f37IpwK=?qXL*?0t%oW~=kX zoBNUgU`y8~0A{8?yHF%q_XHg!*Aff>kjod0l~d^op4~4|aNyviVZZ#~Bv2%`t#?P+ z0c*8a+S?m8b{h3}@7x87o{&l=0hpPV6sqnCdZXPE4JW3ATwl+YvJJ1FGxy-NTiXG6 zIVb1hw%+ms=!)9WwN`s2DLK{1@FSqq^Xi}A#MGh-aOF${fT5V2ADOK9u%3TP?COvN z-V3}2;QY-4Mu(ZKysuRrODBwJ*dUzpkmBMzP;jwxyYkW=M9X zqxJPqFxuVZ09?A4GNP#N1-+r`J zGXTCs@ORG@D9w2EJhjQS1Op9no3JaCWLvAG66yJ@aidmWx0PF#b4v-T;?HG;Q}NY( zi>W5tv&NrEuB_y8`2x_01XW5>ziKr#$*o~7omug}30tk5vZ7z-h2Uc0`&#DtOD#c} uPcHw}m`7V{$N@;tX91Y}^a*GHf(), 4); npcLoot.Add(ModContent.ItemType(), 1, 5, 9); } diff --git a/NPCs/TownNPCs/SEAHOE.cs b/NPCs/TownNPCs/SEAHOE.cs index e8acfc2086..fb7a67a53b 100644 --- a/NPCs/TownNPCs/SEAHOE.cs +++ b/NPCs/TownNPCs/SEAHOE.cs @@ -205,7 +205,6 @@ namespace CalamityMod.NPCs.TownNPCs .Add(ModContent.ItemType()) .Add(ModContent.ItemType()) .Add(ModContent.ItemType()) - .Add(ModContent.ItemType()) .Add(ModContent.ItemType()) .Add(ModContent.ItemType()) .Add(ModContent.ItemType()) diff --git a/Projectiles/Melee/EutrophicScimitarProj.cs b/Projectiles/Melee/EutrophicScimitarProj.cs deleted file mode 100644 index a5564d719a..0000000000 --- a/Projectiles/Melee/EutrophicScimitarProj.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using CalamityMod.Buffs.StatDebuffs; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; - -namespace CalamityMod.Projectiles.Melee -{ - public class EutrophicScimitarProj : ModProjectile, ILocalizedModType - { - public new string LocalizationCategory => "Projectiles.Melee"; - public override void SetStaticDefaults() - { - Main.projFrames[Projectile.type] = 3; - } - - public override void SetDefaults() - { - Projectile.width = 18; - Projectile.height = 18; - Projectile.friendly = true; - Projectile.penetrate = 1; - Projectile.tileCollide = true; - Projectile.DamageType = DamageClass.Melee; - } - - public override Color? GetAlpha(Color lightColor) - { - return new Color(127, 255, 253); - } - - public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) - { - target.AddBuff(ModContent.BuffType(), 60); - } - - public override void AI() - { - Lighting.AddLight(Projectile.Center, (255 - Projectile.alpha) * 0f / 255f, (255 - Projectile.alpha) * 0.35f / 255f, (255 - Projectile.alpha) * 0.35f / 255f); - Projectile.frameCounter++; - if (Projectile.frameCounter > 2) - { - Projectile.frame++; - Projectile.frameCounter = 0; - } - if (Projectile.frame > 2) - { - Projectile.frame = 0; - } - if (Projectile.velocity.X < 0f) - { - Projectile.rotation = Projectile.velocity.ToRotation(); - } - else - { - Projectile.rotation = Projectile.velocity.ToRotation(); - } - if (Main.rand.NextBool()) - { - Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, DustID.Electric, Projectile.velocity.X * 0.25f, Projectile.velocity.Y * 0.25f, 0, new Color(255, 255, 255), 0.5f); - } - Projectile.rotation = Projectile.velocity.ToRotation(); - } - - public override void OnKill(int timeLeft) - { - for (int i = 0; i <= 10; i++) - { - Dust dust; - Vector2 position = new Vector2(Projectile.position.X - 4, Projectile.position.Y - 4); - dust = Main.dust[Terraria.Dust.NewDust(position, 58, 58, DustID.Electric, 0f, 0f, 0, new Color(255, 255, 255), 0.4605263f)]; - dust.noGravity = true; - dust.fadeIn = 0.9473684f; - } - } - } -} diff --git a/Projectiles/Melee/EutrophicScimitarProj.png b/Projectiles/Melee/EutrophicScimitarProj.png deleted file mode 100644 index 7c033845842f9a76812e00679cc581a43ee2feb7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 483 zcmV<90UZ8`P)Cxg z?Ck6gH;K>sus_YF%W(`IHp5~_bQR2!jhll!ZKt5b-Sfkl0A5Al2Tt6IGy~xjSaqNj zK>)Y+$KYc7xH=O-D$)$Z`tZl=TZjY^K^d$X{Dv}?A4|DkiZlb^>fNnJnXWl{t7y4~ zprrCUbOVyp4QJbz(=qfFJfG8aaaE}AM5W;`C*6RQYW3NQbOWMtANzl{BC#J*?-c_< z(W*Vi0=ga$Z?RepG+UA8Al6>PofV*{4W2`iCo~vV1A$|;O9F&jyS3|LwpFX?r$)K~ zVaa*6v=rc);P;dgW{p@w?!SX@uDR-YR<$Dbc3Rm-x&dK@c-h9*K=Dnl8xR#)>i@Dv zQXPBkvO&D7quM;u9K^f*t5hYYrW+7$`LSo*;x*DO2uJEY11Hyr8jPxgsLMR-qDO(b z6{!vqdtsA%4I$4p-GEq=8Q&W6d)4QWQunK>wYv{k0Q-7h1l!p2%JqV9WTm!$cWP>b Zd;{H>W1zsA1_S^A002ovPDHLkV1jrr "Projectiles.Ranged"; - public override void SetDefaults() - { - Projectile.width = 18; - Projectile.height = 34; - Projectile.friendly = true; - Projectile.DamageType = DamageClass.Ranged; - Projectile.penetrate = 1; - Projectile.aiStyle = ProjAIStyleID.Arrow; - Projectile.Calamity().pointBlankShotDuration = CalamityGlobalProjectile.DefaultPointBlankDuration; - } - - public override void AI() - { - Projectile.velocity.X *= 0.999f; - Projectile.velocity.Y = Projectile.velocity.Y + 0.025f; - Projectile.rotation = Projectile.velocity.ToRotation(); - if (Projectile.direction == -1) - Projectile.rotation += MathHelper.Pi; - } - - public override void OnKill(int timeLeft) - { - SoundEngine.PlaySound(SoundID.Item10, Projectile.position); - Projectile.position.X = Projectile.position.X + (float)(Projectile.width / 2); - Projectile.position.Y = Projectile.position.Y + (float)(Projectile.height / 2); - Projectile.width = 32; - Projectile.height = 32; - Projectile.position.X = Projectile.position.X - (float)(Projectile.width / 2); - Projectile.position.Y = Projectile.position.Y - (float)(Projectile.height / 2); - for (int i = 0; i < 10; i++) - { - int dust = Dust.NewDust(Projectile.position, Projectile.width, Projectile.height, DustID.SnowBlock, Projectile.oldVelocity.X / 4, Projectile.oldVelocity.Y / 4, 0, new Color(234, 183, 100), 1.5f); - Main.dust[dust].noGravity = true; - Main.dust[dust].velocity *= 3f; - } - } - - public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) - { - target.AddBuff(ModContent.BuffType(), 30); - } - - public override void OnHitPlayer(Player target, Player.HurtInfo info) - { - target.AddBuff(ModContent.BuffType(), 30); - } - } -} diff --git a/Projectiles/Ranged/BigCoral.png b/Projectiles/Ranged/BigCoral.png deleted file mode 100644 index e5d11b6e6aec16a8d13ed6ee3a541b647c834e4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 464 zcmV;>0WbcEP)_8o00001b5ch_0Itp) z=>Px$ib+I4R7i=O3<^?2Bf%Cz1TBIf2qA(NZrZu%ANV)g_dD9O zi#9!bE;F2S=DZJQ<_c!0Qp^Le;U5AJ6%v3# zVhn)OlhP$s0Gu}3f7bWSYT&;Ws2^vHje6G)zQwXmo=T;4t(BfYVd)`#V7Z zBDoa+t}Z%rHQ+e`alV%WpjvAJaJIV+z+>NUIMz;Wy|qUGoVUUNY$c@t2=)d5Ec?b& z^Ym;i4uQH8Fs8Yh{hpfe^kO=?9xP3b)8uR=;z9s8J$0P-1S-Y61b4@)X}__yr`>Hf z+;n?CG}fLI2-q98V_VJID*&5os&{=0X65O)qmvXcA?Q7UNGvP>N}Y@ZD7T&g_bJx0 zr~k5(afwta4^>@SAF6&XDqsN!h}iZ40ELkQOkS=#ku=@~?Ld>!Gf?WNzhy!W)cqDA z{|VYo4FeBoWL)64S3;#hf{L^0000