Wild duels in quest mode
I like the quest mode, and I understand that quest decks are finely tuned and tailored.... but they are not many.
So I introduced an OPTIONAL way to get one additional duel choice introducing a new difficulty level - i called it "wild" because it can be whatever difficulty you want it to be - extremely easy, extremely hard, mixed, or totally unknown. This is OPTIONAL - if a user doesnt want it, he wont get it (more below); the user has to do things explicitly and to copy files in certain locations, if he wants to use it, otherwise he will notice no difference.
This new difficulty tier "WILD" fetches "normal" decks - those that do not have a difficulty section in the metadata, the ones you use for constructed mode - and it fetches them by one (or both) these locations:
- The normal quest folder (or world folder)
- a folder called "wild", nested inside the root quest/world folder (I prefer this solution so I can keep original quest decks separate)
If you dont put any additional deck inside one of these folders, while executing the additional WILD duels dont show and the user wont even know the code is there.
The idea is: if you get bored of always facing the same quest decks, you download a bunch of standard Forge decks widely available in the forum (I have almost 18000), with no need to edit and tailor any of them for the metadata used by "classic" quest mode; then, you put these decks inside the quest/wild folder, and you get an additional choice every duel in quest mode - where you basically do not know what you are facing, like in FLGS. These are WILD decks: you dont know anything about them unless you open them and inspect them (no description either). Or maybe you know well those decks, and you simply enjoy playing against them: the choice is yours.
This way you can esponentially increase the number of decks you face when you are in quest mode, without effort because you dont need to edit anything: these are just normal constructed Forge decks. Since these decks are decks the user puts in, they could difficult, but they could also be easy - or not suitable for Forge AI at all. Thas why I assigned a multiplier of 2; I also considered to randomize the multiplier for every new wild duel, but if I didnt get it wrong the multiplier is decided once for all the decks of the difficulty tier - it cant be changed after every duel.
The icon used for the opponent is called "wild.jpg" - I assume that the user wanting to use this wild feature, will provide a suitable icon "wild.jpg" to be put in the icons folder. The name of the opponent is simply the name of the deck - the only data which should be available whatever the deck.
The code should work even for quest worlds, and not only for the default quest world; you can have wild duels whatever the quest world.