Custom Enchantment
I want to make a Datapack wich adds 2 enchantments. One to amplify bow damage and one for sword damage. Asking gpt gave me 2 options A: create a custom effect, B: create a scoreboard to store and manage data.
I want to use option B.
How do a make a scoreboard and read/write to it using datapacks?
How do I add a custom enchantment?
How do I amplify the damage?
Can I add that enchantment without commands using books to an item later?