Skip to content

Commit

Permalink
更新照片描述
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed Sep 27, 2024
1 parent b45684e commit 5031e12
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions VPet-Simulator.Windows.Interface/Mod/Photo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,19 @@ public string CheckReason(GameSave_v2 gamesave)
// sb.AppendLine("花费${0} 或 满足以下条件:".Translate(SellPrice));

//基础条件
if (Level > 0)
sb.AppendLine("等级要求: {0}".Translate(Level));

if (LevelMax > 0)
if (gamesave.GameSave.LevelMax == 0)//玩家不知道LevelMax, 用通俗易懂的方式解释下
sb.AppendLine("等级要求: {0}".Translate(1000 + (LevelMax - 1) * 100));
else
{
sb.AppendLine("等级突破要求: {0}".Translate(LevelMax));
if (Level > 0)
sb.AppendLine("等级要求: {0}".Translate(Level));
}

else if (Level > 0)
sb.AppendLine("等级要求: {0}".Translate(Level));
if (Money > 0)
sb.AppendLine("金钱要求: ${0}".Translate(Money));
if (Likability > 0)
Expand Down

0 comments on commit 5031e12

Please sign in to comment.