From 75b4993eac6902015f16dbeed32ebd5764564dfd Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 29 Nov 2019 08:31:50 -0500 Subject: [PATCH] fixed radiator black box and nerfs to god's paranoia/profaned partisan --- Items/Weapons/Rogue/GodsParanoia.cs | 2 +- Items/Weapons/Rogue/ProfanedPartisan.cs | 2 +- NPCs/AcidRain/Radiator.cs | 18 ++++++++++++++++-- Projectiles/Rogue/GodsParanoiaProj.cs | 2 +- Projectiles/Rogue/ProfanedPartisanproj.cs | 4 ++-- Projectiles/Rogue/ProfanedPartisanspear.cs | 1 - 6 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Items/Weapons/Rogue/GodsParanoia.cs b/Items/Weapons/Rogue/GodsParanoia.cs index 532604548d..6bf8bbc59e 100644 --- a/Items/Weapons/Rogue/GodsParanoia.cs +++ b/Items/Weapons/Rogue/GodsParanoia.cs @@ -12,7 +12,7 @@ namespace CalamityMod.Items.Weapons.Rogue { public class GodsParanoia : RogueWeapon { - private static int damage = 250; + private static int damage = 125; private static int knockBack = 5; public override void SetStaticDefaults() diff --git a/Items/Weapons/Rogue/ProfanedPartisan.cs b/Items/Weapons/Rogue/ProfanedPartisan.cs index f716346fc8..0fcb994e32 100644 --- a/Items/Weapons/Rogue/ProfanedPartisan.cs +++ b/Items/Weapons/Rogue/ProfanedPartisan.cs @@ -18,7 +18,7 @@ Stealth strikes spawn smaller spears to fly along side it"); public override void SafeSetDefaults() { - item.damage = 1500; + item.damage = 450; item.knockBack = 8f; item.crit += 15; diff --git a/NPCs/AcidRain/Radiator.cs b/NPCs/AcidRain/Radiator.cs index 8ab9c48f7f..064260e5f0 100644 --- a/NPCs/AcidRain/Radiator.cs +++ b/NPCs/AcidRain/Radiator.cs @@ -37,7 +37,7 @@ namespace CalamityMod.NPCs.AcidRain npc.HitSound = SoundID.NPCHit1; npc.DeathSound = SoundID.NPCDeath1; aiType = NPCID.GlowingSnail; - animationType = NPCID.GlowingSnail; + //animationType = NPCID.GlowingSnail; //banner = npc.type; //bannerItem = ModContent.ItemType(); } @@ -46,7 +46,7 @@ namespace CalamityMod.NPCs.AcidRain { if (npc.localAI[0] == 0f) { - npc.catchItem = (Main.rand.NextBool(20)) ? (short)ModContent.ItemType() : ItemID.None; + npc.catchItem = (Main.rand.NextBool(10)) ? (short)ModContent.ItemType() : ItemID.None; npc.localAI[0] = 1f; npc.velocity.Y = -3f; npc.netUpdate = true; @@ -63,6 +63,20 @@ namespace CalamityMod.NPCs.AcidRain } } + public override void FindFrame(int frameHeight) + { + npc.frameCounter++; + if (npc.frameCounter > 8) + { + npc.frameCounter = 0; + npc.frame.Y += frameHeight; + if (npc.frame.Y > frameHeight * 2) + { + npc.frame.Y = 0; + } + } + } + public override float SpawnChance(NPCSpawnInfo spawnInfo) { if (spawnInfo.playerSafe || !spawnInfo.player.Calamity().ZoneSulphur || !Main.raining) diff --git a/Projectiles/Rogue/GodsParanoiaProj.cs b/Projectiles/Rogue/GodsParanoiaProj.cs index b3896de0ed..a6e3aa9f10 100644 --- a/Projectiles/Rogue/GodsParanoiaProj.cs +++ b/Projectiles/Rogue/GodsParanoiaProj.cs @@ -78,7 +78,7 @@ namespace CalamityMod.Projectiles.Rogue { for (int i = 0; i < 3; i++) { - int idx = Projectile.NewProjectile(startPos, kunaiSp, ModContent.ProjectileType(), projectile.damage, 1f, projectile.owner, 0f, 0f); + int idx = Projectile.NewProjectile(startPos, kunaiSp, ModContent.ProjectileType(), projectile.damage/2, 1f, projectile.owner, 0f, 0f); Main.projectile[idx].rotation = angle; } } diff --git a/Projectiles/Rogue/ProfanedPartisanproj.cs b/Projectiles/Rogue/ProfanedPartisanproj.cs index c9ffbe416a..f0408a7134 100644 --- a/Projectiles/Rogue/ProfanedPartisanproj.cs +++ b/Projectiles/Rogue/ProfanedPartisanproj.cs @@ -82,7 +82,7 @@ namespace CalamityMod.Projectiles.Rogue stealthStrikeTimer++; if (stealthStrikeTimer >= 18) { - Projectile.NewProjectile(spearposition, spearspeed, ModContent.ProjectileType(), projectile.damage/2, projectile.knockBack, projectile.owner, 0f, 0f); + Projectile.NewProjectile(spearposition, spearspeed, ModContent.ProjectileType(), projectile.damage/10, projectile.knockBack, projectile.owner, 0f, 0f); stealthStrikeTimer = 0; } } @@ -96,7 +96,7 @@ namespace CalamityMod.Projectiles.Rogue } Main.PlaySound(2, projectile.position, 45); Vector2 explode = new Vector2(0f, 0f); - Projectile.NewProjectile(projectile.Center, explode, ModContent.ProjectileType(), projectile.damage, projectile.knockBack * 1.3f, projectile.owner); + Projectile.NewProjectile(projectile.Center, explode, ModContent.ProjectileType(), projectile.damage/2, projectile.knockBack * 1.3f, projectile.owner); } public override bool PreDraw(SpriteBatch spriteBatch, Color lightColor) diff --git a/Projectiles/Rogue/ProfanedPartisanspear.cs b/Projectiles/Rogue/ProfanedPartisanspear.cs index b5f8203745..3f36d0ee09 100644 --- a/Projectiles/Rogue/ProfanedPartisanspear.cs +++ b/Projectiles/Rogue/ProfanedPartisanspear.cs @@ -8,7 +8,6 @@ using CalamityMod.Buffs.DamageOverTime; namespace CalamityMod.Projectiles.Rogue { - //TODO -- This projectile literally does nothing so have fun public class ProfanedPartisanspear : ModProjectile { public int timer = 0;