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 146
    • Issues 146
    • 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
  • skill

Last edited by Lxlp Apr 06, 2025
Page history
This is an old version of this page. You can view the most recent version or browse the history.

skill

Mechanic: Skill

Executes another meta-skill, which must be located in /MythicMobs/Skills. The executed skill will inherit any targets if no targeter is specified.

Syntax

Skills:
- skill{skill=AnotherSkill} @Target ~onAttack
- skill{s=AnotherSkill} @Trigger ~onSpawn
- skill:OtherSkill @Trigger ~onDeath

The attribute "sync=true" will be inherited by any sub-skills and cannot be set to false later in a skill-tree.

Attribute Shorthand Description Default
forcesync sync Whether to force the skill to be run synchroniously with Minecraft. false

Cooldown

Skill configurations are capable of utilizing cooldown Add cooldown to your skills like this:

internal_skillname:
  Cooldown: <seconds>
  Conditions:
  - condition
  - ...
  Skills:
  - mechanic{}
  - ...

Note that this only applies for skill configurations that are saved as skill-files in /MythicMobs/Skills. Cooldown can't be added to mechanics called directly in mob configuration files.

Examples

Skills:
- skill{s=AnotherSkill;sync=true} @Target ~onAttack
- skill{s=ice_bolt;sync=true} @Target ~onTimer:100
- skill{sync=true;s=flamethrower} @TargetLocation ~onTimer:200
- skill:Onemechainc @Target ~onDamaged
- skill
    {
    skill=leafs;
    sync=true
    }
Clone repository
  • Home
  • Changelogs
  • Premium Features
  • Commands and Permissions
  • FAQ / Common Issues
  • Mythic Add-ons
  • Compatible Plugins
  • API Information

Mobs

  • Overview
  • Types
  • Mob Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Extra: Disguises
  • Extra: MiniaturePets

Skills

  • Overview
  • Mechanics
  • Effects
  • Targeters
  • Triggers
  • Conditions
  • Placeholders
  • Variables

Items & Drops

  • Drops and Drop Tables
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers

Spawning

  • Spawners
  • Random Spawns

Tutorials

  • DamageSpells