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