Ejemplo n.º 1
0
 def _calculateXvmScale(self, stat):
     if 'wtr' in stat and stat['wtr'] > 0:
         stat['xwtr'] = vehinfo.calculateXvmScale('wtr', stat['wtr'])
     if 'wn8' in stat and stat['wn8'] > 0:
         stat['xwn8'] = vehinfo.calculateXvmScale('wn8',stat['wn8'])
     if 'eff' in stat and stat['eff'] > 0:
         stat['xeff'] = vehinfo.calculateXvmScale('eff', stat['eff'])
     if 'wgr' in stat and stat['wgr'] > 0:
         stat['xwgr'] = vehinfo.calculateXvmScale('wgr', stat['wgr'])
     if 'winrate' in stat and stat['winrate'] > 0:
         stat['xwr'] = vehinfo.calculateXvmScale('win', stat['winrate'])
Ejemplo n.º 2
0
 def _calculateXvmScale(self, stat):
     if 'wtr' in stat and stat['wtr'] > 0:
         stat['xwtr'] = vehinfo.calculateXvmScale('wtr', stat['wtr'])
     if 'wn8' in stat and stat['wn8'] > 0:
         stat['xwn8'] = vehinfo.calculateXvmScale('wn8',stat['wn8'])
     if 'eff' in stat and stat['eff'] > 0:
         stat['xeff'] = vehinfo.calculateXvmScale('eff', stat['eff'])
     if 'wgr' in stat and stat['wgr'] > 0:
         stat['xwgr'] = vehinfo.calculateXvmScale('wgr', stat['wgr'])
     if 'winrate' in stat and stat['winrate'] > 0:
         stat['xwr'] = vehinfo.calculateXvmScale('win', stat['winrate'])
Ejemplo n.º 3
0
 def _calculateVXWTR(self, v):
     if 'wtr' in v and v['wtr'] > 0:
         v['xwtr'] = vehinfo.calculateXvmScale('wtr', v['wtr'])
Ejemplo n.º 4
0
 def _calculateVXWTR(self, v):
     if 'wtr' in v and v['wtr'] > 0:
         v['xwtr'] = vehinfo.calculateXvmScale('wtr', v['wtr'])