scoreboard players set .souls_cd reaper 1
execute unless entity @a[tag=upgrade_6] if score .souls reaper matches 101.. run return fail
execute if score .souls reaper matches 151.. run return fail
scoreboard players set .souls_decay reaper 20
$scoreboard players set .souls_temp reaper $(amount)
execute if entity @a[tag=upgrade_4] run scoreboard players operation .souls_temp reaper *= .2 number
scoreboard players operation .souls reaper += .souls_temp reaper

#function main:characters/reaper/souls {"amount":1}