Update disguise authored by Lxlp's avatar Lxlp
Mechanic: Disguise ## Description
==================
Runs a disguise string on the casting mob. This skill requires Libs' Runs a disguise string on the casting mob. This skill requires Libs'
Disguises and ProtocolLib be installed to enable Disguise functionality. Disguises and ProtocolLib be installed to enable Disguise functionality.
See [Add-On: Disguises](/Mobs/Disguises) for a list of available See [Add-On: Disguises](/Mobs/Disguises) for a list of available
disguises. disguises.
Attributes
----------
## Attributes
| Attribute | Aliases | Description | Default | | Attribute | Aliases | Description | Default |
|-----------|---------|-----------------------------------|---------| |-----------|-----------|----------------------------------------------------------------------|---------|
| disguise | d, type | The disguise to apply to the mob. | | | disguise | d, type | The disguise to apply to the mob. | player Ashijin |
| audience | | The [audience] of the disguise | |
Examples ## Examples
-------- > You can test cast both of these disguises with ``/mm test cast TestingDisguiseMechanic``
you can test cast both of these disguises with ``/mm test cast TestingDisguiseMechanic`` ##
This will disguise you as a sheep that is on fire and spinning.
```yml ```yml
TestingDisguiseMechanic: TestingDisguiseMechanic:
Skills: Skills:
- disguise{d="Sheep SetBurning SetSpinning"} @self - disguise{d="Sheep SetBurning SetSpinning"} @self
``` ```
> This will disguise you as a sheep that is on fire and spinning.
This next example will turn you into a steve head that glides across the floor. No good way to describe it. It is pretty funny. I recommend you try it out! ##
```yml ```yml
TestingDisguiseMechanic: TestingDisguiseMechanic:
Skills: Skills:
- disguise{d="Zombie setYModifier -1.5 setPitchLocked setInvisible setHelmet PLAYER_HEAD"} @self - disguise{d="Zombie setYModifier -1.5 setPitchLocked setInvisible setHelmet PLAYER_HEAD"} @self
``` ```
> This example will turn you into a steve head that glides across the floor. No good way to describe it. It is pretty funny. I recommend you try it out!
<!--
---------
**Old Way**
This example would cause the mob to turn into a sheep.
Skills:
- disguiseOld{d=SHEEP}
Configure custom disguises using Lib's Disguises for more granular detail.
--------- <!-- LINKS -->
--> [audience]: /Skills/Audience
\ No newline at end of file \ No newline at end of file