if skill.element_set == [] self.damage *= elements_correct(user.element_set) self.damage /= 100 else self.damage *= elements_correct(skill.element_set) self.damage /= 100 end