Updated skills.java

This code hasn't been tested yet, and I'm also tired... so probably a lot of mistakes...