The rifle's worth $300.00 IMO.
What it's worth to the both of you depends upon how much you both value your friendship.
FWIW, over the years, I've had friends simply gift guns to me, and I to them; and others that I've overpaid for a gun or two, because I knew they were up against it - so, you see, YMMV.
.