|
=================
|
|
## Description
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
|
|
Sets or changes the target mob's faction.
|
|
Sets or changes the target mob's faction.
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
## Attributes
|
|
|-----------|------------|----------------------------------------------------------------------------------------------------------------|---------------|
|
|
| Attribute | Aliases | Description | Default |
|
|
| faction | | The name of the faction to apply to the mob. | NONE |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| faction | | The name of the faction to apply to the mob | NONE |
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
Sets the faction of the mob to "Hostile" when the mob spawns.
|
|
Sets the faction of the mob to "Hostile" when the mob spawns.
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- setFaction{faction=Hostile} @self ~onSpawn
|
|
- setFaction{faction=Hostile} @self ~onSpawn
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |