Exemple #1
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(32);
     craftActions.UseDurability(10);
     craftActions.Touch(150);
     craftActions.Synth(Synth.FromEfficiency(150));
 }
Exemple #2
0
        public override void Execute(ICraftActions craftActions, bool isSuccess)
        {
            craftActions.UseCraftPoints(18);
            var durability = craftActions.CalculateDependency((a, b, c) => (int)b.MapNymeriasWheelStacks(a.GetBuff <WhistleBuff>().Stacks));

            craftActions.RestoreDurability(durability);
        }
Exemple #3
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(8);
     craftActions.UseDurability(10);
     craftActions.Touch(100);
     if (isSuccess)
     {
         craftActions.ApplyBuff(new InnovationBuff());
     }
 }
Exemple #4
0
        public override void Execute(ICraftActions craftActions, bool isSuccess)
        {
            var craftPoints = craftActions.CalculateDependency((a, b, c) =>
            {
                var stacks = a.GetBuff <InnerQuietBuff>().Stacks - 1;
                a.GetBuff <InnerQuietBuff>().Kill();
                return((21 * stacks - Math.Pow(stacks, 2) + 10) / 2);
            });

            craftActions.RestoreCraftPoints((int)craftPoints);
        }
Exemple #5
0
        public override void Execute(ICraftActions craftActions, bool isSuccess)
        {
            craftActions.UseCraftPoints(20);
            var makersMarkStacks = (int)Math.Round((double)craftActions.CalculateDependency((a, b, c) => c.Difficulty) / 100);

            if (makersMarkStacks == 0)
            {
                makersMarkStacks = 1;
            }
            craftActions.ApplyBuff(new MakersMarkBuff(makersMarkStacks));
        }
Exemple #6
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(66);
     craftActions.ApplyBuff(new ComfortZoneBuff());
 }
Exemple #7
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(32);
     craftActions.ApplyBuff(new Ingenuity2Buff());
 }
Exemple #8
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseDurability(10);
     craftActions.Synth(Synth.FromRawValue(20));
     craftActions.Touch(100);
 }
Exemple #9
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(18);
     craftActions.ApplyBuff(new InnovationBuff());
 }
Exemple #10
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(56);
     craftActions.ApplyBuff(new WasteNotBuff(4));
 }
Exemple #11
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(32);
     craftActions.ApplyBuff(new GreatStridesBuff());
 }
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(36);
     craftActions.ApplyBuff(new WhistleBuff());
 }
Exemple #13
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(45);
     craftActions.ApplyBuff(new HeartOfCrafterBuff());
 }
Exemple #14
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(55);
     craftActions.ApplyBuff(new ReclaimBuff());
 }
Exemple #15
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(22);
     craftActions.ApplyBuff(new SteadyHandBuff(20));
 }
Exemple #16
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.RestoreCraftPoints(20);
 }
Exemple #17
0
 public abstract void Execute(ICraftActions craftActions, bool isSuccess);
Exemple #18
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(14);
 }
Exemple #19
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(160);
     craftActions.RestoreDurability(60);
 }
Exemple #20
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseCraftPoints(16);
     craftActions.UseDurability(10);
     craftActions.Touch(100);
 }
Exemple #21
0
 public override void Execute(ICraftActions craftActions, bool isSuccess)
 {
     craftActions.UseDurability(10);
     craftActions.UseCraftPoints(15);
     craftActions.Synth(Synth.FrompPercent(33));
 }