ma abyss & chapter 37 fix
This commit is contained in:
1 parent
127dc1b345
commit
7c19038c3c
14 files changed
+441
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Security.Cryptography;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Common.Utils.ExcelReader
|
||||
{
|
||||
@@ -43,6 +44,27 @@ namespace Common.Utils.ExcelReader
|
||||
return new LevelData(level, expRemain);
|
||||
}
|
||||
|
||||
public uint ExBossRankFromExp(int exp)
|
||||
{
|
||||
int UserLevel = CalculateLevel(exp).Level;
|
||||
if (UserLevel >= 81)
|
||||
{
|
||||
return 104;
|
||||
}
|
||||
else if (UserLevel >= 70)
|
||||
{
|
||||
return 103;
|
||||
}
|
||||
else if (UserLevel >= 56)
|
||||
{
|
||||
return 102;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 101;
|
||||
}
|
||||
}
|
||||
|
||||
public LevelData CalculateExpForLevel(int level)
|
||||
{
|
||||
int exp = 0;
|
||||
|
||||
Reference in new issue
Block a user