(self, miscParams, src, tgt)
| 313 | _extraDepth = 2 |
| 314 | |
| 315 | def _getCommonData(self, miscParams, src, tgt): |
| 316 | # Prepare time cache here because we need to do it only once, |
| 317 | # and this function is called once per point info fetch |
| 318 | self._prepareTimeCache(src=src, maxTime=miscParams['time']) |
| 319 | return { |
| 320 | 'applyProjected': GraphSettings.getInstance().get('applyProjected'), |
| 321 | 'dmgMap': self._getDamagePerKey(src=src, time=miscParams['time']), |
| 322 | 'tgtResists': tgt.getResists(), |
| 323 | 'tgtFullHp': tgt.getFullHp()} |
| 324 | |
| 325 | def _calculatePoint(self, x, miscParams, src, tgt, commonData): |
| 326 | tgtSpeed = x |
nothing calls this directly
no test coverage detected