Add macro wait times
This commit is contained in:
@@ -11,6 +11,8 @@ public abstract class BaseAction
|
|||||||
public abstract int Level { get; }
|
public abstract int Level { get; }
|
||||||
// Doesn't matter from which class, we'll use the sheet to extrapolate the rest
|
// Doesn't matter from which class, we'll use the sheet to extrapolate the rest
|
||||||
public abstract uint ActionId { get; }
|
public abstract uint ActionId { get; }
|
||||||
|
// Seconds
|
||||||
|
public virtual int MacroWaitTime => 3;
|
||||||
|
|
||||||
// Action properties
|
// Action properties
|
||||||
public virtual bool IncreasesProgress => false;
|
public virtual bool IncreasesProgress => false;
|
||||||
@@ -75,7 +77,7 @@ public abstract class BaseAction
|
|||||||
if (!IncreasesStepCount)
|
if (!IncreasesStepCount)
|
||||||
builder.AppendLine($"Does Not Increase Step Count");
|
builder.AppendLine($"Does Not Increase Step Count");
|
||||||
if (SuccessRate(s) != 1f)
|
if (SuccessRate(s) != 1f)
|
||||||
builder.AppendLine($"{s.CalculateSuccessRate(SuccessRate(s)) * 100}%% Success Rate");
|
builder.AppendLine($"{s.CalculateSuccessRate(SuccessRate(s)) * 100:##}%% Success Rate");
|
||||||
return builder.ToString();
|
return builder.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ internal abstract class BaseBuffAction : BaseAction
|
|||||||
// Non-instanced properties
|
// Non-instanced properties
|
||||||
public abstract EffectType Effect { get; }
|
public abstract EffectType Effect { get; }
|
||||||
public virtual byte Duration => 1;
|
public virtual byte Duration => 1;
|
||||||
|
public override int MacroWaitTime => 2;
|
||||||
|
|
||||||
public sealed override int DurabilityCost => 0;
|
public sealed override int DurabilityCost => 0;
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ internal sealed class CarefulObservation : BaseAction
|
|||||||
public override ActionCategory Category => ActionCategory.Other;
|
public override ActionCategory Category => ActionCategory.Other;
|
||||||
public override int Level => 55;
|
public override int Level => 55;
|
||||||
public override uint ActionId => 100395;
|
public override uint ActionId => 100395;
|
||||||
|
public override int MacroWaitTime => 3;
|
||||||
|
|
||||||
public override int DurabilityCost => 0;
|
public override int DurabilityCost => 0;
|
||||||
public override bool IncreasesStepCount => false;
|
public override bool IncreasesStepCount => false;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ internal sealed class HeartAndSoul : BaseBuffAction
|
|||||||
public override ActionCategory Category => ActionCategory.Other;
|
public override ActionCategory Category => ActionCategory.Other;
|
||||||
public override int Level => 86;
|
public override int Level => 86;
|
||||||
public override uint ActionId => 100419;
|
public override uint ActionId => 100419;
|
||||||
|
public override int MacroWaitTime => 3;
|
||||||
|
|
||||||
public override bool IncreasesStepCount => false;
|
public override bool IncreasesStepCount => false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user