Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
870 B
1
Indexable
Never
import random
#chance = round(random.uniform(0,1),4)
#print(chance)

atk_rate = 0.5
tpm = 120
tps = tpm / 60
portar = 23.26 / 100
sc_splashthru = 57.17 / 100
hayst = 22.87 / 100
chesterson = 80 / 100
manni = 12.2 / 100
snap = 4.748 / 100
nightmare = 0.13 / 100
special = 239.3 

max_stage = 140942
prestige_stage = max_stage * 0.95

sc_splash = 13
portar_Splash = 61

minute_total = 0
splash_total = 0
sim = 0

while sim != 200:
    minute = 0
    splash = 0
    while minute != 60:
       chance = round(random.uniform(0,1),4)
       if chance <= sc_splashthru:
          splash += 1
       chance = round(random.uniform(0,1),4)
       if chance <= (nightmare * (special / 2)):
          splash += 1
       minute += 0.5
    minute_total += minute
    splash_total += splash
    sim += 1

print(f"Seconds: {minute_total / sim}")
print(f"Splashed: {splash_total / sim}")