Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 136
    • Issues 136
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • totem

totem · Changes

Page history
Inheris from projectiles. Removed double title, updated headers, added colons, colorized example. authored Oct 20, 2023 by Dante's avatar Dante
Hide whitespace changes
Inline Side-by-side
Showing with 15 additions and 26 deletions
+15 -26
  • skills/mechanics/totem.md skills/mechanics/totem.md +15 -26
  • No files found.
skills/mechanics/totem.md
View page @ aa23a649
Mechanic: Totem
---------------
============
## Description:
The totem mechanic places an invisible "totem", similar to the
[projectile](/skills/mechanics/projectile) mechanic, except that it
......@@ -11,35 +12,23 @@ their defined radius until their charges or duration run out. They're
useful for creating ground effects with particles, such as clouds of
poison or land mines.
Attributes
----------
## Attributes:
| Attribute | Aliases | Description | Default Value |
|------------------|-------------|-------------------------------------------------------------------------------------------------|-------------------|
| Charges | ch, c | Determines how many times the totem can hit something before disappearing. | 0 |
| onTick | oT | Meta-Skill executed every [interval] ticks at the projectile's origin location. | None |
| onHit | oH | Meta-Skill executed when the totem hits something. Targets hit are inherited by the meta-skill. | None |
| onEnd | oE | Meta-Skill executed when the totem ends. | None |
| onStart | oS | Meta-Skill executed when the totem starts. | None |
| Interval | i, int | How often (in ticks) the totem ticks | 4 |
| HorizontalRadius | hRadius, hR | The horizontal radius entities will be hit in around the totem. | 1.25 |
| VerticalRadius | vRadius, vR | The vertical radius entities will be hit in around the totem. | Horizontal Radius |
| Duration | md | The max duration (in ticks) the totem will persist. | 200 |
| YOffset | yo | How high off the target the totem will spawn. | +1 |
| HitPlayers | hp | Whether can hit players. | true |
| HitNonPlayers | hnp | Whether can hit non players. | false |
| HitTarget | ht | Whether can hit skill target. | true |
| HitTargetOnly | | Whether only can hit skill target | false |
Examples
--------
```
MyFirstTotem:
Skills:
Inherits attributes from [Projectile](https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/projectile)
## Examples:
```yaml
MyFirstTotem:
Skills:
- totem{ch=1;i=1;md=8;onTick=MFT_TICK} @self
MFT_TICK:
Skills:
MFT_TICK:
Skills:
- damage{a=3}
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips