|
Mob Levels
|
|
|
|
==========
|
|
|
|
|
|
|
|
Mob levels are a useful function for adding levels to your mob, which allow for several useful features.
|
|
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 health scale up as their level increases, or you can have them drop more items depending on what their level is (see _BonusLevelItems_ in [Droptable Options](/Items/Drops#droptable-options)).
|
|
For example, you can have the mob's damage and health scale up as their level increases, or you can have them drop more items depending on what their level is (see _BonusLevelItems_ in [Droptable Options](/Items/Drops#droptable-options)).
|
... | @@ -11,24 +8,22 @@ Mob levels can also be influenced by world scaling (see below), [Random |
... | @@ -11,24 +8,22 @@ Mob levels can also be influenced by world scaling (see below), [Random |
|
Spawners](/Random%20Spawns) or the [SetLevel
|
|
Spawners](/Random%20Spawns) or the [SetLevel
|
|
mechanic](/skills/mechanics/setlevel).
|
|
mechanic](/skills/mechanics/setlevel).
|
|
|
|
|
|
This page will only be covering the basics, a future guides/examples
|
|
|
|
section may include more in-depth tutorials later on.
|
|
|
|
```yaml
|
|
```yaml
|
|
Zombie:
|
|
Zombie:
|
|
MobType: zombie
|
|
Type: zombie
|
|
Health: 100
|
|
Health: 100
|
|
Damage: 10
|
|
Damage: 10
|
|
Display: '&5Zombie Lvl - <caster.level>'
|
|
Display: '&5Zombie Lvl - <caster.level>'
|
|
Options:
|
|
Options:
|
|
MovementSpeed: 0.3
|
|
MovementSpeed: 0.3
|
|
Drops:
|
|
Drops:
|
|
- myDroptable
|
|
- myDroptable
|
|
LevelModifiers:
|
|
LevelModifiers:
|
|
Health: 5
|
|
Health: 5
|
|
Damage: 0.5
|
|
Damage: 0.5
|
|
```
|
|
```
|
|
LevelModifiers
|
|
|
|
--------------
|
|
# LevelModifiers
|
|
|
|
|
|
These options, put under the LevelModifiers section, will increase the
|
|
These options, put under the LevelModifiers section, will increase the
|
|
mobs respective stats by the given numbers per level. These stats will
|
|
mobs respective stats by the given numbers per level. These stats will
|
... | @@ -36,17 +31,17 @@ be added on top of their base stats. |
... | @@ -36,17 +31,17 @@ be added on top of their base stats. |
|
|
|
|
|
Level modifiers may not work if you didn't specify base values
|
|
Level modifiers may not work if you didn't specify base values
|
|
for the affected attributes in the mob configuration.
|
|
for the affected attributes in the mob configuration.
|
|
|
|
```yaml
|
|
|
|
LevelModifiers:
|
|
|
|
Health: [number]
|
|
|
|
Damage: [number]
|
|
|
|
KnockbackResistance: [number]
|
|
|
|
Power: [number]
|
|
|
|
Armor: [number]
|
|
|
|
MovementSpeed: [number]
|
|
|
|
```
|
|
|
|
|
|
* **Health: [number]**
|
|
# World Scaling
|
|
* **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:
|
|
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:
|
|
```yaml
|
|
```yaml
|
... | | ... | |