Focus is the power source of Cipher in Pillars of Eternity 2: Deadfire.
Cipher powers require and consume Focus on use. Ciphers begin combat with some Focus and build additional Focus by dealing damage with their weapons.
How exacly is Focus built? Is it based on the number of hits or damage done? In any case, how many hits are needed (or damage done) for how many focus points?