It is mainly finger strength, the key is to be able to sound a note by just pressing your finger on the string and not picking it, hammering on will help improve this as it builds up strength in all your fingers which is useful in lots of techniques, try doing the stretch and replace techniques...