Duck and Dive is the veteran talent that grants " Dodging, Sprinting or Sliding to avoid ranged attacks grants 20% Stamina"
Stamina gain is also triggered when fire is dodged through buffs, notably the ‘dodge ranged attacks after scoring a weakspot hit’ common to ranged weapons.