duel

During a duel event, the user duels vs their opponent, using the App's dueling simulator.

In order to enter a duel event, the user's maindeck must have enough cards (default is 40. This can be changed in settings.json, under "minimumMaindeckSize").

The player who lost the previous duel chooses who goes first. For the very first duel, the player who clicked on the duel event first may choose.


In older versions of the App, an embed of Duelingbook.com was used as the dueling simulator.
In modern versions, the App has its own simulator. However, for backwards compatibility, the names for these settings still reference "duelingbook".

Specific Attributes

Example


      "duel": {

        "1": {
            "micon": "duel.webp",
            "title": "Inferior Opponent",
            "audio": "Epic_duel_music",
            "image": "duel.webp",
            "dbimg": "enemy_1.webp",
            "wins":  "area:1",
            "lose":  "area:1",
            "lives": 1
        }

    }