|
============
|
|
## Description
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
|
|
The totem mechanic places an invisible "totem", similar to the
|
|
The totem mechanic places an invisible "totem", similar to the
|
|
[projectile](/skills/mechanics/projectile) mechanic, except that it
|
|
[projectile](/skills/mechanics/projectile) mechanic, except that it
|
|
doesn't move. Much like projectiles, you can use onTick skills to create
|
|
doesn't move. Much like projectiles, you can use onTick skills to create
|
... | @@ -12,20 +9,19 @@ their defined radius until their charges or duration run out. They're |
... | @@ -12,20 +9,19 @@ their defined radius until their charges or duration run out. They're |
|
useful for creating ground effects with particles, such as clouds of
|
|
useful for creating ground effects with particles, such as clouds of
|
|
poison or land mines.
|
|
poison or land mines.
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
## Attributes
|
|
|------------------|-------------|-------------------------------------------------------------------------------------------------|-------------------|
|
|
| Attribute | Aliases | Description | Default |
|
|
| Charges | ch, c | Determines how many times the totem can hit something before disappearing. | 0 |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| YOffset | yo | How high off the target the totem will spawn. | +1 |
|
|
| Charges | ch, c | Determines how many times the totem can hit something before disappearing | 0 |
|
|
|
|
| YOffset | yo | How high off the target the totem will spawn | 1 |
|
|
|
|
|
|
Inherits attributes from [Projectile](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/projectile)
|
|
Inherits attributes from [Projectile](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/projectile)
|
|
|
|
|
|
> `stopAtEntity` gets default to `false`
|
|
> `stopAtEntity` gets default to `false`
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
MyFirstTotem:
|
|
MyFirstTotem:
|
|
Skills:
|
|
Skills:
|
... | | ... | |