aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Addons/PvPMatchAddon.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Malmstone/Addons/PvPMatchAddon.cs')
-rw-r--r--Malmstone/Addons/PvPMatchAddon.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Malmstone/Addons/PvPMatchAddon.cs b/Malmstone/Addons/PvPMatchAddon.cs
index 41501e3..6086754 100644
--- a/Malmstone/Addons/PvPMatchAddon.cs
+++ b/Malmstone/Addons/PvPMatchAddon.cs
@@ -153,6 +153,17 @@ namespace Malmstone.Addons
{
Plugin.Chat.PrintError("[Malmstone Calculator] Unable to get current Frontline match results");
}
+ if(Plugin.PvPService.ConsecutiveThirdPlaceFrontline >= 1 && Plugin.Configuration.SavedFrontlineRewardBonus == 0)
+ {
+ Plugin.Logger.Debug("Primed For Buff! Next 3rd place will trigger losing streak bonus");
+ Plugin.Configuration.IsPrimedForBuff = true;
+ Plugin.Configuration.Save();
+ }
+ else
+ {
+ Plugin.Configuration.IsPrimedForBuff = false;
+ Plugin.Configuration.Save();
+ }
Plugin.PvPService.UpdateFrontlineResultCache();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage