I find a way to automate the process:
Add an effect on everyone NPC and players:
Roll for AC; AC: -10; ATK: -1d20;

Each time you attack you will roll the defense of the enemy, seen the dice are rolled automatically they have the same effect as if the enemy rolls for their defense.