(mod, distance, tgtSpeed, tgtSigRadius)
| 161 | |
| 162 | |
| 163 | def getVortonMult(mod, distance, tgtSpeed, tgtSigRadius): |
| 164 | rangeFactor = calculateRangeFactor( |
| 165 | mod.getModifiedItemAttr('maxRange'), |
| 166 | 0, |
| 167 | distance) |
| 168 | applicationFactor = _calcMissileFactor( |
| 169 | atkEr=mod.getModifiedItemAttr('aoeCloudSize'), |
| 170 | atkEv=mod.getModifiedItemAttr('aoeVelocity'), |
| 171 | atkDrf=mod.getModifiedItemAttr('aoeDamageReductionFactor'), |
| 172 | tgtSpeed=tgtSpeed, |
| 173 | tgtSigRadius=tgtSigRadius) |
| 174 | return rangeFactor * applicationFactor |
| 175 | |
| 176 | |
| 177 | def getLauncherMult(mod, distance, tgtSpeed, tgtSigRadius): |
no test coverage detected