added random nuber helper to warrior class