Remove ref passing, but keep devirtualizations

This commit is contained in:
Asriel Camora
2024-03-16 13:24:26 -07:00
parent 3223bdcbfb
commit ec77f1d021
48 changed files with 411 additions and 787 deletions
+5 -13
View File
@@ -1,18 +1,10 @@
namespace Craftimizer.Simulator.Actions;
internal sealed class Veneration : BaseBuffAction
internal sealed class Veneration() : BaseBuffAction(
ActionCategory.Buffs, 15, 19297,
EffectType.Veneration, duration: 4,
defaultCPCost: 18
)
{
public Veneration()
{
Category = ActionCategory.Buffs;
Level = 15;
ActionId = 19297;
Effect = EffectType.Veneration;
Duration = 4;
}
public override void CPCost(Simulator s, ref int cost)
{
cost = 18;
}
}