Optimizations (from @wolfcomp)
This commit is contained in:
@@ -2,13 +2,25 @@ namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal sealed class DelicateSynthesis : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Synthesis;
|
||||
public override int Level => 76;
|
||||
public override uint ActionId => 100323;
|
||||
public int CP = 32;
|
||||
public int Eff = 100;
|
||||
|
||||
public override bool IncreasesProgress => true;
|
||||
public override bool IncreasesQuality => true;
|
||||
public DelicateSynthesis()
|
||||
{
|
||||
Category = ActionCategory.Synthesis;
|
||||
Level = 76;
|
||||
ActionId = 100323;
|
||||
IncreasesProgress = true;
|
||||
IncreasesQuality = true;
|
||||
}
|
||||
|
||||
public override int CPCost(Simulator s) => 32;
|
||||
public override int Efficiency(Simulator s) => 100;
|
||||
public override void CPCost(Simulator s, ref int cost)
|
||||
{
|
||||
cost = CP;
|
||||
}
|
||||
|
||||
public override void Efficiency(Simulator s, ref int eff)
|
||||
{
|
||||
eff = Eff;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user