# Special zombies

Special zombies are uncommon entities which can spawn in games with same options as [General zombies](/ragemode-docs/zombie-game-guide/general-zombies.md) and special abilities like skills. You can even make these zombies a boss, so for example, they have 500 health with unique armour/weapon set and abilities. There are many ways to customise these zombies. Unfortunately, you have to do it manually by editing the configuration files.

## Features

* Includes same features as [General zombies](/ragemode-docs/zombie-game-guide/general-zombies.md)
* Chance to spawn this zombie
* Option to control how many special zombie can spawn
* Option to define whenever they can forget their target
* Option to add pre-made abilities
* Option to append a custom bossbar
* Option to add custom [potion effects](https://minecraft.wiki/w/Effect)
* Create as many zombies as you wish

## Configuration

You can use the basic config options described in [General zombies](/ragemode-docs/zombie-game-guide/general-zombies.md)

```yml
example-zombie: # The name of the special zombie
  chance-to-spawn: 0.0
  amount-to-spawn: 1-7
  chance-to-forget-target: 3.0
  abilities:
    list:
    - arrowshooter
    - bomber
  custom-bossbar:
    text: ''
    color: red
    style: solid
    flags: []
  give-potion-effects:
  - 42.5 increase_damage amplifier=1 duration=60 particles=true ambient=true icon=true
```

* `chance-to-spawn` - The chance ranges between `0-100` to spawn this special zombie
  * Set to `0` to disable
* `amount-to-spawn` - Controls how many special zombies can be spawned with the same type per wave
  * The value should range between `0-100`
  * If this set to `0` this special zombie won't be spawned
  * Type a fixed value `amount-to-spawn: 5` or a random value with min-max limit `amount-to-spawn: 5-10`
* `chance-to-forget-target` - The chance between `0-100` that this special zombie will forget their current target
  * Set to `0` to disable
  * Forgetting the zombie target is checked every 3 game seconds, so there is a

    higher chance that the zombie can forget it immediately after spawning
  * Zombie can not forget their target if they has line of sight
  * The ideal chance value should be set between `0.1` and `10`
* `abilities` - The list of [abilities](/ragemode-docs/zombie-game-guide/abilities.md) (skills) that this zombie can do in game
* `custom-bossbar` - Sets custom [bossbar](https://minecraft.wiki/w/Bossbar) for this zombie
  * This bossbar is updated on every entity health change, for example when it receives a damage from a player
  * `text` - The text title to appear on bossbar
    * Set to   empty value to disable
  * `color` - The [color](https://jd.papermc.io/paper/org/bukkit/boss/BarColor.html) of this bossbar
  * `style` - The [style](https://jd.papermc.io/paper/org/bukkit/boss/BarStyle.html) of this bossbar
  * `flags` - The list of [flags](https://jd.papermc.io/paper/org/bukkit/boss/BarFlag.html) to apply
* `give-potion-effects` - The list of [potion effects](https://minecraft.wiki/w/Effect) to give for this special zombie after spawned
  * Clear this list or give 0 chance to do not give any effect
  * Syntax: `[chance(0-100)] <effectName> [amplifier=value] [particles=logical] [ambient=logical] [icon=logical] [duration=value(seconds)]`
    * `<>` - required
    * `[]` - optional
  * The order how you set the settings of potion effect doesn't matter, chance and the effect name should always be the first one, chance is optional


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mdswork.gitbook.io/ragemode-docs/zombie-game-guide/special-zombies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
