Training and Duel Encounters Data

Training encounters are in the training_encounter folder and duel encounters in the duel_encounter folder. These are the fights started by talking to a Foreteller or an Apprentice (through the kingdomkeys:start_encounter action of a Dialogue, with "duel": true for a duel). Subfolders are part of the id, eg. duel_encounter/spar/apprentice.json is kingdomkeys:spar/apprentice. Both folders use the same format as a Castle Oblivion Room Encounter, so the same fields work in all three. Here is the JSON file structure:

Example: duel_encounter/dynamic.json

{
  "arena_radius": 0,
  "encounter": {
    "type": "kingdomkeys:wave",
    "interval_ticks": 60,
    "waves": [
      {
        "spawns": [
          "kingdomkeys:foreteller"
        ]
      }
    ]
  },
  "experience": 700,
  "grants": "kingdomkeys:duel/dynamic",
  "info": "kingdomkeys.information.duel",
  "lux": 400,
  "requires": [
    "kingdomkeys:duel/hard"
  ],
  "rewards": [],
  "spawn_points": 1
}