added check attached skills max generating value