> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/edpets/core/buffs.md).

# Buffs & Boosts

Everything that raises a number in EdPets is expressed in **percent points**: `5` always means **+5%**.

## What stacks into a pet's buff

A pet's boost for a source (e.g. `pinnaprison-tokens`) is:

```
petBoost = (base + increase-per-level × level)          # from the pet's buffs section
petBoost = petBoost × (1 + (buffBoostRoll% + mastery buff bonus) / 100)
total    = petBoost + rune buffs + enhancement buffs    # flat percent points
```

Where:

* **`base` / `increase-per-level`** — the pet's own `buffs` config.
* **Buff boost roll** — the pet's rolled `buff` [boost](/p/edpets/progression/boosts.md) (grades F → SSS).
* **Mastery** — `buff-boost-per-prestige × mastery` from the pet's mastery config.
* [**Runes**](/p/edpets/items/runes.md) — each applied rune adds its `buffs.<source-id>` value.
* [**Enhancements**](/p/edpets/progression/enhancements.md) — the rolled enhancement adds its `buffs.<source-id>` value.

Multiple active pets with the same buff **add together**.

## Where boosts apply

* **PinnaPrison** — through a live **boost provider**: applies to income + enchant proc chance and renders a named line in the boosters GUI. Scales instantly with pet level.
* **EdTools / EdDungeons** — mirrored as a **permanent booster** (`edpets-<currency>`) inside their booster systems, resynced automatically whenever your pets change.
* **EdPrison** — applied through its currency **multiplier event** (it has no booster GUI).

The name shown inside those booster GUIs is `config.yml → boosters.display-name`.

## Querying boosts

* Placeholder: `%edpets_boost_<source-id>%` (e.g. `%edpets_boost_pinnaprison-tokens%`).
* API: `EdPetsAPI.getInstance().getBuffsAPI().getBoost(player, sourceId)` — see the [Developer API](/p/edpets/developers/introduction.md).
