# [MAGUS] ⇵ Mana Regen
execute unless score @s magus_apotheosis_timer matches 1.. if score @s Points matches ..219 run scoreboard players set @s magus_mana_regen 1
execute unless score @s magus_apotheosis_timer matches 1.. if score @s Points matches 220..999 run scoreboard players set @s magus_mana_regen 2
execute unless score @s magus_apotheosis_timer matches 1.. if score @s Points matches 1000..2599 run scoreboard players set @s magus_mana_regen 3
execute unless score @s magus_apotheosis_timer matches 1.. if score @s Points matches 2600..5750 run scoreboard players set @s magus_mana_regen 4
execute unless score @s magus_apotheosis_timer matches 1.. if score @s Points matches 5750.. run scoreboard players set @s magus_mana_regen 5

# Point Milestones UX
    # [MAGUS] Tier Unlocks
execute unless entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:200_points_max_health_upgrade"}]}]}] if score @s Points matches 35.. run tag @s add magus_tier_2_unlocked
execute unless entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:750_points_max_health_upgrade"}]}]}] if score @s Points matches 150.. run tag @s add magus_tier_3_unlocked
execute unless entity @s[nbt={attributes:[{modifiers:[{id:"minecraft:1300_points_max_health_upgrade"}]}]}] if score @s Points matches 300.. run tag @s add magus_tier_4_unlocked