mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-21 19:59:48 +08:00
Add Drop.json Path Setting
Update Drop.json Editor UI
This commit is contained in:
@@ -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}]";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user