ma abyss & chapter 37 fix

This commit is contained in:
rafi1212122
2023-06-04 10:29:08 +07:00
parent 127dc1b345
commit 7c19038c3c
14 changed files with 441 additions and 1 deletions

View File

@@ -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;