Update basedamage authored by Lxlp's avatar Lxlp
## 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
This example will make the mob deal 150% of its original damage to its This example will make the mob deal 150% of its original damage to its
...@@ -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