Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Accidentally Left Debug In.
  • Loading branch information
dragon3025 authored Apr 8, 2019
1 parent 349e17d commit 11ae7c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ReducedGrindingWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 11ae7c8

Please sign in to comment.