Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 237
    • Issues 237
    • 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
    • Mobs
  • Levels

Last edited by Lxlp Mar 15, 2023
Page history

Levels

Mob Levels

Mob levels are a useful function for adding levels to your mob, which allow for several useful features.

For example, you can have the mob's damage and healthscale up as their level increases, or you can have them drop more items depending on what their level is (see BonusLevelItems in Droptable Options).

Or, for more advanced configs you could change their drops completely depending on what level they are, give them different skills depending on their level, or even change where/how they spawn depending on what level they are (using spawners and randomspawns.)

Mob levels can also be influenced by world scaling (see below), Random Spawners or the SetLevel mechanic.

This page will only be covering the basics, a future guides/examples section may include more in-depth tutorials later on.

Zombie:
  MobType: zombie
  Health: 100
  Damage: 10
  Display: '&5Zombie Lvl - <caster.level>'
  Options:
    MovementSpeed: 0.3
  Drops:
  - myDroptable
  LevelModifiers:
    Health: 5
    Damage: 0.5

LevelModifiers

These options, put under the LevelModifiers section, will increase the mobs respective stats by the given numbers per level. These stats will be added on top of their base stats.

Level modifiers may not work if you didn't specify specify base values for the affected attributes in the mob configuration.

  * **Health: [number]**
  * **Damage: [number] ((The damage value will never influence the damage dealt by potions (witches) or arrows (skeletons) ))**
  * **KnockbackResistance: [number]**
  * [Power](/Mobs/Power)**: [number]**
  * **Armor: [number]**
  * **MovementSpeed: [number]**
  * **AttackSpeed: [number]**

World Scaling

Mob levels (for random-spawned mobs) can automatically be set by the plugin by specifying world scaling settings in the config.yml located in /MythicMobs/. Setting it up is simple. By default the section for scaling in your config.yml should look something like this:

  Scaling:
    Default:
      Enabled: false
      PerBlocksFromSpawn: 500
    world2:
      Enabled: false
      PerBlocksFromSpawn: 250
    world2_nether:
      Enabled: false
      PerBlocksFromSpawn: 150

The above examples shows different worlds with different levels of scaling. Using "world2" as an example, the levels for randomspawnmed mobs would look something like this:

  • Lvel 0 in the white area (0-249 blocks from spawn).
  • Level 1 in the tan area (250-499 blocks distance).
  • Level 2 in the yellow area (500-749 blocks distance).
  • Level 3 in the orange area (750-999 blocks distance).
  • Level 4 in the red area (1000-1249 blocks distance).
  • Etc.

These options will automatically be applied to all mobs that are summoned into the game using MythicMobs' Random Spawning. You can use the UseWorldScaling: [true/false] option on your randomspawn configurations to control whether mobs are supposed to be affected by world scaling.

Note that world scaling options will never affect mobs in VanillaMobs.yml located in /MythicMobs/Mobs. Vanilla overrides cannot be affected by world scaling at all. It will only work on custom mobs created in their own configuration files.

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