Added title bar, added colons to headers. Removed double title. authored by Dante's avatar Dante
## Mechanic: SetCollidable ====================
## Description:
Sets if the target of the mechanic should have a collidable hitbox or not. Sets if the target of the mechanic should have a collidable hitbox or not.
<br>The result is equivalent to the [Collidable](/Mobs/Options#collidable) Option. <br>The result is equivalent to the [Collidable](/Mobs/Options#collidable) Option.
## Attributes ## Attributes:
| Attribute | Aliases | Description | Default Value | | Attribute | Aliases | Description | Default Value |
|----------------|-----------------|----------------------------------------------------|---------------| |----------------|-----------------|----------------------------------------------------|---------------|
| collidable | state, value, c | Sets if the mob is collidable or not | false | | collidable | state, value, c | Sets if the mob is collidable or not | false |
## Examples ## Examples:
In this example, the mob will permanently become not collidable once it receives a source of damage In this example, the mob will permanently become not collidable once it receives a source of damage.
```yaml ```yaml
ExampleMob: ExampleMob:
Type: ZOMBIE Type: ZOMBIE
Skills: Skills:
- setcollidable{c=false} @self ~onDamaged - setcollidable{c=false} @self ~onDamaged
``` ```
##
In this example, the mob will apply an aura to itself. For the duration of the aura, the mob will be non collidable. In this example, the mob will apply an aura to itself. For the duration of the aura, the mob will be non collidable.
```yaml ```yaml
ExampleMob: ExampleMob:
... ...
......