execute at @s run function next_level:mobs/rng

# Standard MiniBoss # 

    # Fortified # 
execute as @s[scores={nl.Rng=0..10}] run function next_level:mobs/skeleton/spawn/fortified
    # Dangerous # 
execute as @s[scores={nl.Rng=11..20}] run function next_level:mobs/skeleton/spawn/dangerous
    # Speedy # 
execute as @s[scores={nl.Rng=21..30}] run function next_level:mobs/skeleton/spawn/speedy
    # Armoured # 
execute as @s[scores={nl.Rng=31..40}] run function next_level:mobs/skeleton/spawn/armoured

# Mob Specific Variants # 

    # Quartz ranger #  
execute as @s[scores={nl.Rng=41..42}] run function next_level:mobs/skeleton/spawn/quartz_ranger
    # Amethyst ranger # 
execute as @s[scores={nl.Rng=43..44}] run function next_level:mobs/skeleton/spawn/amethyst_ranger
    # Topaz ranger # 
execute as @s[scores={nl.Rng=45..46}] run function next_level:mobs/skeleton/spawn/topaz_ranger
    # Jade ranger # 
execute as @s[scores={nl.Rng=47..48}] run function next_level:mobs/skeleton/spawn/jade_ranger
    # Ruby ranger # 
execute as @s[scores={nl.Rng=49..50}] run function next_level:mobs/skeleton/spawn/ruby_ranger
    # Sapphire ranger # 
execute as @s[scores={nl.Rng=51..52}] run function next_level:mobs/skeleton/spawn/sapphire_ranger

    # Molten ranger # 
execute as @s[scores={nl.Rng=53..54}] run function next_level:mobs/skeleton/spawn/molten_ranger
    # Cactus ranger # 
execute as @s[scores={nl.Rng=55..56}] run function next_level:mobs/skeleton/spawn/cactus_ranger
    # Frozen ranger # 
execute as @s[scores={nl.Rng=57..58}] run function next_level:mobs/skeleton/spawn/frozen_ranger
    # Ethereal ranger # 
execute as @s[scores={nl.Rng=59..60}] run function next_level:mobs/skeleton/spawn/ethereal_ranger

# Captains # 

    # Warrior # 
execute as @s[scores={nl.Rng=61..70}] run function next_level:mobs/skeleton/spawn/warrior
    # Priest # 
execute as @s[scores={nl.Rng=71..80}] run function next_level:mobs/skeleton/spawn/priest
    # Elder # 
execute as @s[scores={nl.Rng=81..90}] run function next_level:mobs/skeleton/spawn/elder
    # Booster # 
execute as @s[scores={nl.Rng=91..100}] run function next_level:mobs/skeleton/spawn/booster

