Something I just worked up. You may as well go 25 Warlock/5 Loremaster since 26 warlock doesn't get an extra feat or anything and 5 loremaster gives you 2 caster levels and another greater secret knowledge. Not claiming this is the most powerful version of your idea you could play but it should be doable.
Charisma based caster hag/undying pact, you get unlimited tier 6 undead and would use sleep+nightmare combo on anything vulnerable to it:
Hag/Fey would be also work and probably be better in the end than hag/undying (just trade necro spell focuses out and put in transmutation) but undying would probably be easiest to level.
playing a warlock without a special blast like Chain, Doom, Hideous (Doom in this case since cha based) would be agony. Leveling with basically infi casts of vamps (since you can just get a lot of CGU scrolls, their CL is irrelevant) is alright but they struggle to clear end-game content on their own, investing in Doom blast would allow you to heal them while dealing damage in aoe and it's more valuable than grabbing a second pact because you dont have that many spells to select so having a giant pool of infi spells has a diminishing return.
Because we're talking about a build with 5 loremaster levels, Eldritch summon is obviously out of the question, as you cannot reach the epic one. That leaves you quite reliant on having tier 6 undead for summon option and thus I dont recommend 25/5 without undying (unless you're doing a max sail build with Fathomless but that's a special case that doesnt care about regular combat all that much). If you really must go Hag *and* loremaster then idk how to make it work. Maybe with EDR 3 and greater doom blast to clear groups with aoe and tankiness without summons, but I'm not sure about that one.
KriegEternal wrote:
Their really missing mords and some minor flavor things.
Here's one more that could work if you want a blaster. You're doing 50+ per shot which is decent and there's a fair chance you'll sleep a target for a round or so which you could potentially kill with phantasmal killer or get with a nightmare. Summons would be shadows and planar gate and you could take dominate spells too. It's not the greatest warlock but isn't useless.
Need: 20 dex, 16 int, 24 charisma at the end... Halfling is a good race to pick