WagicProject / wagic

Wagic the Homebrew
Other
354 stars 81 forks source link

Upgrade AI decks 7, 9, 10 to modern frames #1070

Closed erzvtvhfm-fhjnyfxv closed 3 years ago

erzvtvhfm-fhjnyfxv commented 3 years ago

Hello, I've noticed that AI decks are written using mixed syntax:

baka/deck1.txt:
1129

baka/deck24.txt:
Rhox Pikemaster *4

baka/deck25.txt:
Druid of the Anima (ALA) *2 

I would like to provide later some help with fixing game bugs. I don't understand the code yet, so started with formatting AI decks in clean way (no changes in decklists, just change the syntax). What do you think about it?

If you like it, I can work on more decks.

Vitty85 commented 3 years ago

Hi,

It can be a good idea generally. I made a Java tool which is exactly doing this, if you want you can take a look to my Wagic-tools repo: https://github.com/Vitty85/WagicUtilities

The Java file is DeckConverter.java and it's able to convert any deck in the human readble format (including Sideboard, Commanders and Dungeon cards).

I will accept your pull. See you.