added medpack method in player class