|
==============
|
|
## Description
|
|
|
|
|
|
Heals the targeted entity for the specified value. Can also "overheal"
|
|
Heals the targeted entity for the specified value. Can also "overheal"
|
|
the mob to more than its maximum health.
|
|
the mob to more than its maximum health.
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|------------|---------|-------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| amount | a | The amount to heal the target | 1 |
|
|
| amount | a | The amount to heal the target | 1 |
|
|
| overheal* | oh | Whether or not to apply overhealing as additional MaxHealth | false |
|
|
| overheal* | oh | Whether or not to apply overhealing as additional MaxHealth | false |
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
## Examples
|
|
|
|
Heals the casting mob for 20 health (10 hearts) when it is damaged. (20%
|
|
|
|
chance)
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- heal{amount=20} @self ~onDamaged 0.2
|
|
- heal{amount=20} @self ~onDamaged 0.2
|
|
```
|
|
```
|
|
|
|
##
|
|
Heals the casting mob for 20 health (10 hearts) when it is damaged. (20%
|
|
Heals the casting mob for 20 health (10 hearts) when it is damaged. (20%
|
|
chance)
|
|
chance)
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- heal{amount=20;overheal=true} @self ~onDamaged 0.2
|
|
- heal{amount=20;overheal=true} @self ~onDamaged 0.2
|
|
```
|
|
```
|
|
Heals the casting mob for 20 health (10 hearts) when it is damaged. (20%
|
|
|
|
chance)
|
|
|
|
|
|
|
|
If the mob is near or at full health, it will add those 20 health points
|
|
If the mob is near or at full health, it will add those 20 health points
|
|
onto its existing health. Eg. mob with 20 health using this move will
|
|
onto its existing health. Eg. mob with 20 health using this move will
|
|
now have 40 health. 20/20 + 20 = 40/20
|
|
now have 40 health. 20/20 + 20 = 40/20
|
... | | ... | |