From 728d9ff38a19f0a8b72bcb004d56edabec138af8 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 6 Sep 2024 23:28:42 -0700 Subject: add toast and chat notification override if default series level is reached --- Malmstone/Addons/PvPMatchAddon.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Malmstone/Addons/PvPMatchAddon.cs') 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()); switch (contentType) { -- cgit v1.2.3