Improved Extra Attack: Ranger Optional 5th-Level Ranger Feature
This feature replaces the Extra Attack feature and works with features that interact with Extra Attack.
You can attack twice, instead of once, whenever you take the Attack action on your turn.
When you reach 7th level in this class, the skill and precision of your attacks create and expose weaknesses in your
foe’s guard. The second time on your turn that you hit the same creature with a weapon attack, you deal extra damage
to it equal to your proficiency bonus.