Untargetable enemy

I was looking to make a boss with two sub-bosses. The sub-bosses are running cover for him, so he cannot be targeted, but he can play support for them. I was wondering how to do that. I know Taunt from Visustella can prevent him from being targeted with single-target skills, but I want him not to be cheesed with spread moves either. As soon as one of the sub-bosses dies, he will become targetable, and if they both die, he will start spamming instant kill statuses.
the following can only prevent splash damage, it does not make the enemy untargetable - but you already have a plugin for the other part.

make an invisible state that has 0% damage rate for every damage element.
make a troop event run on turn 0 that applies that state to the boss
make one troop event for each of the two protecting parts, that remove the above state on HP=0

if you do this, then only skills with no damage element can hurt the boss while in the state.
to prevent even that you would have to add physical and magical damage rates at zero as well.

the only thing I don't know how to block that way are certain hit skills with no damage element.

Original thread: https://forums.rpgmakerweb.com/threads/untargetable-enemy.180157/