Big changes 2
- Split into several projects - All dalamud/lumina deps are in the plugin - Crafty/craftingway sim implemented! - optimizations to follow
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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 };
|
||||
}
|
||||
Reference in New Issue
Block a user