Mechanic
setlevel
Modifies the casting mob's level
Aliases
modifylevel
Examples & Notes
Action Attribute
Available actions are
SETADDSUBTRACTMULTIPLYDIVIDE
Examples
This will set the mob level to 3 when it spawns
- setlevel{a=set;l=3} @self ~onSpawn
This will increase the mob level by 1 each time it kills a player
- 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.
- setlevel{a=set;l="<random.1to5> + <global.score.testlevel>"} @self ~onSpawn
The usage of Placeholders and Math Operations inside of a non-string attribute is Premium Only
Universal Mechanic Options
- Author:
- Ashijin
