Welcome, Guest. Please login or register.
Did you miss your activation email?
May 02, 2024, 07:53:04 pm *

Login with username, password and session length
Pages: [1]
Print
Author Topic: Mask of Experience: Math, numbers and despair.  (Read 6083 times)
Drajor
Newbie
*
Posts: 27


View Profile
« on: October 13, 2015, 07:07:28 am »

I wrote some code to calculate Mask of Experience costs. I am fairly confident that it is accurate but please point out any mistakes.

Mask (0) : 0 ~0%
Mask (50) : 50,000 ~0%
Mask (100) : 100,000 ~0%
Mask (150) : 350,000 ~1%
Mask (200) : 600,000 ~2%
Mask (250) : 1,100,000 ~4%
Mask (300) : 1,600,000 ~7%
Mask (350) : 2,350,000 ~10%
Mask (400) : 3,100,000 ~13%
Mask (450) : 4,100,000 ~18%
Mask (500) : 5,100,000 ~22%
Mask (550) : 6,350,000 ~28%
Mask (600) : 7,600,000 ~33%
Mask (650) : 9,100,000 ~40%
Mask (700) : 10,600,000 ~46%
Mask (750) : 12,350,000 ~54%
Mask (800) : 14,100,000 ~62%
Mask (850) : 16,100,000 ~71%
Mask (900) : 18,100,000 ~80%
Mask (950) : 20,350,000 ~90%
Mask (1000) : 22,600,000 ~100%


Code:
import math
import sys
sys.setrecursionlimit(2000) # Hacks because Python derps at 1k recursion depth.

def solve(pLevel):
    def _solve(pLevel):
        # The end of the road.
        if pLevel == 0:
            return 0
        # Odd ball numbers for 0-100
        if pLevel <= 100:
            return 1000 + _solve(pLevel - 1)
        # Horrible code just to confuse you and save on lines of code.
        return 5000 * math.floor(((pLevel) if pLevel % 100 != 0 else (pLevel -1)) / 100) + _solve(pLevel - 1)
    return _solve(pLevel)

# List comprehension because ninjas.
L = [x*50 for x in range(21)]
aaMax = solve(1000)
for i in L:
    aa = solve(i)
    print("Mask (" + str(i) + ") : " + format(aa, ",d") + " ~" + str(int((aa / aaMax) * 100)) + "%")


EDIT: /facepalm, the original post said RoA instead of Mask of Experience. Blame the lack of sleep :p
« Last Edit: October 13, 2015, 01:08:17 pm by Drajor » Logged
huffdady
Full Member
***
Posts: 184


View Profile
« Reply #1 on: October 13, 2015, 08:17:55 am »

YAY !  most of my toons have 500+, good god that is a shit ton of AA's.  LOL
Logged
Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #2 on: October 13, 2015, 08:19:29 am »

Well since RoA 100 is attainable with 17,600 AAs I think something has gone drastically wrong in code-landia. Also, prices for 900-1000 are 3500 normal - 45000 hell
Logged
Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #3 on: October 13, 2015, 08:29:25 am »

The code added the hell level value for all 100 ranks 900-1000. I'd love to help pinpoint the rest but I just woke up and I don't remember AA costs all the way up  Huh
Logged
Blurring
Full Member
***
Posts: 168


View Profile
« Reply #4 on: October 13, 2015, 09:43:44 am »

Ya pretty sure this is off by a factor of 10. From my notes from way back. I'm sure there are some mistakes but IIRC it was generally correct.

0-100
(2k) 8k hell levels
(100) 9.6k normal levels
17.6k total

100-200
(5k) 20k hell levels
(250) 24k normal levels
44k total

200-300
(10k) 40k hell levels
(500) 48k normal levels
98k total

300-400
(15k) 60k hell levels
(750) 72k normal levels
132k total

400-500
(20k) 80k hell levels
(1k) 96k normal levels
176k total

500-600 (not 100%)
(30k) 120k hell levels
(1.5k) 144k normal levels
264k total

600-700

700-800
(30k) 120k hell levels
(2.5k) 240k normal levels
360k total

800-900
(40k) 160k hell levels
(3k) normal levels
448k total

900-1000
(45k) 180k hell levels
(3.5k) 336k normal levels
516k total
Logged

Blarr!
Drajor
Newbie
*
Posts: 27


View Profile
« Reply #5 on: October 13, 2015, 01:08:56 pm »

LOL I fail >< I amended the post to say Mask of Experience instead...
Logged
Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #6 on: October 13, 2015, 02:15:46 pm »

Corrected Blarr's list and filled in the blanks. He had the parts I was missing =p

0-100
(2k) 8k hell levels
(100) 9.6k normal levels
17.6k total

100-200
(5k) 20k hell levels
(250) 24k normal levels
44k total

200-300
(10k) 40k hell levels
(500) 48k normal levels
98k total

300-400
(15k) 60k hell levels
(750) 72k normal levels
132k total

400-500
(20k) 80k hell levels
(1k) 96k normal levels
176k total

500-600
(25k) 100k hell levels
(1.5k) 144k normal levels
264k total

600-700
(30k) 120k hell levels
(2k) 192k normal levels
312k total

700-800
(35k) 140k hell levels
(2.5k) 240k normal levels
360k total

800-900
(40k) 160k hell levels
(3k) normal levels
448k total

900-1000
(45k) 180k hell levels
(3.5k) 336k normal levels
516k total
Logged
Kovou
Sr. Member
****
Posts: 323


View Profile
« Reply #7 on: October 14, 2015, 09:33:16 pm »

so if your math is correct your saying it takes only 2,367,600 aa's to max out the mask? can we get a numbers check here?
Logged
Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #8 on: October 14, 2015, 09:43:50 pm »

That would be for the ring, Drajor made a booboo when he made the post calling it the RoA thread. His post is referring to the Mask, me and Blarr's is the Ring.
Logged
balidet
Master
******
Posts: 810



View Profile
« Reply #9 on: October 15, 2015, 10:32:36 am »

someone delete this thread tis hurting my head!
Logged

Pages: [1]
Print
Jump to:  

Recent

Stats

Members
  • Total Members: 6124
  • Latest: Havicck
Stats
  • Total Posts: 64988
  • Total Topics: 5053
  • Online Today: 161
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 2
Guests: 109
Total: 111
TinyPortal v1.0 beta 4 © Bloc