(self, stuff)
| 53 | self.mask |= wx.LIST_MASK_TEXT |
| 54 | |
| 55 | def getText(self, stuff): |
| 56 | if not isinstance(stuff, (Drone, Fighter)): |
| 57 | return "" |
| 58 | regen = stuff.calculateShieldRecharge() |
| 59 | if ( |
| 60 | self.mainFrame.statsPane.nameViewMap["resistancesViewFull"].showEffective |
| 61 | and stuff.owner and stuff.owner.damagePattern is not None |
| 62 | ): |
| 63 | regen = stuff.owner.damagePattern.effectivify(stuff, regen, 'shield') |
| 64 | return '{}/s'.format(formatAmount(regen, 3, 0, 9)) |
| 65 | |
| 66 | def getImageId(self, mod): |
| 67 | return -1 |
nothing calls this directly
no test coverage detected