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
+6 -3
View File
@@ -5,10 +5,13 @@ public abstract class BaseComboAction : BaseAction
public abstract ActionType ActionTypeA { get; }
public abstract ActionType ActionTypeB { get; }
public sealed override ActionCategory Category => ActionCategory.Combo;
public BaseComboAction()
{
Category = ActionCategory.Combo;
}
protected bool BaseCouldUse(Simulator s) =>
base.CouldUse(s);
protected bool BaseCouldUse(Simulator s, ref int cost) =>
base.CouldUse(s, ref cost);
private static bool VerifyDurability2(int durabilityA, int durability, in Effects effects)
{