execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_0] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_1] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_2] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_3] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_4] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_5] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_6] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_7] run scoreboard players set @s curse_two_handed 1
execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/slot_8] run scoreboard players set @s curse_two_handed 1

execute as @a[predicate=cartographer_custom_enchantments:curse_two_handed/empty_offhand] run scoreboard players set @s curse_two_handed 0