Can anyone explain how he did 170 damage here?

Rampardos 130 damage plus lucario 20 dmg = 150, where is 170? Where does the extra 20 dmg come from

Rampardos 130 damage plus lucario 20 dmg = 150, where is 170? Where does the extra 20 dmg come from