#GetCurrentHP = GetCurrentHP-(GetPlayerDamage/GetDamageINT)
scoreboard players operation @a[score_GetPlayerDamage_min=1] GetPlayerDamage /= @e[name=OE_InstanceDungeon] GetDamageINT
scoreboard players operation @e[name=Mordum,tag=!VoidShift] GetCurrentHP -= @a[score_GetPlayerDamage_min=1] GetPlayerDamage
scoreboard players set @a[score_GetPlayerDamage_min=1] GetPlayerDamage 0
#GetPercentHP = (GetCurrentHP*100)/GetMaximumHP
scoreboard players operation @e[name=Mordum,tag=!VoidShift] TempCurrentHP = @e[name=Mordum,tag=!VoidShift] GetCurrentHP
scoreboard players operation @e[name=Mordum,tag=!VoidShift] TempCurrentHP *= @e[name=OE_InstanceDungeon] GetMultiplyINT
scoreboard players operation @e[name=Mordum,tag=!VoidShift] TempCurrentHP /= @e[name=Mordum,tag=!VoidShift] GetMaximumHP
scoreboard players operation @e[name=Mordum,tag=!VoidShift] GetPercentHP = @e[name=Mordum,tag=!VoidShift] TempCurrentHP

function spire_of_souls:source/creature/tutorial/creature_tutorial

title @a[tag=TutorialEncounter] actionbar {"text":"Mordum's Health: ","extra":[{"score":{"name":"@e[name=Mordum]","objective":"GetCurrentHP"}}],"bold":true,"color":"red"}