(self, ignoreState=False, ignoreAbilityState=False)
| 455 | return True |
| 456 | |
| 457 | def canDealDamage(self, ignoreState=False, ignoreAbilityState=False): |
| 458 | if self.item is None: |
| 459 | return False |
| 460 | if not self.active and not ignoreState: |
| 461 | return False |
| 462 | for ability in self.abilities: |
| 463 | if not ability.active and not ignoreAbilityState: |
| 464 | continue |
| 465 | if ability.effect.dealsDamage: |
| 466 | return True |
| 467 | return False |
nothing calls this directly
no outgoing calls
no test coverage detected