Hey, I'm trying to fix my window_skill menu so that only skills of certain elements are drawn. I've tried this:
With inserting $data_skills[id].element_set.include?(X), and that works. However, I want it so that skills with EITHER elements 21-24 can be drawn. I tried doing
if skill!= nil and $data_skills[id].element_set.include?(21) or $data_skills[id].element_set.include?(22) or $data_skills[id].element_set.include?(23) or $data_skills[id].element_set.include?(24)
but that displayed the same skills mutliple times.
Any ideas on what I can do?