From 11ae7c8b9dc26f3c665486bec46cf7f4fc8bbacf Mon Sep 17 00:00:00 2001 From: dragon3025 <11652210+dragon3025@users.noreply.github.com> Date: Mon, 8 Apr 2019 14:14:47 -0700 Subject: [PATCH] Add files via upload Accidentally Left Debug In. --- ReducedGrindingWorld.cs | 3 +-- build.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ReducedGrindingWorld.cs b/ReducedGrindingWorld.cs index f9296249..4826d4c1 100644 --- a/ReducedGrindingWorld.cs +++ b/ReducedGrindingWorld.cs @@ -698,7 +698,6 @@ public override void PostUpdate() { int chanceRoll = (int)(27000.0 / (double)Main.dayRate); chanceRoll *= 4; - chanceRoll = 1; for (int i = 0; i < 3; i++) { if (Main.rand.Next(chanceRoll) == 0) @@ -794,7 +793,7 @@ public override void PostUpdate() { if (Terraria.Main.npc[i].type == NPCID.TravellingMerchant) { - if (Main.rand.NextFloat() < 1)//mPlayer.clientConf.ChanceEachInGameMinuteWillResetTravelingMerchant * Math.Pow(vanillaTownNPCs / merchantSpawnChanceDivisor, 2)) + if (Main.rand.NextFloat() < mPlayer.clientConf.ChanceEachInGameMinuteWillResetTravelingMerchant * Math.Pow(vanillaTownNPCs / merchantSpawnChanceDivisor, 2)) { Chest.SetupTravelShop(); if (Main.netMode == NetmodeID.Server) diff --git a/build.txt b/build.txt index 8c84fc8b..5c619d78 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = Dragon3025 -version = 4.56 +version = 4.57 displayName = Reduced Grinding homepage = http://forums.terraria.org/index.php?threads/reduced-grinding.51082/ hideCode = false