How would you retool it as to not be too OP for 5e?
Looking for ideas on a final battle with my BBEG
I don't know what edition's version you're talking about. Nor do I actually remember what the spell did.
But regardless of all that, if I was to do this in my game, intending for an NPC spellcaster to use it, I really woudn't care about balancing it. I'd just have it do what it ought to and ballpark the right slot level. If I'm off a little, it would only impact that fight. The only trick is making sure the effect is powerful enough to be worth using at all, but not overwhelmingly strong so it becomes unfun to deal with.
I'd say you can use it as is, and just change Weakened to "suffer disadvantage on all attack rolls, saving throws and ability checks" so no one has to mess with ability score damage.
but I'd make it look something like this:
Any nonevil creature within the area of a blasphemy spell must attempt a Wisdom save or be paralyzed. They can attempt a new save at the beginning of each turn to break the paralysis. After a successful they are weakened for 2d4 round. Weakened creatures suffer disadvantage on all attack rolls, saving throws and ability checks.
They look neat.Here are some Lair Actions I came up with... thoughts?

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.