Talk:Experience: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 34:
This stops working after level 6.
 
 
== Levels after 20 ==
 
I haven't fully figured out the formula, but from level 20 to 125 the following formula gives the right xp required to level up, except at levels 37, 66, 122 where it is off by one xp:
 
11892.02398*1.01944069233047^LEVEL, rounded to the nearest integer [[User:1ceviper|1ceviper]] ([[User talk:1ceviper|talk]]) 21:07, 9 November 2024 (UTC)

Revision as of 21:07, 9 November 2024

47 requires 660,881 xp
48 requires 690,847 xp
49 requires 721,396 xp
50 requires 752,539 xp
51 requires 784,287 xp





knowledge xp boost
4542 xp @ level 21
7638 xp @ level 48
7786 xp @ level 49
7938 xp @ level 50
8092 xp @ level 51


Following formula to calculate experience points works for levels 0 - 6:

LEVEL * 500 + (15 * LEVEL * (LEVEL - 1) / 2)

For levels 5 and 6, following formula is added:

(LEVEL - 4) ^ 2

C# code snippet:

   int baseLevel = 500 * level;
   int triangularNumberSequenceModifier = 15 * level * (level - 1) / 2;
   int squareModifier = level - 4 > 0 ? (int)Math.Pow(level - 4, 2) : 0;
   return baseLevel + triangularNumberSequenceModifier + squareModifier;
   
This stops working after level 6.


Levels after 20

I haven't fully figured out the formula, but from level 20 to 125 the following formula gives the right xp required to level up, except at levels 37, 66, 122 where it is off by one xp:

11892.02398*1.01944069233047^LEVEL, rounded to the nearest integer 1ceviper (talk) 21:07, 9 November 2024 (UTC)