| 461 | return self.charge and 'dotMissileLaunching' in self.charge.effects |
| 462 | |
| 463 | def canDealDamage(self, ignoreState=False): |
| 464 | if self.isEmpty: |
| 465 | return False |
| 466 | for effect in self.item.effects.values(): |
| 467 | if effect.dealsDamage and ( |
| 468 | ignoreState or |
| 469 | effect.isType('offline') or |
| 470 | (effect.isType('passive') and self.state >= FittingModuleState.ONLINE) or |
| 471 | (effect.isType('active') and self.state >= FittingModuleState.ACTIVE) or |
| 472 | (effect.isType('overheat') and self.state >= FittingModuleState.OVERHEATED) |
| 473 | ): |
| 474 | return True |
| 475 | return False |
| 476 | |
| 477 | def getVolleyParameters(self, spoolOptions=None, targetProfile=None, ignoreState=False): |
| 478 | if self.isEmpty or (self.state < FittingModuleState.ACTIVE and not ignoreState): |