Bosses
Fileenemies.ymlA boss is an enemy template with boss: true. It gets a health bar shared by everyone in the
arena and runs timed abilities on top of its normal attacks. Two bosses ship with the plugin: the
Abomination and the Hound Alpha.
Boss rounds
# config.yml
boss-rounds:
enabled: true
interval: 5 # waves 5, 10, 15...
boss-id: ABOMINATION # must be a template with boss: true
ability-tick-interval: 10On every wave that is a multiple of interval, one boss-id enemy is added to the end of that
wave's spawn list and the arena gets a warning. The boss is part of the wave, so the wave does not
end while it lives. ability-tick-interval is how often, in ticks, each boss checks its abilities
and updates its bar.
Only one boss template is used for boss rounds. To use the Hound Alpha, set boss-id: HOUND_ALPHA.
You can also put a boss into any wave by hand, like any other enemy.
Making a template a boss
| Key | Default | Meaning |
|---|---|---|
boss | false | Turns on the boss bar and abilities. |
boss-bar-color | RED | PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE. |
boss-bar-style | PROGRESS | PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20. |
abilities | A list of abilities, each with a type. |
Killing a boss pays its kill-reward like any enemy, hides the bar and tells the arena. There is
no extra boss bounty; set a high kill-reward instead.
Abilities
Every ability except Enrage has cooldown-ticks (default 200, at least 20). The cooldown only
starts when the ability actually did something, so a Teleport with nobody in range tries again
on the next check.
| Type | Keys (default) | What it does |
|---|---|---|
SUMMON_MINIONS | summon-id, summon-count (4) | Spawns that many copies of a template at the boss. They count toward the wave. |
GROUND_SLAM | radius (5), damage (6), knockback (1.2) | Hurts and throws back every standing player in the radius. |
TELEPORT | range (30) | Jumps next to a random standing player within range. |
ARMORED | resistance-amplifier (1), duration-ticks (100) | Temporary Resistance. |
ENRAGE | health-threshold (0.4), speed-bonus (0.08), strength-amplifier (1) | Once, when health drops to the threshold: faster, permanent Strength, bar turns red. |
health-threshold is a fraction of max health, so 0.35 fires at 35%.
The two bosses
ABOMINATION:
entity-type: ZOMBIE
max-health: 260.0
damage: 14.0
scale: 1.65
explode-on-death: true
boss: true
boss-bar-color: RED
boss-bar-style: NOTCHED_10
abilities:
- type: SUMMON_MINIONS
cooldown-ticks: 200
summon-id: RUNNER
summon-count: 4
- type: GROUND_SLAM
cooldown-ticks: 160
radius: 5.0
damage: 7.0
knockback: 1.4
- type: ARMORED
cooldown-ticks: 320
resistance-amplifier: 2
duration-ticks: 100
- type: ENRAGE
health-threshold: 0.35
speed-bonus: 0.08
strength-amplifier: 1The Hound Alpha is a large burning wolf with 180 health that summons three HELLHOUNDs every
180 ticks, teleports to a player within 32 blocks every 140 ticks and enrages at 40% health.
Both bosses scale harder than normal enemies: +9% and +8% health per wave respectively. By wave 20 the Abomination has about 700 health.