mathematics in an RPG