|
|
## Description
|
|
|
*Added in 5.4.0
|
|
|
Simulates a physical hit from the mob. Takes melee stats into account (regular skill damage won't unless configured to specifically)
|
|
|
This mechanic shares the same options as [BaseDamage](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/basedamage) mechanic
|
|
|
This mechanic shares the same options as the [BaseDamage](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/basedamage) mechanic
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|------------------|---------|-------------------------------------|---------|
|
|
|
| multiplier | m | The percentage of damage to deal | 1 |
|
... | ... | @@ -15,9 +13,7 @@ Attributes |
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
|
|
|
## Examples
|
|
|
This example will make the mob deal 150% of its configured melee damage to its
|
|
|
target when its being attacked. Ignoring armors. In this case it would deal 15 damage total since the mob's melee damage is 10.
|
|
|
```yaml
|
... | ... | @@ -27,5 +23,9 @@ HitMob: |
|
|
Skills:
|
|
|
- hit{m=1.5;ia=true} @target ~onDamaged
|
|
|
```
|
|
|
[1] 1 = 100%, 0.5 = 50% and so-on
|
|
|
|
|
|
|
|
|
[1] 1 = 100%, 0.5 = 50% and so-on |
|
|
\ No newline at end of file |
|
|
## Aliases
|
|
|
- [x] physicalDamage
|
|
|
- [x] meleeHit |
|
|
\ No newline at end of file |