|
## Description
|
|
## 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](skills/mechanics/damage) mechanic.
|
|
100%. Inherits every attribute of the [Damage](skills/mechanics/damage) mechanic.
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| percent | p | The percentage to damage the target | 0.1 |
|
|
| 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 |
|
|
| currentHealth | current, c, ch |Whether it calculates the percent from your original or current health| false |
|
|
| ignoreArmor | ia | Whether or not to ignore armor | false |
|
|
> This mechanic inherits every attribute of the [damage](skills/mechanics/damage) mechanic
|
|
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
|
|
>> The `amount` attribute is ignored
|
|
| preventimmunity | pi | Whether or not to ignore immunities | false |
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
## Examples
|
... | @@ -19,3 +18,8 @@ Hurts the target for half (50%) of its max health. |
... | @@ -19,3 +18,8 @@ Hurts the target for half (50%) of its max health. |
|
Skills:
|
|
Skills:
|
|
- damagepercent{percent=0.5}
|
|
- damagepercent{percent=0.5}
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] damagepercent
|
|
|
|
- [x] percentdamage |
|
|
|
\ No newline at end of file |