Minecraft – How to make an Illusioner do extra damage

minecraft-commandsminecraft-java-edition

I'm trying to make a modified Illusioner as the final boss of my dungeon, but I'm having trouble increasing his damage.
I have tried both these commands:

/summon minecraft:illusioner ~ ~ ~ {HandItems:[{Count:1,id:"bow",Damage:8}],Attributes:[{Name:"generic.maxHealth",Base:100}],Health:100.0f,}

/summon minecraft:illusioner ~ ~ ~ {HandItems:[{Count:1,id:"bow"}],Attributes:[{Name:"generic.maxHealth",Base:100},{name:"generic.attackDamage,Base:8}],Health:100.0f,}

Neither of those have affected his damage (I can increase his HP just fine though). What am I doing wrong?

Best Answer

There may be a bug in the game, I am not sure though.

You can however give the illusioner an enchanted bow.

/summon minecraft:illusioner ~ ~ ~ {HandItems:[{Count:1,id:"minecraft:bow",tag:{Enchantments:[{id:"minecraft:power",lvl:10s}]}}],Attributes:[{Name:"generic.maxHealth",Base:100}],Health:100.0f}