Ammunition droid

Stand near one of these droids in Battlefront and Battlefront 2, to get more ammo.