Added functionality for prerequisites and getting PS used from skills.