Talk:Experience: Difference between revisions

1,204 bytes added ,  Tuesday at 10:55
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 16:
7938 xp @ level 50<br>
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 [[User:1ceviper|1ceviper]] ([[User talk:1ceviper|talk]]) 21:07, 9 November 2024 (UTC)
 
== Graphs -DoubleLogarithmic ==
 
I don't know what software was used to create the graphs. However, a more useful graph might be a (LogX,LogY) chart instead of the (X,LogY) as this would also capture the jumps in XP required at level 5, 12 and 20
 
[[User:Lorentari|Lorentari]] ([[User talk:Lorentari|talk]]) 10:55, 19 November 2024 (UTC)
3

edits