{
	"size": "medium",
	"color": "#5C54A4",
	"waves": [{
			"entities": [
                {
                    "entity": "minecraft:zombie",
                    "count": 5
                },
                {
                    "entity": "minecraft:skeleton",
                    "count": 3
                },
                {
                    "entity": "minecraft:spider",
                    "count": 1
                },
                {
                    "entity": "minecraft:creeper",
                    "count": 1
                }
            ],
			"modifiers": [
            ],
			"rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:zombie",
                    "rolls": 10
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:skeleton",
                    "rolls": 10
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:spider",
                    "rolls": 5
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:creeper",
                    "rolls": 5
                }
            ],
			"max_wave_time": 1000,
			"setup_time": 100
		},
        {
			"entities": [
                {
                    "entity": "minecraft:zombie",
                    "count": 8
                },
                {
                    "entity": "minecraft:skeleton",
                    "count": 5
                },
                {
                    "entity": "minecraft:spider",
                    "count": 3
                },
                {
                    "entity": "minecraft:creeper",
                    "count": 2
                },
                {
                    "entity": "minecraft:witch",
                    "count": 1
                }
            ],
			"modifiers": [
                {
					"attribute": "generic.max_health",
					"operation": "MULTIPLY_TOTAL",
					"value": 0.10
				},
                {
					"attribute": "generic.movement_speed",
					"operation": "MULTIPLY_TOTAL",
					"value": 0.05
				}
            ],
			"rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:zombie",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:skeleton",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:spider",
                    "rolls": 10
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:creeper",
                    "rolls": 10
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:witch",
                    "rolls": 10
                }
			],
			"max_wave_time": 1000,
			"setup_time": 400
		},
        {
			"entities": [
                {
                    "entity": "minecraft:zombie",
                    "count": 8
                },
                {
                    "entity": "minecraft:skeleton",
                    "count": 5
                },
                {
                    "entity": "minecraft:spider",
                    "count": 3
                },
                {
                    "entity": "minecraft:creeper",
                    "count": 2
                },
                {
                    "entity": "minecraft:witch",
                    "count": 1
                }
            ],
			"modifiers": [
                {
					"attribute": "generic.max_health",
					"operation": "MULTIPLY_TOTAL",
					"value": 0.15
				},
                {
					"attribute": "generic.movement_speed",
					"operation": "MULTIPLY_TOTAL",
					"value": 0.05
				},
                {
					"attribute": "generic.attack_damage",
					"operation": "ADDITION",
					"value": 2.5
				},
                {
					"attribute": "attributeslib:arrow_damage",
					"operation": "ADDITION",
					"value": 0.10
				},
                {
					"attribute": "attributeslib:life_steal",
					"operation": "ADDITION",
					"value": 0.10
				}
            ],
			"rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:zombie",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:skeleton",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:spider",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:creeper",
                    "rolls": 15
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:witch",
                    "rolls": 25
                }
			],
			"max_wave_time": 1600,
			"setup_time": 400
		},
        {
			"entities": [
                {
                    "entity": "minecraft:zombie",
                    "desc": "name.gateways.undead_legionnaire",
                    "nbt": {
                        "CustomNameVisible": 1,
                        "CustomName": "{\"translate\":\"name.gateways.undead_legionnaire\",\"color\":\"red\"}"
                    },
                    "modifiers": [
                        {
                            "type": "gateways:gear_set",
                            "gear_set": "gateways:iron_with_diamond"
                        }
                    ],
                    "count": 5,
                    "finalize_spawn": false
                },
                {
                    "entity": "minecraft:skeleton",
                    "count": 3
                },
                {
                    "entity": "minecraft:creeper",
                    "count": 2
                },
                {
                    "entity": "minecraft:witch",
                    "count": 1
                }
            ],
			"modifiers": [
                {
					"attribute": "generic.max_health",
					"operation": "MULTIPLY_TOTAL",
					"value": 0.25
				},
                {
					"attribute": "generic.knockback_resistance",
					"operation": "ADDITION",
					"value": 0.5
				},
                {
					"attribute": "generic.armor",
					"operation": "ADDITION",
					"value": 3
				},
                {
					"attribute": "generic.attack_damage",
					"operation": "ADDITION",
					"value": 3
				},
                {
					"attribute": "attributeslib:armor_pierce",
					"operation": "ADDITION",
					"value": 3
				},
                {
					"attribute": "attributeslib:life_steal",
					"operation": "ADDITION",
					"value": 0.10
				}
            ],
			"rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:zombie",
                    "rolls": 20
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:skeleton",
                    "rolls": 20
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:spider",
                    "rolls": 20
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:creeper",
                    "rolls": 20
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:witch",
                    "rolls": 30
                }
            ],
			"max_wave_time": 2000,
			"setup_time": 400
		}
	],
    "rewards": [
        {
            "type": "gateways:loot_table",
            "loot_table": "minecraft:chests/simple_dungeon",
            "rolls": 10,
            "desc": "rewards.gateways.loot_table.simple_dungeon"
        },
        {
            "type": "gateways:command",
            "command": "/ftbquests change_progress @p complete 2221A3096897D237",
            "desc": "Quest's progress"
        } 
    ],
    "failures": [
        {
            "type": "gateways:mob_effect",
            "effect": "minecraft:blindness",
            "duration": 400
        },
        {
            "type": "gateways:summon",
            "entity": {
                "entity": "minecraft:witch",
                "count": 2
            }
        }
    ],
    "rules": {
        "allow_discarding": true
    }
}