Optimizations (from @wolfcomp)
This commit is contained in:
@@ -2,12 +2,24 @@ namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal sealed class BasicTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 5;
|
||||
public override uint ActionId => 100002;
|
||||
public int CP = 18;
|
||||
public int eff = 100;
|
||||
|
||||
public override bool IncreasesQuality => true;
|
||||
public BasicTouch()
|
||||
{
|
||||
Category = ActionCategory.Quality;
|
||||
Level = 5;
|
||||
ActionId = 100002;
|
||||
IncreasesQuality = true;
|
||||
}
|
||||
|
||||
public override int CPCost(Simulator s) => 18;
|
||||
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 = this.eff;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user