e190368d62
- Split into several projects - All dalamud/lumina deps are in the plugin - Crafty/craftingway sim implemented! - optimizations to follow
21 lines
684 B
C#
21 lines
684 B
C#
namespace Craftimizer.Simulator.Actions;
|
|
|
|
internal class ByregotsBlessing : BaseAction
|
|
{
|
|
public override ActionCategory Category => ActionCategory.Quality;
|
|
public override int Level => 50;
|
|
public override uint ActionId => 100339;
|
|
|
|
public override int CPCost => 24;
|
|
public override float Efficiency => 1.00f + (0.20f * (Simulation.GetEffect(EffectType.InnerQuiet)?.Strength ?? 0));
|
|
public override bool IncreasesQuality => true;
|
|
|
|
public override bool CanUse => Simulation.HasEffect(EffectType.InnerQuiet) && base.CanUse;
|
|
|
|
public override void UseSuccess()
|
|
{
|
|
base.UseSuccess();
|
|
Simulation.RemoveEffect(EffectType.InnerQuiet);
|
|
}
|
|
}
|