diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-09-16 21:48:11 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-09-16 21:48:11 -0700 |
| commit | 745b939bb15bf41725d4e86e65366a1a8793bbc7 (patch) | |
| tree | 07b190c52400d8bd6ac960d8b8b21e9e779e0952 /Malmstone/Windows/ConfigWindow.cs | |
| parent | 481ec3932c98771310cf9d834ebad8446b01f5c4 (diff) | |
add option to replace in game UI series level with plugin tracked series level (tracking for series level above 30)
Diffstat (limited to 'Malmstone/Windows/ConfigWindow.cs')
| -rw-r--r-- | Malmstone/Windows/ConfigWindow.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Malmstone/Windows/ConfigWindow.cs b/Malmstone/Windows/ConfigWindow.cs index 3d3bd4e..1174940 100644 --- a/Malmstone/Windows/ConfigWindow.cs +++ b/Malmstone/Windows/ConfigWindow.cs @@ -280,6 +280,46 @@ public class ConfigWindow : Window, IDisposable } ImGui.SameLine(); ImGui.Text("Show calculations when viewing Series Malmstones"); + ImGui.Separator(); + var showTrueSeriesLevelPVPReward = Configuration.ShowTrueSeriesLevelPVPReward; + if (ImGui.Checkbox("##ShowTrueSeriesLevelPVPReward", ref showTrueSeriesLevelPVPReward)) + { + if (showTrueSeriesLevelPVPReward) + Plugin.EnablePVPRewardReplaceSeriesLevel(); + else + Plugin.DisablePVPRewardReplaceSeriesLevel(); + Configuration.ShowTrueSeriesLevelPVPReward = showTrueSeriesLevelPVPReward; + Configuration.Save(); + } + if (ImGui.IsItemHovered()) + { + ImGui.BeginTooltip(); + ImGui.Text("Show plugin tracked Series Level in the PVP Reward window (supports Series Levels above 30)"); + ImGui.EndTooltip(); + } + ImGui.SameLine(); + ImGui.Text("Show true Series Level in PVP Reward window"); + + var showTrueSeriesLevelPVPProfile = Configuration.ShowTrueSeriesLevelPVPProfile; + if (ImGui.Checkbox("##ShowTrueSeriesLevelPVPProfile", ref showTrueSeriesLevelPVPProfile)) + { + if (showTrueSeriesLevelPVPProfile) + Plugin.EnablePVPProfileReplaceSeriesLevel(); + else + Plugin.DisablePVPProfileReplaceSeriesLevel(); + Configuration.ShowTrueSeriesLevelPVPProfile = showTrueSeriesLevelPVPProfile; + Configuration.Save(); + } + if (ImGui.IsItemHovered()) + { + ImGui.BeginTooltip(); + ImGui.Text("Show plugin tracked Series Level in the PVP Profile window (supports Series Levels above 30)"); + ImGui.EndTooltip(); + } + ImGui.SameLine(); + ImGui.Text("Show true Series Level in PVP Profile window"); + + ImGui.EndTabItem(); } |
