Change some int location to CardLocation location.Update ClientField.HasInMonstersZone to support check face-up card.Update Util.SelectPreferredCards and Util.CheckSelectCount to return the result.Rename AIFunctions.CompareCardAttack to CardContainer.CompareCardAttack.Rename AIFunctions to AIUtil (Usage: AI.Utils.Add DefaultScapegoat, DefaultMaxxC, DefaultAshBlossomAndJoyousSpring, DefaultGhostOgreAndSnowRabbit, DefaultGhostBelleAndHauntedMansion, DefaultEffectVeiler, DefaultCalledByTheGrave, DefaultInfiniteImpermanence.Add ExecutorType.GoToBattlePhase, ExecutorType.GoToMainPhase2, ExecutorType.GoToEndPhase.Add GetMatchingCards, GetFirstMatchingCard, IsExistingMatchingCard.Add Util.GetTotalAttackingMonsterAttack, Util.GetBotAvailZonesFromExtraDeck.
The parameters are same as commandlines, but low cased. This can be useful for servers, since it don't use large amount memory. In this situation, it will be multi-threaded. WindBot can run as a "server", provide a http interface to create bot. Toadally Awesome (old lflist, master rule 3 only) Hand=1 will make the bot always show Scissors, 2 for Rock, 3 for Paper. If you are testing deck, you may want to make sure the bot go first or second. Put cards.cdb next to the compiled WindBot.exe.
#Ygopro 2 tag duels how to
How to use:Ĭompile WindBot.sln using Visual Studio or Mono. A C# bot for YGOPro, compatible with the YGOSharp and SRVPro server.