#Establish variables 
scoreboard players operation ATKWhole nl.Quality = InputDamage nl.Quality
scoreboard players operation ATKDecimal nl.Quality = InputDamage nl.Quality
scoreboard players operation SPDWhole nl.Quality = InputSpeed nl.Quality
scoreboard players operation SPDDecimal nl.Quality = InputSpeed nl.Quality

# Establish Whole Number # 
execute if score ATKWhole nl.Quality matches ..99 run scoreboard players set ATKWhole nl.Quality 0
execute if score ATKWhole nl.Quality matches 100.. run scoreboard players set Div nl.Quality 100
execute if score ATKWhole nl.Quality matches 100.. run scoreboard players operation ATKWhole nl.Quality /= Div nl.Quality

# Establish Decimal Number #
execute if score ATKDecimal nl.Quality matches 100.. run function next_level:quality/decimal_loop

# Establish Whole Number # 
execute if score SPDWhole nl.Quality matches ..99 run scoreboard players set SPDWhole nl.Quality 0
execute if score SPDWhole nl.Quality matches 100.. run scoreboard players set Div nl.Quality 100
execute if score SPDWhole nl.Quality matches 100.. run scoreboard players operation SPDWhole nl.Quality /= Div nl.Quality

# Establish Decimal Number #
execute if score SPDDecimal nl.Quality matches 100.. run function next_level:quality/decimal_loop


