经验数据同步,更名逻辑上传
This commit is contained in:
@@ -61,14 +61,7 @@ namespace TcgEngine
|
||||
return Mathf.FloorToInt(xp / 1000) + 1;
|
||||
}
|
||||
|
||||
public float GetLevelProgress()
|
||||
{
|
||||
int currentLeve = GetLevel();
|
||||
int baseXp = (currentLeve - 1) * 1000;
|
||||
int xpIntoCurrentLevel = xp - baseXp;
|
||||
return (float)xpIntoCurrentLevel / 1000f;
|
||||
|
||||
}
|
||||
|
||||
public string GetAvatar()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user