Optimizations (from @wolfcomp)

This commit is contained in:
Asriel Camora
2024-03-15 09:49:03 -07:00
parent ea963f9e1b
commit 3223bdcbfb
43 changed files with 691 additions and 354 deletions
+11 -6
View File
@@ -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;
}
}