Yeah $100 is a great deal. Jamie's right, There's a good chance it's OK unless it got REALLY hot or there's more to the story than just leaking gaskets. If I come across an older EJ25 I will change the head gaskets anyway. It's pretty easy to do with the engine out of the car. The oil leak would be easy to fix too. You can get a gasket set which has all the OEM Subaru rubber seals plus the head gaskets for not too much. Not sure if the engine is an EJ251 or 253, but the gasket kit for the WHOLE engine is only $270 at subaruparts.com.
2002 Outback Engine Seal SetThis is the one for the EJ253 (Outback) just as an example. There is also an EJ251 (Forester engine) for 2002 so make sure to order the correct one for the engine depending on which one it is. Might as well swap the timing belt while you're at it. You'll take it off to do the head gaskets.
Hope it works out for you.