Add Drop.json Path Setting

Update Drop.json Editor UI
This commit is contained in:
jie65535 committed 2022-10-26 13:03:54 +08:00
1 parent c860180564
commit 60e54b1c91
7 files changed
+189 -53

No files matched your search

@@ -50,7 +50,10 @@ namespace GrasscutterTools.Game.Drop
public override string ToString()
{
return $"{ItemId} x{MinCount}~x{MaxCount} [{MinWeight}~{MaxWeight}]";
if (MinCount != MaxCount)
return $"{ItemId}:{GameData.Items[ItemId]} | x[{MinCount}~{MaxCount}] w[{MinWeight}~{MaxWeight}]";
else
return $"{ItemId}:{GameData.Items[ItemId]} | x{MinCount} w[{MinWeight}~{MaxWeight}]";
}
}
}