System for rolling random weapons in RPG games