|
========================
|
|
## Description
|
|
|
|
|
|
Deals damage equal to a percent of the player's max health, where 1 is
|
|
Deals damage equal to a percent of the player's max health, where 1 is
|
|
100%. Has the same options as the Damage mechanic.
|
|
100%. Has the same options as the [Damage](skills/mechanics/damage) mechanic.
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
## Attributes
|
|
|------------------|---------|------------------------------------------------------------------------|---------|
|
|
| Attribute | Aliases | Description | Default |
|
|
| percent | p | The percentage to damage the target | 0.1 |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| current | c,ch | Whether it calculates the percent from your original or current health | false |
|
|
| percent | p | The percentage to damage the target | 0.1 |
|
|
| ignoreArmor | ia | Whether or not to ignore armor | false |
|
|
| current | c,ch |Whether it calculates the percent from your original or current health| false |
|
|
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
|
|
| ignoreArmor | ia | Whether or not to ignore armor | false |
|
|
| preventimmunity | pi | Whether or not to ignore immunities | false |
|
|
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
|
|
|
|
| preventimmunity | pi | Whether or not to ignore immunities | false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
## Examples
|
|
--------
|
|
Hurts the target for half (50%) of its max health.
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- damagepercent{percent=0.5}
|
|
- damagepercent{percent=0.5}
|
|
```
|
|
``` |
|
Hurts the target for half (50%) of its max health. |
|
\ No newline at end of file |
|
\ No newline at end of file |
|
|