Watch out for the quick lick here. It's something i like to use, playing open notes and hammer notes. Always keep the rhythm in mind (thumb percussion). First, work on the lick itself, then add the thumb rhythm.
For the last chord, the finger order (right hand) is the following: 1st - 2nd -3rd finger then thumb.
The thumb should pick the strings at the same speed as the previous 3 fingers.
Have fun!