damage @e[c=10,r=2.5,family=!attack,family=!inanimate,tag=!luffy,type=!item,type=!xp_orb] 12 entity_attack entity @s[tag=luffy]

damage @e[c=10,r=2.5,family=!attack,family=!inanimate,tag=!luffy_gear2,type=!item,type=!xp_orb] 12 entity_attack entity @s[tag=luffy_gear2]

damage @e[c=10,r=2.5,family=!attack,family=!inanimate,tag=!luffy_gear5,type=!item,type=!xp_orb] 12 entity_attack entity @s[tag=luffy_gear5]