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
+13 -7
View File
@@ -2,12 +2,18 @@ namespace Craftimizer.Simulator.Actions;
internal sealed class Innovation : BaseBuffAction
{
public override ActionCategory Category => ActionCategory.Buffs;
public override int Level => 26;
public override uint ActionId => 19004;
public Innovation()
{
Level = 26;
Effect = EffectType.Innovation;
MacroWaitTime = 3;
ActionId = 19004;
Category = ActionCategory.Buffs;
Duration = 4;
}
public override EffectType Effect => EffectType.Innovation;
public override byte Duration => 4;
public override int CPCost(Simulator s) => 18;
public override void CPCost(Simulator s, ref int cost)
{
cost = 18;
}
}