@@ -30,8 +30,3 @@ This will increase the mob level by 1 each time it kills a player
...
@@ -30,8 +30,3 @@ This will increase the mob level by 1 each time it kills a player
```yaml
```yaml
-setlevel{a=add;l=1} ~onKillPlayer
-setlevel{a=add;l=1} ~onKillPlayer
```
```
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**