aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Addons
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-08-26 12:37:14 -0700
committerPinapelz <yukais@pinapelz.com>2025-08-26 12:45:15 -0700
commit39fc1030895a27f4a363670a1ca2c0c8508e2b47 (patch)
treee30f3afb73b858bc703cff804584e19612dd58e9 /Malmstone/Addons
parent26a0ade115f6d12cd67d8bcc2f31d367a5e70fee (diff)
implement showing estimate of number of matches to be played
Diffstat (limited to 'Malmstone/Addons')
-rw-r--r--Malmstone/Addons/PvPMatchAddon.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Malmstone/Addons/PvPMatchAddon.cs b/Malmstone/Addons/PvPMatchAddon.cs
index 00f9399..b50d3f9 100644
--- a/Malmstone/Addons/PvPMatchAddon.cs
+++ b/Malmstone/Addons/PvPMatchAddon.cs
@@ -214,7 +214,8 @@ namespace Malmstone.Addons
seString.Append(new TextPayload("[Crystalline Conflict to Level " + TargetGoal + "]\n"));
seString.Append(new UIForegroundPayload(35));
seString.Append(new TextPayload($"Win: {ccResultData.CrystallineConflictWin} " + (ccResultData.CrystallineConflictWin == 1 ? "time" : "times") + "\n"));
- seString.Append(new TextPayload($"Lose: {ccResultData.CrystallineConflictLose} " + (ccResultData.CrystallineConflictLose == 1 ? "time" : "times")));
+ seString.Append(new TextPayload($"Lose: {ccResultData.CrystallineConflictLose} " + (ccResultData.CrystallineConflictLose == 1 ? "time" : "times") + "\n"));
+ seString.Append(new TextPayload($"Estimated Matches: {ccResultData.CrystallineConflictExpectedMatches}\n"));
seString.Append(UIForegroundPayload.UIForegroundOff);
break;
case PvPContentType.Frontlines:
@@ -226,6 +227,7 @@ namespace Malmstone.Addons
seString.Append(new TextPayload($"Take 1st Place: {flResultData.FrontlineWin} " + (flResultData.FrontlineWin == 1 ? "time" : "times") +" (" + (flResultData.FrontlineDailyWin) + ")\n"));
seString.Append(new TextPayload($"Take 2nd Place: {flResultData.FrontlineWin} " + (flResultData.FrontlineWin == 1 ? "time" : "times") + " (" + (flResultData.FrontlineDailyLose2nd) + ")\n"));
seString.Append(new TextPayload($"Take 3rd Place: {flResultData.FrontlineWin} " + (flResultData.FrontlineWin == 1 ? "time" : "times") + " (" + (flResultData.FrontlineDailyLose3rd) + ")\n"));
+ seString.Append(new TextPayload($"Estimated Matches: {flResultData.FrontlineExpectedMatches} (" + (flResultData.FrontlineDailyExpectedMatches) + ")\n"));
seString.Append(new TextPayload($"Frontline Roulette Shown in Parentheses"));
seString.Append(UIForegroundPayload.UIForegroundOff);
break;
@@ -236,7 +238,8 @@ namespace Malmstone.Addons
seString.Append(new TextPayload("[Rival Wings to Level " + TargetGoal + "]\n"));
seString.Append(new UIForegroundPayload(43));
seString.Append(new TextPayload($"Win: {rwResultData.RivalWingsWin} " + (rwResultData.RivalWingsWin == 1 ? "time" : "times") + "\n"));
- seString.Append(new TextPayload($"Lose: {rwResultData.RivalWingsLose} " + (rwResultData.RivalWingsLose == 1 ? "time" : "times")));
+ seString.Append(new TextPayload($"Lose: {rwResultData.RivalWingsLose} " + (rwResultData.RivalWingsLose == 1 ? "time" : "times") + "\n"));
+ seString.Append(new TextPayload($"Estimated Matches: {rwResultData.RivalWingsExpectedMatches}\n"));
seString.Append(UIForegroundPayload.UIForegroundOff);
break;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage