aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Plugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Malmstone/Plugin.cs')
-rw-r--r--Malmstone/Plugin.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Malmstone/Plugin.cs b/Malmstone/Plugin.cs
index f9b366a..bb877fd 100644
--- a/Malmstone/Plugin.cs
+++ b/Malmstone/Plugin.cs
@@ -190,6 +190,11 @@ private void OnCommand(string command, string args)
{
seString.Append(new TextPayload($"Lose: {xpResult.CrystallineConflictLose} " + (xpResult.CrystallineConflictLose == 1 ? "time" : "times") + "\n"));
}
+
+ if(xpResult.CrystallineConflictExpectedMatches > 0)
+ {
+ seString.Append(new TextPayload($"Estimate: {xpResult.CrystallineConflictExpectedMatches} " + (xpResult.CrystallineConflictExpectedMatches == 1 ? "match" : "matches") + "\n"));
+ }
seString.Append(UIForegroundPayload.UIForegroundOff);
}
@@ -214,6 +219,11 @@ private void OnCommand(string command, string args)
{
seString.Append(new TextPayload($"Take 3rd Place: {xpResult.FrontlineLose3rd} " + (xpResult.FrontlineLose3rd == 1 ? "time" : "times") + "\n"));
}
+
+ if (xpResult.FrontlineExpectedMatches > 0)
+ {
+ seString.Append(new TextPayload($"Estimate: {xpResult.FrontlineExpectedMatches} " + (xpResult.FrontlineExpectedMatches == 1 ? "match" : "matches") + "\n"));
+ }
seString.Append(UIForegroundPayload.UIForegroundOff);
@@ -234,6 +244,11 @@ private void OnCommand(string command, string args)
{
seString.Append(new TextPayload($"Take 3rd Place: {xpResult.FrontlineDailyLose3rd} " + (xpResult.FrontlineDailyLose3rd == 1 ? "time" : "times") + "\n"));
}
+
+ if (xpResult.FrontlineDailyExpectedMatches > 0)
+ {
+ seString.Append(new TextPayload($"Estimate: {xpResult.FrontlineDailyExpectedMatches} " + (xpResult.FrontlineDailyExpectedMatches == 1 ? "match" : "matches") + "\n"));
+ }
seString.Append(UIForegroundPayload.UIForegroundOff);
}
@@ -253,6 +268,11 @@ private void OnCommand(string command, string args)
{
seString.Append(new TextPayload($"Lose: {xpResult.RivalWingsLose} " + (xpResult.RivalWingsLose == 1 ? "time" : "times") + "\n"));
}
+
+ if (xpResult.RivalWingsExpectedMatches > 0)
+ {
+ seString.Append(new TextPayload($"Estimate: {xpResult.RivalWingsExpectedMatches} " + (xpResult.RivalWingsExpectedMatches == 1 ? "match" : "matches") + "\n"));
+ }
seString.Append(UIForegroundPayload.UIForegroundOff);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage