AVG/OBP/SLG are irrelevant to FWAR.
A pitcher who gives up 10 runs on 12 hits in an inning, with no home runs, but ends up with 3 Ks and no walks, is considered to have pitched a perfect inning by FIP.
Regardless if the defense is good, bad, or indifferent, by the way.