execute if predicate manic:world/light_level/damage/unsafe run scoreboard players operation @s manic.damage_taken *= #2 nucleus.dummy
execute if predicate manic:world/light_level/damage/safe run scoreboard players operation @s manic.damage_taken /= #2 nucleus.dummy

execute if score @s manic.damage_taken matches 200.. run scoreboard players set @s manic.damage_taken 200
scoreboard players operation @s manic.damage_taken /= #2 nucleus.dummy
scoreboard players operation @s manic.sanity -= @s manic.damage_taken
scoreboard players reset @s manic.damage_taken
