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 132
    • Issues 132
    • 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

Last edited by Lxlp 5 months ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

totem

Mechanic: Totem

The totem mechanic places an invisible "totem", similar to the projectile mechanic, except that it doesn't move. Much like projectiles, you can use onTick skills to create effects in order to identify the totem's location.

Totems will pulse their onHit skill on any targets that come within 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

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. false
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:
    - totem{ch=1;i=1;md=8;onTick=MFT_TICK} @self

  MFT_TICK:
    Skills:
    - damage{a=3}
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • 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
Examples
Useful Skills