equipment switching & level up with avatar level up fix

This commit is contained in:
rafi1212122
2023-06-03 08:39:32 +07:00
parent 1a631babe2
commit 3eef557a14
8 changed files with 236 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ namespace Common.Utils.ExcelReader
return All.Where(levelData => levelData.Level == level).FirstOrDefault();
}
public readonly struct LevelData
public struct LevelData
{
public LevelData(int level, int exp)
{
@@ -18,8 +18,8 @@ namespace Common.Utils.ExcelReader
Exp = exp;
}
public int Level { get; init; }
public int Exp { get; init; }
public int Level { get; set; }
public int Exp { get; set; }
}
public LevelData CalculateLevel(int exp)