From a4c9eaa9ab016f8db1a09ec13e3b831bbb72b21b Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 5 Mar 2020 20:50:35 -0500 Subject: [PATCH 1/5] nerfed eternal blizzard --- Items/Weapons/Ranged/EternalBlizzard.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Items/Weapons/Ranged/EternalBlizzard.cs b/Items/Weapons/Ranged/EternalBlizzard.cs index cc71730f5d..5653296057 100644 --- a/Items/Weapons/Ranged/EternalBlizzard.cs +++ b/Items/Weapons/Ranged/EternalBlizzard.cs @@ -15,12 +15,12 @@ namespace CalamityMod.Items.Weapons.Ranged } public override void SetDefaults() { - item.damage = 38; + item.damage = 32; item.ranged = true; item.width = 42; item.height = 62; - item.useTime = 19; - item.useAnimation = 19; + item.useTime = 20; + item.useAnimation = 20; item.useStyle = 5; item.useTurn = false; item.noMelee = true; From 4ff78849cb7caeb0eafb0d85c3b485237b8e4c78 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 5 Mar 2020 21:34:02 -0500 Subject: [PATCH 2/5] more balancing --- CalPlayer/CalamityPlayerMiscEffects.cs | 8 ++++---- CalamityMod.cs | 3 +-- Items/CalamityGlobalItem.cs | 2 ++ Items/Weapons/Summon/ResurrectionButterfly.cs | 2 +- Projectiles/Summon/PinkButterfly.cs | 2 +- Projectiles/Summon/PurpleButterfly.cs | 4 ++-- Projectiles/Summon/SakuraBullet.cs | 2 +- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index b49fcf2ec2..98c0e334aa 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3386,7 +3386,7 @@ namespace CalamityMod.CalPlayer private static void RogueMirrors(Player player, CalamityPlayer modPlayer) { Rectangle rectangle = new Rectangle((int)((double)player.position.X + (double)player.velocity.X * 0.5 - 4.0), (int)((double)player.position.Y + (double)player.velocity.Y * 0.5 - 4.0), player.width + 8, player.height + 8); - for (int i = 0; i < 200; i++) + for (int i = 0; i < Main.maxNPCs; i++) { if (Main.npc[i].active && !Main.npc[i].dontTakeDamage && !Main.npc[i].friendly && !Main.npc[i].townNPC && Main.npc[i].immune[player.whoAmI] <= 0 && Main.npc[i].damage > 0) { @@ -3394,7 +3394,7 @@ namespace CalamityMod.CalPlayer Rectangle rect = nPC.getRect(); if (rectangle.Intersects(rect) && (nPC.noTileCollide || player.CanHit(nPC))) { - if (Main.rand.Next(10) == 0 && player.immuneTime <= 0) + if (Main.rand.NextBool(10) && player.immuneTime <= 0) { modPlayer.AbyssMirrorEvade(); modPlayer.EclipseMirrorEvade(); @@ -3404,7 +3404,7 @@ namespace CalamityMod.CalPlayer } } - for (int i = 0; i < 1000; i++) + for (int i = 0; i < Main.maxProjectiles; i++) { if (Main.projectile[i].active && Main.projectile[i].hostile && Main.projectile[i].damage > 0) { @@ -3412,7 +3412,7 @@ namespace CalamityMod.CalPlayer Rectangle rect = proj.getRect(); if (rectangle.Intersects(rect)) { - if (Main.rand.Next(10) == 0) + if (Main.rand.NextBool(10)) { modPlayer.AbyssMirrorEvade(); modPlayer.EclipseMirrorEvade(); diff --git a/CalamityMod.cs b/CalamityMod.cs index fdbaab3f75..5efd145042 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -1292,8 +1292,7 @@ namespace CalamityMod ItemID.DaedalusStormbow, ItemID.PhoenixBlaster, ItemID.VenusMagnum, - ItemID.BlizzardStaff, - ItemID.StardustDragonStaff + ItemID.BlizzardStaff }; pumpkinMoonBuffList = new List() diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 3ba5227d5f..11fd046e06 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -106,6 +106,8 @@ namespace CalamityMod.Items item.damage = (int)((double)item.damage * 0.85); else if (CalamityMod.quarterDamageNerfList?.Contains(item.type) ?? false) item.damage = (int)((double)item.damage * 0.75); + else if (item.type == ItemID.StardustDragonStaff) + item.damage = (int)((double)item.damage * 0.5); if (item.type == ItemID.BookStaff) item.mana = 10; diff --git a/Items/Weapons/Summon/ResurrectionButterfly.cs b/Items/Weapons/Summon/ResurrectionButterfly.cs index 5e52b59a96..1880acdc35 100644 --- a/Items/Weapons/Summon/ResurrectionButterfly.cs +++ b/Items/Weapons/Summon/ResurrectionButterfly.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons.Summon public override void SetDefaults() { - item.damage = 30; + item.damage = 25; item.mana = 10; item.width = 46; item.height = 46; diff --git a/Projectiles/Summon/PinkButterfly.cs b/Projectiles/Summon/PinkButterfly.cs index ef097a87b5..b5e33b2aa9 100644 --- a/Projectiles/Summon/PinkButterfly.cs +++ b/Projectiles/Summon/PinkButterfly.cs @@ -138,7 +138,7 @@ namespace CalamityMod.Projectiles.Summon } else { - for (int num645 = 0; num645 < 200; num645++) + for (int num645 = 0; num645 < Main.maxNPCs; num645++) { NPC nPC2 = Main.npc[num645]; if (nPC2.CanBeChasedBy(projectile, false) || nPC2.type == NPCID.DukeFishron) diff --git a/Projectiles/Summon/PurpleButterfly.cs b/Projectiles/Summon/PurpleButterfly.cs index 3f6190db3e..33da0be8cc 100644 --- a/Projectiles/Summon/PurpleButterfly.cs +++ b/Projectiles/Summon/PurpleButterfly.cs @@ -159,7 +159,7 @@ namespace CalamityMod.Projectiles.Summon } else { - for (int num645 = 0; num645 < 200; num645++) + for (int num645 = 0; num645 < Main.maxNPCs; num645++) { NPC nPC2 = Main.npc[num645]; if (nPC2.CanBeChasedBy(projectile, false) || nPC2.type == NPCID.DukeFishron) @@ -285,7 +285,7 @@ namespace CalamityMod.Projectiles.Summon if (target.type == NPCID.DukeFishron) damage = (int)((double)damage * 2.0); else if (target.type == NPCID.CultistBoss) - damage = (int)((double)damage * 0.5); + damage = (int)((double)damage * 0.6); } public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) diff --git a/Projectiles/Summon/SakuraBullet.cs b/Projectiles/Summon/SakuraBullet.cs index 916a18deaa..5881b6aa51 100644 --- a/Projectiles/Summon/SakuraBullet.cs +++ b/Projectiles/Summon/SakuraBullet.cs @@ -79,7 +79,7 @@ namespace CalamityMod.Projectiles.Summon if (target.type == NPCID.DukeFishron) damage = (int)((double)damage * 2.0); else if (target.type == NPCID.CultistBoss) - damage = (int)((double)damage * 0.5); + damage = (int)((double)damage * 0.6); } public override void Kill(int timeLeft) From c0114f1f5dc12874285a26c58b2e824076c70686 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 5 Mar 2020 21:35:07 -0500 Subject: [PATCH 3/5] nerfed ice barrage --- Items/Weapons/Magic/IceBarrage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Items/Weapons/Magic/IceBarrage.cs b/Items/Weapons/Magic/IceBarrage.cs index e10059df49..cf2aae3f70 100644 --- a/Items/Weapons/Magic/IceBarrage.cs +++ b/Items/Weapons/Magic/IceBarrage.cs @@ -32,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Magic item.noMelee = true; item.UseSound = mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/IceBarrageCast"); - item.damage = 6500; + item.damage = 5800; item.knockBack = 6f; item.useTime = 300; item.useAnimation = 300; From 65c89632b1a843132c06adc7d007171312e0290d Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 5 Mar 2020 21:59:04 -0500 Subject: [PATCH 4/5] more monsoon balancing --- Items/Weapons/Ranged/Monsoon.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Items/Weapons/Ranged/Monsoon.cs b/Items/Weapons/Ranged/Monsoon.cs index 6a36e4ef3c..d7c2861f98 100644 --- a/Items/Weapons/Ranged/Monsoon.cs +++ b/Items/Weapons/Ranged/Monsoon.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Weapons.Ranged public override void SetDefaults() { - item.damage = 150; + item.damage = 142; item.ranged = true; item.width = 46; item.height = 78; @@ -64,7 +64,7 @@ namespace CalamityMod.Items.Weapons.Ranged { type = ModContent.ProjectileType(); } - int num121 = Projectile.NewProjectile(vector2.X + value9.X, vector2.Y + value9.Y, speedX, speedY, type, damage, knockBack, player.whoAmI, 0f, 0f); + int num121 = Projectile.NewProjectile(vector2.X + value9.X, vector2.Y + value9.Y, speedX, speedY, type, (int)(damage * 1.1f), knockBack, player.whoAmI, 0f, 0f); Main.projectile[num121].Calamity().forceRanged = true; Main.projectile[num121].noDropItem = true; Main.projectile[num121].arrow = true; From 67588dbe354c869b6661c4c118e7045e32fa7ef2 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 5 Mar 2020 22:02:06 -0500 Subject: [PATCH 5/5] slightly nerfed gelitic but proj now tile phases --- Items/Weapons/Melee/GeliticBlade.cs | 2 +- Projectiles/Melee/GelWave.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Items/Weapons/Melee/GeliticBlade.cs b/Items/Weapons/Melee/GeliticBlade.cs index aea973f016..a0c38d5e50 100644 --- a/Items/Weapons/Melee/GeliticBlade.cs +++ b/Items/Weapons/Melee/GeliticBlade.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetDefaults() { item.width = 62; - item.damage = 36; + item.damage = 33; item.melee = true; item.useAnimation = 30; item.useTime = 30; diff --git a/Projectiles/Melee/GelWave.cs b/Projectiles/Melee/GelWave.cs index 4f967a4797..7c9f243ded 100644 --- a/Projectiles/Melee/GelWave.cs +++ b/Projectiles/Melee/GelWave.cs @@ -27,6 +27,7 @@ namespace CalamityMod.Projectiles.Melee projectile.penetrate = 2; projectile.alpha = 120; projectile.timeLeft = 200; + projectile.tileCollide = false; } public override void AI()