From ea20c4d6ecde34e843cdb2ba8d5ad18beae4d7c4 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 6 Dec 2019 15:45:48 -0500 Subject: [PATCH] more balancing, made desecrated water & ashen stalactite obtainable --- Items/Weapons/Rogue/DeepWounder.cs | 6 +++--- Items/Weapons/Rogue/DesecratedWater.cs | 6 +++--- Items/Weapons/Rogue/FrostcrushValari.cs | 2 +- Items/Weapons/Rogue/TotalityBreakers.cs | 2 +- NPCs/CalamityGlobalNPC.cs | 2 +- NPCs/CalamityGlobalNPCLoot.cs | 5 +++++ Projectiles/Rogue/ValariBoomerang.cs | 2 +- Utilities/CalamityRecipes.cs | 7 +++++++ 8 files changed, 22 insertions(+), 10 deletions(-) diff --git a/Items/Weapons/Rogue/DeepWounder.cs b/Items/Weapons/Rogue/DeepWounder.cs index 948d800fff..930ac3ad1b 100644 --- a/Items/Weapons/Rogue/DeepWounder.cs +++ b/Items/Weapons/Rogue/DeepWounder.cs @@ -18,12 +18,12 @@ namespace CalamityMod.Items.Weapons.Rogue public override void SafeSetDefaults() { item.width = 52; - item.damage = 165; + item.damage = 125; item.noMelee = true; item.noUseGraphic = true; - item.useAnimation = 35; + item.useAnimation = 23; item.useStyle = 1; - item.useTime = 35; + item.useTime = 23; item.knockBack = 3f; item.UseSound = SoundID.Item1; item.autoReuse = true; diff --git a/Items/Weapons/Rogue/DesecratedWater.cs b/Items/Weapons/Rogue/DesecratedWater.cs index 41dbdaa29e..d8bb2d81be 100644 --- a/Items/Weapons/Rogue/DesecratedWater.cs +++ b/Items/Weapons/Rogue/DesecratedWater.cs @@ -47,16 +47,16 @@ Stealth strikes spawn additional bubbles that inflict Ichor and Cursed Inferno") return true; } - /*public override void AddRecipes() + public override void AddRecipes() { ModRecipe recipe = new ModRecipe(mod); - recipe.AddRecipeGroup("AnyEvilWater", 100); //make sure to add to CalamityRecipes.cs + recipe.AddRecipeGroup("AnyEvilWater", 100); recipe.AddIngredient(ItemID.HallowedBar, 5); recipe.AddRecipeGroup("CursedFlameIchor", 5); recipe.AddIngredient(ItemID.SoulofLight, 7); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); - }*/ + } } } diff --git a/Items/Weapons/Rogue/FrostcrushValari.cs b/Items/Weapons/Rogue/FrostcrushValari.cs index b8a779b998..d6fd9f9830 100644 --- a/Items/Weapons/Rogue/FrostcrushValari.cs +++ b/Items/Weapons/Rogue/FrostcrushValari.cs @@ -21,7 +21,7 @@ Stealth strikes throws three short ranged boomerangs along with a spread of icic public override void SafeSetDefaults() { - item.damage = 120; + item.damage = 75; item.knockBack = 12; item.thrown = true; item.crit = 16; diff --git a/Items/Weapons/Rogue/TotalityBreakers.cs b/Items/Weapons/Rogue/TotalityBreakers.cs index 648507d2d6..e2ee1cd793 100644 --- a/Items/Weapons/Rogue/TotalityBreakers.cs +++ b/Items/Weapons/Rogue/TotalityBreakers.cs @@ -54,7 +54,7 @@ Stealth strikes leak tar as they fly"); recipe.AddIngredient(ItemID.MolotovCocktail, 50); recipe.AddIngredient(ModContent.ItemType(), 10); recipe.AddIngredient(ModContent.ItemType()); - //recipe.AddIngredient(ModContent.ItemType()); + recipe.AddIngredient(ModContent.ItemType()); recipe.AddTile(TileID.MythrilAnvil); recipe.SetResult(this); recipe.AddRecipe(); diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index a6bccab994..5fc4541595 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -2460,7 +2460,7 @@ namespace CalamityMod.NPCs { damage = (int)(damage * 0.5); } - else if (projectile.type == ModContent.ProjectileType() || projectile.type == ModContent.ProjectileType()) + else if (projectile.type == ModContent.ProjectileType() || projectile.type == ModContent.ProjectileType() || projectile.type == ModContent.ProjectileType()) { damage = (int)(damage * 0.75); } diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index aa6e40f50d..8864574e0a 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1289,6 +1289,11 @@ namespace CalamityMod.NPCs DropHelper.DropItemChance(npc, ModContent.ItemType(), eyeballDropRate, 1, 1); break; + case NPCID.FireImp: + int stalactiteDropRate = CalamityWorld.defiled ? DropHelper.DefiledDropRateInt : Main.expertMode ? 100 : 150; + DropHelper.DropItemChance(npc, ModContent.ItemType(), stalactiteDropRate, 1, 1); + break; + case NPCID.PossessedArmor: int amuletDropRate = CalamityWorld.defiled ? DropHelper.DefiledDropRateInt : Main.expertMode ? 150 : 200; DropHelper.DropItemChance(npc, ModContent.ItemType(), amuletDropRate, 1, 1); diff --git a/Projectiles/Rogue/ValariBoomerang.cs b/Projectiles/Rogue/ValariBoomerang.cs index d2990d47a1..807754a9c0 100644 --- a/Projectiles/Rogue/ValariBoomerang.cs +++ b/Projectiles/Rogue/ValariBoomerang.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Rogue projectile.timeLeft = 360; projectile.tileCollide = false; projectile.usesLocalNPCImmunity = true; - projectile.localNPCHitCooldown = 10; + projectile.localNPCHitCooldown = 15; projectile.coldDamage = true; projectile.Calamity().rogue = true; diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 52f7e1d434..471dab5f2e 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -795,6 +795,13 @@ namespace CalamityMod }); RecipeGroup.RegisterGroup("CursedFlameIchor", group); + group = new RecipeGroup(() => "Any Evil Water", new int[] + { + ItemID.UnholyWater, + ItemID.BloodWater + }); + RecipeGroup.RegisterGroup("AnyEvilWater", group); + group = new RecipeGroup(() => "Any Silt", new int[] { ItemID.SiltBlock,