Update Skill.java

Removed redundant indexes, deprecated getIndex()