Files
Craftimizer/Simulator/Actions/Groundwork.cs
T
2023-06-21 13:20:05 -07:00

20 lines
646 B
C#

namespace Craftimizer.Simulator.Actions;
internal sealed class Groundwork : BaseAction
{
public override ActionCategory Category => ActionCategory.Synthesis;
public override int Level => 72;
public override uint ActionId => 100403;
public override bool IncreasesProgress => true;
public override int DurabilityCost => 20;
public override int CPCost(Simulator s) => 18;
public override float Efficiency(Simulator s)
{
// Groundwork Mastery Trait
var ret = s.Input.Stats.Level >= 86 ? 3.60f : 3.00f;
return s.Durability < s.CalculateDurabilityCost(DurabilityCost) ? ret / 2 : ret;
}
}