execute as @a[predicate=cartographer_custom_enchantments:adrenaline/offhand_1] run scoreboard players add @s adrenaline 1
execute as @a[predicate=cartographer_custom_enchantments:adrenaline/offhand_2] run scoreboard players add @s adrenaline 2
execute as @a[predicate=cartographer_custom_enchantments:adrenaline/offhand_3] run scoreboard players add @s adrenaline 3

execute as @a[predicate=cartographer_custom_enchantments:agility/offhand_1] run scoreboard players add @s agility 1
execute as @a[predicate=cartographer_custom_enchantments:agility/offhand_2] run scoreboard players add @s agility 2
execute as @a[predicate=cartographer_custom_enchantments:agility/offhand_3] run scoreboard players add @s agility 3
execute as @a[predicate=cartographer_custom_enchantments:agility/offhand_4] run scoreboard players add @s agility 4
execute as @a[predicate=cartographer_custom_enchantments:agility/offhand_5] run scoreboard players add @s agility 5

execute as @a[predicate=cartographer_custom_enchantments:aquadynamic/offhand_1] run scoreboard players add @s aquadynamic 1

execute as @a[predicate=cartographer_custom_enchantments:auto_charge/offhand_1] run scoreboard players add @s auto_charge 1

execute as @a[predicate=cartographer_custom_enchantments:current/offhand_1] run scoreboard players add @s current 1

execute as @a[predicate=cartographer_custom_enchantments:cleansing/slowness_offhand_1] run scoreboard players add @s s_cleansing 1
execute as @a[predicate=cartographer_custom_enchantments:cleansing/fatigue_offhand_1] run scoreboard players add @s f_cleansing 1
execute as @a[predicate=cartographer_custom_enchantments:cleansing/weakness_offhand_1] run scoreboard players add @s w_cleansing 1
execute as @a[predicate=cartographer_custom_enchantments:cleansing/poison_offhand_1] run scoreboard players add @s p_cleansing 1
execute as @a[predicate=cartographer_custom_enchantments:cleansing/wither_offhand_1] run scoreboard players add @s wi_cleansing 1

execute as @a[predicate=cartographer_custom_enchantments:concealed/offhand_1] run scoreboard players add @s concealed 1

execute as @a[predicate=cartographer_custom_enchantments:conductive/offhand_1] run scoreboard players add @s conductive 1

execute as @a[predicate=cartographer_custom_enchantments:deadeye/offhand_1] run scoreboard players set @s deadeye 1

execute as @a[predicate=cartographer_custom_enchantments:despair_wave/offhand_1] run scoreboard players add @s despair_wave 1
execute as @a[predicate=cartographer_custom_enchantments:despair_wave/offhand_2] run scoreboard players add @s despair_wave 2

execute as @a[predicate=cartographer_custom_enchantments:destruction_wave/offhand_1] run scoreboard players add @s destruction_wave 1
execute as @a[predicate=cartographer_custom_enchantments:destruction_wave/offhand_2] run scoreboard players add @s destruction_wave 2

execute as @a[predicate=cartographer_custom_enchantments:evasion/offhand_1] run scoreboard players add @s evasion 1
execute as @a[predicate=cartographer_custom_enchantments:evasion/offhand_2] run scoreboard players add @s evasion 2
execute as @a[predicate=cartographer_custom_enchantments:evasion/offhand_3] run scoreboard players add @s evasion 3
execute as @a[predicate=cartographer_custom_enchantments:evasion/offhand_4] run scoreboard players add @s evasion 4
execute as @a[predicate=cartographer_custom_enchantments:evasion/offhand_5] run scoreboard players add @s evasion 5

execute as @a[predicate=cartographer_custom_enchantments:energetic/offhand_1] run scoreboard players add @s energetic 1
execute as @a[predicate=cartographer_custom_enchantments:energetic/offhand_2] run scoreboard players add @s energetic 2
execute as @a[predicate=cartographer_custom_enchantments:energetic/offhand_3] run scoreboard players add @s energetic 3

execute as @a[predicate=cartographer_custom_enchantments:frenzy/offhand_1] run scoreboard players add @s frenzy 1
execute as @a[predicate=cartographer_custom_enchantments:frenzy/offhand_2] run scoreboard players add @s frenzy 2
execute as @a[predicate=cartographer_custom_enchantments:frenzy/offhand_3] run scoreboard players add @s frenzy 3

execute as @a[predicate=cartographer_custom_enchantments:frost/offhand_1] run scoreboard players set @s frost 1

execute as @a[predicate=cartographer_custom_enchantments:hydraulic/offhand_1] run scoreboard players add @s hydraulic 1

execute as @a[predicate=cartographer_custom_enchantments:lifesteal/offhand_1] run scoreboard players add @s lifesteal 1
execute as @a[predicate=cartographer_custom_enchantments:lifesteal/offhand_2] run scoreboard players add @s lifesteal 2
execute as @a[predicate=cartographer_custom_enchantments:lifesteal/offhand_3] run scoreboard players add @s lifesteal 3

execute as @a[predicate=cartographer_custom_enchantments:pin_down/offhand_1] run scoreboard players set @s pin_down 1

