Skip to content

Commit

Permalink
Increase rarity
Browse files Browse the repository at this point in the history
Halved chance for starflower to randomly generate after worldgen.
  • Loading branch information
AlurienFlame committed Mar 15, 2020
1 parent 4cde0be commit 1782449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StarflowerWorld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1782449

Please sign in to comment.