mirror of
https://github.com/kwsch/pkNX.git
synced 2026-09-30 21:27:24 -05:00
Outbreak pretty dump: denote shiny rate standard/flat
This commit is contained in:
@@ -482,6 +482,7 @@ private static void WriteParent(IFileInternal ROM, StreamWriter sw, CachedOutbre
|
||||
not "" => $"-{enc.FormId} ({formName})",
|
||||
_ => string.Empty,
|
||||
};
|
||||
var shiny = enc.EnableRarePercentage ? $"{enc.RarePercentage}%" : "Standard";
|
||||
|
||||
sw.WriteLine($"ID: {enc.ID}");
|
||||
sw.WriteLine($"{species[(int)enc.DevId]}{form}");
|
||||
@@ -492,8 +493,7 @@ private static void WriteParent(IFileInternal ROM, StreamWriter sw, CachedOutbre
|
||||
sw.WriteLine($"Gender: {enc.Sex}");
|
||||
if (enc.EnableScaleRange)
|
||||
sw.WriteLine($"Scale: {enc.MinScale}-{enc.MaxScale}");
|
||||
if (enc.EnableRarePercentage)
|
||||
sw.WriteLine($"Shiny Rate: {enc.RarePercentage}%");
|
||||
sw.WriteLine($"Shiny Rate: {shiny}");
|
||||
if (enc.AddRibbonPercentage != 0)
|
||||
sw.WriteLine($"Ribbon/Mark: {ribbons[(int)enc.AddRibbonType - 1]} ({enc.AddRibbonPercentage}%)");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user