Additional tools for Admin portal, and huge NameSpace Revamp
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace Server.Data.Entities;
|
||||
namespace DataServer.Data.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// Experience required per level (exponential curve)
|
||||
@@ -10,7 +10,7 @@ public static class LevelSystem
|
||||
// Base 100 XP for level 2, scaling exponentially
|
||||
return (long)(100 * Math.Pow(1.15, level - 1));
|
||||
}
|
||||
|
||||
|
||||
public static long GetTotalXpForLevel(int level)
|
||||
{
|
||||
long total = 0;
|
||||
@@ -18,7 +18,7 @@ public static class LevelSystem
|
||||
total += GetXpForLevel(i);
|
||||
return total;
|
||||
}
|
||||
|
||||
|
||||
public static int GetLevelForXp(long totalXp)
|
||||
{
|
||||
int level = 1;
|
||||
|
||||
Reference in New Issue
Block a user