data remove storage minecraft:mechanics upgrade

#character id (10) + ability id

##BRAWLER

execute if entity @a[tag=!upgrade_1] run data modify storage minecraft:mechanics upgrade.list append value 1
execute if entity @a[tag=!upgrade_2] run data modify storage minecraft:mechanics upgrade.list append value 2
execute if entity @a[tag=!upgrade_3] run data modify storage minecraft:mechanics upgrade.list append value 3
execute if entity @a[tag=!upgrade_4] run data modify storage minecraft:mechanics upgrade.list append value 4
execute if entity @a[tag=!upgrade_5] run data modify storage minecraft:mechanics upgrade.list append value 5
execute if entity @a[tag=!upgrade_6] run data modify storage minecraft:mechanics upgrade.list append value 6
execute if entity @a[tag=!upgrade_7] run data modify storage minecraft:mechanics upgrade.list append value 7
execute if entity @a[tag=!upgrade_8] run data modify storage minecraft:mechanics upgrade.list append value 8
# execute if entity @a[tag=!upgrade_9] run data modify storage minecraft:mechanics upgrade.list append value 9

#data modify storage minecraft:mechanics upgrade.list_2 append value 1
#data modify storage minecraft:mechanics upgrade.list_2 append value 2
#data modify storage minecraft:mechanics upgrade.list_2 append value 3

#data modify storage minecraft:mechanics upgrade.list_4 append value 1
#data modify storage minecraft:mechanics upgrade.list_4 append value 2
#data modify storage minecraft:mechanics upgrade.list_4 append value 3