Update hit authored by Lxlp's avatar Lxlp
...@@ -7,10 +7,12 @@ This mechanic shares the same options as the [BaseDamage](https://git.mythiccraf ...@@ -7,10 +7,12 @@ This mechanic shares the same options as the [BaseDamage](https://git.mythiccraf
| 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 |
| 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
>> - The `triggerSkills` attribute is **defaulted** at `true`
>> - The `damagecause` attribute is **set** at `ENTITY_ATTACK`
>> - The `tags` attribute will always have a `melee` tag.
## Examples ## Examples
...@@ -23,7 +25,6 @@ HitMob: ...@@ -23,7 +25,6 @@ HitMob:
Skills: Skills:
- hit{m=1.5;ia=true} @target ~onDamaged - hit{m=1.5;ia=true} @target ~onDamaged
``` ```
[1] 1 = 100%, 0.5 = 50% and so-on
## Aliases ## Aliases
... ...
......