Changes
Page history
removed dante
authored
Oct 22, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
skills/mechanics/totem.md
View page @
115883f3
============
## 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,26 +9,25 @@ their defined radius until their charges or duration run out. They're
...
@@ -12,26 +9,25 @@ 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
:
-
totem{ch=1;i=1;md=8;onTick=MFT_TICK} @self
-
totem{ch=1;i=1;md=8;onTick=MFT_TICK} @self
MFT_TICK
:
MFT_TICK
:
Skills
:
Skills
:
-
damage{a=3}
-
damage{a=3}
```
```
\ No newline at end of file