Description
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 the BaseDamage mechanic
Attributes
Attribute | Aliases | Description | Default |
---|---|---|---|
multiplier | m | The percentage of damage to deal | 1 |
This mechanic inherits every attribute of the Damage mechanic
- The
amout
attribute is ignored- The
triggerSkills
attribute is defaulted attrue
- The
damagecause
attribute is set atENTITY_ATTACK
- The
tags
attribute will always have amelee
tag.
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.
HitMob:
Type: Zombie
Damage: 10
Skills:
- hit{m=1.5;ia=true} @target ~onDamaged
Aliases
- physicalDamage
- meleeHit