From 17824491ac3ebea62632acdd7c1838b40f694c47 Mon Sep 17 00:00:00 2001 From: AlurienFlame <62194841+AlurienFlame@users.noreply.github.com> Date: Sun, 15 Mar 2020 19:40:37 +1300 Subject: [PATCH] Increase rarity Halved chance for starflower to randomly generate after worldgen. --- StarflowerWorld.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StarflowerWorld.cs b/StarflowerWorld.cs index ad8afee..c84c9e3 100644 --- a/StarflowerWorld.cs +++ b/StarflowerWorld.cs @@ -41,7 +41,7 @@ public override void PostUpdate() for (int i = 0; (float)i < numTilesToUpdate; i++) { // Very low chance - if (Main.rand.Next(500) == 0 && Main.rand.Next(starflowerGenerateChance) == 0) + if (Main.rand.Next(1000) == 0 && Main.rand.Next(starflowerGenerateChance) == 0) { GenerateOneStarflower(skyOnly: false); }