The best build that swings its melee weapon most of the fight (melee), or shoots its bow most of the fight (ranged), or deals most of its damage with Tumbleshot arrows as it rolls (rolling), or deals most of its damage as Soul damage (soul), scored as a share of the build above.
Bosses take more damage from some damage types and less from others, so the best build changes from boss to boss. Here is what changes from the build above. Damage taken above ×1.00 plays to the boss's weaknesses.
Copper Monstrosity, Monarch, Monarch Echo, Monstrous Opus, Mosstrosity, Redstone Monstrosity, Sculk Monstrosity, Soul Corrupted Witch, The Prime Enchanter, The Supreme Evoker, Twisted Warden