e190368d62
- Split into several projects - All dalamud/lumina deps are in the plugin - Crafty/craftingway sim implemented! - optimizations to follow
15 lines
457 B
C#
15 lines
457 B
C#
namespace Craftimizer.Simulator;
|
|
|
|
public readonly record struct Effect
|
|
{
|
|
public EffectType Type { get; init; }
|
|
public int? Duration { get; init; }
|
|
public int? Strength { get; init; }
|
|
|
|
public bool HasDuration => Duration != null;
|
|
public bool HasStrength => Strength != null;
|
|
|
|
public Effect DecrementDuration() => this with { Duration = Duration - 1 };
|
|
public Effect IncrementStrength() => this with { Strength = Strength + 1 };
|
|
}
|