From 9feb5731988332bbb0cfc860d4e1ef9289b74d2e Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 11 Jun 2022 19:57:04 -0500 Subject: [PATCH] Removed Aquatic Dissolution --- Items/Weapons/Melee/AquaticDissolution.cs | 73 ----------------- Items/Weapons/Melee/AquaticDissolution.png | Bin 570 -> 0 bytes Projectiles/Melee/OceanBeam.cs | 91 --------------------- Projectiles/Melee/OceanBeam.png | Bin 547 -> 0 bytes 4 files changed, 164 deletions(-) delete mode 100644 Items/Weapons/Melee/AquaticDissolution.cs delete mode 100644 Items/Weapons/Melee/AquaticDissolution.png delete mode 100644 Projectiles/Melee/OceanBeam.cs delete mode 100644 Projectiles/Melee/OceanBeam.png diff --git a/Items/Weapons/Melee/AquaticDissolution.cs b/Items/Weapons/Melee/AquaticDissolution.cs deleted file mode 100644 index fc2178815c..0000000000 --- a/Items/Weapons/Melee/AquaticDissolution.cs +++ /dev/null @@ -1,73 +0,0 @@ -using CalamityMod.Items.Materials; -using CalamityMod.Items.Placeables; -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 AquaticDissolution : ModItem - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Aquatic Dissolution"); - Tooltip.SetDefault("Fires whaling spears from the sky that bounce off tiles"); - SacrificeTotal = 1; - } - - public override void SetDefaults() - { - Item.width = 50; - Item.damage = 125; - Item.DamageType = DamageClass.Melee; - Item.useAnimation = 16; - Item.useTime = 16; - Item.useTurn = true; - Item.useStyle = ItemUseStyleID.Swing; - Item.knockBack = 6f; - Item.UseSound = SoundID.Item60; - Item.autoReuse = true; - Item.height = 72; - Item.value = CalamityGlobalItem.Rarity12BuyPrice; - Item.rare = ItemRarityID.Purple; - Item.Calamity().customRarity = CalamityRarity.Turquoise; - Item.shoot = ModContent.ProjectileType(); - Item.shootSpeed = 12f; - } - - public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) - { - position = Main.MouseWorld; - for (int x = 0; x < 3; x++) - { - Projectile.NewProjectile(source, new Vector2(position.X + (float)Main.rand.Next(-30, 31), position.Y - 600f), new Vector2(0f, 8f), type, damage, knockback, Main.myPlayer, 0f, 0f); - } - return false; - } - - public override void MeleeEffects(Player player, Rectangle hitbox) - { - if (Main.rand.NextBool(5)) - { - int num250 = Dust.NewDust(new Vector2((float)hitbox.X, (float)hitbox.Y), hitbox.Width, hitbox.Height, 33, (float)(player.direction * 2), 0f, 150, new Color(Main.DiscoR, Main.DiscoG, Main.DiscoB), 1.3f); - Main.dust[num250].velocity *= 0.2f; - Main.dust[num250].noGravity = true; - } - } - - public override void AddRecipes() - { - CreateRecipe(). - AddIngredient(). - AddIngredient(7). - AddIngredient(2). - AddIngredient(20). - AddIngredient(5). - AddTile(TileID.LunarCraftingStation). - Register(); - } - } -} diff --git a/Items/Weapons/Melee/AquaticDissolution.png b/Items/Weapons/Melee/AquaticDissolution.png deleted file mode 100644 index 595cdd1c798ebe7a6b44237874076719eda39ef2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 570 zcmeAS@N?(olHy`uVBq!ia0vp^MnLSr!3-puBf?aGlzo6th%1o(|NqSY%gGN~tyVZY zg=<*@xkvv8g&q%5YD$-IbqC2FP<)&gxxv2GQ#0}Q6yNg^UURfOViZjcM0EdlJ2?Z5 z5G@Jv3kDj52?93!(q~{`oa*V~7~;{n^;%+avjPv>gGB`bBFo$U|BrsYd(QKmtJ5Mr zC2s%vX^Uq^N&j*7kDHIESC)I;=XVwio;c-~-BP9{N{0hFL{fBlomaTN5o%q!(&I9R zQ|8u=;@sONUpb`WCr((m+VMg~jMJ_6yQGd-Cf~Ydxkw^=(l*m$QSY5sxTi2^oc%q^ zW!llGMfn1Yv{Tj=JN;X`v`J>ML}q8HX7H1EE=z0`gC#HRe8@{Ryap3&1R2p^U@kdtw*+UifJm!vaYQS zMHjZ2{3}t?O5)+`sg#-6SLm@z=010T;FkOz0fwCoK~}6%GxkBG=@r)Cn4D%UsmHir;7#?^D yZP0uE^7nm(iXQ#RdBQyw$CwtVv^qG~F+Ta|c6VFL6kT8pGI+ZBxvXF0< diff --git a/Projectiles/Melee/OceanBeam.cs b/Projectiles/Melee/OceanBeam.cs deleted file mode 100644 index aa53642d28..0000000000 --- a/Projectiles/Melee/OceanBeam.cs +++ /dev/null @@ -1,91 +0,0 @@ -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.ID; -using Terraria.ModLoader; -using Terraria.Audio; - -namespace CalamityMod.Projectiles.Melee -{ - public class OceanBeam : ModProjectile - { - public override void SetStaticDefaults() - { - DisplayName.SetDefault("Spear"); - Main.projFrames[Projectile.type] = 4; - ProjectileID.Sets.TrailCacheLength[Projectile.type] = 4; - ProjectileID.Sets.TrailingMode[Projectile.type] = 0; - } - - public override void SetDefaults() - { - Projectile.width = 14; - Projectile.height = 14; - Projectile.friendly = true; - Projectile.extraUpdates = 2; - Projectile.usesLocalNPCImmunity = true; - Projectile.localNPCHitCooldown = 8; - Projectile.penetrate = 3; - Projectile.timeLeft = 600; - Projectile.DamageType = DamageClass.Melee; - Projectile.tileCollide = false; - } - - public override void AI() - { - Projectile.frameCounter++; - if (Projectile.frameCounter > 24) - { - Projectile.frame++; - Projectile.frameCounter = 0; - } - if (Projectile.frame > 3) - { - Projectile.frame = 0; - } - - Projectile.rotation = Projectile.velocity.ToRotation(); - - Projectile.ai[1] += 1f; - if (Projectile.ai[1] >= 60f) - Projectile.tileCollide = true; - } - - public override bool PreDraw(ref Color lightColor) - { - CalamityUtils.DrawAfterimagesCentered(Projectile, ProjectileID.Sets.TrailingMode[Projectile.type], lightColor, 1); - return false; - } - - public override bool OnTileCollide(Vector2 oldVelocity) - { - Projectile.penetrate--; - if (Projectile.penetrate <= 0) - { - Projectile.Kill(); - } - else - { - if (Projectile.velocity.X != oldVelocity.X) - { - Projectile.velocity.X = -oldVelocity.X; - } - if (Projectile.velocity.Y != oldVelocity.Y) - { - Projectile.velocity.Y = -oldVelocity.Y; - } - SoundEngine.PlaySound(SoundID.Item10, Projectile.position); - } - return false; - } - - public override void Kill(int timeLeft) - { - SoundEngine.PlaySound(SoundID.Item10, Projectile.position); - for (int k = 0; k < 3; k++) - { - Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, 56, Projectile.oldVelocity.X * 0.25f, Projectile.oldVelocity.Y * 0.25f); - Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, 245, Projectile.oldVelocity.X * 0.25f, Projectile.oldVelocity.Y * 0.25f); - } - } - } -} diff --git a/Projectiles/Melee/OceanBeam.png b/Projectiles/Melee/OceanBeam.png deleted file mode 100644 index 5e9263f98af03bc46bd29a671bb754227621c9c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 547 zcmV+;0^I$HP)Px#Ay7omNhx6f001h$rt$y)01I?d zPE!E?|NsC0|NsC0|9y6S)c^ninMp)JR9J=Wn8B8VAPhwnP}~3i;W15PLP(JkoSB7h zrB?1iBlm<(lbQLI@|u137=ZkFJ_2W94_%9U#sk7Ta6=H`^OX2%jLV)F>D&(pVLgJ= zOz+@?=XqVX?eW;M#8&`30+3HyJ_aHnfKNx()p!Hl0IQg?p!gW@BIVGN&&dJ6A^MZW z;W)T5bP%8n7W(<@8axPa`rC~%ZH(E;Fz%cC<|vPt@yOu09$7~yg_Mh zfSuck|07>@h)#gjUeeNPf_4Ey7A-eyF7)yiN^=8bn}^bnt)5gGwU{ioqEGAuXr1Y1 zPbv)`gnvKYfCE59$z_JeT)fjZZva4lLUMD_pfoq2mfMMcnd(0EB0%2m;lf!K{Q~J1 z!-<^$dl}O)C`4|33#GXMdh451aKd`)`@xBw02!Ki`A0z0-nk2)3&_o$taFpn9Dw|0 lZ1&3G6{WcW_1sRpJU>!X8aaa2BE0|r002ovPDHLkV1l#M_r?GK