Skip to content

Commit

Permalink
Merge pull request #70 from lichie567/develop
Browse files Browse the repository at this point in the history
fix maxhitname and add color selector for limit break
  • Loading branch information
lichie567 authored Jul 21, 2024
2 parents 5c94a5a + 7f36253 commit 2356548
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
3 changes: 3 additions & 0 deletions LMeter/ACT/DataStructures/Combatant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public class Combatant : IActData<Combatant>
[JsonProperty("maxhit")]
public string MaxHit { get; set; } = string.Empty;

[JsonProperty("MAXHIT")]
private string _maxHit { get; set; } = string.Empty;

[TextTag]
public LazyString<string?> MaxHitName { get; set; }

Expand Down
12 changes: 7 additions & 5 deletions LMeter/Config/BarColorsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,35 +100,34 @@ public void DrawConfig(Vector2 size, float padX, float padY, bool border = true)
DrawHelpers.DrawColorSelector("WAR", ref this.WARColor);
DrawHelpers.DrawColorSelector("DRK", ref this.DRKColor);
DrawHelpers.DrawColorSelector("GNB", ref this.GNBColor);

ImGui.NewLine();

DrawHelpers.DrawColorSelector("SCH", ref this.SCHColor);
DrawHelpers.DrawColorSelector("WHM", ref this.WHMColor);
DrawHelpers.DrawColorSelector("AST", ref this.ASTColor);
DrawHelpers.DrawColorSelector("SGE", ref this.SGEColor);
ImGui.NewLine();

ImGui.NewLine();
DrawHelpers.DrawColorSelector("MNK", ref this.MNKColor);
DrawHelpers.DrawColorSelector("NIN", ref this.NINColor);
DrawHelpers.DrawColorSelector("DRG", ref this.DRGColor);
DrawHelpers.DrawColorSelector("SAM", ref this.SAMColor);
DrawHelpers.DrawColorSelector("RPR", ref this.RPRColor);
DrawHelpers.DrawColorSelector("VPR", ref this.VPRColor);
ImGui.NewLine();

ImGui.NewLine();
DrawHelpers.DrawColorSelector("BRD", ref this.BRDColor);
DrawHelpers.DrawColorSelector("MCH", ref this.MCHColor);
DrawHelpers.DrawColorSelector("DNC", ref this.DNCColor);
ImGui.NewLine();

ImGui.NewLine();
DrawHelpers.DrawColorSelector("BLM", ref this.BLMColor);
DrawHelpers.DrawColorSelector("SMN", ref this.SMNColor);
DrawHelpers.DrawColorSelector("RDM", ref this.RDMColor);
DrawHelpers.DrawColorSelector("PCT", ref this.PCTColor);
DrawHelpers.DrawColorSelector("BLU", ref this.BLUColor);

ImGui.NewLine();

DrawHelpers.DrawColorSelector("GLA", ref this.GLAColor);
DrawHelpers.DrawColorSelector("MRD", ref this.MRDColor);
DrawHelpers.DrawColorSelector("CNJ", ref this.CNJColor);
Expand All @@ -138,6 +137,9 @@ public void DrawConfig(Vector2 size, float padX, float padY, bool border = true)
DrawHelpers.DrawColorSelector("ARC", ref this.ARCColor);
DrawHelpers.DrawColorSelector("THM", ref this.THMColor);
DrawHelpers.DrawColorSelector("ACN", ref this.ACNColor);

ImGui.NewLine();
DrawHelpers.DrawColorSelector("Limit Break", ref this.UKNColor);
}

ImGui.EndChild();
Expand Down
6 changes: 3 additions & 3 deletions LMeter/LMeter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<!-- Assembly Configuration -->
<PropertyGroup>
<AssemblyName>LMeter</AssemblyName>
<AssemblyVersion>0.4.0.1</AssemblyVersion>
<FileVersion>0.4.0.1</FileVersion>
<InformationalVersion>0.4.0.1</InformationalVersion>
<AssemblyVersion>0.4.0.2</AssemblyVersion>
<FileVersion>0.4.0.2</FileVersion>
<InformationalVersion>0.4.0.2</InformationalVersion>
</PropertyGroup>

<!-- Build Configuration -->
Expand Down
2 changes: 1 addition & 1 deletion LMeter/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Plugin : IDalamudPlugin
{
public const string ConfigFileName = "LMeter.json";

public static string Version { get; private set; } = "0.4.0.1";
public static string Version { get; private set; } = "0.4.0.2";
public static string ConfigFileDir { get; private set; } = "";
public static string ConfigFilePath { get; private set; } = "";
public static string AssemblyFileDir { get; private set; } = "";
Expand Down
4 changes: 4 additions & 0 deletions LMeter/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 0.4.0.2
- Fix issue with maxhitname text tag
- Added bar color selector for Limit Break

# Version 0.4.0.1
- Fix bug causing many numbers to show 0

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.4.0.1")]
[assembly: AssemblyFileVersion("0.4.0.1")]
[assembly: AssemblyVersion("0.4.0.2")]
[assembly: AssemblyFileVersion("0.4.0.2")]

0 comments on commit 2356548

Please sign in to comment.