aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Plugin.cs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-08 15:14:44 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-08 15:14:44 -0700
commit3a3a6613cd9783f421df0a152c8675a669910557 (patch)
tree0f7bc304079e7e829b4897953a0d4fb57a0d4e0f /Malmstone/Plugin.cs
parent728d9ff38a19f0a8b72bcb004d56edabec138af8 (diff)
add preliminary frontline losing streak bonus tracking
Diffstat (limited to 'Malmstone/Plugin.cs')
-rw-r--r--Malmstone/Plugin.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Malmstone/Plugin.cs b/Malmstone/Plugin.cs
index 5ed6a65..87ebb06 100644
--- a/Malmstone/Plugin.cs
+++ b/Malmstone/Plugin.cs
@@ -48,12 +48,14 @@ public sealed class Plugin : IDalamudPlugin
PvPAddon.EnableCrystallineConflictPostMatch();
if (Configuration.ShowProgressionChatPostRW)
PvPAddon.EnableRivalWingsPostMatch();
- if (Configuration.ShowProgressionChatPostFL)
+ if (Configuration.ShowProgressionChatPostFL || Configuration.TrackFrontlineBonus)
PvPAddon.EnableFrontlinePostMatch();
if (Configuration.ShowProgressionToastPostMatch)
PvPAddon.EnablePostMatchProgressionToast();
if (Configuration.ShowMainWindowOnPVPReward)
EnablePVPRewardWindowAddon();
+
+ PvPService.UpdateFrontlineResultCache();
if (Configuration.PostmatchProgressionToastType < 0 || Configuration.PostmatchProgressionToastType > 2)
{
@@ -84,13 +86,13 @@ public sealed class Plugin : IDalamudPlugin
PvPAddon.DisableCrystallineConflictPostMatch();
if (Configuration.ShowProgressionChatPostRW)
PvPAddon.DisableRivalWingsPostMatch();
- if (Configuration.ShowProgressionChatPostFL)
+ if (Configuration.ShowProgressionChatPostFL || Configuration.TrackFrontlineBonus)
PvPAddon.DisableFrontlinePostMatch();
if (Configuration.ShowProgressionToastPostMatch)
PvPAddon.DisablePostMatchProgressionToast();
if(Configuration.ShowMainWindowOnPVPReward)
DisablePVPRewardWindowAddon();
-
+
CommandManager.RemoveHandler(CommandName);
}
@@ -254,5 +256,6 @@ private void OnCommand(string command, string args)
AddonLifeCycle.UnregisterListener(AddonEvent.PostSetup, "PvpReward", MainWindow.OnOpenPVPRewardWindow);
AddonLifeCycle.UnregisterListener(AddonEvent.PreFinalize, "PvpReward", MainWindow.OnClosePVPRewardWindow);
}
+
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage