Would; were.
Subjunctive mood. It represents a denoted act or state not as fact but as contingent or possible or viewed emotionally (as with doubt or desire).
If I had been told I would have been willing.
If only it would rain now!
If Father were rich I would have been married long ago.