修正任务时间转换

This commit is contained in:
YiHan0621
2025-09-10 15:23:49 +08:00
parent 601ec86256
commit bf13498f86
4 changed files with 130 additions and 94 deletions

View File

@@ -62,8 +62,6 @@ namespace TcgEngine
{
int currentLeve = GetLevel();
int baseXp = (currentLeve - 1) * 1000;
Debug.LogError(xp);
// 距离下一级还需多少经验值
int xpIntoCurrentLevel = xp - baseXp;
return (float)xpIntoCurrentLevel / 1000f;