|
## Description
|
|
## Description
|
|
Damages the target entity for a percentage of the mob's damage stat.
|
|
Damages the target entity for a percentage of the mob's damage.
|
|
|
|
Inherits every attribute of the [Damage](skills/mechanics/damage) mechanic.
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| multiplier | m | The percentage of damage to deal | 1 |
|
|
| multiplier | m | The percentage of damage to deal | 1 |
|
|
| 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 `amout` attribute is ignored
|
|
| preventimmunity | pi | Whether or not to ignore immunities | false |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
## Examples
|
... | @@ -23,4 +22,9 @@ AMob: |
... | @@ -23,4 +22,9 @@ AMob: |
|
Skills:
|
|
Skills:
|
|
- basedamage{m=1.5} @target ~onDamaged
|
|
- basedamage{m=1.5} @target ~onDamaged
|
|
```
|
|
```
|
|
> 1 = 100%, 0.5 = 50% and so-on |
|
|
|
\ No newline at end of file |
|
|
|
|
|
## Aliases
|
|
|
|
- [x] bd
|
|
|
|
- [x] weaponDamage
|
|
|
|
- [x] wd |
|
|
|
\ No newline at end of file |