func: function distributeVault(uint256 _pID, uint256 _rID, uint256 _affID, uint256 _eth, uint256 _tickets)
          private
      {    
           
           uint256 _gen = 0;
           uint256 _genvault = 0;
           uint256 ticketprice_ = getBuyPrice();
           if (round_[_rID].tickets > _headtickets){
               if (round_[_rID].tickets.sub(_tickets) > _headtickets){
                   _gen = _tickets;
                   
               }else{
                   _gen = round_[_rID].tickets.sub(_headtickets);
               }
           }
           
           if (_gen > 0){
               
               _genvault = ((ticketprice_ * _gen).mul(20)) / 100;
               round_[_rID].mask = _genvault.add(round_[_rID].mask);   
           }
           
           uint256 _aff = _eth / 10;  
           uint256 _com = _eth / 20;  
           uint256 _found = _eth.mul(32) / 100;
           round_[_rID].found = _found.add(round_[_rID].found);  
           if (_affID != 0){
               plyr_[_affID].aff = _aff.add(plyr_[_affID].aff);
               community_addr.transfer(_com);
           }else{
               _com = _com.add(_aff);
               community_addr.transfer(_com);
           }
           
           uint256 _nextpot = _eth.sub(_genvault);
           if (_affID != 0){
               _nextpot = _nextpot.sub(_aff);
           }
           _nextpot = _nextpot.sub(_com);
           _nextpot = _nextpot.sub(_found);
           round_[_rID].nextpot = _nextpot.add(round_[_rID].nextpot);  
      }