Changes
Page history
Create MythicMobs/Conditions/DrivingModel
authored
Jul 24, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
MythicMobs/Conditions/DrivingModel.md
0 → 100644
View page @
804b302c
## Description
Checks if the target entity is the driver of a model
## Attributes
>*This mechanic has no attributes*
## Examples
This will check if the casting entity is driving a model, and if so, heal it.
```
yaml
ExampleSkill
:
Conditions
:
-
drivingmodel
true
Skills
:
-
heal{a=10} @mountedmodel
```
##
The following skill will check if the target entity is the driver of a modeled entity, and if so, ignite it.
```
yaml
ExampleSkill
:
TargetConditions
:
-
drivingmodel
true
Skills
:
-
sudoskill{s=[
- ignite @mountedmodel
]}
```
\ No newline at end of file