mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
Fix Fate aging step; report Tuliyollal taxes
- FATE table test needs a zone with FATEs in it. - Use a `byte` rather than an `int` so we don't overflow like crazy.
This commit is contained in:
parent
bdc24ad23e
commit
d7abf9fe0d
2 changed files with 8 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ namespace Dalamud.Interface.Internal.Windows.SelfTest.AgingSteps;
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal class FateTableAgingStep : IAgingStep
|
internal class FateTableAgingStep : IAgingStep
|
||||||
{
|
{
|
||||||
private int index = 0;
|
private byte index = 0;
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public string Name => "Test FateTable";
|
public string Name => "Test FateTable";
|
||||||
|
|
@ -21,6 +21,12 @@ internal class FateTableAgingStep : IAgingStep
|
||||||
|
|
||||||
ImGui.Text("Checking fate table...");
|
ImGui.Text("Checking fate table...");
|
||||||
|
|
||||||
|
if (fateTable.Length == 0)
|
||||||
|
{
|
||||||
|
ImGui.Text("Go to a zone that has FATEs currently up.");
|
||||||
|
return SelfTestStepResult.Waiting;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.index == fateTable.Length - 1)
|
if (this.index == fateTable.Length - 1)
|
||||||
{
|
{
|
||||||
return SelfTestStepResult.Pass;
|
return SelfTestStepResult.Pass;
|
||||||
|
|
|
||||||
|
|
@ -169,6 +169,7 @@ internal class MarketBoardAgingStep : IAgingStep
|
||||||
ImGui.Text($"Kugane: {this.marketTaxRate.KuganeTax.ToString()}");
|
ImGui.Text($"Kugane: {this.marketTaxRate.KuganeTax.ToString()}");
|
||||||
ImGui.Text($"Crystarium: {this.marketTaxRate.CrystariumTax.ToString()}");
|
ImGui.Text($"Crystarium: {this.marketTaxRate.CrystariumTax.ToString()}");
|
||||||
ImGui.Text($"Sharlayan: {this.marketTaxRate.SharlayanTax.ToString()}");
|
ImGui.Text($"Sharlayan: {this.marketTaxRate.SharlayanTax.ToString()}");
|
||||||
|
ImGui.Text($"Tuliyollal: {this.marketTaxRate.TuliyollalTax.ToString()}");
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
if (ImGui.Button("Looks Correct / Skip"))
|
if (ImGui.Button("Looks Correct / Skip"))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue