That fight happened when Law was below G4 Luffy, post Wano arc law is Admiral lvl
It is still the same Law with a bigger gun.
He increased the power of his hits through Awakening.
He never lacked power to beat Doffy.
He lost because of other things, close quarter combat skills being significantly inferior than Doffy's.
And nothing has changed about his CQC so he will still be treated the same by Doffy.
And Lucci is superior to even Doffy when it comes to CQC. And significantly faster.
Lucci could be Law's worst nightmare.
Law and Admiral level...
If he ends up YC1 level at EOS it will be great.