Converted untested skill tree algorithms