Optimizations (from @wolfcomp)
This commit is contained in:
@@ -2,11 +2,16 @@ namespace Craftimizer.Simulator.Actions;
|
||||
|
||||
internal sealed class Observe : BaseAction
|
||||
{
|
||||
public override ActionCategory Category => ActionCategory.Other;
|
||||
public override int Level => 13;
|
||||
public override uint ActionId => 100010;
|
||||
public Observe()
|
||||
{
|
||||
Category = ActionCategory.Other;
|
||||
Level = 13;
|
||||
ActionId = 100010;
|
||||
DurabilityCost = 0;
|
||||
}
|
||||
|
||||
public override int DurabilityCost => 0;
|
||||
|
||||
public override int CPCost(Simulator s) => 7;
|
||||
public override void CPCost(Simulator s, ref int cost)
|
||||
{
|
||||
cost = 7;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user