Skip to content

Commit

Permalink
Lower chance of kosong, increase chance of rares
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnygunawan authored Jun 26, 2024
1 parent 0d549f9 commit 3e7b232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BotNet.Services/Khodam/KhodamCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ public static string CalculateKhodam(string name, long userId) {
);

// Kosong vs isi
if (hashCode % 9679 < 2000) {
if (hashCode % 9679 < 700) {
return "Kosong";
}

// Rare
if (hashCode % 631 > 600) {
if (hashCode % 631 > 580) {
return RARES[hashCode % RARES.Length];
}

Expand Down

0 comments on commit 3e7b232

Please sign in to comment.