|
|
## 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
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| multiplier | m | The percentage of damage to deal | 1 |
|
|
|
| ignoreArmor | ia | Whether or not to ignore armor | false |
|
|
|
| preventknockback | pkb, pk | Whether or not to prevent knockback | false |
|
|
|
| preventimmunity | pi | Whether or not to ignore immunities | false |
|
|
|
|
|
|
> This mechanic inherits every attribute of the [Damage](skills/mechanics/damage) mechanic
|
|
|
>> - The `amout` attribute is ignored
|
|
|
|
|
|
|
|
|
## Examples
|
... | ... | @@ -23,4 +22,9 @@ AMob: |
|
|
Skills:
|
|
|
- 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 |