Using min and max params instead of skill, attack

Replacing theses params