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 149
    • Issues 149
    • 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
  • setlevel

setlevel · Changes

Page history
Irrelevent information removed. authored Feb 25, 2023 by Dante's avatar Dante
Show whitespace changes
Inline Side-by-side
Showing with 0 additions and 5 deletions
+0 -5
  • skills/mechanics/setlevel.md skills/mechanics/setlevel.md +0 -5
  • No files found.
skills/mechanics/setlevel.md
View page @ b27c597f
......@@ -30,8 +30,3 @@ This will increase the mob level by 1 each time it kills a player
```yaml
- setlevel{a=add;l=1} ~onKillPlayer
```
\ No newline at end of file
This will set the level of the mob to a random value between 1 and 5 when it spawns, plus the score of the `__GLOBAL__` fake player from the "testlevel" scoreboard. The usage of [Placeholders](/Skills/Placeholders) and [Math Operations](/Skills/Math) inside of a mechanic is **Premium Only**
```yaml
- setlevel{a=set;l="<random.1to5> + <global.score.testlevel>"} @self ~onSpawn
```
\ 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
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • 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