Rarity determination

==Factors==
The probability of rolling an aura in any given roll is dependent on a variety of factors, such as:
*The player's equipped gear.
*Any active effects.
*The current state of the environment, (Biomes).
*The player's luck.
==Process==
To find the probability of rolling an aura:
#Calculate the player's luck.
#Divide luck by base rarity of the aura, (e.g., 3/500,000; for ).
#(Optional) Convert the percentage into fraction.
If the aura is exclusive to a certain biome, one may decide on whether to use its breakthrough or in-season odds when performing the calculation.
A rarity calculator had been created as an edit from the breakthrough calculator that was proven to be incorrect, it does not calculate breakthrough chance of an aura, it is just an easy way to do the three steps listed above. It does not preform the step that converts the percent to a fraction, however. https://www.online-python.com/qQcMXnrZb9
The code was created in python 3.12, and can be found either in the online python link above, or right here:
def mainCode():
 import decimal
 print("You will answer some questions to determine how rare your self created aura is or other auras in the game actually is.")
 print("(This might not be accurate beyond 20 decimal places)")
 baserarity = int(input("What is the base rarity of this aura? (1 in x)"))
 bonusLuck = str(input("What is your bonus luck(from buffs/equipment)? +1.5 is equal to +150%, please enter as a number not a percent."))
 decimalplaces = int(input("How many places after the decimal do you want to show?"))
 actualLuck = 1 + float(bonusLuck)
 percentifiedLuck = 1 / int (baserarity)
 Rarity = actualLuck * float(percentifiedLuck)
 actualRarity = 100 * float(Rarity)
 print(f"Your chance of rolling the aura is {actualRarity:.{decimalplaces}f}%")
 answer = str(input("Do you want to know how this calculation works? (yes/no)"))
 if answer == "yes":
 print("The calculations work as following:")
 print("Base rarity of 100% is added to your current rarity bonus, then multiplied with the rarity of the aura")
 print("After the rarity was converted into a percent. Once the chance of you rolling the aura is determined,")
 print("it is limited to as long a number as you specified when inputting the decimal places.")
 answer2 = str(input("Do you want to see the credits? (yes/no)"))
 if answer2 == "yes":
 print("Script made by madder10 (aka Henben's successor in the discord server) on [27/02/2024 16:46 GMT+1]")
 print("as a calculator for breakthrough chance, however their concept was proven to be wrong, so the calculator")
 print("was removed from the Sol's RNG wiki. I, pikachugabe, then edited it into a chance calculator that doesnt")
 print("factor biomes, as that would make the math not accurate, but does factor the luck bonus of the user.")
 print("Timestamp as of finishing this code: April 11th, 2024 at 7:55 pm GMT-5")
 print("As a sidenote, if anyone can make the code better and even add a step that converts the percent to a fraction,")
 print("please feel free to do so, just remember to edit the wiki page.")
 codeAsnwer = str(input('Press enter to shut off script. Enter 1 to calculate again.'))
 if codeAsnwer == "1":
 mainCode()
mainCode()
A newer version with more info and '1 in' rarity can be found at https://www.onlinegdb.com/X46Gos2ot
==Misconceptions==
*The belief that the probability of finding an aura may be multiplied by the probability of a biome being selected every second is often held by players in the community. However, this is incorrect, because the biome system is independent of any attempts the player makes to roll for an aura. The biome system "rolls" for a biome by itself automatically; it is entirely separate from the player, and this process does not influence the odds of finding an aura. For example, the base probability of finding in any one given roll is simply 0 while the Glitched biome is not active, or 1 in 12,210,110 otherwise. This is because the probability of finding the aura does not exist outside of the Glitched biome. Additionally, the player is not attempting to change the biome once per second; changing the biome is done automatically by a system that handles this in-game.
*Roll speed varies from player to player; it is not a constant rate of once per second, like with the biome system. It is very unlikely that the speed at which the player would roll syncs up with the biome system, due to various other factors such as active speed or haste potion effects, or a held gear. Even so, the two would still be completely separate.
*In summary, when rolling for , the player doesn't simultaneously roll for the biome in the same click. The system handles biomes on its own, and the player doesn't continue rolling for it, even after it appears for the 164 seconds that it is active.
*The actual odds of finding during the Glitched biome are found simply by finding the sum of your base luck and luck boosts from other sources, and then dividing the sum by 12,210,110, as mentioned in steps 1 and 2 of the process described above.