Optimizations (from @wolfcomp)
This commit is contained in:
@@ -2,19 +2,28 @@ namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal sealed class PreparatoryTouch : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Quality;
|
||||
public override int Level => 71;
|
||||
public override uint ActionId => 100299;
|
||||
|
||||
public override bool IncreasesQuality => true;
|
||||
public override int DurabilityCost => 20;
|
||||
|
||||
public override int CPCost(Simulator s) => 40;
|
||||
public override int Efficiency(Simulator s) => 200;
|
||||
|
||||
public override void UseSuccess(Simulator s)
|
||||
public PreparatoryTouch()
|
||||
{
|
||||
base.UseSuccess(s);
|
||||
Category = ActionCategory.Quality;
|
||||
Level = 71;
|
||||
ActionId = 100299;
|
||||
IncreasesQuality = true;
|
||||
DurabilityCost = 20;
|
||||
}
|
||||
|
||||
public override void CPCost(Simulator s, ref int cost)
|
||||
{
|
||||
cost = 40;
|
||||
}
|
||||
|
||||
public override void Efficiency(Simulator s, ref int eff)
|
||||
{
|
||||
eff = 200;
|
||||
}
|
||||
|
||||
public override void UseSuccess(Simulator s, ref int eff)
|
||||
{
|
||||
base.UseSuccess(s, ref eff);
|
||||
s.StrengthenEffect(EffectType.InnerQuiet);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user