execute as @a[predicate=cartographer_custom_enchantments:point_blank/offhand_1] run scoreboard players add @s point_blank 1
execute as @a[predicate=cartographer_custom_enchantments:point_blank/offhand_2] run scoreboard players add @s point_blank 2
execute as @a[predicate=cartographer_custom_enchantments:point_blank/offhand_3] run scoreboard players add @s point_blank 3

execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_1] run scoreboard players set @s repeating 11
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_2] run scoreboard players set @s repeating 12
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_3] run scoreboard players set @s repeating 13
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_4] run scoreboard players set @s repeating 14
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_5] run scoreboard players set @s repeating 15
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_6] run scoreboard players set @s repeating 16
execute as @a[predicate=cartographer_custom_enchantments:repeating/offhand_7] run scoreboard players set @s repeating 17

execute as @a[predicate=cartographer_custom_enchantments:regeneration/offhand_1] run scoreboard players add @s regeneration 1
execute as @a[predicate=cartographer_custom_enchantments:regeneration/offhand_2] run scoreboard players add @s regeneration 2
execute as @a[predicate=cartographer_custom_enchantments:regeneration/offhand_3] run scoreboard players add @s regeneration 3

execute as @a[predicate=cartographer_custom_enchantments:rend/offhand_1] run scoreboard players set @s rend 1

execute as @a[predicate=cartographer_custom_enchantments:ricochet/offhand_1] run scoreboard players add @s ricochet 1
execute as @a[predicate=cartographer_custom_enchantments:ricochet/offhand_2] run scoreboard players add @s ricochet 2
execute as @a[predicate=cartographer_custom_enchantments:ricochet/offhand_3] run scoreboard players add @s ricochet 3

execute as @a[predicate=cartographer_custom_enchantments:satiation/offhand_1] run scoreboard players add @s satiation 1
execute as @a[predicate=cartographer_custom_enchantments:satiation/offhand_2] run scoreboard players add @s satiation 2
execute as @a[predicate=cartographer_custom_enchantments:satiation/offhand_3] run scoreboard players add @s satiation 3

execute as @a[predicate=cartographer_custom_enchantments:second_wind/offhand_1] run scoreboard players add @s second_wind 1
execute as @a[predicate=cartographer_custom_enchantments:second_wind/offhand_2] run scoreboard players add @s second_wind 2
execute as @a[predicate=cartographer_custom_enchantments:second_wind/offhand_3] run scoreboard players add @s second_wind 3

execute as @a[predicate=cartographer_custom_enchantments:sharpshot/offhand_1] run scoreboard players add @s sharpshot 1
execute as @a[predicate=cartographer_custom_enchantments:sharpshot/offhand_2] run scoreboard players add @s sharpshot 2
execute as @a[predicate=cartographer_custom_enchantments:sharpshot/offhand_3] run scoreboard players add @s sharpshot 3

execute as @a[predicate=cartographer_custom_enchantments:splintering/offhand_1] run scoreboard players set @s splintering 1

execute as @a[predicate=cartographer_custom_enchantments:spurs/offhand_1] run scoreboard players set @s spurs 1

execute as @a[predicate=cartographer_custom_enchantments:tempest/offhand_1] run scoreboard players add @s tempest 1
execute as @a[predicate=cartographer_custom_enchantments:tempest/offhand_2] run scoreboard players add @s tempest 2
execute as @a[predicate=cartographer_custom_enchantments:tempest/offhand_3] run scoreboard players add @s tempest 3
execute as @a[predicate=cartographer_custom_enchantments:tempest/offhand_4] run scoreboard players add @s tempest 4
execute as @a[predicate=cartographer_custom_enchantments:tempest/offhand_5] run scoreboard players add @s tempest 5

execute as @a[predicate=cartographer_custom_enchantments:tempo_theft/offhand_1] run scoreboard players add @s tempo_theft 1
execute as @a[predicate=cartographer_custom_enchantments:tempo_theft/offhand_2] run scoreboard players add @s tempo_theft 2
execute as @a[predicate=cartographer_custom_enchantments:tempo_theft/offhand_3] run scoreboard players add @s tempo_theft 3

execute as @a[predicate=cartographer_custom_enchantments:trueshot/offhand_1] run scoreboard players set @s trueshot 1

execute as @a[predicate=cartographer_custom_enchantments:vengeance/offhand_1] run scoreboard players add @s vengeance 1
execute as @a[predicate=cartographer_custom_enchantments:vengeance/offhand_2] run scoreboard players add @s vengeance 2
execute as @a[predicate=cartographer_custom_enchantments:vengeance/offhand_3] run scoreboard players add @s vengeance 3

execute as @a[predicate=cartographer_custom_enchantments:volatile/offhand_1] run scoreboard players add @s volatile 1
execute as @a[predicate=cartographer_custom_enchantments:volatile/offhand_2] run scoreboard players add @s volatile 2
execute as @a[predicate=cartographer_custom_enchantments:volatile/offhand_3] run scoreboard players add @s volatile 3

execute as @a[predicate=!cartographer_custom_enchantments:curse_twohanded/offhand_1] run scoreboard players add @s curse_twohanded 1