Changes
Page history
added attributes
authored
Aug 08, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Mobs/ai/goals/meleeattack.md
View page @
1c9d3cdb
...
...
@@ -2,11 +2,19 @@
Causes the mob to move to and melee attack its target
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| speedmodifier | speed, s | The speed modifier for the mob while this action is being taken | 1 |
| followUnseen | fu | Should the target be followed even if it is hidden from view | false |
| attackReachModifier | attackReach, ar | The attack reach modifier | 4 |
## Examples
```
yaml
ExampleMob
:
Type
:
ZOMBIE
AIGoalSelectors
:
-
clear
-
meleeattack
-
meleeattack
{s=1;fu=false;ar=4.0}
```
\ No newline at end of file