Add onGainSkillTries

Fix #1036 aswell.