def level_up
@level += 1
##################################
if @class_id = 1
@atk_plus += 1
elsif @class_id = 2
@atk_plus += 100
end
##################################
for learning in self.class.learnings
learn_skill(learning.skill_id) if learning.level == @level
end
end