diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-09-08 16:52:23 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-09-08 16:52:23 -0700 |
| commit | 031440201d24531d6a1d5a0e93579d76e1e4ba18 (patch) | |
| tree | 10e1651741457a0a0e16b28122ec24ab851aa87d /Malmstone/Windows/MainWindow.cs | |
| parent | 3a3a6613cd9783f421df0a152c8675a669910557 (diff) | |
add saving functionality to frontline reward bonus
- marks as outdated if FrontlineRecord listener is disabled at any point
Diffstat (limited to 'Malmstone/Windows/MainWindow.cs')
| -rw-r--r-- | Malmstone/Windows/MainWindow.cs | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Malmstone/Windows/MainWindow.cs b/Malmstone/Windows/MainWindow.cs index 8da004f..bd1ef5d 100644 --- a/Malmstone/Windows/MainWindow.cs +++ b/Malmstone/Windows/MainWindow.cs @@ -26,7 +26,7 @@ namespace Malmstone.Windows { SizeConstraints = new WindowSizeConstraints { - MinimumSize = new Vector2(460, 510), + MinimumSize = new Vector2(460, 530), MaximumSize = new Vector2(float.MaxValue, float.MaxValue) }; @@ -120,7 +120,7 @@ namespace Malmstone.Windows { if(Plugin.PvPService.CurrentFrontlineLosingBonus == 0) { - ImGui.TextColored(new Vector4(0.0f, 1.0f, 0.0f, 1.0f), "No Frontline Reward Bonus Currently Active"); + ImGui.Text("No Frontline Reward Bonus Currently Active"); } else { @@ -129,7 +129,19 @@ namespace Malmstone.Windows { ImGui.BeginTooltip(); ImGui.Text("You will earn a " + Plugin.PvPService.CurrentFrontlineLosingBonus + "%% bonus on PvP EXP, Series EXP, and Wolf Marks " + - "until attain First Place" ); + "until attaining First Place" ); + ImGui.EndTooltip(); + } + } + if (Plugin.Configuration.OutdatedFrontlineRewardBonus) + { + ImGui.SameLine(); + ImGui.TextColored(new Vector4(1.0f, 0.0f, 0.0f, 1.0f),"(Outdated)"); + if (ImGui.IsItemHovered()) + { + ImGui.BeginTooltip(); + ImGui.Text("This information may be outdated due to Frontline tracking loading and unloading!" + + "\nCalculations will refresh after your next match of Frontlines"); ImGui.EndTooltip(); } } |
