Remove ref passing, but keep devirtualizations
This commit is contained in:
@@ -1,26 +1,11 @@
|
||||
namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal sealed class DelicateSynthesis : BaseAction
|
||||
internal sealed class DelicateSynthesis() : BaseAction(
|
||||
ActionCategory.Synthesis, 76, 100323,
|
||||
increasesProgress: true, increasesQuality: true,
|
||||
defaultCPCost: 32,
|
||||
defaultEfficiency: 100
|
||||
)
|
||||
{
|
||||
public int CP = 32;
|
||||
public int Eff = 100;
|
||||
|
||||
public DelicateSynthesis()
|
||||
{
|
||||
Category = ActionCategory.Synthesis;
|
||||
Level = 76;
|
||||
ActionId = 100323;
|
||||
IncreasesProgress = true;
|
||||
IncreasesQuality = true;
|
||||
}
|
||||
|
||||
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