03-03-2010, 08:24 AM
Try this instead (added paretheses):
Code:
@data.push(skill) unless ((SKILL_COSTS[@actor.skills[i]] != nil) and (not @actor.active_skills.include?(@actor.skills[i]))) # Edited line