# Charge EXP

The `charge-exp` action will subtract a set amount of experience from a player upon use. If the player does not have enough exp, the elevator will not work.

---

## Variables

| Variable Name | Description                                                           | Default Value      | Elevator Setting Name | Per-Ele Customizable
|---------------|-----------------------------------------------------------------------|--------------------|-----------------------|----------------------
| `level`       | Controls the amount of levels worth of exp to be subtracted           |                    | `charge-exp/level`    | false
| `exp`         | Controls the amount of exp to be subtracted                           |                    | `charge-exp/exp`      | false

---

## Example Usage

```yaml
- 'charge-exp: level=5 exp=20'
```

---

## Notes
 - Because the experience required to level up increases with each level, the amount of experience subtracted from the player will be equal to:
   - The total experience required to reach the specified level value from level 0, **plus**
   - The additional experience value provided.
