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
  • randomskill

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

randomskill

Mechanic: RandomSkill

Executes a random skill from the list of supplied skills. Will ignore any skills that are on cooldown. There is no limit to how much skills can be added.

Attributes

Attribute Aliases Description Default
skills The list of skills to execute, must be separated by a ,
fallbackskill fbskill, fbs the metaskill to run if condition checks fail for all skills in the randomskill list

Examples

Skills:
- randomskill{skills=skill1,skill2,skill3}

Having problems overviewing your randomskill-syntax? Try this:

Skills:
- randomskill{
    skills=
    superskill,
    green_skill,
    skill3,
    grandSkill,
    7331
    }

You can also make your skills be executed with different chances via the weight system. Skills without a weight will default to weight 1.

Skills:
- randomskill{skills=metaskill 10,otherskill 0.5,someskill 0,testskill}
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
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Examples