Updated SkillMod.java to work with a map