Fixed focus and chance logic

This fixes the focus and chance logic so that both skills are functional.

No promises that the logic won't break sometimes, but it should work most of the time.

Fixes #87. Fixes #88.