This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; REQUIREMENTS: | |
; 1. Install https://www.autohotkey.com/ | |
; 2. Make sure you have all the Tonberry's shop abilities | |
; 3. Make sure that you have the "Esthar Shop!!!" | |
; 4. Have the 3 first slots on your inventory empty and no stock of Tent, Cottage or Mega-Potion. | |
; 5. Review the steps and adjust the Up or Down repetitions if the position of your abilities or the amount of shops differ. | |
; HOW TO RUN: | |
; Start from the "Call Shop" ability with the "Esthar Shop!!!" selected | |
; Run this script with ctrl + j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static partial class LinqExtensions | |
{ | |
public static Maybe<C> SelectMany<A, B, C>(this Maybe<A> ma, Func<A, Maybe<B>> f, Func<A, B, C> select) => ma.Bind(a => f(a).Map(b => select(a, b))); | |
} |