Luffy's injuries came from Doflamingo's abilities themselves. Luffy was not nearly as injured as Doflamingo was by an outside force. Take away outside forces injures from Luffy and from Doflamingo, and it favors Doflamingo far more than Luffy.
Even if you want to say they were equally beat up(which they weren't), Doflamingo was still standing while Luffy was asleep on Gatz's back.
Which brings us to this. Luffy beat Doflamingo with the help of dozens of people. This happened. There's no denying that without the help of those people, Luffy would have lost. Even if you leave in Gamma Knife, Luffy would have lost. That is a fact.
Therefore, Doflamingo>Luffy just like he's>Law.
By this logic, Yeti Cool Brothers put Zoro and Sanji to sleep 100% of the time.
By this logic, if Whitebeard, Sakazuki, and Blackbeard all hit Crocodile with their strongest attacks until he's within an inch of his life, Jozu's Brilliant Punk won't knock him out because 100% of the time in the manga, it failed to knock him out. That's how stupid this sounds.
Yes, there is telling. Considering that WITH Gamma Knife, Luffy was like this
You must be registered for see images
While Doflamingo was like this:
You must be registered for see images
Only if you're sucking him off.
Come back to me when Luffy is capable of producing a result on his own that Law is incapable of as well.