aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Addons
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-06 23:28:42 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-07 00:00:11 -0700
commit728d9ff38a19f0a8b72bcb004d56edabec138af8 (patch)
treee9ca217f591ccb4b4b7071e6f6ab25afdf5710c6 /Malmstone/Addons
parent4ce9ff0b50ebc95078459ba3108c9390dfc7aa84 (diff)
add toast and chat notification override if default series level is reached
Diffstat (limited to 'Malmstone/Addons')
-rw-r--r--Malmstone/Addons/PvPMatchAddon.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Malmstone/Addons/PvPMatchAddon.cs b/Malmstone/Addons/PvPMatchAddon.cs
index 1785b29..78e0e38 100644
--- a/Malmstone/Addons/PvPMatchAddon.cs
+++ b/Malmstone/Addons/PvPMatchAddon.cs
@@ -95,6 +95,8 @@ namespace Malmstone.Addons
{
PvPSeriesInfo? seriesInfo = Plugin.PvPService.GetPvPSeriesInfo();
if (seriesInfo == null) return;
+ if (Plugin.Configuration.SkipProgressionToastAfterGoal && seriesInfo.CurrentSeriesRank >= Plugin.Configuration.DefaultTargetRankProperty) return;
+
switch (Plugin.Configuration.PostmatchProgressionToastType)
{
case 0:
@@ -119,6 +121,7 @@ namespace Malmstone.Addons
private void ShowSeriesProgressionMessage(PvPSeriesInfo seriesInfo, PvPContentType contentType)
{
+ if (Plugin.Configuration.SkipProgressionChatAfterGoal && seriesInfo.CurrentSeriesRank >= Plugin.Configuration.DefaultTargetRankProperty) return;
var seString = new SeString(new List<Payload>());
switch (contentType)
{
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage