Shadowheart is barely getting hit with her AC of 19 especially if she is staying in the back. Most times I used bless or armor spell, it stayed until the end of the fight. You have to plan your fights in BG3 with height advantage in mind though, otherwise all classes will be extremely weak. Having Astarion rob your enemies from their special arrows under invisibility spell before bigger fights is also very useful.