[
  {
    "type": "effect_on_condition",
    "id": "DEFENSE_MODE_WAVE_SPAWN_LIZARDFOLK",
    "condition": { "math": [ "lizardfolk_allowed == 1" ] },
    "effect": [
      {
        "u_spawn_monster": "GROUP_LIZARDFOLK_DM",
        "real_count": { "math": [ "wave_spawn_number() * 3" ] },
        "outdoor_only": true,
        "group": true,
        "min_radius": 20,
        "max_radius": 40
      }
    ],
    "false_effect": { "run_eocs": "DEFENSE_MODE_WAVE_SPAWN_FALLBACK" }
  },
  {
    "type": "effect_on_condition",
    "id": "DEFENSE_MODE_WAVE_SPAWN_GOLEMS",
    "condition": { "math": [ "golems_allowed == 1" ] },
    "effect": [
      {
        "u_spawn_monster": "GROUP_GOLEM_DM",
        "real_count": { "math": [ "wave_spawn_number() * 3" ] },
        "outdoor_only": true,
        "group": true,
        "min_radius": 20,
        "max_radius": 40
      }
    ],
    "false_effect": { "run_eocs": "DEFENSE_MODE_WAVE_SPAWN_FALLBACK" }
  },
  {
    "type": "effect_on_condition",
    "id": "DEFENSE_MODE_WAVE_SPAWN_GOBLINS",
    "condition": { "math": [ "goblins_allowed == 1" ] },
    "effect": [
      {
        "u_spawn_monster": "GROUP_GOBLIN_STANDARD",
        "real_count": { "math": [ "wave_spawn_number() * 3" ] },
        "outdoor_only": true,
        "group": true,
        "min_radius": 20,
        "max_radius": 40
      }
    ],
    "false_effect": { "run_eocs": "DEFENSE_MODE_WAVE_SPAWN_FALLBACK" }
  },
  {
    "type": "effect_on_condition",
    "id": "DEFENSE_MODE_WAVE_SPAWN_ORCS",
    "condition": { "math": [ "orcs_allowed == 1" ] },
    "effect": [
      {
        "u_spawn_monster": "GROUP_ORC_DM",
        "real_count": { "math": [ "wave_spawn_number() * 3" ] },
        "outdoor_only": true,
        "group": true,
        "min_radius": 20,
        "max_radius": 40
      }
    ],
    "false_effect": { "run_eocs": "DEFENSE_MODE_WAVE_SPAWN_FALLBACK" }
  }
]
