Public const int ThousandBlades = 1833916 Public const int Goblindbergh = 25259669 Public const int PerformageTrickClown = 67696066 Public const int JudgmentDragon = 57774843 Click "LightswornExecutor.cs" in the Visual Studio window tabĬreate a CardId class in LightswornExecutor.cs and define the ID of each card in the card group inside "public class LightswornExecutor : DefaultExecutor"'s bracket : To facilitate specifying the card name in the code, we create a CardId class and write each card name as a constant. WindBot will only use the card specified in the Executor of the deck, and the other cards will not do anything, so all we have to do is write usage for each card. This is because we have not specified how to use AI cards. If the AI is not ready in the host room, please make sure the deck files are placed in the correct location and WindBot has the correct cards.cdb.īut after starting the game, we will find that AI will not play any cards. If AI does not appear, please make sure that Windbot is started before the host is established. If everything is fine, you can see the AI join the room and be ready. In "Command Line Arguments" box, type "Deck=Lightsworn" (Deck=DeckName) without "" On Visual Studio, click Debug > WindBot Properties Open YGOPRO then make a host in Lan Mode Copy cards.cdb from your "YGOPRO/locales/en-US/" (if you're using YGOPROES or KoishiPro) to "windbot-master/bin/Debug/" Press F5 and let it load to make the bin folder, then close it Open WindBot.sln in windbot-master folder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |